summaryrefslogtreecommitdiff
path: root/net-analyzer/nagios-sap-ccms-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nagios-sap-ccms-plugin')
-rw-r--r--net-analyzer/nagios-sap-ccms-plugin/Manifest6
-rw-r--r--net-analyzer/nagios-sap-ccms-plugin/files/nagios-sap-ccms-plugin-0.8-gentoo.patch61
-rw-r--r--net-analyzer/nagios-sap-ccms-plugin/metadata.xml15
-rw-r--r--net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3-r1.ebuild53
-rw-r--r--net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.8.ebuild66
5 files changed, 0 insertions, 201 deletions
diff --git a/net-analyzer/nagios-sap-ccms-plugin/Manifest b/net-analyzer/nagios-sap-ccms-plugin/Manifest
deleted file mode 100644
index 0131c5bca3e9..000000000000
--- a/net-analyzer/nagios-sap-ccms-plugin/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX nagios-sap-ccms-plugin-0.8-gentoo.patch 1360 BLAKE2B f55656a4bb5a00554537b2e14567e2d88016c4f6f4c82d0dac59da0b28497e4f4def1b0fd4c10d801189bbf20e700977cc8a13b89c4ccb97677fbd45352fff1c SHA512 133b5ee63448111e512958ee0eb6d45308aebd78c441265c0020bcf9211fe8a746b9f85bb319d4b943e4f52677920c77956807cf907044361507f8f68ebd34fe
-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
-EBUILD nagios-sap-ccms-plugin-0.7.3-r1.ebuild 1187 BLAKE2B 18eae1b34d4c195ef8af5d96766ff6e035526e12d54f9cf2840af7429982e249dd0135873d80a46c54fa42c68ed029d40a261cc1819efd4c3207586d73bfb6e6 SHA512 e83aaf820af269b10f4d6744e8aca44b01b35ad80249941072050b043d7b0e6c31294d574e687a582113bf5773c231331aae40211ae3dfd11415742ead726a35
-EBUILD nagios-sap-ccms-plugin-0.8.ebuild 1525 BLAKE2B 84af7db1f47cb70036d7293ca5d9dbdf9c7d4be14b807bbc489eef24a06cec35b4dffded93a0a53cd841f8c379c41a0ca3dd17978bda911e91d237ef80d2f3dc SHA512 85d5c6f78520bee84ba5ca2a7c3407bcf72331ad1b24ff67fa95e55e7bea3592a307ff3a5e07cc32d20366b55931f1395beeaec509a91cbd27263ba00d5322ce
-MISC metadata.xml 469 BLAKE2B 3680605f1cba746e3bb9e82feecac8e55b52c6ada79430ad9f0e283a381d6e6a6b1c8a995c05927a423a1b1a962451222d5a72b87abd7b3437e1eeaa949fe67c SHA512 e29ec78dc41a8362b6811bd347173d9d396676efad424c83d2d979742e1f62584f40a458f51e21ddc0b44dab5f8f1249b8e7ba89931e0941d09bab56f89ff01a
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 @@
-<?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>
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 <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/"
-}