From nobody Fri Jun 30 05:22:41 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QskGn6LzCz4kr1L; Fri, 30 Jun 2023 05:22:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QskGn48tzz43Sn; Fri, 30 Jun 2023 05:22:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688102561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x68//HQcx2EyC3Eobb+1iNYCq/MN+lJDt62+HgHUP8Q=; b=L2Rr2CjrroG7nf+I4N7lIL7t1uFNKc3qetsdxQ108oKvRK6m+od6b85EuXKbEQGeSZv1tY TT+vn6nqmS9ltObxtjTkLsUTyVl4sQght0jhysnqgiXPjE9R9R76nPJ+pIBuNeL8mzrP0q Sj2xfnpjVH3AdBOcOzQ/jXQj9abtagXiaNxfgUYXt5MTTQ0odxfEkc5hNmn65cYeqDA7NU IsTxZL4OQJJD5CCrSj5Vj1C6aG8qybctDpI/pZlosgWBTyIXskmUl03G1y2SJbWSdwlTlR G7CMvmehICZ4A/2kK+RX7cbuWuwPEovq01g6wJyqE4lx9P6kq/NyXeGCMK1MsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688102561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x68//HQcx2EyC3Eobb+1iNYCq/MN+lJDt62+HgHUP8Q=; b=cK4E+jt8EtcjOdfzoKZAfeLAdwEFoyunXZFpLF1ZPNptRTaO5SNLX7G2R1H3j0LFvclLgY ESuIP2gwOs6S8rB+NVwufVG0lFtRRWrlfcq++4UuiAlhfI3RWWG069JZgmRdxf2GVw3286 t90sG3UB4l/pzM2pjkCvG+phiawJoycUdpJDKv/4x/aXCP80TXhZ/U8oPrKBxV9fAo18zF 5ew9EOW756c7gKIvByaXbddqaHXxjT/MGu4Rb2AhHCapjRayRSQTgQnYIXz21dU/Q+LHC4 oRF+ZUAUamzJJ8ZD2C/rwy1nIPXGZAN87vAyTSSeXa3yxELpGqZwAm9bu+maag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688102561; a=rsa-sha256; cv=none; b=PxK8n0foNNWhWYYdjaBeOvmbZWcJKM3g/ffXOawHtrITa5TIbzHTLCWqop0EUqRcZ7f0GX LNabNBqetiEBgWhb2kTSBTQi6rBFgZgg0s8H8qTB6WsoSmw5S/wVWAXUeUdEylclFFrBu6 R8rqTA+jmtmhr3YXx0f+top+i2ixjnAV5Sy9NgjQLv4xab6x5FvVJPsb5Mv9fNOYOiEf1u 7dt8XvEPzPaJRmydbhFD8Xt3YXKy0st02NsmfCOs5I+OLrWdSGw3YPdUa/Uyko/7VP/f2z emEwZWDqFrqPAlOOiWzwhYHeOAkE+0BL1gcUHhnq03cCj9/lTBLA1raFrFNTWA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QskGn3GfRzmYB; Fri, 30 Jun 2023 05:22:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35U5MfBe078375; Fri, 30 Jun 2023 05:22:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35U5Mfub078374; Fri, 30 Jun 2023 05:22:41 GMT (envelope-from git) Date: Fri, 30 Jun 2023 05:22:41 GMT Message-Id: <202306300522.35U5Mfub078374@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 161d758f8036 - main - sysutils/mnrpes: Remove expired port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 161d758f803667f547e3c2027e719f4ac99964c1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=161d758f803667f547e3c2027e719f4ac99964c1 commit 161d758f803667f547e3c2027e719f4ac99964c1 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-30 05:21:44 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-30 05:21:50 +0000 sysutils/mnrpes: Remove expired port 2023-06-30 sysutils/mnrpes: Depends on broken sysutils/mcollective Approved by: portmgr (blanket) --- MOVED | 1 + sysutils/Makefile | 1 - sysutils/mnrpes/Makefile | 49 ------------- sysutils/mnrpes/distinfo | 2 - sysutils/mnrpes/files/mnrpes_receiver.in | 112 ---------------------------- sysutils/mnrpes/files/mnrpes_scheduler.in | 117 ------------------------------ sysutils/mnrpes/pkg-descr | 3 - sysutils/mnrpes/pkg-plist | 14 ---- 8 files changed, 1 insertion(+), 298 deletions(-) diff --git a/MOVED b/MOVED index 33ca210afb9c..a990e3802312 100644 --- a/MOVED +++ b/MOVED @@ -7696,3 +7696,4 @@ sysutils/mcollective-nrpe-common||2023-06-30|Has expired: Depends on broken sysu sysutils/mcollective-service-common||2023-06-30|Has expired: Depends on broken sysutils/mcollective sysutils/mcollective-puppet-common||2023-06-30|Has expired: Depends on broken sysutils/mcollective sysutils/mcollective-nettest-common||2023-06-30|Has expired: Depends on broken sysutils/mcollective +sysutils/mnrpes||2023-06-30|Has expired: Depends on broken sysutils/mcollective diff --git a/sysutils/Makefile b/sysutils/Makefile index dbda1552b9d4..89db157689a8 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -756,7 +756,6 @@ SUBDIR += mkntpwd SUBDIR += mmc-utils SUBDIR += mmve - SUBDIR += mnrpes SUBDIR += modman SUBDIR += modules SUBDIR += mog diff --git a/sysutils/mnrpes/Makefile b/sysutils/mnrpes/Makefile deleted file mode 100644 index 4c49cd19bb5d..000000000000 --- a/sysutils/mnrpes/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -PORTNAME= mnrpes -PORTVERSION= 2014041501 -CATEGORIES= sysutils - -MAINTAINER= robak@FreeBSD.org -COMMENT= MCollective and Rufus scheduler wrapper -WWW= https://github.com/nullDowntimeLtd/mnrpes - -LICENSE= APACHE20 - -DEPRECATED= Depends on broken sysutils/mcollective -EXPIRATION_DATE= 2023-06-30 - -RUN_DEPENDS= mcollective>=2:sysutils/mcollective \ - rubygem-rufus-scheduler>=0.1:devel/rubygem-rufus-scheduler - -USES= ruby -USE_GITHUB= yes -GH_ACCOUNT= nullDowntimeLtd -GH_TAGNAME= 3f9942c - -USE_RC_SUBR= mnrpes_receiver \ - mnrpes_scheduler - -PLIST_SUB+= PORTNAME=${PORTNAME} - -NO_ARCH= yes -NO_BUILD= yes - -do-install: - ${MKDIR} ${STAGEDIR}${ETCDIR} - ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME} - ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME}/output - ${INSTALL_SCRIPT} ${WRKSRC}/bin/mnrpes-receiver.rb ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/bin/mnrpes-scheduler.rb ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes.rb ${STAGEDIR}${RUBY_SITELIBDIR}/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes/receiver.rb ${STAGEDIR}${RUBY_SITELIBDIR}/mnrpes/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes/scheduler.rb ${STAGEDIR}${RUBY_SITELIBDIR}/mnrpes/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes/output/flapjack.rb ${STAGEDIR}${RUBY_SITELIBDIR}/mnrpes/output/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes/output/nagios.rb ${STAGEDIR}${RUBY_SITELIBDIR}/mnrpes/output/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes/output/redis_status.rb ${STAGEDIR}${RUBY_SITELIBDIR}/mnrpes/output/ - ${INSTALL_SCRIPT} ${WRKSRC}/lib/mnrpes/output/stdout.rb ${STAGEDIR}${RUBY_SITELIBDIR}/mnrpes/output/ - ${INSTALL_DATA} ${WRKSRC}/etc/checks.txt.dist ${STAGEDIR}${ETCDIR} - ${INSTALL_DATA} ${WRKSRC}/etc/mnrpes-receiver.cfg.dist ${STAGEDIR}${ETCDIR} - ${INSTALL_DATA} ${WRKSRC}/etc/mnrpes-scheduler.cfg.dist ${STAGEDIR}${ETCDIR} - ${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} - ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} - -.include diff --git a/sysutils/mnrpes/distinfo b/sysutils/mnrpes/distinfo deleted file mode 100644 index d9eb0c25fb2d..000000000000 --- a/sysutils/mnrpes/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (nullDowntimeLtd-mnrpes-2014041501-3f9942c_GH0.tar.gz) = 5366c6d891005e28c93e67b5ee074d635285d0bdbb36e6f89bec3eb8dd4b8c65 -SIZE (nullDowntimeLtd-mnrpes-2014041501-3f9942c_GH0.tar.gz) = 83658 diff --git a/sysutils/mnrpes/files/mnrpes_receiver.in b/sysutils/mnrpes/files/mnrpes_receiver.in deleted file mode 100644 index 4be6136ffa44..000000000000 --- a/sysutils/mnrpes/files/mnrpes_receiver.in +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/sh - -# mnrpes_receiver startup script -# -# PROVIDE: mnrpes_receiver -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following to /etc/rc.conf[.local] to enable this service -# -# mnrpes_receiver_enable="YES" -# -# You can fine tune others variables too: -# mnrpes_receiver_config= -# Use mnrpes_receiver_user to run mnrpes_receiver as user - -# mnrpes_receiver rc.d script supports multiple profiles (a-la rc.d/nginx) -# When profiles are specified, the non-profile specific parameters become defaults. -# -# Example: -# -# mnrpes_receiver_enable="YES" -# mnrpes_receiver_profiles="myserver myotherserver" -# mnrpes_receiver_config="/usr/local/etc/mnrpes/mnrpes-receiver.cfg" -# mnrpes_receiver_myserver_user="myuser" -# mnrpes_receiver_myotherserver_user="myotheruser" -# mnrpes_receiver_myotherserver_config="/usr/local/etc/mnrpes/mnrpes-receiver-myotherserver.cfg" - -. /etc/rc.subr - -name="mnrpes_receiver" -rcvar=mnrpes_receiver_enable - -mnrpes_receiver_setfib() { - if command -v check_namevarlist > /dev/null 2>&1; then - check_namevarlist fib && return 0 - fi - - ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 - - mnrpes_receiver_fib=${mnrpes_receiver_fib:-"NONE"} - case "$mnrpes_receiver_fib" in - [Nn][Oo][Nn][Ee]) - ;; - *) - command="setfib -F ${mnrpes_receiver_fib} ${command}" - ;; - esac -} - -mnrpes_receiver_precmd() { - user="$1" - piddir="$2" - logdir="$3" - mnrpes_receiver_setfib - install -d -o $user -g wheel -m 1750 "${piddir}" - install -d -o $user -g wheel -m 1750 "${logdir}" -} - -command_interpreter="ruby" - -piddir="/var/run/mnrpes/receiver" -pidname="receiver" -logdir="/var/log/mnrpes/receiver" - -load_rc_config $name - -# These are just the defaults, they might get overriden for a specific profile. -mnrpes_receiver_enable=${mnrpes_receiver_enable:-"NO"} -mnrpes_receiver_user=${mnrpes_receiver_user:-"nobody"} -mnrpes_receiver_config=${mnrpes_receiver_config:-"/usr/local/etc/mnrpes/mnrpes-receiver.cfg"} - -# This handles profile specific vars. -if [ -n "$2" ]; then - profile="$2" - if [ -n "${mnrpes_receiver_profiles}" ]; then - piddir="${piddir}.${profile}" - pidname="${pidname}.${profile}" - logdir="${logdir}.${profile}" - eval mnrpes_receiver_enable="\${mnrpes_receiver_${profile}_enable:-${mnrpes_receiver_enable}}" - eval mnrpes_receiver_fib="\${mnrpes_receiver_${profile}_fib:-${mnrpes_receiver_fib}}" - eval mnrpes_receiver_user="\${mnrpes_receiver_${profile}_user:-${mnrpes_receiver_user}}" - eval mnrpes_receiver_config="\${mnrpes_receiver_${profile}_config:-${mnrpes_receiver_config}}" - else - echo "$0: extra argument ignored" - fi -else - if [ -n "${mnrpes_receiver_profiles}" -a -n "$1" ]; then - for profile in ${mnrpes_receiver_profiles}; do - echo "===> mnrpes_receiver profile: ${profile}" - /usr/local/etc/rc.d/mnrpes_receiver $1 ${profile} - retcode="$?" - if [ "0${retcode}" -ne 0 ]; then - failed="${profile} (${retcode}) ${failed:-}" - else - success="${profile} ${success:-}" - fi - done - # It exits so that non-profile rc.d is not started when there are profiles. - exit 0 - fi -fi - -pidfile="${piddir}/${pidname}.pid" - -command="/usr/local/bin/mnrpes-receiver.rb" - -start_precmd="mnrpes_receiver_precmd ${mnrpes_receiver_user} ${piddir} ${logdir}" - -command_args="--pid ${pidfile} --config ${mnrpes_receiver_config}" - -run_rc_command "$1" diff --git a/sysutils/mnrpes/files/mnrpes_scheduler.in b/sysutils/mnrpes/files/mnrpes_scheduler.in deleted file mode 100644 index 91569bb0851a..000000000000 --- a/sysutils/mnrpes/files/mnrpes_scheduler.in +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/sh - -# mnrpes_scheduler startup script -# -# PROVIDE: mnrpes_scheduler -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following to /etc/rc.conf[.local] to enable this service -# -# mnrpes_scheduler_enable="YES" -# -# You can fine tune others variables too: -# mnrpes_scheduler_config= -# mnrpes_scheduler_checks= -# Use mnrpes_scheduler_user to run mnrpes_scheduler as user - -# mnrpes_scheduler rc.d script supports multiple profiles (a-la rc.d/nginx) -# When profiles are specified, the non-profile specific parameters become defaults. -# -# Example: -# -# mnrpes_scheduler_enable="YES" -# mnrpes_scheduler_profiles="myserver myotherserver" -# mnrpes_scheduler_config="/usr/local/etc/mnrpes/mnrpes-scheduler.cfg" -# mnrpes_scheduler_checks="/usr/local/etc/mnrpes/checks.txt" -# mnrpes_scheduler_myserver_user="myuser" -# mnrpes_scheduler_myotherserver_user="myotheruser" -# mnrpes_scheduler_myotherserver_config="/usr/local/etc/mnrpes/mnrpes-scheduler-myotherserver.cfg" -# mnrpes_scheduler_myotherserver_checks="/usr/local/etc/mnrpes/checks-myotherserver.txt" - -. /etc/rc.subr - -name="mnrpes_scheduler" -rcvar=mnrpes_scheduler_enable - -mnrpes_scheduler_setfib() { - if command -v check_namevarlist > /dev/null 2>&1; then - check_namevarlist fib && return 0 - fi - - ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 - - mnrpes_scheduler_fib=${mnrpes_scheduler_fib:-"NONE"} - case "$mnrpes_scheduler_fib" in - [Nn][Oo][Nn][Ee]) - ;; - *) - command="setfib -F ${mnrpes_scheduler_fib} ${command}" - ;; - esac -} - -mnrpes_scheduler_precmd() { - user="$1" - piddir="$2" - logdir="$3" - mnrpes_scheduler_setfib - install -d -o $user -g wheel -m 1750 "${piddir}" - install -d -o $user -g wheel -m 1750 "${logdir}" -} - -command_interpreter="ruby" - -piddir="/var/run/mnrpes/scheduler" -pidname="scheduler" -logdir="/var/log/mnrpes/scheduler" - -load_rc_config $name - -# These are just the defaults, they might get overriden for a specific profile. -mnrpes_scheduler_enable=${mnrpes_scheduler_enable:-"NO"} -mnrpes_scheduler_user=${mnrpes_scheduler_user:-"nobody"} -mnrpes_scheduler_config=${mnrpes_scheduler_config:-"/usr/local/etc/mnrpes/mnrpes-scheduler.cfg"} -mnrpes_scheduler_checks=${mnrpes_scheduler_checks:-"/usr/local/etc/mnrpes/checks.txt"} - -# This handles profile specific vars. -if [ -n "$2" ]; then - profile="$2" - if [ -n "${mnrpes_scheduler_profiles}" ]; then - piddir="${piddir}.${profile}" - pidname="${pidname}.${profile}" - logdir="${logdir}.${profile}" - eval mnrpes_scheduler_enable="\${mnrpes_scheduler_${profile}_enable:-${mnrpes_scheduler_enable}}" - eval mnrpes_scheduler_fib="\${mnrpes_scheduler_${profile}_fib:-${mnrpes_scheduler_fib}}" - eval mnrpes_scheduler_user="\${mnrpes_scheduler_${profile}_user:-${mnrpes_scheduler_user}}" - eval mnrpes_scheduler_config="\${mnrpes_scheduler_${profile}_config:-${mnrpes_scheduler_config}}" - eval mnrpes_scheduler_checks="\${mnrpes_scheduler_${profile}_checks:-${mnrpes_scheduler_checks}}" - else - echo "$0: extra argument ignored" - fi -else - if [ -n "${mnrpes_scheduler_profiles}" -a -n "$1" ]; then - for profile in ${mnrpes_scheduler_profiles}; do - echo "===> mnrpes_scheduler profile: ${profile}" - /usr/local/etc/rc.d/mnrpes_scheduler $1 ${profile} - retcode="$?" - if [ "0${retcode}" -ne 0 ]; then - failed="${profile} (${retcode}) ${failed:-}" - else - success="${profile} ${success:-}" - fi - done - # It exits so that non-profile rc.d is not started when there are profiles. - exit 0 - fi -fi - -pidfile="${piddir}/${pidname}.pid" - -command="/usr/local/bin/mnrpes-scheduler.rb" - -start_precmd="mnrpes_scheduler_precmd ${mnrpes_scheduler_user} ${piddir} ${logdir}" - -command_args="--pid ${pidfile} --config ${mnrpes_scheduler_config} --checks ${mnrpes_scheduler_checks}" - -run_rc_command "$1" diff --git a/sysutils/mnrpes/pkg-descr b/sysutils/mnrpes/pkg-descr deleted file mode 100644 index 1e670326f57f..000000000000 --- a/sysutils/mnrpes/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Mnrpes is a system that uses MCollective and the Rufus scheduler -to build a distributed async scheduler and checker for Nagios -based on the Passive mode. diff --git a/sysutils/mnrpes/pkg-plist b/sysutils/mnrpes/pkg-plist deleted file mode 100644 index 3fee47c4b6b3..000000000000 --- a/sysutils/mnrpes/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/mnrpes-receiver.rb -bin/mnrpes-scheduler.rb -%%ETCDIR%%/checks.txt.dist -%%ETCDIR%%/mnrpes-receiver.cfg.dist -%%ETCDIR%%/mnrpes-scheduler.cfg.dist -%%RUBY_SITELIBDIR%%/mnrpes.rb -%%RUBY_SITELIBDIR%%/%%PORTNAME%%/receiver.rb -%%RUBY_SITELIBDIR%%/%%PORTNAME%%/scheduler.rb -%%RUBY_SITELIBDIR%%/%%PORTNAME%%/output/flapjack.rb -%%RUBY_SITELIBDIR%%/%%PORTNAME%%/output/nagios.rb -%%RUBY_SITELIBDIR%%/%%PORTNAME%%/output/redis_status.rb -%%RUBY_SITELIBDIR%%/%%PORTNAME%%/output/stdout.rb -@dir /var/run/%%PORTNAME%% -@dir /var/log/%%PORTNAME%%