From: Frank Brehm Date: Thu, 17 Apr 2008 08:45:52 +0000 (+0000) Subject: ebuilds nagios-check_logfiles und nagios-plugins-snmp angepaßt an Nagios 3.0.1 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b3829d831c1d5cf9ecaad0bbcdb531a9c991842a;p=portage.git ebuilds nagios-check_logfiles und nagios-plugins-snmp angepaßt an Nagios 3.0.1 git-svn-id: http://svn.brehm-online.com/svn/portage@60 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b --- diff --git a/net-analyzer/nagios-check_logfiles/Manifest b/net-analyzer/nagios-check_logfiles/Manifest new file mode 100644 index 0000000..9ce2337 --- /dev/null +++ b/net-analyzer/nagios-check_logfiles/Manifest @@ -0,0 +1,2 @@ +DIST check_logfiles-2.3.2.1.tar.gz 140546 RMD160 5819f5f5ed7e563b684d8980fd4a7d4b574a3d26 SHA1 b0ab8a82b8bcd3a14615f99b3651d2d29a73becf SHA256 8aba94b2942ac4433368487245085afec30d39ffbc62fcfaa1d3bfacac9edd94 +EBUILD nagios-check_logfiles-2.3.2.1-r1.ebuild 880 RMD160 d3f87912658602612374b73666d8c0b9f21de91a SHA1 6feb2d9f03a3012ad15d7ba75ca3d08ea2b31c0b SHA256 25f634eeeccba240cd1c7a4b1730009e2391d08e49477cc96ca77e8455861c6f diff --git a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild new file mode 100644 index 0000000..0a76369 --- /dev/null +++ b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1.ebuild,v 1.2 2008/04/06 15:05:20 caleb Exp $ + +inherit eutils +DESCRIPTION="A nagios plugin for checking logfiles" +HOMEPAGE="http://www.consol.com/opensource/nagios/check-logfiles" + +MY_P=${P/nagios-/} + +SRC_URI="http://www.consol.com/fileadmin/opensource/Nagios/${MY_P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~x86 amd64" + +DEPEND=">=net-analyzer/nagios-plugins-1.4.11-r101" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf \ + --prefix=/usr \ + --libexecdir=/usr/$(get_libdir)/nagios/plugins \ + --sysconfdir=/etc/nagios || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} diff --git a/net-analyzer/nagios-plugins-snmp/Manifest b/net-analyzer/nagios-plugins-snmp/Manifest new file mode 100644 index 0000000..3991b78 --- /dev/null +++ b/net-analyzer/nagios-plugins-snmp/Manifest @@ -0,0 +1,2 @@ +DIST nagios-plugins-snmp-0.5.5.tgz 343293 RMD160 5925f19fe5acc920aa9867230c83bc35367205bb SHA1 e8e9730412fb3aa9050d7f4247510b61d7ffe3ee SHA256 c6a216f8f2ff53f44a8f6c450f5963531d320434c551208a88802cc649483be2 +EBUILD nagios-plugins-snmp-0.5.5-r1.ebuild 1134 RMD160 714b6c8e472320f807b547114775fbbc66ef6923 SHA1 f62ae663d0598bce30733988909760958f634a67 SHA256 c26715a6893c30274f26b0a400eedb2f5a280ccda780c7ec5b303c61cd9e78b1 diff --git a/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.5.5-r1.ebuild b/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.5.5-r1.ebuild new file mode 100644 index 0000000..424fc48 --- /dev/null +++ b/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.5.5-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.5.5.ebuild,v 1.3 2007/06/30 16:37:45 dertobi123 Exp $ + +inherit eutils + +DESCRIPTION="Additional Nagios plugins for monitoring SNMP capable devices" +HOMEPAGE="http://nagios.manubulon.com" +SRC_URI="http://nagios.manubulon.com/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="net-analyzer/net-snmp" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/nagios-plugins-snmp + +pkg_setup() { + enewgroup nagios + enewuser nagios -1 /bin/bash /var/nagios/home nagios +} + +src_compile() { + econf \ + --prefix=/usr \ + --libexecdir=/usr/$(get_libdir)/nagios/plugins \ + --sysconfdir=/etc/nagios || die "econf failed" + + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + chown -R root:nagios ${D}/usr/lib/nagios/plugins || die "Failed Chown of ${D}usr/lib/nagios/plugins" + chmod -R o-rwx ${D}/usr/lib/nagios/plugins || "Failed Chmod of ${D}usr/lib/nagios/plugins" + + dodoc README NEWS AUTHORS + +} diff --git a/net-analyzer/ndoutils/Manifest b/net-analyzer/ndoutils/Manifest index d9334db..d364bdf 100644 --- a/net-analyzer/ndoutils/Manifest +++ b/net-analyzer/ndoutils/Manifest @@ -1,4 +1,3 @@ -AUX ndo2db.conf.d 169 RMD160 616e7929de6b040f3ca3acf6bd5e93d5ca2bd5b7 SHA1 963b17c47e134f1bab6986a069d9422c3668ea1f SHA256 001058fa468969f640df62c6b9a50254a5f17deae44e0dff4daef7d5b75d9df1 AUX ndo2db.init 610 RMD160 e374234aa4c0af975d1bc7c2f5e76619b64428cb SHA1 9bcb93681e4208763bb68e0fc6177ee2aa2e303e SHA256 011969ec965f71659e928d1f0cb3272043d78857d75609c805b611c5a57d143e DIST ndoutils-1.4b7.tar.gz 1553879 RMD160 a5cb66c59cf20705f54d1c8dda5ed244daf9b2fc SHA1 9b02fda9a612f07d6aa353c9a4a01be121094224 SHA256 76053576fa55f0231917733fc8e7a95d93e013cdb693fadbd8e8a7aa9ac8162c -EBUILD ndoutils-1.4_beta7-r1.ebuild 1779 RMD160 74be1e7d61d6276bb6e8c9874bd263a16e8366c6 SHA1 624630b9355a76dbbddbcb5988082c656d2796f1 SHA256 705bd37a0be1fb51a6b377fc5ee94ec2887e7fcd9f504b9429d8e6ee24488839 +EBUILD ndoutils-1.4_beta7-r1.ebuild 1780 RMD160 1dcc242bcce756b7d74050a92652a8ee56dc11b6 SHA1 ece9dbdac6e9f44318f6f4d53581dce907c8ac6a SHA256 a4bf4a24adff13affce5f08a5efaeaeabb3f98700e0c8f077791731daae9ccfc diff --git a/net-analyzer/ndoutils/ndoutils-1.4_beta7-r1.ebuild b/net-analyzer/ndoutils/ndoutils-1.4_beta7-r1.ebuild index d8e6f4b..cab3272 100644 --- a/net-analyzer/ndoutils/ndoutils-1.4_beta7-r1.ebuild +++ b/net-analyzer/ndoutils/ndoutils-1.4_beta7-r1.ebuild @@ -43,8 +43,8 @@ src_install() { dodir /usr/sbin cp ${S}/src/{file2sock,log2ndo,ndo2db-3x,ndomod-3x.o,sockdebug} ${D}/usr/sbin - dodir /usr/nagios/share/ - cp -R ${S}/db ${D}/usr/nagios/share + dodir /usr/share/nagios/ + cp -R ${S}/db ${D}/usr/share/nagios/ chmod 755 ${D}/usr/sbin/{file2sock,log2ndo,ndo2db-3x,ndomod-3x.o,sockdebug} || "Failed chmod"