aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2013-08-21 21:36:27 +0800
committerskreuzer <skreuzer@FreeBSD.org>2013-08-21 21:36:27 +0800
commit6a846236815b692623e238bc0928be95fa3926e5 (patch)
tree37907f02b5dcde562f50703a2830c1f56c79488d /net-mgmt
parent456587bd350ed03d428418488f963d39afbfa789 (diff)
downloadfreebsd-ports-gnome-6a846236815b692623e238bc0928be95fa3926e5.tar.gz
freebsd-ports-gnome-6a846236815b692623e238bc0928be95fa3926e5.tar.zst
freebsd-ports-gnome-6a846236815b692623e238bc0928be95fa3926e5.zip
Update to 2.14
PR: ports/180447 Submitted by: Steven Kreuzer <skreuzer@FreeBSD.org> Approved by: maintainer timeout (42 days)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nrpe2/Makefile4
-rw-r--r--net-mgmt/nrpe2/distinfo4
-rw-r--r--net-mgmt/nrpe2/files/nrpe2.in2
-rw-r--r--net-mgmt/nrpe2/files/patch-src-nrpe.c28
4 files changed, 32 insertions, 6 deletions
diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile
index e73336fd3f5a..d1a2ad4c8afa 100644
--- a/net-mgmt/nrpe2/Makefile
+++ b/net-mgmt/nrpe2/Makefile
@@ -1,10 +1,8 @@
# Created by: Paul Dlug<paul@nerdlabs.com>
-#
# $FreeBSD$
PORTNAME= nrpe
-DISTVERSION= 2.13
-PORTREVISION= 2
+DISTVERSION= 2.14
CATEGORIES= net-mgmt
MASTER_SITES= SF/nagios/${PORTNAME}-2.x/${PORTNAME}-${PORTVERSION}
diff --git a/net-mgmt/nrpe2/distinfo b/net-mgmt/nrpe2/distinfo
index 51f0e36ed0d1..55a4d9334c49 100644
--- a/net-mgmt/nrpe2/distinfo
+++ b/net-mgmt/nrpe2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nrpe-2.13.tar.gz) = bac8f7eb9daddf96b732a59ffc5762b1cf073fb70f6881d95216ebcd1254a254
-SIZE (nrpe-2.13.tar.gz) = 411768
+SHA256 (nrpe-2.14.tar.gz) = 808c7c4a82d0addf15449663e4712b5018c8bbd668e46723139f731f1ac44431
+SIZE (nrpe-2.14.tar.gz) = 421635
diff --git a/net-mgmt/nrpe2/files/nrpe2.in b/net-mgmt/nrpe2/files/nrpe2.in
index 65f3f0bd37a7..69f10a7347e9 100644
--- a/net-mgmt/nrpe2/files/nrpe2.in
+++ b/net-mgmt/nrpe2/files/nrpe2.in
@@ -26,7 +26,7 @@ required_files="${nrpe2_configfile}"
command="%%PREFIX%%/sbin/nrpe2"
command_args="-c ${nrpe2_configfile} -d"
-extra_commands="reload"
+extra_commands=reload
sig_reload=HUP
start_precmd=nrpe2_prestart
diff --git a/net-mgmt/nrpe2/files/patch-src-nrpe.c b/net-mgmt/nrpe2/files/patch-src-nrpe.c
new file mode 100644
index 000000000000..c9afacbc76d1
--- /dev/null
+++ b/net-mgmt/nrpe2/files/patch-src-nrpe.c
@@ -0,0 +1,28 @@
+--- src/nrpe.c.orig 2013-07-10 21:18:24.000000000 +0000
++++ src/nrpe.c 2013-07-10 21:20:25.000000000 +0000
+@@ -89,7 +89,9 @@
+ int use_src=FALSE; /* Define parameter for SRC option */
+
+
++#ifdef HAVE_SSL
+ void complete_SSL_shutdown( SSL *);
++#endif
+
+
+ int main(int argc, char **argv){
+@@ -1673,6 +1675,7 @@
+ return OK;
+ }
+
++#ifdef HAVE_SSL
+ void complete_SSL_shutdown( SSL *ssl) {
+
+ /*
+@@ -1693,6 +1696,7 @@
+ if( SSL_shutdown( ssl)) break;
+ }
+ }
++#endif
+
+ /* bail if daemon is running as root */
+ int check_privileges(void){