View | Details | Raw Unified | Return to bug 208024 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-4 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	varnish-nagios
4
PORTNAME=	varnish-nagios
5
PORTVERSION=	1.1.20140519
5
PORTVERSION=	1.1.20160315
6
PORTREVISION=	0
6
PORTREVISION=	0
7
CATEGORIES=	www
7
CATEGORIES=	www
8
8
Lines 11-19 Link Here
11
11
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	BSD2CLAUSE
13
13
14
BROKEN=		fails to build
15
16
BUILD_DEPENDS=	varnish4>=0:${PORTSDIR}/www/varnish4
14
BUILD_DEPENDS=	varnish4>=0:${PORTSDIR}/www/varnish4
15
RUN_DEPENDS=	${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo
17
16
18
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
19
CFLAGS+=	-lm
18
CFLAGS+=	-lm
Lines 22-31 Link Here
22
21
23
USE_GITHUB=	yes
22
USE_GITHUB=	yes
24
GH_ACCOUNT=	varnish
23
GH_ACCOUNT=	varnish
25
GH_TAGNAME=	022fbf9
24
GH_TAGNAME=	258c486
26
25
27
PLIST_FILES=	libexec/nagios/check_varnish
26
PLIST_FILES=	libexec/nagios/check_varnish
28
27
28
SUB_FILES=      pkg-message
29
29
do-install:
30
do-install:
30
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
31
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
31
	${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios
32
	${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (varnish-varnish-nagios-1.1.20140519-022fbf9_GH0.tar.gz) = b4545fa4445b62bce85d0d7ad43664dc07e6303f83fb5a7d2c71092116ee09bd
1
SHA256 (varnish-varnish-nagios-1.1.20160315-258c486_GH0.tar.gz) = 0f54a5941c8b7fa5dc175306ddf5fe9a6a3739ebb606ff784d12aab6519080db
2
SIZE (varnish-varnish-nagios-1.1.20140519-022fbf9_GH0.tar.gz) = 5397
2
SIZE (varnish-varnish-nagios-1.1.20160315-258c486_GH0.tar.gz) = 5663
(-)files/pkg-message.in (+7 lines)
Line 0 Link Here
1
**********************************************************************
2
3
 Add the following line to %%PREFIX%%/etc/sudoers:
4
5
   nagios ALL=NOPASSWD: %%PREFIX%%/libexec/nagios/check_varnish
6
7
**********************************************************************

Return to bug 208024