From 6a846236815b692623e238bc0928be95fa3926e5 Mon Sep 17 00:00:00 2001 From: skreuzer Date: Wed, 21 Aug 2013 13:36:27 +0000 Subject: Update to 2.14 PR: ports/180447 Submitted by: Steven Kreuzer Approved by: maintainer timeout (42 days) --- net-mgmt/nrpe2/Makefile | 4 +--- net-mgmt/nrpe2/distinfo | 4 ++-- net-mgmt/nrpe2/files/nrpe2.in | 2 +- net-mgmt/nrpe2/files/patch-src-nrpe.c | 28 ++++++++++++++++++++++++++++ 4 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 net-mgmt/nrpe2/files/patch-src-nrpe.c (limited to 'net-mgmt') 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 -# # $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){ -- cgit