mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
Unbreak by updating to the latest version on GH.
PR: ports/208024 Submitted by: marc@mpeters.org Reported by: marc@mpeters.org Reviewed by: cs Approved by: cs Differential Revision: https://reviews.freebsd.org/D5744
This commit is contained in:
parent
84e430cee0
commit
071ba3f3aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414417
@ -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 of Varnish
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
7
www/varnish-nagios/files/pkg-message.in
Normal file
7
www/varnish-nagios/files/pkg-message.in
Normal file
@ -0,0 +1,7 @@
|
||||
**********************************************************************
|
||||
|
||||
Add the following line to %%PREFIX%%/etc/sudoers:
|
||||
|
||||
nagios ALL=NOPASSWD: %%PREFIX%%/libexec/nagios/check_varnish
|
||||
|
||||
**********************************************************************
|
Loading…
Reference in New Issue
Block a user