svn commit: r414417 - in head/www/varnish-nagios: . files
Dominic Fandrey
kami at FreeBSD.org
Sun May 1 18:57:24 UTC 2016
Author: kami
Date: Sun May 1 18:57:22 2016
New Revision: 414417
URL: https://svnweb.freebsd.org/changeset/ports/414417
Log:
Unbreak by updating to the latest version on GH.
PR: ports/208024
Submitted by: marc at mpeters.org
Reported by: marc at mpeters.org
Reviewed by: cs
Approved by: cs
Differential Revision: https://reviews.freebsd.org/D5744
Added:
head/www/varnish-nagios/files/
head/www/varnish-nagios/files/pkg-message.in (contents, props changed)
Modified:
head/www/varnish-nagios/Makefile
head/www/varnish-nagios/distinfo
Modified: head/www/varnish-nagios/Makefile
==============================================================================
--- head/www/varnish-nagios/Makefile Sun May 1 18:15:33 2016 (r414416)
+++ head/www/varnish-nagios/Makefile Sun May 1 18:57:22 2016 (r414417)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= varnish-nagios
-PORTVERSION= 1.1.20140519
+PORTVERSION= 1.1.20151214
PORTREVISION= 0
CATEGORIES= www
@@ -11,9 +11,8 @@ COMMENT= Nagios plugin to check status o
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 @@ USES= autoreconf libtool pkgconfig
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
Modified: head/www/varnish-nagios/distinfo
==============================================================================
--- head/www/varnish-nagios/distinfo Sun May 1 18:15:33 2016 (r414416)
+++ head/www/varnish-nagios/distinfo Sun May 1 18:57:22 2016 (r414417)
@@ -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
Added: head/www/varnish-nagios/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/varnish-nagios/files/pkg-message.in Sun May 1 18:57:22 2016 (r414417)
@@ -0,0 +1,7 @@
+**********************************************************************
+
+ Add the following line to %%PREFIX%%/etc/sudoers:
+
+ nagios ALL=NOPASSWD: %%PREFIX%%/libexec/nagios/check_varnish
+
+**********************************************************************
More information about the svn-ports-all
mailing list