Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 11:17:20 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 16c38f99528e - main - net-mgmt/nrpe3: Remove expired port
Message-ID:  <202306031117.353BHKsu042186@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16c38f99528eb8c16c4d41ce3cda7011808142af

commit 16c38f99528eb8c16c4d41ce3cda7011808142af
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-06-03 11:17:04 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-06-03 11:17:04 +0000

    net-mgmt/nrpe3: Remove expired port
    
    2023-06-03 net-mgmt/nrpe3: Fails to build with recent OpenSSL so use net-mgmt/nrpe
---
 MOVED                                          |  1 +
 net-mgmt/Makefile                              |  1 -
 net-mgmt/nrpe3/Makefile                        | 88 --------------------------
 net-mgmt/nrpe3/distinfo                        |  3 -
 net-mgmt/nrpe3/files/nrpe3.in                  | 51 ---------------
 net-mgmt/nrpe3/files/patch-include_common.h.in | 19 ------
 net-mgmt/nrpe3/files/patch-src_check__nrpe.c   | 11 ----
 net-mgmt/nrpe3/files/patch-src_nrpe.c          | 11 ----
 net-mgmt/nrpe3/files/pkg-message.in            | 12 ----
 net-mgmt/nrpe3/pkg-descr                       |  7 --
 net-mgmt/nrpe3/pkg-plist                       |  4 --
 11 files changed, 1 insertion(+), 207 deletions(-)

diff --git a/MOVED b/MOVED
index ff46b2861446..3c1f3fe5bb25 100644
--- a/MOVED
+++ b/MOVED
@@ -7617,3 +7617,4 @@ net-mgmt/send||2023-06-03|Has expired: Implementation is based on older obsolete
 dns/validns||2023-06-03|Has expired: Last upstream release was 10 years ago and last upstream activity in 2017
 sysutils/cfengine319||2023-06-03|Has expired: Upstream EOL reached on 2022-06-30
 sysutils/cfengine-masterfiles319||2023-06-03|Removed, part of expired sysutils/cfengine319
+net-mgmt/nrpe3|net-mgmt/nrpe|2023-06-03|Has expired: Fails to build with recent OpenSSL so use net-mgmt/nrpe
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 051a593f39b3..2374fa6eeae7 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -205,7 +205,6 @@
     SUBDIR += ng_ipacct
     SUBDIR += nitpicker
     SUBDIR += nrpe
-    SUBDIR += nrpe3
     SUBDIR += nsca
     SUBDIR += nsca-client
     SUBDIR += nsca-ng
diff --git a/net-mgmt/nrpe3/Makefile b/net-mgmt/nrpe3/Makefile
deleted file mode 100644
index 324afabb16b8..000000000000
--- a/net-mgmt/nrpe3/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-PORTNAME=	nrpe
-PORTVERSION=	3.2.1
-DISTVERSIONPREFIX=	nrpe-
-PORTREVISION?=	1
-CATEGORIES=	net-mgmt
-PKGNAMESUFFIX=	3
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT?=	Nagios Remote Plugin Executor
-WWW=		https://www.nagios.org/
-
-LICENSE=	GPLv2+
-LICENSE_FILE=	${WRKSRC}/LICENSE.md
-
-DEPRECATED=	Fails to build with recent OpenSSL so use net-mgmt/nrpe
-EXPIRATION_DATE=	2023-06-03
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	NagiosEnterprises
-
-USES=		perl5
-USE_PERL5=	build
-USE_RC_SUBR=	nrpe3
-GNU_CONFIGURE=	yes
-
-OPTIONS_DEFINE=	SSL ARGS
-OPTIONS_RADIO=	PLUGINS
-OPTIONS_RADIO_PLUGINS=	MONPLUGINS NAGPLUGINS
-OPTIONS_DEFAULT=NAGPLUGINS SSL
-
-SSL_DESC=	Enable SSL support (disables plain-text server)
-ARGS_DESC=	Enable command argument processing
-NAGPLUGINS_DESC=Use net-mgmt/nagios-plugins
-MONPLUGINS_DESC=Use net-mgmt/monitoring-plugins
-
-SSL_USES=		ssl
-SSL_CONFIGURE_ENABLE=	ssl
-SSL_CONFIGURE_WITH=	ssl=${OPENSSLBASE} ssl-inc=${OPENSSLINC} ssl-lib=${OPENSSLLIB}
-SSL_CFLAGS=		-I${OPENSSLINC}
-SSL_VARS=	BROKEN_SSL="openssl30 openssl31" \
-		BROKEN_SSL_REASON="error: undefined symbol: get_dh2048"
-
-ARGS_CONFIGURE_ON=	--enable-command-args
-ARGS_CONFIGURE_OFF=	--disable-command-args
-
-MONPLUGINS_RUN_DEPENDS=	${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins
-NAGPLUGINS_RUN_DEPENDS=	${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
-
-NAGIOSUSER?=	nagios
-NAGIOSGROUP?=	nagios
-USERS=		${NAGIOSUSER}
-GROUPS=		${NAGIOSGROUP}
-
-NRPE_PIDDIR?=	/var/run/nrpe3
-
-CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \
-		--libexecdir=${PREFIX}/libexec/nagios \
-		--sysconfdir=${PREFIX}/etc \
-		--with-nrpe-user=${NAGIOSUSER} \
-		--with-nrpe-group=${NAGIOSGROUP}
-
-PLIST_SUB=	NAGIOSUSER=${NAGIOSUSER} \
-		NAGIOSGROUP=${NAGIOSGROUP} \
-		NRPE_PIDDIR=${NRPE_PIDDIR}
-SUB_LIST+=	PIDDIR=${NRPE_PIDDIR}
-
-SUB_FILES=	pkg-message
-
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-CFLAGS+=	-Wno-error=int-conversion
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|/var/run/nrpe.pid|${NRPE_PIDDIR}/nrpe3.pid|g' \
-		-e 's|/usr/lib/nagios/plugins/|${LOCALBASE}/libexec/nagios/|g' \
-		-e 's|/usr/bin/sudo|${LOCALBASE}/bin/sudo|g' \
-		${WRKSRC}/sample-config/nrpe.cfg.in
-
-do-install:
-	${INSTALL} -d ${STAGEDIR}${NRPE_PIDDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${STAGEDIR}${PREFIX}/sbin/nrpe3
-	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
-	${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${STAGEDIR}${PREFIX}/libexec/nagios/check_nrpe3
-	${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${STAGEDIR}${PREFIX}/etc/nrpe.cfg.sample
-
-.include <bsd.port.post.mk>
diff --git a/net-mgmt/nrpe3/distinfo b/net-mgmt/nrpe3/distinfo
deleted file mode 100644
index 9ff222861350..000000000000
--- a/net-mgmt/nrpe3/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1507746408
-SHA256 (NagiosEnterprises-nrpe-nrpe-3.2.1_GH0.tar.gz) = b1bb0a0cbbd0f6c438ce7260db600cd45612c61ae7e3bd59a309262dc4d70b81
-SIZE (NagiosEnterprises-nrpe-nrpe-3.2.1_GH0.tar.gz) = 518035
diff --git a/net-mgmt/nrpe3/files/nrpe3.in b/net-mgmt/nrpe3/files/nrpe3.in
deleted file mode 100644
index 16646430821b..000000000000
--- a/net-mgmt/nrpe3/files/nrpe3.in
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: nrpe3
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable nrpe3:
-# nrpe3_enable (bool):    Set to "NO" by default.
-#                         Set it to "YES" to enable nrpe3.
-# nrpe3_flags (str):      Not set by default.
-# nrpe3_configfile (str): Set to "%%PREFIX%%/etc/nrpe.cfg" by default.
-
-. /etc/rc.subr
-
-name=nrpe3
-rcvar=nrpe3_enable
-
-load_rc_config "${name}"
-
-: ${nrpe3_enable:=NO}
-: ${nrpe3_configfile:=%%PREFIX%%/etc/nrpe.cfg}
-
-required_files="${nrpe3_configfile}"
-
-command="%%PREFIX%%/sbin/nrpe3"
-command_args="-c ${nrpe3_configfile} -d"
-extra_commands=reload
-sig_reload=HUP
-
-start_precmd=nrpe3_prestart
-stop_precmd=find_pidfile
-
-find_pidfile()
-{
-	[ -n "$nrpe3_pidfile" ] &&
-	    warn "No longer necessary to set nrpe3_pidfile in rc.conf[.local]"
-
-	if get_pidfile_from_conf pid_file ${nrpe3_configfile}; then
-		pidfile="$_pidfile_from_conf"
-	else
-		pidfile='%%PIDDIR%%/nrpe3.pid'
-	fi
-}
-
-nrpe3_prestart()
-{
-	find_pidfile
-	install -d -o ${nrpe_user:-nagios} ${pidfile%/*}
-}
-
-run_rc_command "$1"
diff --git a/net-mgmt/nrpe3/files/patch-include_common.h.in b/net-mgmt/nrpe3/files/patch-include_common.h.in
deleted file mode 100644
index 71c42206830f..000000000000
--- a/net-mgmt/nrpe3/files/patch-include_common.h.in
+++ /dev/null
@@ -1,19 +0,0 @@
---- include/common.h.in.orig	2017-12-08 11:11:28 UTC
-+++ include/common.h.in
-@@ -30,11 +30,16 @@
- 
- #ifdef HAVE_SSL
- #include <@SSL_INC_PREFIX@@SSL_HDR@>
-+#include <@SSL_INC_PREFIX@crypto.h>
- # ifdef SSL_TYPE_openssl
- #  include <@SSL_INC_PREFIX@err.h>
- #  include <@SSL_INC_PREFIX@rand.h>
- #  include <@SSL_INC_PREFIX@engine.h>
-+#  include <@SSL_INC_PREFIX@crypto.h>
-+#  if defined (LIBRESSL_VERSION_NUMBER)
-+#   include <@SSL_INC_PREFIX@opensslfeatures.h>
-+#  endif
- # endif
- #endif
- 
- #define PROGRAM_VERSION "3.2.1"
diff --git a/net-mgmt/nrpe3/files/patch-src_check__nrpe.c b/net-mgmt/nrpe3/files/patch-src_check__nrpe.c
deleted file mode 100644
index ac9737d62143..000000000000
--- a/net-mgmt/nrpe3/files/patch-src_check__nrpe.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/check_nrpe.c.orig	2017-04-17 14:21:54 UTC
-+++ src/check_nrpe.c
-@@ -839,7 +839,7 @@ void setup_ssl()
- 			exit(STATE_CRITICAL);
- 		}
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10100000
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)
- 
- 	SSL_CTX_set_max_proto_version(ctx, 0);
- 
diff --git a/net-mgmt/nrpe3/files/patch-src_nrpe.c b/net-mgmt/nrpe3/files/patch-src_nrpe.c
deleted file mode 100644
index d1d103f7eb2b..000000000000
--- a/net-mgmt/nrpe3/files/patch-src_nrpe.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/nrpe.c.orig	2017-04-28 10:29:47 UTC
-+++ src/nrpe.c
-@@ -320,7 +320,7 @@ void init_ssl(void)
- 		exit(STATE_CRITICAL);
- 	}
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10100000
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)
- 
- 	SSL_CTX_set_max_proto_version(ctx, 0);
- 
diff --git a/net-mgmt/nrpe3/files/pkg-message.in b/net-mgmt/nrpe3/files/pkg-message.in
deleted file mode 100644
index b5e0a5b7d220..000000000000
--- a/net-mgmt/nrpe3/files/pkg-message.in
+++ /dev/null
@@ -1,12 +0,0 @@
-[
-{ type: install
-  message: <<EOM
- Enable NRPE in /etc/rc.conf with the following line:
-
-   nrpe3_enable="YES"
-
- A sample configuration is available in %%PREFIX%%/etc/nrpe.cfg.sample.
- Copy to nrpe.cfg where required and edit to suit your needs.
-EOM
-}
-]
diff --git a/net-mgmt/nrpe3/pkg-descr b/net-mgmt/nrpe3/pkg-descr
deleted file mode 100644
index 86c0868c4833..000000000000
--- a/net-mgmt/nrpe3/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-nrpe is used to execute Nagios plugins on remote hosts and report the results
-to the main Nagios server. From the Nagios homepage:
-
-Allows you to execute "local" plugins (like check_disk, check_procs, etc.) on
-remote hosts. The check_nrpe plugin is called from Nagios and actually makes
-the plugin requests to the remote host. Requires that nrpe be running on the
-remote host (either as a standalone daemon or as a service under inetd).
diff --git a/net-mgmt/nrpe3/pkg-plist b/net-mgmt/nrpe3/pkg-plist
deleted file mode 100644
index 9b52107d7adb..000000000000
--- a/net-mgmt/nrpe3/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@sample etc/nrpe.cfg.sample
-libexec/nagios/check_nrpe3
-sbin/nrpe3
-@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,755) %%NRPE_PIDDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306031117.353BHKsu042186>