+++ /dev/null
-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
+++ /dev/null
---- 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)\r
--\r
- #used files\r
--SRC_INI = iniparser.c dictionary.c strlib.c\r
-+SRC_INI = dictionary.c strlib.c\r
- OBJ_INI = $(SRC_INI:.c=.o)\r
- OBJ=ctype_b.o agnt_rfc.o agnt_mon.o $(OBJ_INI)\r
- \r
- SHARED = sap_moni.so \r
- \r
- #C-Compiler\r
--CC=gcc -DSAP_RFC_TIME\r
--X_CFLAGS=$(CFLAGS) -fPIC\r
--\r
--ifeq ($(PLATFORM),ppc64)\r
-- CC=gcc -m64 -DSAP_RFC_TIME\r
--endif\r
-+X_CFLAGS=$(CFLAGS) -fPIC -DSAP_RFC_TIME\r
- \r
- #Rules\r
- shared: $(OBJ)\r
-- $(CC) -shared $ $(X_CFLAGS) -o $(SHARED) $(OBJ) -ldl -lm\r
-+ $(CC) -shared $ $(X_CFLAGS) $(LDFLAGS) -o $(SHARED) $(OBJ) -ldl -lm -liniparser\r
- \r
- \r
- .SUFFIXES: .c .o\r
-@@ -26,7 +19,7 @@
- \r
- #Dependencies\r
- agnt_rfc.o: saprfc.h sapitab.h agnt_def.h\r
--agnt_mon.o: agnt_def.h iniparser.h sapitab.h\r
-+agnt_mon.o: agnt_def.h sapitab.h\r
- \r
- \r
- #------\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>creffett@gentoo.org</email>
- <name>Chris Reffett</name>
- </maintainer>
- <maintainer type="project">
- <email>sysadmin@gentoo.org</email>
- <name>Gentoo Sysadmin Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">nagios-sap-ccms</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# 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/"
-}
+++ /dev/null
-# 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 <iniparser.h>|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/"
-}
# Removal in 30 days
dev-python/gnome-keyring-python
-# Michał Górny <mgorny@gentoo.org> (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 <mgorny@gentoo.org> (2019-10-20)
# Testing version that breaks multiple plugins. Let's keep it masked
# until upstream releases fixed versions.