public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nrpe/
Date: Mon,  1 May 2017 13:52:43 +0000 (UTC)	[thread overview]
Message-ID: <1493646679.68b248d93dd95048426be0ae9139a58b3f15e60b.mjo@gentoo> (raw)

commit:     68b248d93dd95048426be0ae9139a58b3f15e60b
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon May  1 13:51:19 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon May  1 13:51:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b248d9

net-analyzer/nrpe: remove unused version 2.15-r2.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/nrpe/nrpe-2.15-r2.ebuild | 128 ----------------------------------
 1 file changed, 128 deletions(-)

diff --git a/net-analyzer/nrpe/nrpe-2.15-r2.ebuild b/net-analyzer/nrpe/nrpe-2.15-r2.ebuild
deleted file mode 100644
index d36cf25b13d..00000000000
--- a/net-analyzer/nrpe/nrpe-2.15-r2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils systemd toolchain-funcs multilib user autotools
-
-DESCRIPTION="Nagios Remote Plugin Executor"
-HOMEPAGE="http://www.nagios.org/"
-SRC_URI="mirror://sourceforge/nagios/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE="command-args ssl tcpd minimal"
-
-DEPEND="ssl? ( dev-libs/openssl )
-	!minimal? ( tcpd? ( sys-apps/tcp-wrappers ) )"
-RDEPEND="${DEPEND}
-	!minimal? (
-		|| ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )
-	)"
-
-pkg_setup() {
-	enewgroup nagios
-	enewuser nagios -1 /bin/bash /dev/null nagios
-
-	elog "If you plan to use \"nrpe_check_control\" then you may want to specify"
-	elog "different command and services files. You can override the defaults"
-	elog "through the \"NAGIOS_COMMAND_FILE\" and \"NAGIOS_SERVICES_FILE\" environment variables."
-	elog "NAGIOS_COMMAND_FILE=${NAGIOS_COMMAND_FILE:-/var/rw/nagios.cmd}"
-	elog "NAGIOS_SERVICES_FILE=${NAGIOS_SERVICES_FILE:-/etc/services.cfg}"
-}
-
-src_prepare() {
-	# Add support for large output,
-	# http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html
-	epatch "${FILESDIR}"/${PN}-2.14-multiline.patch
-	# fix configure, among others #326367, #397603
-	epatch "${FILESDIR}"/${PN}-2.15-tcpd-et-al.patch
-	# otherwise autoconf will overwrite the custom include/config.h.in
-	epatch "${FILESDIR}"/${PN}-2.15-autoconf-header.patch
-	# improve handling of metachars for security
-	epatch "${FILESDIR}"/${PN}-2.15-metachar-security-fix.patch
-
-	sed -i -e '/define \(COMMAND\|SERVICES\)_FILE/d' contrib/nrpe_check_control.c || die
-
-	# change the default location of the pid file
-	sed -i -e '/pid_file/s:/var/run:/run:' sample-config/nrpe.cfg.in || die
-
-	# fix TFU handling of autoheader
-	sed -i -e '/#undef/d' include/config.h.in || die
-
-	eautoreconf
-}
-
-src_configure() {
-	local myconf
-	if use minimal; then
-		myconf="--disable-tcp-wrapper --disable-command-args"
-	else
-		myconf="$(use_enable tcpd tcp-wrapper) $(use_enable command-args)"
-	fi
-
-	econf \
-		--libexecdir=/usr/$(get_libdir)/nagios/plugins \
-		--localstatedir=/var/nagios \
-		--sysconfdir=/etc/nagios \
-		--with-nrpe-user=nagios \
-		--with-nrpe-group=nagios \
-		$(use_enable ssl) \
-		${myconf}
-}
-
-src_compile() {
-	emake -C src check_nrpe $(use minimal || echo nrpe)
-
-	# Add nifty nrpe check tool
-	$(tc-getCC) ${CPPFLAGS} ${CFLAGS} \
-		-DCOMMAND_FILE=\"${NAGIOS_COMMAND_FILE:-/var/rw/nagios.cmd}\" \
-		-DSERVICES_FILE=\"${NAGIOS_SERVICES_FILE:-/etc/services.cfg}\" \
-		${LDFLAGS} -o nrpe_check_control contrib/nrpe_check_control.c || die
-}
-
-src_install() {
-	dodoc LEGAL Changelog README SECURITY \
-		contrib/README.nrpe_check_control \
-		$(use ssl && echo README.SSL)
-
-	exeinto /usr/$(get_libdir)/nagios/plugins
-	doexe src/check_nrpe nrpe_check_control
-
-	use minimal && return 0
-
-	## NON-MINIMAL INSTALL FOLLOWS ##
-
-	insinto /etc/nagios
-	newins sample-config/nrpe.cfg nrpe.cfg
-	fowners root:nagios /etc/nagios/nrpe.cfg
-	fperms 0640 /etc/nagios/nrpe.cfg
-
-	exeinto /usr/libexec
-	doexe src/nrpe
-
-	newinitd "${FILESDIR}"/nrpe.init nrpe
-	systemd_dounit "${FILESDIR}/${PN}.service"
-
-	insinto /etc/xinetd.d/
-	newins "${FILESDIR}/nrpe.xinetd.2" nrpe
-
-	if use tcpd; then
-		sed -i -e '/^reload()/, /^}/ d' -e '/extra_started_commands/s:reload::' \
-			"${D}"/etc/init.d/nrpe
-	fi
-}
-
-pkg_postinst() {
-	elog "If you are using the nrpe daemon, remember to edit"
-	elog "the config file /etc/nagios/nrpe.cfg"
-
-	if use command-args ; then
-		ewarn ""
-		ewarn "You have enabled command-args for NRPE. This enables"
-		ewarn "the ability for clients to supply arguments to commands"
-		ewarn "which should be run. "
-		ewarn "THIS IS CONSIDERED A SECURITY RISK!"
-		ewarn "Please read /usr/share/doc/${PF}/SECURITY.bz2 for more info"
-	fi
-}


             reply	other threads:[~2017-05-01 13:52 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01 13:52 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-23  7:50 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nrpe/ Arthur Zamarin
2023-06-23  7:50 Arthur Zamarin
2023-06-23  6:10 Arthur Zamarin
2023-06-23  4:50 Arthur Zamarin
2022-11-01 22:54 Sam James
2022-08-19  3:38 Sam James
2021-07-30 15:17 Agostino Sarubbo
2021-07-30 15:14 Agostino Sarubbo
2021-07-29  7:08 Agostino Sarubbo
2021-07-29  6:45 Agostino Sarubbo
2021-07-29  6:40 Agostino Sarubbo
2021-04-29 18:28 Mikle Kolyada
2020-03-25 12:34 Michael Orlitzky
2020-03-20  9:16 Sergei Trofimovich
2020-03-18 22:24 Thomas Deutschmann
2020-03-18 11:13 Agostino Sarubbo
2020-03-18 11:11 Agostino Sarubbo
2020-03-18 11:04 Agostino Sarubbo
2020-03-18  9:51 Agostino Sarubbo
2020-03-17 16:01 Agostino Sarubbo
2020-02-14 13:48 Michael Orlitzky
2020-01-17 17:02 Michael Orlitzky
2019-08-31 21:35 Michael Orlitzky
2019-05-02 21:21 Mikle Kolyada
2019-04-28 22:06 Thomas Deutschmann
2019-04-08 13:53 Mikle Kolyada
2019-04-07 20:52 Sergei Trofimovich
2019-04-02 19:20 Sergei Trofimovich
2018-04-23 21:22 Aaron Bauman
2017-09-29 11:55 Michael Orlitzky
2017-08-24 15:16 Michael Orlitzky
2017-07-16 12:49 Michael Orlitzky
2017-05-15  8:13 Tobias Klausmann
2017-04-30  9:37 Agostino Sarubbo
2017-04-29 15:02 Agostino Sarubbo
2017-04-27 11:23 Agostino Sarubbo
2017-04-25  7:21 Jeroen Roovers
2017-04-24 12:44 Tobias Klausmann
2017-04-23 12:40 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493646679.68b248d93dd95048426be0ae9139a58b3f15e60b.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox