From 1eceecb96bff9729cc828767f24cce094c2a74bf Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Wed, 20 Nov 2019 11:59:10 -0500 Subject: [PATCH] net-analyzer/nagios-sap-ccms-plugin: drop last-rited package Signed-off-by: Aaron Bauman --- net-analyzer/nagios-sap-ccms-plugin/Manifest | 2 - .../nagios-sap-ccms-plugin-0.8-gentoo.patch | 61 ----------------- .../nagios-sap-ccms-plugin/metadata.xml | 15 ----- .../nagios-sap-ccms-plugin-0.7.3-r1.ebuild | 53 --------------- .../nagios-sap-ccms-plugin-0.8.ebuild | 66 ------------------- profiles/package.mask | 5 -- 6 files changed, 202 deletions(-) delete mode 100644 net-analyzer/nagios-sap-ccms-plugin/Manifest delete mode 100644 net-analyzer/nagios-sap-ccms-plugin/files/nagios-sap-ccms-plugin-0.8-gentoo.patch delete mode 100644 net-analyzer/nagios-sap-ccms-plugin/metadata.xml delete mode 100644 net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3-r1.ebuild delete mode 100644 net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.8.ebuild diff --git a/net-analyzer/nagios-sap-ccms-plugin/Manifest b/net-analyzer/nagios-sap-ccms-plugin/Manifest deleted file mode 100644 index 2cce72dd299f..000000000000 --- a/net-analyzer/nagios-sap-ccms-plugin/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST sap-ccms-plugin-0.7.3.tar.gz 2948020 BLAKE2B 594b14caa0465b21c05318e078e0aebe471b8d61612bb49587a16c44dbf61fd009db877460e971c9e2e4a3cd95461890af12ec19162a2c945c3e2bbea2cfe7f8 SHA512 5de7b1a39c97ba0aac736814df2e7973c7b79d3411bdcd148a3eac2d2a1a84406b3e22f1b4979524154d02d03cb0ba3757bb68a24e8a280ceec98b767dd4b1d9 -DIST sap-ccms-plugin-0.8.tar.bz2 10143558 BLAKE2B aaf1409c3c53d9648565108ec6c7075ec5ed8ddfe105e9fa27ad2554b7f03bd2c26a9fa4c3e3abc0fe829ad2d7c271784c31320788a21ae31c0412f2b377cc2b SHA512 b1937f798f38e8e835610ecf78bb3a5d03d4b6dbdac728f93e0026ce9122524d772289570256849936a1dc2d3be22d4ba8760657a0dc14d6ba8cb8cae6746dc2 diff --git a/net-analyzer/nagios-sap-ccms-plugin/files/nagios-sap-ccms-plugin-0.8-gentoo.patch b/net-analyzer/nagios-sap-ccms-plugin/files/nagios-sap-ccms-plugin-0.8-gentoo.patch deleted file mode 100644 index 8ded76b3b7d1..000000000000 --- a/net-analyzer/nagios-sap-ccms-plugin/files/nagios-sap-ccms-plugin-0.8-gentoo.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- a/src/Makefile -+++ b/src/Makefile -@@ -1,5 +1,5 @@ - --VERSION=0.7.3 -+VERSION=0.8 - PLATFORM=$(shell uname -m) - - -@@ -33,12 +33,10 @@ - SUBDIRS = sap_moni - #C-Compiler - --CC=gcc -DSAP_RFC_TIME --X_CFLAGS = $(CFLAGS) -+X_CFLAGS = $(CFLAGS) $(LDFLAGS) -DSAP_RFC_TIME - SHARED_OBJECTS=libs/$(PLATFORM)/librfccm.so - - ifeq ($(patsubst i%86,x86,$(PLATFORM)), x86) -- CC=gcc -DSAP_RFC_TIME - SHARED_OBJECTS=libs/x86/librfccm.so - endif - ---- a/src/sap_moni/Makefile 2009-03-16 12:34:26.000000000 +0100 -+++ b/src/sap_moni/Makefile 2010-10-20 01:24:14.000000000 +0200 -@@ -1,23 +1,16 @@ --PLATFORM=$(shell uname -m) -- - #used files --SRC_INI = iniparser.c dictionary.c strlib.c -+SRC_INI = dictionary.c strlib.c - OBJ_INI = $(SRC_INI:.c=.o) - OBJ=ctype_b.o agnt_rfc.o agnt_mon.o $(OBJ_INI) - - SHARED = sap_moni.so - - #C-Compiler --CC=gcc -DSAP_RFC_TIME --X_CFLAGS=$(CFLAGS) -fPIC -- --ifeq ($(PLATFORM),ppc64) -- CC=gcc -m64 -DSAP_RFC_TIME --endif -+X_CFLAGS=$(CFLAGS) -fPIC -DSAP_RFC_TIME - - #Rules - shared: $(OBJ) -- $(CC) -shared $ $(X_CFLAGS) -o $(SHARED) $(OBJ) -ldl -lm -+ $(CC) -shared $ $(X_CFLAGS) $(LDFLAGS) -o $(SHARED) $(OBJ) -ldl -lm -liniparser - - - .SUFFIXES: .c .o -@@ -26,7 +19,7 @@ - - #Dependencies - agnt_rfc.o: saprfc.h sapitab.h agnt_def.h --agnt_mon.o: agnt_def.h iniparser.h sapitab.h -+agnt_mon.o: agnt_def.h sapitab.h - - - #------ diff --git a/net-analyzer/nagios-sap-ccms-plugin/metadata.xml b/net-analyzer/nagios-sap-ccms-plugin/metadata.xml deleted file mode 100644 index 4ccb214d4443..000000000000 --- a/net-analyzer/nagios-sap-ccms-plugin/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - creffett@gentoo.org - Chris Reffett - - - sysadmin@gentoo.org - Gentoo Sysadmin Project - - - nagios-sap-ccms - - diff --git a/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3-r1.ebuild b/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3-r1.ebuild deleted file mode 100644 index 319f3f0b5397..000000000000 --- a/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit multilib - -MY_P="sap-ccms-plugin-${PV}" - -DESCRIPTION="Nagios plugin that provides an interface to SAP CCMS -Infrastructure" -HOMEPAGE="https://sourceforge.net/projects/nagios-sap-ccms/" -SRC_URI="mirror://sourceforge/nagios-sap-ccms/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" - -DEPEND="net-analyzer/nagios-core" -RDEPEND=${DEPEND} - -S=${WORKDIR}/${MY_P} - -src_compile() { - cd "${S}/src" - emake || die "emake failed" -} - -src_install() { - cd "${S}/src" - exeinto /usr/$(get_libdir)/nagios/plugins - - for file in {check_sap{,_cons,_instance,_instance_cons,_mult_no_thr,_multiple,_system,_system_cons},create_cfg,sap_change_thr} - do - doexe ${file} - done - - chown -R root:nagios "${D}"/usr/$(get_libdir)/nagios/plugins || die "Failed Chown of ${D}usr/$(get_libdir)/nagios/plugins" - - dolib.so sap_moni.so - cd "${S}/config" - - dodir /etc/sapmon - insinto /etc/sapmon - doins "${S}"/config/* -} - -pkg_postinst() { - elog "Have a look at /etc/sapmon for configuring ${PN}" - elog "Further information can be found at" - elog "http://nagios-sap-ccms.sourceforge.net/" -} diff --git a/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.8.ebuild b/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.8.ebuild deleted file mode 100644 index 39bbc8a46c26..000000000000 --- a/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.8.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -MY_P="sap-ccms-plugin-${PV}" - -DESCRIPTION="Nagios plugin that provides an interface to SAP CCMS -Infrastructure" -HOMEPAGE="https://sourceforge.net/projects/nagios-sap-ccms/" -SRC_URI="mirror://sourceforge/nagios-sap-ccms/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -QA_PRESTRIPPED="/usr/lib/librfccm.so" -QA_FLAGS_IGNORED="/usr/lib/librfccm.so" - -DEPEND=" - net-analyzer/nagios-core - dev-libs/iniparser:0 -" -RDEPEND=${DEPEND} - -S="${WORKDIR}/${PN/-plugin*}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch - sed -i src/sap_moni/* \ - -e 's|#include "iniparser.h"|#include |g' \ - || die "sed sap_moni/" -} - -src_compile() { - emake -C src CC=$(tc-getCC) -} - -src_install() { - cd "${S}/src" - exeinto /usr/$(get_libdir)/nagios/plugins - - for file in {check_sap{,_cons,_instance,_instance_cons,_mult_no_thr,_multiple,_system,_system_cons},create_cfg,sap_change_thr} - do - doexe ${file} - done - - chown -R root:nagios "${D}"/usr/$(get_libdir)/nagios/plugins || die "Failed Chown of ${D}usr/$(get_libdir)/nagios/plugins" - - dolib.so sap_moni.so - newlib.so $(readlink librfccm.so) librfccm.so - cd "${S}/config" - - dodir /etc/sapmon - insinto /etc/sapmon - doins "${S}"/config/* -} - -pkg_postinst() { - elog "Have a look at /etc/sapmon for configuring ${PN}" - elog "Further information can be found at" - elog "http://nagios-sap-ccms.sourceforge.net/" -} diff --git a/profiles/package.mask b/profiles/package.mask index d8ee68ade602..e1a51b216443 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -315,11 +315,6 @@ kde-misc/systemd-kcm # Removal in 30 days dev-python/gnome-keyring-python -# Michał Górny (2019-10-20) -# Fails to build. Last release in 2009. The stable version is EAPI 0. -# Removal in 30 days. Bug #698162. -net-analyzer/nagios-sap-ccms-plugin - # Michał Górny (2019-10-20) # Testing version that breaks multiple plugins. Let's keep it masked # until upstream releases fixed versions. -- 2.26.2