diff options
Diffstat (limited to 'net-analyzer')
29 files changed, 0 insertions, 1186 deletions
diff --git a/net-analyzer/nagios-core/ChangeLog b/net-analyzer/nagios-core/ChangeLog deleted file mode 100644 index fc7c59d..0000000 --- a/net-analyzer/nagios-core/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -# ChangeLog for net-analyzer/nagios-core -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 14 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> ++, - -nagios-core-3.0_rc3.ebuild: - Version bump, 3.0 stable has finally been released - - 09 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> - -nagios-core-3.0_rc2.ebuild, +nagios-core-3.0_rc3.ebuild: - Version bump - diff --git a/net-analyzer/nagios-core/Manifest b/net-analyzer/nagios-core/Manifest deleted file mode 100644 index 3148d3e..0000000 --- a/net-analyzer/nagios-core/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX 2.x-series-nsca.patch 767 RMD160 69c3916842953666037dcf258906c15a9ce0047a SHA1 5f376bd65bf74eeb3cc00efde4fadf7f8962d06c SHA256 04ecb77abfe7618d036a2b598ea30df6704a82285b2210055eda4dd6414c94d3 -AUX 99_nagios.conf 377 RMD160 79f66fc0ae78fb856bd38ba479dbc8af4c2cf989 SHA1 cc2b21a6dec8c15641100284c66d95c2996da687 SHA256 0bfa88db78ab036d177c68da20a8fd2f567ba8c9f54c14cfb8e1fc121641051b -AUX conf.d 409 RMD160 8b08c01284fc590a2291164589da42515d1a0586 SHA1 dd7bf46facd6a3069794ad9623cddd854198520e SHA256 a5122b19248c375b7b7c80bb5568fcaf334de316c611a85795960c2b9f6a6d5a -AUX lighttpd_nagios.conf 450 RMD160 2ed5d57510b879e313637c8184968cc6632eb6c4 SHA1 559948838c235923ed0791515a5df9773e2b6a01 SHA256 4db16539ad388059d14ff70a291c768640145ae5a9bb74133c42854208ce5497 -AUX nagios 1441 RMD160 7a0b7e2730b4d9705e697d0446949cbe051ae99c SHA1 4de4c49ee064d1a53a7d1f1c24753e1e32f6dddb SHA256 0c3abc96bd02c4215c95fe6d39408c044eacb781b23c021ee3367ffa02f4256c -DIST nagios-3.0.1.tar.gz 2759014 RMD160 a35a2deec73041134cff8b51e29884217bd4c4b6 SHA1 5e1bd46d8568727002b58df83315d1292fd4c4f0 SHA256 14fa861b8c39cfeffab33f7a377af44fa5281c601823b174759719c1d77d9e1a -EBUILD nagios-core-3.0.1.ebuild 6294 RMD160 ece9b8e608189cfe4bf32e6405e3292f611df56c SHA1 e0498368ae42479c06872e15d01fe1b9b1125381 SHA256 18f9238e8c9e7332ff4c92a5f6b0a5a7ea103b36ea705c10411ab8c2fef6b330 -MISC ChangeLog 402 RMD160 56a137abe4868171dc3e69b9480d495ea2bdaa0b SHA1 a2a81df6fca2a234d129b2f22071d44bd60b3493 SHA256 552588a1504436299db458315814a061dfc053e5678406f5dd82c60d00974bf0 diff --git a/net-analyzer/nagios-core/files/2.x-series-nsca.patch b/net-analyzer/nagios-core/files/2.x-series-nsca.patch deleted file mode 100644 index faae90c..0000000 --- a/net-analyzer/nagios-core/files/2.x-series-nsca.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca.orig 2005-01-28 12:57:11.537852344 +0930 -+++ contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2005-01-28 12:57:45.877631904 +0930 -@@ -28,9 +28,12 @@ - - printfcmd="/bin/printf" - --NscaBin="/usr/local/nagios/libexec/send_nsca" --NscaCfg="/usr/local/nagios/etc/send_nsca.cfg" --NagiosHost="nagioshost" -+NscaBin="/usr/nagios/libexec/send_nsca" -+NscaCfg="/etc/nagios/send_nsca.cfg" -+ -+# Gentoo Linux Users: configure the hostname in /etc/conf.d/nagios -+source /etc/conf.d/nagios -+NagiosHost="${NAGIOS_NSCA_HOST}" - - # Fire the data off to the NSCA daemon using the send_nsca script - $printfcmd "%s\t%s\t%s\t%s\n" "$1" "$2" "$3" "$4" | $NscaBin $NagiosHost -c $NscaCfg diff --git a/net-analyzer/nagios-core/files/99_nagios.conf b/net-analyzer/nagios-core/files/99_nagios.conf deleted file mode 100644 index 074f9ce..0000000 --- a/net-analyzer/nagios-core/files/99_nagios.conf +++ /dev/null @@ -1,15 +0,0 @@ -<IfDefine NAGIOS> - ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi-bin/ - <Directory "/usr/lib/nagios/cgi-bin/"> - AllowOverride AuthConfig - Options ExecCGI - Order allow,deny - Allow from all - </Directory> - Alias /nagios /usr/share/nagios/htdocs - <Directory "/usr/share/nagios/htdocs"> - AllowOverride AuthConfig - Order allow,deny - Allow from all - </Directory> -</IfDefine> diff --git a/net-analyzer/nagios-core/files/conf.d b/net-analyzer/nagios-core/files/conf.d deleted file mode 100644 index 338311a..0000000 --- a/net-analyzer/nagios-core/files/conf.d +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/files/conf.d,v 1.1 2004/08/20 13:38:13 eldad Exp $ - -# Distributed monitoring users will want to configure here the ip/hostname of the central server. -# It will be used by submit_check_result_via_nsca. -NAGIOS_NSCA_HOST="localhost" - - - diff --git a/net-analyzer/nagios-core/files/lighttpd_nagios.conf b/net-analyzer/nagios-core/files/lighttpd_nagios.conf deleted file mode 100644 index 2e5a84a..0000000 --- a/net-analyzer/nagios-core/files/lighttpd_nagios.conf +++ /dev/null @@ -1,23 +0,0 @@ -server.modules += ("mod_cgi") -server.modules += ("mod_auth") - -auth.require = ( "/nagios" => - ( - "method" => "digest", - "realm" => "nagios", - "require" => "valid-user", - ) -) - -$HTTP["url"] =~ "^/nagios/cgi-bin/" { - dir-listing.activate = "disable" - cgi.assign = ( - ".pl" => "/usr/bin/perl", - ".cgi" => "" - ) -} - -alias.url += ( - "/nagios/cgi-bin" => "/usr/lib/nagios/cgi-bin", - "/nagios" => "/usr/share/nagios/htdocs" -) diff --git a/net-analyzer/nagios-core/files/nagios b/net-analyzer/nagios-core/files/nagios deleted file mode 100644 index 5e54018..0000000 --- a/net-analyzer/nagios-core/files/nagios +++ /dev/null @@ -1,57 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/files/nagios,v 1.10 2007/05/08 21:36:14 dertobi123 Exp $ - -opts="${opts} reload checkconfig" - -depend() { - need net - use dns logger firewall - after mysql postgresql -} - -reload() -{ - checkconfig || return 1 - ebegin "Reloading configuration" - killall -HUP nagios &>/dev/null - eend $? -} - -checkconfig() { - # Silent Check - /usr/sbin/nagios -v /etc/nagios/nagios.cfg &>/dev/null && return 0 - - # Now we know there's problem - run again and display errors - /usr/sbin/nagios -v /etc/nagios/nagios.cfg - eend $? "Configuration Error. Please fix your configfile" -} - -start() { - checkconfig || return 1 - ebegin "Starting nagios" - touch /var/nagios/nagios.log /var/nagios/status.sav - chown nagios:nagios /var/nagios/nagios.log /var/nagios/status.sav - rm -f /var/nagios/rw/nagios.cmd - start-stop-daemon --quiet --start --startas /usr/sbin/nagios \ - -e HOME="/var/nagios/home" --pidfile /var/nagios/nagios.lock \ - -- -d /etc/nagios/nagios.cfg - eend $? -} - -stop() { - ebegin "Stopping nagios" - start-stop-daemon --quiet --stop --pidfile /var/nagios/nagios.lock - rm -f /var/nagios/status.log /var/nagios/nagios.tmp /var/nagios/nagios.lock /var/nagios/rw/nagios.cmd - eend $? -} - -svc_restart() { - checkconfig || return 1 - ebegin "Restarting nagios" - svc_stop - svc_start - eend $? -} - diff --git a/net-analyzer/nagios-core/nagios-core-3.0.1.ebuild b/net-analyzer/nagios-core/nagios-core-3.0.1.ebuild deleted file mode 100644 index 028662b..0000000 --- a/net-analyzer/nagios-core/nagios-core-3.0.1.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/nagios-core-2.10-r2.ebuild,v 1.2 2008/02/28 00:56:10 mr_bones_ Exp $ - -EAPI="1" - -inherit eutils depend.apache toolchain-funcs - -MY_P=${PN/-core}-${PV} -DESCRIPTION="Nagios Core - Check daemon, CGIs, docs" -HOMEPAGE="http://www.nagios.org/" -SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug lighttpd perl +web vim-syntax" -DEPEND="virtual/mailx - web? ( - >=media-libs/jpeg-6b-r3 - >=media-libs/libpng-1.2.5-r4 - >=media-libs/gd-1.8.3-r5 - lighttpd? ( www-servers/lighttpd ) - ) - perl? ( >=dev-lang/perl-5.6.1-r7 )" -RDEPEND="${DEPEND} - vim-syntax? ( app-vim/nagios-syntax )" - -want_apache2 - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - # Check if gd has been compiled with jpeg and png support - if use web; then - if ! built_with_use media-libs/gd jpeg png; then - eerror "Your gd has been compiled without jpeg and/or png support." - eerror "Please re-emerge gd:" - eerror "# USE="jpeg png" emerge gd" - die "pkg_setup failed" - fi - fi - - enewgroup nagios - enewuser nagios -1 /bin/bash /var/nagios/home nagios -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/2.x-series-nsca.patch - - local strip="$(echo '$(MAKE) strip-post-install')" - sed -i -e "s:${strip}::" {cgi,base}/Makefile.in || die "sed failed in Makefile.in" -} - -src_compile() { - local myconf - - if use perl ; then - myconf="${myconf} --enable-embedded-perl --with-perlcache" - fi - - if use debug; then - myconf="${myconf} --enable-DEBUG0" - myconf="${myconf} --enable-DEBUG1" - myconf="${myconf} --enable-DEBUG2" - myconf="${myconf} --enable-DEBUG3" - myconf="${myconf} --enable-DEBUG4" - myconf="${myconf} --enable-DEBUG5" - fi - - if use !apache2 && use !lighttpd ; then - myconf="${myconf} --with-command-grp=nagios" - else - if use apache2 ; then - myconf="${myconf} --with-command-grp=apache" - myconf="${myconf} --with-httpd-conf=/etc/apache2/conf.d" - elif use lighttpd ; then - myconf="${myconf} --with-command-grp=lighttpd" - fi - fi - - econf ${myconf} \ - --prefix=/usr \ - --bindir=/usr/sbin \ - --sbindir=/usr/$(get_libdir)/nagios/cgi-bin \ - --datadir=/usr/share/nagios/htdocs \ - --localstatedir=/var/nagios \ - --sysconfdir=/etc/nagios \ - --libexecdir=/usr/$(get_libdir)/nagios/plugins \ - || die "./configure failed" - - - emake CC=$(tc-getCC) nagios || die "make failed" - - if use web ; then - # Only compile the CGI's if "web" useflag is set. - emake CC=$(tc-getCC) DESTDIR="${D}" cgis || die - fi -} - -src_install() { - dodoc Changelog INSTALLING LEGAL README UPGRADING - - if ! use web ; then - sed -i -e 's/cd $(SRC_CGI) && $(MAKE) $@/# line removed due missing web use flag/' \ - -e 's/cd $(SRC_HTM) && $(MAKE) $@/# line removed due missing web use flag/' \ - Makefile - fi - - sed -i -e 's/^contactgroups$//g' Makefile - - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install-config - emake DESTDIR="${D}" install-commandmode - - doinitd "${FILESDIR}"/nagios - newconfd "${FILESDIR}"/conf.d nagios - - # Apache Module - if use web ; then - if use apache2 ; then - insinto "${APACHE_MODULES_CONFDIR}" - doins "${FILESDIR}"/99_nagios.conf - elif use lighttpd ; then - insinto /etc/lighttpd - newins "${FILESDIR}/lighttpd_nagios.conf" nagios.conf - else - ewarn "${CATEGORY}/${PF} only supports Apache-2.x or Lighttpd webserver" - ewarn "out-of-the-box. Since you are not using one of them, you" - ewarn "have to configure your webserver accordingly yourself." - fi - - fi - - for dir in etc/nagios var/nagios ; do - chown -R nagios:nagios "${D}/${dir}" || die "Failed chown of ${D}/${dir}" - done - - chown -R root:root "${D}"/usr/lib/nagios - find "${D}"/usr/lib/nagios -type d -print0 | xargs -0 chmod 755 - find "${D}"/usr/lib/nagios/cgi-bin -type f -print0 | xargs -0 chmod 755 - - keepdir /etc/nagios - keepdir /var/nagios - keepdir /var/nagios/archives - keepdir /var/nagios/rw - keepdir /var/nagios/spool/checkresults - - if use !apache2 && use !lighttpd; then - chown -R nagios:nagios "${D}"/var/nagios/rw || die "Failed chown of ${D}/var/nagios/rw" - else - if use apache2 ; then - chown -R nagios:apache "${D}"/var/nagios/rw || die "Failed chown of ${D}/var/nagios/rw" - elif use lighttpd ; then - chown -R nagios:lighttpd "${D}"/var/nagios/rw || die "Failed chown of ${D}/var/nagios/rw" - fi - fi - - chmod ug+s "${D}"/var/nagios/rw || die "Failed Chmod of ${D}/var/nagios/rw" - chmod 0750 "${D}"/etc/nagios || die "Failed chmod of ${D}/etc/nagios" -} - -pkg_postinst() { - elog "If you want nagios to start at boot time" - elog "remember to execute:" - elog " rc-update add nagios default" - elog - - if use web ; then - elog "This does not include cgis that are perl-dependent" - elog "Currently traceroute.cgi is perl-dependent" - elog "To have ministatus.cgi requires copying of ministatus.c" - elog "to cgi directory for compiling." - - elog "Note that the user your webserver is running at needs" - elog "read-access to /etc/nagios." - elog - - if use apache2 || use lighttpd ; then - elog "There are several possible solutions to accomplish this," - elog "choose the one you are most comfortable with:" - elog - if use apache2 ; then - elog " usermod -G nagios apache" - elog "or" - elog " chown nagios:apache /etc/nagios" - elog - elog "Also edit /etc/conf.d/apache2 and add \"-D NAGIOS\"" - elif use lighttpd ; then - elog " usermod -G nagios lighttpd " - elog "or" - elog " chown nagios:lighttpd /etc/nagios" - fi - elog - elog "That will make nagios's web front end visable via" - elog "http://localhost/nagios/" - elog - else - elog "IMPORTANT: Do not forget to add the user your webserver" - elog "is running as to the nagios group!" - fi - - else - elog "Please note that you have installed Nagios without web interface." - elog "Please don't file any bugs about having no web interface when you do this." - elog "Thank you!" - fi - - elog - elog "If your kernel has /proc protection, nagios" - elog "will not be happy as it relies on accessing the proc" - elog "filesystem. You can fix this by adding nagios into" - elog "the group wheel, but this is not recomended." - elog -} - -pkg_prerm() { - [[ "${ROOT}" == "/" ]] && /etc/init.d/nagios stop -} diff --git a/net-analyzer/nagios-imagepack/Manifest b/net-analyzer/nagios-imagepack/Manifest deleted file mode 100644 index 648a62c..0000000 --- a/net-analyzer/nagios-imagepack/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -DIST imagepak-andrade.tar.gz 1242799 RMD160 94d1fb0421665d21323f29260913da7596e702c1 SHA1 73409dd56d18cbaf39fd1ea91220bb2a2ff432a4 SHA256 03d050b36ba579e18d37c50cdb48b0a70690f2cd198239f0f3486c4b4bb21849 -DIST imagepak-base.tar.gz 154513 RMD160 fdc85c210530598b3663b2965dabdb08c0aadbd6 SHA1 becea37fb0d700d944439d04939d18b0488eeeaa SHA256 6c7003e730022cbee50a335b2ecc5d11411cf4af9e3fdc29b6ae94cf60fdb673 -DIST imagepak-bernhard.tar.gz 100585 RMD160 3f1abcadfbb02b13168f1b1682cb43bbe1fd40ab SHA1 c09d467ff2ad189fc81c9ea95d8463eeb0699ab0 SHA256 cdda323521f3f92b81b142040d257c5571d597e72dd7061a10cd697afb90d28f -DIST imagepak-didier.tar.gz 51510 RMD160 402af2fd032e6d41d701deda80fd162bf183b391 SHA1 d1db24e721cf17750c2df8f3f31ff6e0ef26a08c SHA256 e3720638aa81ff41cc4d72d1d1eea40dd2fc76f847c1a669a2897545d2b08370 -DIST imagepak-gentoo.tar.bz2 18079 RMD160 886ea2040fefe0244d5facf109dfebc3d7392571 SHA1 c3789a959840579cc37a01783afec659b9777094 SHA256 172728e86b2fefd43b0c4fcd7c4e08ccf2f516eb6bf315ff2e0e7735ba7fa17a -DIST imagepak-remus.tar.gz 32691 RMD160 80e251e4c5cc4d2ebc3550b8a9486ccc011fd1d6 SHA1 9df0887ec80b91bfc49b4ca72f901c74c3dffba2 SHA256 d909ffaa86aa91e285dcb396024af1d4bd40c37650f75164069b19fd7d8fe42a -DIST imagepak-satrapa.tar.gz 28559 RMD160 ecd45f0d89fbd9c442ef0a7946414d85a49c3b7a SHA1 da7f340131d8d7625906fd7aba29726109f39053 SHA256 4347ca3cecb944c1d8b6e640469979d9d74aa15d0e4f6f06aa5c28cb6b19de8e -DIST imagepak-werschler.tar.gz 38244 RMD160 ed2b1e9c24edd1512c36cc65b7ce0decb434d9ab SHA1 1cd73e4ccd461ae5e207048f1a756f2ef4f5b4fa SHA256 b1a37828e0a0c3733fe34e2f5d57077fbf96b3cd1f0e931e07104076c630b212 -EBUILD nagios-imagepack-1.0-r100.ebuild 1083 RMD160 6c283d0175b9fb5a5c2a7a1685a0e1004d0a7f3c SHA1 cfbfe582eff66de383f23afacbd33276f841bb53 SHA256 88e4f03429837b30edf7397161a4821ced315c0cfbd166f3a4afbd875cfc8997 diff --git a/net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r100.ebuild b/net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r100.ebuild deleted file mode 100644 index e986eed..0000000 --- a/net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r100.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r1.ebuild,v 1.5 2008/01/21 20:27:00 armin76 Exp $ - -DESCRIPTION="Nagios imagepacks - Icons and pictures for Nagios" -HOMEPAGE="http://www.nagios.org" -IMAGE_URI="mirror://sourceforge/nagios/" -SRC_URI=" - ${IMAGE_URI}/imagepak-andrade.tar.gz - ${IMAGE_URI}/imagepak-base.tar.gz - ${IMAGE_URI}/imagepak-bernhard.tar.gz - ${IMAGE_URI}/imagepak-didier.tar.gz - ${IMAGE_URI}/imagepak-remus.tar.gz - ${IMAGE_URI}/imagepak-satrapa.tar.gz - ${IMAGE_URI}/imagepak-werschler.tar.gz - http://dev.gentoo.org/~eldad/distfiles/imagepak-gentoo.tar.bz2 -" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE="" - -src_unpack() { - mkdir ${S} && cd ${S} - unpack ${A} -} - -src_install () { - # nagios-core installs nagios.gd2 - rm base/nagios.gd2 - - insinto /usr/share/nagios/htdocs/images/logos - doins base/* didier/* imagepak-andrade/* imagepak-bernhard/* remus/* satrapa/* werschler/* gentoo/* -} diff --git a/net-analyzer/nagios-nrpe/Manifest b/net-analyzer/nagios-nrpe/Manifest deleted file mode 100644 index 0a910ae..0000000 --- a/net-analyzer/nagios-nrpe/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX nrpe-nagios3 584 RMD160 959ce8e40f61a172195e49a604ad60b5192e3a68 SHA1 6468fed5634fca87520f84ab506dac7c5401e03e SHA256 3fa45bb6136eba8a5b37f484c68887898e88dc1762a8f8b85ded4bb3d57e32c8 -DIST nrpe-2.12.tar.gz 405725 RMD160 3413f84c9bb926a4dd55cc02d7b0a01bd7fc99ee SHA1 208595c175d726e8e377d565b21897f4de1648cc SHA256 7e8d093abef7d7ffc7219ad334823bdb612121df40de2dbaec9c6d0adeb04cfc -EBUILD nagios-nrpe-2.12-r101.ebuild 2365 RMD160 f6aa6eb0ebdcf386a83a4446b2894cd0fa13459f SHA1 190c1d6041536c26749d9f5813cb397ab767ca98 SHA256 0bc53aae0e28b17ad4f5f065297e6f2b928f49f10a6173c9d1352bed767a7975 -MISC metadata.xml 422 RMD160 4411d72c4f4fcf99b8b8e749fccce1fc72315acc SHA1 a95181e936cdb1913067d09e85439ed0fb82d4ea SHA256 53db66821b73f032d46f1db7ca72a341982e02c424bb1eba37d3b7ed70b2bfb9 diff --git a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 b/net-analyzer/nagios-nrpe/files/nrpe-nagios3 deleted file mode 100644 index d83171e..0000000 --- a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript - -opts="${opts} reload" - -depend() { - need net -} - -start() { - ebegin "Starting nrpe" - start-stop-daemon --start --quiet --name nrpe \ - --startas /usr/bin/nrpe \ - -c nagios:nagios \ - -- -c /etc/nagios/nrpe.cfg \ - --daemon - eend $? "Failed to Start nrpe" -} - -stop() { - ebegin "Stopping nrpe" - start-stop-daemon --stop --quiet -n nrpe - eend $? "Failed to Stop nrpe" -} - -reload() { - ebegin "Reloading nrpe" - kill -HUP `pgrep nrpe | head -1` - eend $? "Failed to reload nrpe" -} - -restart() { - ebegin "Restarting nrpe" - svc_stop - svc_start - eend $? "Failed to Restart nrpe" -} diff --git a/net-analyzer/nagios-nrpe/metadata.xml b/net-analyzer/nagios-nrpe/metadata.xml deleted file mode 100644 index caaf15f..0000000 --- a/net-analyzer/nagios-nrpe/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>netmon</herd> -<maintainer> - <email>dertobi123@gentoo.org</email> - <name>Tobias Scherbaum</name> -</maintainer> -<longdescription> - A daemon for allowing Nagios to connect directly to servers and - execute commands defined in a centralized configuration file. -</longdescription> -</pkgmetadata> diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r101.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r101.ebuild deleted file mode 100644 index 5ea0092..0000000 --- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r101.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2008 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.12.ebuild,v 1.1 2008/03/14 07:27:04 dertobi123 Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" -HOMEPAGE="http://www.nagios.org/" -SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz" - -RESTRICT="mirror" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE="ssl command-args" -DEPEND=">=net-analyzer/nagios-plugins-1.3.0 - ssl? ( dev-libs/openssl )" -S="${WORKDIR}/nrpe-${PV}" - -pkg_setup() { - enewgroup nagios - enewuser nagios -1 /bin/bash /dev/null nagios -} - -src_compile() { - local myconf - - myconf="${myconf} $(use_enable ssl) \ - $(use_enable command-args)" - - # Generate the dh.h header file for better security (2005 Mar 20 eldad) - if useq ssl ; then - openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > "${S}"/src/dh.h - fi - - econf ${myconf} \ - --host=${CHOST} \ - --prefix=/usr \ - --libexecdir=/usr/$(get_libdir)/nagios/plugins \ - --localstatedir=/var/nagios \ - --sysconfdir=/etc/nagios \ - --with-nrpe-user=nagios \ - --with-nrpe-grp=nagios || die "econf failed" - emake all || die "make failed" - # Add nifty nrpe check tool - cd contrib - $(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c -} - -src_install() { - dodoc LEGAL Changelog README SECURITY README.SSL \ - contrib/README.nrpe_check_control - - insinto /etc/nagios - newins "${S}"/sample-config/nrpe.cfg nrpe.cfg - fowners root:nagios /etc/nagios/nrpe.cfg - fperms 0640 /etc/nagios/nrpe.cfg - - exeopts -m0750 -o nagios -g nagios - exeinto /usr/bin - doexe src/nrpe - - exeopts -m0750 -o nagios -g nagios - exeinto /usr/$(get_libdir)/nagios/plugins - doexe src/check_nrpe contrib/nrpe_check_control - - newinitd "${FILESDIR}"/nrpe-nagios3 nrpe -} - -pkg_postinst() { - einfo - einfo "If you are using the nrpe daemon, remember to edit" - einfo "the config file /etc/nagios/nrpe.cfg" - einfo - - if useq command-args ; then - 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 -} diff --git a/net-analyzer/nagios-nsca/Manifest b/net-analyzer/nagios-nsca/Manifest deleted file mode 100644 index 1c876f8..0000000 --- a/net-analyzer/nagios-nsca/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX nsca-nagios3 595 RMD160 446c5c70e1854ed3f1ec34086316ac4de2d3bfb5 SHA1 929e9bdbfaf889b0eef542d3d1d6907cab7b69b5 SHA256 5744bb0360d71ffa1ffb028c4049d8f708f7f60c4ea4daf554d39b2069a7526a -AUX nsca.cfg 4960 RMD160 0bcf00e89199c507c92c2104918fcfe6af016bc0 SHA1 16fed5874443e629a68e80e4e85c202626fd4ef7 SHA256 b121a6d18d608fc8b45cf70015cf7bd9ab738877cee44078e3997f59eac38c07 -AUX send_nsca.cfg 1628 RMD160 8895a57e593df3403526a6f19dc79c942e3942da SHA1 a5c976ce39a29bbb544a1b76a58dadef10f16b09 SHA256 515e14db40782e655ab748cb5ed8ea357c1346f36e028b73fbe96f2d15aaa781 -DIST nsca-2.7.2.tar.gz 104953 RMD160 951aa9d008f008ee932577ce03c848a69695564b SHA1 95e0778580b235ed47f0294ab9ef669c37f972dd SHA256 fb41e3b536735235056643fb12187355c6561b9148996c093e8faddd4fced571 -EBUILD nagios-nsca-2.7.2-r100.ebuild 1435 RMD160 d475f344a59893f3b5806f60126a8a901e3705b9 SHA1 485c13f1c272cf506af638bb1403a188afe778b3 SHA256 8d41e11884f684b3ecff637bc70d15eabde437f0cfd8dca044d5b4fe2537aae0 -MISC metadata.xml 1132 RMD160 4796a91a46db995b9b42f62d63654cba011a46f3 SHA1 5f86e17f4ca3f079263d8c6a6374c470f50d4461 SHA256 68279aa5c3962390542979ae19226435771726e7a009c139e11d7c1c56e0e1fa diff --git a/net-analyzer/nagios-nsca/files/nsca-nagios3 b/net-analyzer/nagios-nsca/files/nsca-nagios3 deleted file mode 100644 index bef0cb7..0000000 --- a/net-analyzer/nagios-nsca/files/nsca-nagios3 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript - -opts="${opts} reload" - -depend() { - need net -} - -start() { - ebegin "Starting nsca" - start-stop-daemon --start --quiet --name nsca \ - --startas /usr/bin/nsca \ - -c nagios:nagios \ - -- -c /etc/nagios/nsca.cfg \ - --daemon - eend $? "Failed to Start nsca" -} - -stop() { - ebegin "Stopping nsca" - start-stop-daemon --stop --quiet -n nsca - eend $? "Failed to Stop nsca" -} - -reload() { - ebegin "Reloading nsca" - kill -HUP `pgrep nsca` - eend $? "Failed to reload nsca" -} - -restart() { - ebegin "Restarting nsca" - svc_stop - svc_start - eend $? "Failed to Restart nsca" -} diff --git a/net-analyzer/nagios-nsca/files/nsca.cfg b/net-analyzer/nagios-nsca/files/nsca.cfg deleted file mode 100644 index e7e0402..0000000 --- a/net-analyzer/nagios-nsca/files/nsca.cfg +++ /dev/null @@ -1,182 +0,0 @@ -#################################################### -# Sample NSCA Daemon Config File -# Written by: Ethan Galstad (nagios@nagios.org) -# -# Last Modified: 06-10-2002 -#################################################### - - - -# PORT NUMBER -# Port number we should wait for connections on. -# This must be a non-priveledged port (i.e. > 1024). - -server_port=5667 - - - -# SERVER ADDRESS -# Address that nrpe has to bind to in case there are -# more as one interface and we do not want nrpe to bind -# (thus listen) on all interfaces. - -#server_address=192.168.1.1 - - - -# ALLOWED HOST ADDRESSES -# This is a comma-delimited list of IP address of hosts that are allowed -# to talk to the NSCA daemon. -# -# Note: The daemon only does rudimentary checking of the client's IP -# address. I would highly recommend running as a service under -# inetd instead of as a standalone daemon and using TCP wrappers to -# limit access. - -allowed_hosts=127.0.0.1 - - - -# NSCA USER -# This determines the effective user that the NSCA daemon should run as. -# You can either supply a username or a UID. -# -# NOTE: This option is ignored if NSCA is running under either inetd or xinetd - -nsca_user=nagios - - - -# NSCA GROUP -# This determines the effective group that the NSCA daemon should run as. -# You can either supply a group name or a GID. -# -# NOTE: This option is ignored if NSCA is running under either inetd or xinetd - -nsca_group=nagios - - - -# DEBUGGING OPTION -# This option determines whether or not debugging -# messages are logged to the syslog facility. -# Values: 0 = debugging off, 1 = debugging on - -debug=0 - - - -# COMMAND FILE -# This is the location of the Nagios command file that the daemon -# should write all service check results that it receives. - -command_file=/var/nagios/rw/nagios.cmd - - -# ALTERNATE DUMP FILE -# This is used to specify an alternate file the daemon should -# write service check results to in the event the command file -# does not exist. It is important to note that the command file -# is implemented as a named pipe and only exists when Nagios is -# running. You may want to modify the startup script for Nagios -# to dump the contents of this file into the command file after -# it starts Nagios. Or you may simply choose to ignore any -# check results received while Nagios was not running... - -alternate_dump_file=/var/nagios/rw/nsca.dump - - - -# AGGREGATED WRITES OPTION -# This option determines whether or not the nsca daemon will -# aggregate writes to the external command file for client -# connections that contain multiple check results. If you -# are queueing service check results on remote hosts and -# sending them to the nsca daemon in bulk, you will probably -# want to enable bulk writes, as this will be a bit more -# efficient. -# Values: 0 = do not aggregate writes, 1 = aggregate writes - -aggregate_writes=0 - - - -# APPEND TO FILE OPTION -# This option determines whether or not the nsca daemon will -# will open the external command file for writing or appending. -# This option should almost *always* be set to 0! -# Values: 0 = open file for writing, 1 = open file for appending - -append_to_file=0 - - - -# MAX PACKET AGE OPTION -# This option is used by the nsca daemon to determine when client -# data is too old to be valid. Keeping this value as small as -# possible is recommended, as it helps prevent the possibility of -# "replay" attacks. This value needs to be at least as long as -# the time it takes your clients to send their data to the server. -# Values are in seconds. The max packet age cannot exceed 15 -# minutes (900 seconds). - -max_packet_age=30 - - - -# DECRYPTION PASSWORD -# This is the password/passphrase that should be used to descrypt the -# incoming packets. Note that all clients must encrypt the packets -# they send using the same password! -# IMPORTANT: You don't want all the users on this system to be able -# to read the password you specify here, so make sure to set -# restrictive permissions on this config file! - -#password= - - - -# DECRYPTION METHOD -# This option determines the method by which the nsca daemon will -# decrypt the packets it receives from the clients. The decryption -# method you choose will be a balance between security and performance, -# as strong encryption methods consume more processor resources. -# You should evaluate your security needs when choosing a decryption -# method. -# -# Note: The decryption method you specify here must match the -# encryption method the nsca clients use (as specified in -# the send_nsca.cfg file)!! -# Values: -# -# 0 = None (Do NOT use this option) -# 1 = Simple XOR (No security, just obfuscation, but very fast) -# -# 2 = DES -# 3 = 3DES (Triple DES) -# 4 = CAST-128 -# 5 = CAST-256 -# 6 = xTEA -# 7 = 3WAY -# 8 = BLOWFISH -# 9 = TWOFISH -# 10 = LOKI97 -# 11 = RC2 -# 12 = ARCFOUR -# -# 14 = RIJNDAEL-128 -# 15 = RIJNDAEL-192 -# 16 = RIJNDAEL-256 -# -# 19 = WAKE -# 20 = SERPENT -# -# 22 = ENIGMA (Unix crypt) -# 23 = GOST -# 24 = SAFER64 -# 25 = SAFER128 -# 26 = SAFER+ -# - -decryption_method=1 - diff --git a/net-analyzer/nagios-nsca/files/send_nsca.cfg b/net-analyzer/nagios-nsca/files/send_nsca.cfg deleted file mode 100644 index 60196c0..0000000 --- a/net-analyzer/nagios-nsca/files/send_nsca.cfg +++ /dev/null @@ -1,63 +0,0 @@ -#################################################### -# Sample NSCA Client Config File -# Written by: Ethan Galstad (nagios@nagios.org) -# -# Last Modified: 02-21-2002 -#################################################### - - -# ENCRYPTION PASSWORD -# This is the password/passphrase that should be used to encrypt the -# outgoing packets. Note that the nsca daemon must use the same -# password when decrypting the packet! -# IMPORTANT: You don't want all the users on this system to be able -# to read the password you specify here, so make sure to set -# restrictive permissions on this config file! - -#password= - - - -# ENCRYPTION METHOD -# This option determines the method by which the send_nsca client will -# encrypt the packets it sends to the nsca daemon. The encryption -# method you choose will be a balance between security and performance, -# as strong encryption methods consume more processor resources. -# You should evaluate your security needs when choosing an encryption -# method. -# -# Note: The encryption method you specify here must match the -# decryption method the nsca daemon uses (as specified in -# the nsca.cfg file)!! -# Values: -# 0 = None (Do NOT use this option) -# 1 = Simple XOR (No security, just obfuscation, but very fast) -# -# 2 = DES -# 3 = 3DES (Triple DES) -# 4 = CAST-128 -# 5 = CAST-256 -# 6 = xTEA -# 7 = 3WAY -# 8 = BLOWFISH -# 9 = TWOFISH -# 10 = LOKI97 -# 11 = RC2 -# 12 = ARCFOUR -# -# 14 = RIJNDAEL-128 -# 15 = RIJNDAEL-192 -# 16 = RIJNDAEL-256 -# -# 19 = WAKE -# 20 = SERPENT -# -# 22 = ENIGMA (Unix crypt) -# 23 = GOST -# 24 = SAFER64 -# 25 = SAFER128 -# 26 = SAFER+ -# - -encryption_method=1 - diff --git a/net-analyzer/nagios-nsca/metadata.xml b/net-analyzer/nagios-nsca/metadata.xml deleted file mode 100644 index 7ebc0ad..0000000 --- a/net-analyzer/nagios-nsca/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>netmon</herd> - <maintainer> - <email>dertobi123@gentoo.org</email> - <name>Tobias Scherbaum</name> - </maintainer> - <longdescription lang="en"> - This program is designed to accept passive service check results from - clients that use the send_nsca utility (which is included in this - package) and pass them along to the Nagios process by using the external - command interface. The program can either be run as a standalone daemon - or as a service under inetd. If you have libmcrypt installed on your - systems, you can choose from multiple crypto algorithms (DES, 3DES, - CAST, xTEA, Twofish, LOKI97, RJINDAEL, SERPENT, GOST, SAFER/SAFER+, - etc.) for encrypting the traffic between the client and the server. - Encryption is important in this addon, as it prevents unauthorized users - from sending bogus check results to Nagios. Read the included SECURITY - document for more information. - - This package provides the send_nsca utility running on the client. - </longdescription> -</pkgmetadata> - diff --git a/net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r100.ebuild b/net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r100.ebuild deleted file mode 100644 index 96307ed..0000000 --- a/net-analyzer/nagios-nsca/nagios-nsca-2.7.2-r100.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.7.2.ebuild,v 1.5 2008/03/14 11:57:19 caleb Exp $ - -inherit multilib - -DESCRIPTION="Nagios NSCA - Nagios Service Check Acceptor" -HOMEPAGE="http://www.nagios.org/" -SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~ppc ppc64 sparc x86" -IUSE="" - -DEPEND=">=net-analyzer/nagios-plugins-1.3.1 - >=dev-libs/libmcrypt-2.5.1-r4" -S="${WORKDIR}/nsca-${PV}" - -src_compile() { - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --localstatedir=/var/nagios \ - --sysconfdir=/etc/nagios \ - --with-nsca-user=nagios \ - --with-nsca-grp=nagios \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man || die "./configure failed" - emake all || die "emake failed" -} - -src_install() { - dodoc LEGAL Changelog README SECURITY - insinto /etc/nagios - doins "${S}"/sample-config/nsca.cfg - doins "${S}"/sample-config/send_nsca.cfg - - exeinto /usr/bin - doexe src/nsca - fowners nagios:nagios /usr/nagios/bin/nsca - - exeinto /usr/$(get_libdir)/nagios/plugins - doexe src/send_nsca - fowners nagios:nagios /usr/$(get_libdir)/nagios/plugins/send_nsca - newinitd "${FILESDIR}"/nsca-nagios3 nsca -} -pkg_postinst() { - einfo - einfo "If you are using the nsca daemon, remember to edit" - einfo "the config file /etc/nagios/nsca.cfg" - einfo -} diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog deleted file mode 100644 index 00d85bc..0000000 --- a/net-analyzer/nagios-plugins/ChangeLog +++ /dev/null @@ -1,9 +0,0 @@ -# ChangeLog for net-analyzer/nagios-plugins -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 27 Apr 2008; Tobias Scherbaum <dertobi123@gentoo.org> - +files/nagios-plugins-1.4.11-autoconf-2.62.patch, ++, - -nagios-plugins-1.4.11-r101.ebuild: - Fix for autoconf-2.62, bug #218704 - diff --git a/net-analyzer/nagios-plugins/Manifest b/net-analyzer/nagios-plugins/Manifest deleted file mode 100644 index 8762155..0000000 --- a/net-analyzer/nagios-plugins/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX nagios-plugins-1.4.10-contrib.patch 1610 RMD160 928e2ce0a8071b5fd93ca28722512d8996eaa027 SHA1 ff7105763268fc3cc48dced7c17df9ff0bb84899 SHA256 d7aa2d6e420438ae5e5e687bd61bd5ff1ca5aebb763e3b692238db23f24d7278 -AUX nagios-plugins-1.4.10-noradius.patch 1029 RMD160 e1e449d93966d822eca21782968e24fce4547a95 SHA1 e5e6758790cc85db9f028cde3fb3d6611356167e SHA256 bff601e67a413abd84c2b430bfcf10395f68a83f98a628a398ee50f7cb406229 -AUX nagios-plugins-1.4.11-autoconf-2.62.patch 558 RMD160 d9cbf67c2434ddc9971f95ccd7afd787f1e928b4 SHA1 67fcf7f4e9a72a743a37202e7475e47e13875483 SHA256 55656ea0a2e3daa60c906a099499fc1e7683720aa5f4adeebd149072dbe41dfe -DIST nagios-plugins-1.4.11.tar.gz 1734230 RMD160 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15 SHA1 bc91a57ad6f5468b17f24429ba25225cfff45d59 SHA256 2cc1534a7f41da6cdb72d595c8643e62491fbab1bb768ab113eff20581ac05e5 -EBUILD nagios-plugins-1.4.11-r102.ebuild 3720 RMD160 71cf1392fa37f9a0e0c9753eb878f8b7108d0395 SHA1 2199829d1cd6a1997e721b5742df88b0beeba40b SHA256 d2eff9c87fba3a18bdbf557f848a7b6643f3a17381173fb420cfe6576d40175d -MISC ChangeLog 316 RMD160 270e94f91939cc304e4d366d211aa8abf3ec9862 SHA1 491581bf97b3d634b95f8743c353878489eed737 SHA256 95572e260500afd6c4ece55d44052779628c8de3be60357df4639a004115de57 diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-contrib.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-contrib.patch deleted file mode 100644 index 905f760..0000000 --- a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-contrib.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff -Naur nagios-plugins-1.4.10.orig/contrib/check_dns_random.pl nagios-plugins-1.4.10/contrib/check_dns_random.pl ---- nagios-plugins-1.4.10.orig/contrib/check_dns_random.pl 2003-01-29 06:27:20.000000000 +0100 -+++ nagios-plugins-1.4.10/contrib/check_dns_random.pl 2007-09-29 10:57:38.000000000 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/bin/perl -w - # ------------------------------------------------------------------------------ - # File Name: check_dns_random.pl - # Author: Richard Mayhew - South Africa -@@ -33,9 +33,9 @@ - - my $host = shift || &usage; - --my $domainfile = "/usr/local/nagios/etc/domains.list"; -+my $domainfile = "/etc/nagios/domains.list"; - my $wc = `/usr/bin/wc -l $domainfile`; --my $check = "/usr/local/nagios/libexec/check_dns"; -+my $check = "/usr/nagios/libexec/check_dns"; - my $x = 0; - my $srv_file = ""; - my $z = ""; -@@ -49,8 +49,7 @@ - my @data = split(/\n/,$srv_file); - - chomp $wc; --$wc =~ s/ //g; --$wc =~ s/domains//g; -+$wc =~ s/([[:digit:]]+) .*/$1/g; - - $x = rand $wc; - ($z,$y) = split(/\./,$x); -diff -Naur nagios-plugins-1.4.10.orig/contrib/check_linux_raid.pl nagios-plugins-1.4.10/contrib/check_linux_raid.pl ---- nagios-plugins-1.4.10.orig/contrib/check_linux_raid.pl 2007-08-28 05:19:45.000000000 +0200 -+++ nagios-plugins-1.4.10/contrib/check_linux_raid.pl 2007-09-29 10:57:50.000000000 +0200 -@@ -23,7 +23,7 @@ - # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min - - use strict; --use lib "/usr/local/nagios/libexec"; -+use lib "/usr/nagios/libexec"; - use utils qw(%ERRORS); - - # die with an error if we're not on Linux diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch deleted file mode 100644 index 6d51d7f..0000000 --- a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur nagios-plugins-1.4.10.orig/configure.in nagios-plugins-1.4.10/configure.in ---- nagios-plugins-1.4.10.orig/configure.in 2007-09-29 02:44:36.000000000 +0200 -+++ nagios-plugins-1.4.10/configure.in 2007-09-29 11:20:19.000000000 +0200 -@@ -210,26 +210,6 @@ - LIBS="$_SAVEDLIBS" - CPPFLAGS="$_SAVEDCPPFLAGS" - --dnl Check for radius libraries --_SAVEDLIBS="$LIBS" --AC_CHECK_LIB(radiusclient,rc_read_config) --if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then -- EXTRAS="$EXTRAS check_radius" -- RADIUSLIBS="-lradiusclient" -- AC_SUBST(RADIUSLIBS) --else -- AC_CHECK_LIB(radiusclient-ng,rc_read_config) -- if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then -- EXTRAS="$EXTRAS check_radius" -- RADIUSLIBS="-lradiusclient-ng" -- AC_SUBST(RADIUSLIBS) -- else -- AC_MSG_WARN([Skipping radius plugin]) -- AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) -- fi --fi --LIBS="$_SAVEDLIBS" -- - dnl Check for LDAP libraries - _SAVEDLIBS="$LIBS" - AC_CHECK_LIB(ldap,main,,,-llber) diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.11-autoconf-2.62.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.11-autoconf-2.62.patch deleted file mode 100644 index 6c5190e..0000000 --- a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.11-autoconf-2.62.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- gl/m4/extensions.m4.orig 2008-04-27 19:39:09.828332808 +0200 -+++ gl/m4/extensions.m4 2008-04-27 19:39:54.771082477 +0200 -@@ -16,6 +16,7 @@ - # ------------------------ - # Enable extensions on systems that normally disable them, - # typically due to standards-conformance issues. -+m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[ - AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], - [ - AC_BEFORE([$0], [AC_COMPILE_IFELSE]) -@@ -49,6 +50,7 @@ - AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) - AC_DEFINE([_TANDEM_SOURCE]) - ]) -+]) - - # gl_USE_SYSTEM_EXTENSIONS - # ------------------------ diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild deleted file mode 100644 index 4333f43..0000000 --- a/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.11.ebuild,v 1.3 2008/01/21 20:27:43 armin76 Exp $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit eutils autotools - -DESCRIPTION="Nagios $PV plugins - Pack of plugins to make Nagios work properly" -HOMEPAGE="http://www.nagios.org/" -SRC_URI="mirror://sourceforge/nagiosplug/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="ssl samba mysql postgres ldap snmp nagios-dns nagios-ntp nagios-ping -nagios-ssh nagios-game ups ipv6 radius" - -DEPEND="ldap? ( >=net-nds/openldap-2.0.25 ) - mysql? ( virtual/mysql ) - postgres? ( >=dev-db/postgresql-7.2 ) - ssl? ( >=dev-libs/openssl-0.9.6g ) - radius? ( >=net-dialup/radiusclient-0.3.2 )" - -RESTRICT="test" - -RDEPEND="${DEPEND} - >=dev-lang/perl-5.6.1-r7 - samba? ( >=net-fs/samba-2.2.5-r1 ) - snmp? ( >=dev-perl/Net-SNMP-4.0.1-r1 - >=net-analyzer/net-snmp-5.0.6 - ) - mysql? ( dev-perl/DBI - dev-perl/DBD-mysql ) - nagios-dns? ( >=net-dns/bind-tools-9.2.2_rc1 ) - nagios-ntp? ( >=net-misc/ntp-4.1.1a ) - nagios-ping? ( >=net-analyzer/fping-2.4_beta2-r1 ) - nagios-ssh? ( >=net-misc/openssh-3.5_p1 ) - ups? ( >=sys-power/nut-1.4 ) - !sparc? ( nagios-game? ( >=games-util/qstat-2.6 ) )" - -pkg_setup() { - enewgroup nagios - enewuser nagios -1 /bin/bash /var/nagios/home nagios -} - -src_unpack() { - unpack ${A} - cd "${S}" - - if ! use radius; then - EPATCH_OPTS="-p1 -d ${S}" epatch \ - "${FILESDIR}"/nagios-plugins-1.4.10-noradius.patch - fi - - epatch "${FILESDIR}"/${PN}-1.4.10-contrib.patch - epatch "${FILESDIR}"/${P}-autoconf-2.62.patch - - AT_M4DIR="m4 gl/m4" eautoreconf -} - -src_compile() { - - local conf - if use ssl; then - conf="${conf} --with-openssl=/usr" - else - conf="${conf} --without-openssl" - fi - - econf \ - $(use_with mysql) \ - $(use_with postgres) \ - $(use_with ipv6) \ - ${conf} \ - --host=${CHOST} \ - --prefix=/usr \ - --libexecdir=/usr/$(get_libdir)/nagios/plugins \ - --sysconfdir=/etc/nagios || die "econf failed" - - # fix problem with additional - - sed -i -e 's:/bin/ps -axwo:/bin/ps axwo:g' config.h || die "sed failed" - - emake || die "emake failed" -} - -src_install() { - mv "${S}"/contrib/check_compaq_insight.pl "${S}"/contrib/check_compaq_insight.pl.msg - chmod +x "${S}"/contrib/*.pl - - sed -i -e '1s;#!.*;#!/usr/bin/perl -w;' "${S}"/contrib/*.pl || die "sed failed" - sed -i -e '30s/use lib utils.pm;/use utils;/' \ - "${S}"/plugins-scripts/check_file_age.pl || die "sed failed" - - dodoc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CODING \ - ChangeLog FAQ NEWS README REQUIREMENTS SUPPORT THANKS - - emake DESTDIR="${D}" install || die "make install failed" - - if use mysql || use postgres; then - dodir /usr/$(get_libdir)/nagios/plugins - exeinto /usr/$(get_libdir)/nagios/plugins - doexe "${S}"/contrib/check_nagios_db.pl - fi - - mv "${S}"/contrib "${D}"/usr/$(get_libdir)/nagios/plugins/contrib - - chown -R root:nagios "${D}"/usr/$(get_libdir)/nagios/plugins \ - || die "Failed chown of ${D}usr/$(get_libdir)/nagios/plugins" - - chmod -R o-rwx "${D}"/usr/$(get_libdir)/nagios/plugins \ - || die "Failed chmod of ${D}usr/$(get_libdir)/nagios/plugins" - - chmod 04710 "${D}"/usr/$(get_libdir)/nagios/plugins/check_icmp \ - || die "Failed chmod of ${D}usr/$(get_libdir)/nagios/plugins/check_icmp" - -} - -pkg_postinst() { - einfo "This ebuild has a number of USE flags which determines what nagios is able to monitor." - einfo "Depending on what you want to monitor with nagios, some or all of these USE" - einfo "flags need to be set for nagios to function correctly." - echo - einfo "contrib plugins are installed into /usr/$(get_libdir)/nagios/plugins/contrib" -} diff --git a/net-analyzer/nagios/ChangeLog b/net-analyzer/nagios/ChangeLog deleted file mode 100644 index 7a8ccde..0000000 --- a/net-analyzer/nagios/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -# ChangeLog for net-analyzer/nagios -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 14 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> ++, - -nagios-3.0_rc3.ebuild: - Version bump, 3.0 stable has finally been released - - 09 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> ++, - -nagios-3.0_rc2.ebuild: - Version bump - diff --git a/net-analyzer/nagios/Manifest b/net-analyzer/nagios/Manifest deleted file mode 100644 index 930d56f..0000000 --- a/net-analyzer/nagios/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD nagios-3.0.1.ebuild 806 RMD160 83de4a93e92c77c4be3926014bd9c4bb173dd78a SHA1 8703d183722e0345b0695c3830556ca77045f015 SHA256 85e5ce0683ab5946feb6baeaaec4864e756f4a232f669e11eaad3f77a39e61a2 -MISC ChangeLog 362 RMD160 2df9bd05c8d1c9cbc377a324ab2026fefc419bb6 SHA1 d1513d08d57e4129b1c71b557d1ba65c595da81e SHA256 7f937b0627180f12790b3b23c4282896ac5902c1926eb483a32a33383b9b1036 diff --git a/net-analyzer/nagios/nagios-3.0.1.ebuild b/net-analyzer/nagios/nagios-3.0.1.ebuild deleted file mode 100644 index 055d5cc..0000000 --- a/net-analyzer/nagios/nagios-3.0.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-2.9.ebuild,v 1.2 2007/07/11 23:49:24 mr_bones_ Exp $ - -DESCRIPTION="The Nagios metapackage - merge this to pull install all of the -nagios packages" -HOMEPAGE="http://www.nagios.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -RDEPEND="~net-analyzer/nagios-core-${PV} - >=net-analyzer/nagios-plugins-1.4.11-r100 - >=net-analyzer/nagios-imagepack-1.0" - -pkg_postrm() { - elog "Note: this is a META ebuild for ${P}." - elog "to remove it completely or before re-emerging" - elog "either use 'depclean', or remove/re-emerge these packages:" - elog - for dep in ${RDEPEND}; do - elog " ${dep}" - done - echo -} |