summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Lieber <klieber@gentoo.org>2003-07-19 23:25:39 +0000
committerKurt Lieber <klieber@gentoo.org>2003-07-19 23:25:39 +0000
commit0c629c83a6a762662d0d730699f5e843ff5281c8 (patch)
tree1486fa3306a9e08df3c5bd2ca675be454c1374d2 /net-analyzer/nagios-plugins
parentadded new optional dependencies per #23670. Probably not all the optional de... (diff)
downloadhistorical-0c629c83a6a762662d0d730699f5e843ff5281c8.tar.gz
historical-0c629c83a6a762662d0d730699f5e843ff5281c8.tar.bz2
historical-0c629c83a6a762662d0d730699f5e843ff5281c8.zip
added new optional dependencies per #23670. Probably not all the optional deps available, but at least the big ones. (mysql, pgsql, samba, etc.)
Diffstat (limited to 'net-analyzer/nagios-plugins')
-rw-r--r--net-analyzer/nagios-plugins/Manifest2
-rw-r--r--net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0-r21
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.3.0-r2.ebuild55
3 files changed, 57 insertions, 1 deletions
diff --git a/net-analyzer/nagios-plugins/Manifest b/net-analyzer/nagios-plugins/Manifest
index 80038a7e3551..9cbac606a9ba 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -5,7 +5,7 @@ MD5 db15178fb1b894aa5063b9801aa6fee2 nagios-plugins-1.3.0_beta2-r1.ebuild 1659
MD5 c57d43fc7fb6dabc7e312d4a7b42dfd5 nagios-plugins-1.3.0_beta2.ebuild 1585
MD5 7212717776da41f016aded27ff6f9ddb nagios-plugins-1.3.0_beta3-r1.ebuild 1627
MD5 67a86754c811a3d266307a42575e623b nagios-plugins-1.3.0_beta3.ebuild 1597
-MD5 b33c3b1a701a5dd3f4b314fa431b0490 nagios-plugins-1.3.0-r2.ebuild 1788
+MD5 151d9752db4e4295704916b8245ee9c2 nagios-plugins-1.3.0-r2.ebuild 1790
MD5 2964d08030df634e1ea894eb1a6eea0b files/digest-nagios-plugins-1.3.0 72
MD5 2964d08030df634e1ea894eb1a6eea0b files/digest-nagios-plugins-1.3.0-r1 72
MD5 b3d4a88fe179417a3a47ac7e016f56e7 files/digest-nagios-plugins-1.3.0_beta2 78
diff --git a/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0-r2 b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0-r2
new file mode 100644
index 000000000000..75839bb3c62c
--- /dev/null
+++ b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0-r2
@@ -0,0 +1 @@
+MD5 74ce3383cb39c85df78a1db7ac50838b nagios-plugins-1.3.0.tar.gz 489070
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.3.0-r2.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.3.0-r2.ebuild
new file mode 100644
index 000000000000..c389cfbc54ae
--- /dev/null
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.3.0-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.3.0-r2.ebuild,v 1.1 2003/07/19 23:25:34 klieber Exp $
+inherit eutils
+
+DESCRIPTION="Nagios $PV plugins - Pack of plugins to make Nagios work properly"
+HOMEPAGE="http://www.nagios.org/"
+SRC_URI="mirror://sourceforge/nagiosplug/nagios-plugins-1.3.0.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~sparc ~ppc"
+IUSE="ssl samba mysql postgres ldap"
+#RDEPEND=">=net-analyzer/nagios-core-1.0"
+DEPEND=">=net-dns/bind-tools-9.2.2_rc1
+ ssl? ( >=dev-libs/openssl-0.9.6g )
+ >=dev-lang/perl-5.6.1-r7
+ >=net-analyzer/fping-2.4_beta2-r1
+ >=net-misc/ntp-4.1.1a
+ >=dev-perl/Net-SNMP-4.0.1-r1
+ >=net-analyzer/net-snmp-5.0.6
+ samba? ( >=net-fs/samba-2.2.5-r1 )
+ >=net-misc/openssh-3.5_p1
+ mysql? ( >=dev-db/mysql-3.23.52-r1 )
+ postgres? ( >=dev-db/postgresql-7.2 )
+ ldap? ( >=net-nds/openldap-2.0.25 )"
+
+S="${WORKDIR}/nagios-plugins-1.3.0"
+
+pkg_setup() {
+ enewgroup nagios
+ enewuser nagios -1 /bin/bash /dev/null nagios
+ }
+src_compile() {
+ local myconf
+ use mysql && myconf="${myconf} --with-mysql"
+ use postgres && myconf="${myconf} --with-pgsql"
+ use openssl && myconf="${myconf} --with-openssl"
+
+ ./configure ${myconf} \
+ --host=${CHOST} \
+ --prefix=/usr/nagios \
+ --with-nagios-user=nagios \
+ --sysconfdir=/etc/nagios \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ make || die
+}
+
+src_install() {
+ dodoc AUTHORS CODING COPYING ChangeLog FAQ INSTALL LEGALNEWS README REQUIREMENTS ROADMAP Requirements
+ make DESTDIR=${D} install || die
+}
+pkg_preinst() {
+ chown -R nagios:nagios ${D}/usr/nagios/libexec || die "Failed Chown of ${D}/usr/nagios/libexec"
+}