Index: head/www/varnish-nagios/Makefile =================================================================== --- head/www/varnish-nagios/Makefile +++ head/www/varnish-nagios/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= varnish-nagios -PORTVERSION= 1.1.20140519 +PORTVERSION= 1.1.20151214 PORTREVISION= 0 CATEGORIES= www @@ -11,9 +11,8 @@ LICENSE= BSD2CLAUSE -BROKEN= fails to build - BUILD_DEPENDS= varnish4>=0:www/varnish4 +RUN_DEPENDS= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo GNU_CONFIGURE= yes CFLAGS+= -lm @@ -22,10 +21,12 @@ USE_GITHUB= yes GH_ACCOUNT= varnish -GH_TAGNAME= 022fbf9 +GH_TAGNAME= 258c486 PLIST_FILES= libexec/nagios/check_varnish +SUB_FILES= pkg-message + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios Index: head/www/varnish-nagios/distinfo =================================================================== --- head/www/varnish-nagios/distinfo +++ head/www/varnish-nagios/distinfo @@ -1,2 +1,2 @@ -SHA256 (varnish-varnish-nagios-1.1.20140519-022fbf9_GH0.tar.gz) = b4545fa4445b62bce85d0d7ad43664dc07e6303f83fb5a7d2c71092116ee09bd -SIZE (varnish-varnish-nagios-1.1.20140519-022fbf9_GH0.tar.gz) = 5397 +SHA256 (varnish-varnish-nagios-1.1.20151214-258c486_GH0.tar.gz) = 0f54a5941c8b7fa5dc175306ddf5fe9a6a3739ebb606ff784d12aab6519080db +SIZE (varnish-varnish-nagios-1.1.20151214-258c486_GH0.tar.gz) = 5663 Index: head/www/varnish-nagios/files/pkg-message.in =================================================================== --- head/www/varnish-nagios/files/pkg-message.in +++ head/www/varnish-nagios/files/pkg-message.in @@ -0,0 +1,7 @@ +********************************************************************** + + Add the following line to %%PREFIX%%/etc/sudoers: + + nagios ALL=NOPASSWD: %%PREFIX%%/libexec/nagios/check_varnish + +**********************************************************************