Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F139552066
D5744.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D5744.diff
View Options
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
+
+**********************************************************************
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 14, 10:07 AM (12 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26956660
Default Alt Text
D5744.diff (1 KB)
Attached To
Mode
D5744: update www/varnish-nagios, unbreak build, fix dependencies
Attached
Detach File
Event Timeline
Log In to Comment