diff options
author | Eldad Zack <eldad@gentoo.org> | 2004-10-25 12:59:33 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2004-10-25 12:59:33 +0000 |
commit | 959a25384b57cbf835aecc70684ea54030d529ff (patch) | |
tree | 60bf2ecb2ab472a1bb71ce0f0deea95995afbe41 /net-analyzer/nagios-nrpe | |
parent | Version bump; cleaned up ebuild and added metadata info. (Manifest recommit) (diff) | |
download | gentoo-2-959a25384b57cbf835aecc70684ea54030d529ff.tar.gz gentoo-2-959a25384b57cbf835aecc70684ea54030d529ff.tar.bz2 gentoo-2-959a25384b57cbf835aecc70684ea54030d529ff.zip |
added ssl useflag, closes #68704
Diffstat (limited to 'net-analyzer/nagios-nrpe')
-rw-r--r-- | net-analyzer/nagios-nrpe/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild | 24 |
2 files changed, 24 insertions, 6 deletions
diff --git a/net-analyzer/nagios-nrpe/ChangeLog b/net-analyzer/nagios-nrpe/ChangeLog index fe446af0a055..ba0e42b7074d 100644 --- a/net-analyzer/nagios-nrpe/ChangeLog +++ b/net-analyzer/nagios-nrpe/ChangeLog @@ -1,10 +1,14 @@ # ChangeLog for net-analyzer/nagios-nrpe # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.13 2004/10/25 03:08:36 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.14 2004/10/25 12:59:33 eldad Exp $ 24 Oct 2004; Jason Wever <weeve@gentoo.org> nagios-nrpe-2.0.ebuild: Stable on sparc. + 25 Oct 2004; Eldad Zack <eldad@gentoo.org> nagios-nrpe-2.0.ebuild: + Now featuring SSL useflag, as suggested by Christian Theune <ct@gocept.com>. + Closes #68704. + 18 Mar 2004; Philip Walls <malverian@gentoo.org> nagios-nrpe-2.0.ebuild Stable on x86 and amd64 diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild index 340277afb1a2..66de29b88021 100644 --- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild +++ b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild @@ -1,18 +1,22 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild,v 1.5 2004/10/25 03:08:36 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild,v 1.6 2004/10/25 12:59:33 eldad Exp $ inherit eutils DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" HOMEPAGE="http://www.nagios.org/" SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz" + RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" + KEYWORDS="x86 ~ppc sparc ~amd64" -IUSE="" -DEPEND=">=net-analyzer/nagios-plugins-1.3.0" + +IUSE="ssl" +DEPEND=">=net-analyzer/nagios-plugins-1.3.0 + ssl? ( >=dev-libs/openssl )" S="${WORKDIR}/nrpe-${PV}" pkg_setup() { @@ -21,7 +25,11 @@ pkg_setup() { } src_compile() { - ./configure \ + local myconf + + myconf="${myconf} `use_enable ssl`" + + ./configure ${myconf} \ --host=${CHOST} \ --prefix=/usr/nagios \ --localstatedir=/var/nagios \ @@ -34,15 +42,21 @@ src_compile() { } src_install() { - dodoc LEGAL Changelog README + dodoc LEGAL Changelog README SECURITY README.SSL + insinto /etc/nagios newins ${FILESDIR}/nrpe-${PV}.cfg nrpe.cfg + exeinto /usr/nagios/bin doexe src/nrpe + fowners nagios:nagios /usr/nagios/bin/nrpe + exeinto /usr/nagios/libexec doexe src/check_nrpe + fowners nagios:nagios /usr/nagios/libexec/check_nrpe + exeinto /etc/init.d newexe ${FILESDIR}/nrpe-${PV} nrpe } |