From: Markus Ullmann Date: Sat, 3 Mar 2007 18:16:32 +0000 (+0000) Subject: Drop net-analyzer/prelude-nagios per bug #165006 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abbfa9a098d0dd26b38ce81e8155c533e7c2959c;p=gentoo.git Drop net-analyzer/prelude-nagios per bug #165006 --- diff --git a/net-analyzer/prelude-nagios/ChangeLog b/net-analyzer/prelude-nagios/ChangeLog deleted file mode 100644 index 778d16abddc1..000000000000 --- a/net-analyzer/prelude-nagios/ChangeLog +++ /dev/null @@ -1,44 +0,0 @@ -# ChangeLog for net-analyzer/prelude-nagios -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nagios/ChangeLog,v 1.11 2007/02/20 00:27:17 jokey Exp $ - - 20 Feb 2007; Markus Ullmann ChangeLog: - Redigest for Manifest2 - - 08 Jul 2006; Michael Sterrett - prelude-nagios-0.0.2.ebuild: - remove optional dep that is no longer in portage - - 28 Apr 2006; Emanuele Giaquinta - prelude-nagios-0.0.3.ebuild: - Depend on libprelude-0.8.10, because it does not compile with newer - versions; thanks to Angelo Leto in bug #125052. - - 09 Jul 2004; Eldad Zack prelude-nagios-0.0.2.ebuild, - prelude-nagios-0.0.3.ebuild: - Tidy up. marked x86 stable - - 20 Mar 2004; Michael Boman prelude-nagios-0.0.2.ebuild, - prelude-nagios-0.0.3.ebuild: - Changed DEPEND and RDEPEND to fix bug 45110. - - 16 Mar 2004; Michael Boman prelude-nagios-0.0.2.ebuild: - Marked 0.0.2 stable on x86 - -*prelude-nagios-0.0.3 (16 Mar 2004) - - 16 Mar 2004; Michael Boman prelude-nagios-0.0.3.ebuild: - New upstream version. - - 29 Feb 2004; Michael Boman metadata.xml: - Moving the package to 'netmon' herd. - - 08 Jul 2003; metadata.xml: - Added metadata.xml - -*prelude-nagios-0.0.2 (05 Jul 2003) - - 05 Jul 2003; prelude-nagios-0.0.2.ebuild, - files/prelude-nagios-0.0.2-001.patch: - initial import of prelude-nagios plugin courtesy of Michael Boman Bug# 23777 - diff --git a/net-analyzer/prelude-nagios/Manifest b/net-analyzer/prelude-nagios/Manifest deleted file mode 100644 index 6b8c282358c2..000000000000 --- a/net-analyzer/prelude-nagios/Manifest +++ /dev/null @@ -1,38 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX prelude-nagios-0.0.2-001.patch 1988 RMD160 4ff3d900d2ad3ac709fc17d5d64a392b5bc9b079 SHA1 a6e0d87f4a8208f492b3407cbf58383848765ea8 SHA256 df07d8108c45c4ce66d7d9e63150213b9fdd6a1a1acb069ec37dad4e2d449828 -MD5 fdc08ad12de3e7b0a010a302b70c9271 files/prelude-nagios-0.0.2-001.patch 1988 -RMD160 4ff3d900d2ad3ac709fc17d5d64a392b5bc9b079 files/prelude-nagios-0.0.2-001.patch 1988 -SHA256 df07d8108c45c4ce66d7d9e63150213b9fdd6a1a1acb069ec37dad4e2d449828 files/prelude-nagios-0.0.2-001.patch 1988 -DIST prelude-nagios-0.0.2.tar.gz 808960 RMD160 b19bb501c2e92d979c6e6691355921e1d2f969cf SHA1 c0e6a2c6158a4ee3782d8c22ed7f66c0aa949c18 SHA256 45e0697ef4daf39433056eb73eb5adfd7b5e0e11b9495eefc6e500158cd85fd7 -DIST prelude-nagios-0.0.3.tar.gz 182598 RMD160 b9c5dafbc6f3f0c4b072dbaad2c09401039cbdf9 SHA1 1b179bab12283b141ffc6780bf1c04b9c872fd15 SHA256 fe1bed4a742e24941b38d000c4d2528457428bec8b1e630951f8b0c4a1a2762f -EBUILD prelude-nagios-0.0.2.ebuild 1263 RMD160 680e44623071811b845592d701c6fca777887177 SHA1 808aebc5772c3ca84caba3fad62ab4e9dc063a99 SHA256 479bcf547f03774a8e6eb7317203fde4848e6acd45283de94060a8b740d5d8c3 -MD5 edcb65392cfbd08d65ed5e6ed0259bfd prelude-nagios-0.0.2.ebuild 1263 -RMD160 680e44623071811b845592d701c6fca777887177 prelude-nagios-0.0.2.ebuild 1263 -SHA256 479bcf547f03774a8e6eb7317203fde4848e6acd45283de94060a8b740d5d8c3 prelude-nagios-0.0.2.ebuild 1263 -EBUILD prelude-nagios-0.0.3.ebuild 823 RMD160 eaecbeb6e0dac6ed54e03a7c741008fac1b363ae SHA1 7a7754ff405a8814dc818d041b8e7f7c15185234 SHA256 eaa45188692f763f6959cdcd6c654db0a128e0f9d90b19b0d8e4bef2ab77ba1d -MD5 d8fff0c412f5f365ab1e3233babc70ee prelude-nagios-0.0.3.ebuild 823 -RMD160 eaecbeb6e0dac6ed54e03a7c741008fac1b363ae prelude-nagios-0.0.3.ebuild 823 -SHA256 eaa45188692f763f6959cdcd6c654db0a128e0f9d90b19b0d8e4bef2ab77ba1d prelude-nagios-0.0.3.ebuild 823 -MISC ChangeLog 1587 RMD160 1fcc512013c71471b84c1b816d800ee6fe8f8ed5 SHA1 9dde4596cdffc70f219ebfd20360dcc104a8e93a SHA256 e2f38335b5134e3820415265f420195efe879aa4a03fd23121e01067d7f39590 -MD5 1478caf4baa72c4095186685ff746447 ChangeLog 1587 -RMD160 1fcc512013c71471b84c1b816d800ee6fe8f8ed5 ChangeLog 1587 -SHA256 e2f38335b5134e3820415265f420195efe879aa4a03fd23121e01067d7f39590 ChangeLog 1587 -MISC metadata.xml 233 RMD160 fe7a3f2f3cbba9318236acf925911e0b84197c13 SHA1 fc4f22abe4688a13521eb95a92d252fc7b1be70b SHA256 68aae738451b2b645106b41b27f1444b8be627b4faf4bcfa3d8f50c9110e4c9a -MD5 67513bad83a9eb8513e1e26507e72934 metadata.xml 233 -RMD160 fe7a3f2f3cbba9318236acf925911e0b84197c13 metadata.xml 233 -SHA256 68aae738451b2b645106b41b27f1444b8be627b4faf4bcfa3d8f50c9110e4c9a metadata.xml 233 -MD5 b7608a2026c680100d49051312f1c309 files/digest-prelude-nagios-0.0.2 262 -RMD160 47ede030c51f3a96aa457cb77159f80ff6aedd23 files/digest-prelude-nagios-0.0.2 262 -SHA256 3e631cfdaf25bf9ad59f19d6826770042271785e8bfd9174752f74f2066538d7 files/digest-prelude-nagios-0.0.2 262 -MD5 e275c957deb8c5653249164df0f1a8c2 files/digest-prelude-nagios-0.0.3 262 -RMD160 49b3c1d1e23cd8bd5169758f3f611a7ef2892135 files/digest-prelude-nagios-0.0.3 262 -SHA256 e644bbdf4644bc5a9bff1bbf0f074aa02b5884b8c877ff53bf4576dc12c434d4 files/digest-prelude-nagios-0.0.3 262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFF2kBlz974XjDVpbkRAqRAAKC3TcYtzXOULIgKqDzJb4AQXP4rrgCgiRBW -/rrgCBAA8Lhl0WyniQFGFVU= -=dEhl ------END PGP SIGNATURE----- diff --git a/net-analyzer/prelude-nagios/files/digest-prelude-nagios-0.0.2 b/net-analyzer/prelude-nagios/files/digest-prelude-nagios-0.0.2 deleted file mode 100644 index c22bda51171a..000000000000 --- a/net-analyzer/prelude-nagios/files/digest-prelude-nagios-0.0.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d52a30c9cf5e00a357d484eb38ceb215 prelude-nagios-0.0.2.tar.gz 808960 -RMD160 b19bb501c2e92d979c6e6691355921e1d2f969cf prelude-nagios-0.0.2.tar.gz 808960 -SHA256 45e0697ef4daf39433056eb73eb5adfd7b5e0e11b9495eefc6e500158cd85fd7 prelude-nagios-0.0.2.tar.gz 808960 diff --git a/net-analyzer/prelude-nagios/files/digest-prelude-nagios-0.0.3 b/net-analyzer/prelude-nagios/files/digest-prelude-nagios-0.0.3 deleted file mode 100644 index 1839490d6e01..000000000000 --- a/net-analyzer/prelude-nagios/files/digest-prelude-nagios-0.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0fb742fd0e07bfc62f75cf03892a7c56 prelude-nagios-0.0.3.tar.gz 182598 -RMD160 b9c5dafbc6f3f0c4b072dbaad2c09401039cbdf9 prelude-nagios-0.0.3.tar.gz 182598 -SHA256 fe1bed4a742e24941b38d000c4d2528457428bec8b1e630951f8b0c4a1a2762f prelude-nagios-0.0.3.tar.gz 182598 diff --git a/net-analyzer/prelude-nagios/files/prelude-nagios-0.0.2-001.patch b/net-analyzer/prelude-nagios/files/prelude-nagios-0.0.2-001.patch deleted file mode 100644 index 0f11f13b814e..000000000000 --- a/net-analyzer/prelude-nagios/files/prelude-nagios-0.0.2-001.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- prelude-nagios-0.0.2/src/idmef.c 2003-01-31 03:05:25.000000000 +0800 -+++ prelude-nagios-0.0.3/src/idmef.c 2003-06-28 06:00:49.000000000 +0800 -@@ -48,7 +48,7 @@ - - - --#define ANALYZER_MODEL "Prelude module for Nagios" -+#define ANALYZER_MODEL "Prelude Nagios" - #define ANALYZER_CLASS "Network Supervision System" - #define ANALYZER_MANUFACTURER "ExaProbe http://www.exaprobe.com" - -@@ -77,6 +77,7 @@ - static idmef_message_t *msg; - static idmef_alert_t *alert; - static idmef_target_t *target; -+idmef_classification_t *classification = NULL; - - - /* Misc info to be used in the additional data idmef field*/ -@@ -112,7 +113,9 @@ - char *description = NULL; - int len = 0; - const char *host = NULL; -- -+ char classification_message[256]; -+ char *final_class_message; -+ - idmef_alert_assessment_new(alert); - assessment = alert->assessment; - -@@ -198,7 +201,16 @@ - len += sprintf(description+len, "; "); - len += sprintf(description+len, "service is %s", target_service_state); - } -- -+ -+ snprintf(classification_message, sizeof(classification_message), "Host %s%s%s is %s", -+ host, -+ target_service_descr ? " service " : "", -+ target_service_descr ? target_service_descr : "", -+ target_service_state ? target_service_state : target_state); -+ -+ final_class_message = strdup(classification_message); -+ idmef_string_set(&classification->name, final_class_message); -+ free( final_class_message ); - - idmef_string_set(&impact->description, description); - -@@ -330,7 +342,6 @@ - int idmef_init(void) - { - struct timeval tv; -- idmef_classification_t *classification = NULL; - idmef_node_t *node = NULL; - - msgbuf = prelude_msgbuf_new(0); -@@ -352,7 +363,6 @@ - return -1; - } - -- idmef_string_set_constant(&classification->name, CLASSIFICATION_NAME); - - gettimeofday(&tv, NULL); - alert->create_time.sec = tv.tv_sec; diff --git a/net-analyzer/prelude-nagios/metadata.xml b/net-analyzer/prelude-nagios/metadata.xml deleted file mode 100644 index 618dd0f6f59a..000000000000 --- a/net-analyzer/prelude-nagios/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -netmon -Plugin for Nagios to talk with Prelude - diff --git a/net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild b/net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild deleted file mode 100644 index bda8d49e2a9d..000000000000 --- a/net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild,v 1.7 2006/07/08 05:19:56 mr_bones_ Exp $ - -inherit eutils - -DESCRIPTION="Plugin for Nagios to talk with Prelude" -HOMEPAGE="http://www.exaprobe.com/labs/downloads/index.php3?DIR=/downloads/Nagios_Plugin" -SRC_URI="http://www.exaprobe.com/labs/downloads/Nagios_Plugin/prelude-nagios-${PV}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" -DEPEND="dev-libs/libprelude" -RDEPEND="${DEPEND} - net-analyzer/nagios-core" - -src_unpack() { - # prelude-nagios-0.0.2.tar.gz is a POSIX tar archive from exaprobe - # In the future I think we should to try to avoid calling - # tar directly from ebuilds. - - # Our possible solutions. - # 1) email exaprobe and inform them that the .tar.gz is only a .tar - # 2) Repackage the tarball as a .bz2 and put it on a gentoo mirror - - tar xvf ${DISTDIR}/${A} -C ${WORKDIR} - #unpack ${A} - epatch ${FILESDIR}/prelude-nagios-${PV}-001.patch -} - -src_compile() { - econf || die "econf failed" - emake || die "emake failed" -} - -src_install() { - insinto /etc/prelude-nagios - doins prelude-nagios.conf - - exeinto /usr/nagios/bin - doexe src/prelude-nagios -} diff --git a/net-analyzer/prelude-nagios/prelude-nagios-0.0.3.ebuild b/net-analyzer/prelude-nagios/prelude-nagios-0.0.3.ebuild deleted file mode 100644 index 8aeb330b4a28..000000000000 --- a/net-analyzer/prelude-nagios/prelude-nagios-0.0.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nagios/prelude-nagios-0.0.3.ebuild,v 1.5 2006/04/28 20:32:23 exg Exp $ - -inherit eutils - -DESCRIPTION="Plugin for Nagios to talk with Prelude" -HOMEPAGE="http://www.exaprobe.com/labs/downloads/index.php3?DIR=/downloads/Nagios_Plugin" -SRC_URI="http://www.exaprobe.com/labs/downloads/Nagios_Plugin/prelude-nagios-${PV}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" -DEPEND="=dev-libs/libprelude-0.8.10-r1" -RDEPEND="${DEPEND} - net-analyzer/nagios-core" - -src_compile() { - econf || die "econf failed" - emake || die "emake failed" -} - -src_install() { - insinto /etc/prelude-nagios - doins prelude-nagios.conf - - exeinto /usr/nagios/bin - doexe src/prelude-nagios -}