public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snmptt/, net-analyzer/snmptt/files/
@ 2019-10-06 22:22 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2019-10-06 22:22 UTC (permalink / raw
  To: gentoo-commits

commit:     1ce80a7cec14a487b8a3bb3a098714c69faf55d5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 22:20:40 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 22:20:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce80a7c

net-analyzer/snmptt: Drop old (EAPI=0)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-analyzer/snmptt/Manifest           |  1 -
 net-analyzer/snmptt/files/snmptt.initd | 19 -----------
 net-analyzer/snmptt/snmptt-1.2.ebuild  | 61 ----------------------------------
 3 files changed, 81 deletions(-)

diff --git a/net-analyzer/snmptt/Manifest b/net-analyzer/snmptt/Manifest
index f79dfc2d769..d8088b076d3 100644
--- a/net-analyzer/snmptt/Manifest
+++ b/net-analyzer/snmptt/Manifest
@@ -1,2 +1 @@
-DIST snmptt_1.2.tgz 135132 BLAKE2B adb58a04b8d0f4f0367c7ad789ac249b57e9acbbc7458cbea38c0ad9931a83ce991b8d4297a485bb5ccb0193286418980ab3bbe008d65dd1a4f849d177b30bf1 SHA512 6a6fc291a11ebc42b8c2e4bc040cd2833acc2e8e5dc9dbcd1aa48a073125b342a2333f7caba4fe789dba876e5a3879161707a23b52ba751007fcf9bcfa408a67
 DIST snmptt_1.4.tgz 148504 BLAKE2B b49e51d0ec207f1250536010e6475649eeca1a89f85bf31e1a7545cae2fa6ac66951916932863543336bb63a8519f35e9c54e7c67bcd14a43ed7ce6d8d63876b SHA512 200ebe565766c15f85b9b9cbc178baeef740663efc951af4c790c4b28d27398c14a95c4b38306ec3503cefe9b86634d5f24ec5f2482694f07789e9025ea39a80

diff --git a/net-analyzer/snmptt/files/snmptt.initd b/net-analyzer/snmptt/files/snmptt.initd
deleted file mode 100644
index 76b67a2b130..00000000000
--- a/net-analyzer/snmptt/files/snmptt.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-	need net snmptrapd
-}
-				
-start() {
-	ebegin "Starting snmptt"
-	start-stop-daemon --start --pidfile /var/run/snmptt.pid --exec /usr/sbin/snmptt
-	eend
-}
-
-stop() {
-	ebegin "Stopping snmptt"
-	start-stop-daemon  --stop --pidfile /var/run/snmptt.pid
-	eend
-}		

diff --git a/net-analyzer/snmptt/snmptt-1.2.ebuild b/net-analyzer/snmptt/snmptt-1.2.ebuild
deleted file mode 100644
index 207d3658b9d..00000000000
--- a/net-analyzer/snmptt/snmptt-1.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-MY_P="${P/-/_}"
-
-DESCRIPTION="SNMP Trap Translator"
-SRC_URI="mirror://sourceforge/snmptt/${MY_P}.tgz"
-HOMEPAGE="http://www.snmptt.org/"
-
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~ppc x86"
-SLOT="0"
-IUSE="mysql postgres"
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND=">=dev-lang/perl-5.6.1
-	dev-perl/Config-IniFiles
-	>=net-analyzer/net-snmp-5.1
-	mysql? ( dev-perl/DBD-mysql )
-	postgres? ( dev-perl/DBD-Pg )"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	# bug 105354, daemonize this thing
-	sed -i -e "s:mode = standalone:mode = daemon:g" snmptt.ini || die
-
-	echo "traphandle default /usr/sbin/snmptt" >examples/snmptrapd.conf.sample
-}
-
-src_install() {
-	into /usr
-	dosbin snmptt
-	dosbin snmptthandler
-	dosbin snmptt-net-snmp-test
-	dosbin snmpttconvert
-	dosbin snmpttconvertmib
-
-	insinto /etc/snmp
-	doins snmptt.ini
-	doins examples/snmptt.conf.generic
-	cp -pPR ${D}/etc/snmp/snmptt.conf.generic ${D}/etc/snmp/snmptt.conf
-	doins examples/snmptrapd.conf.sample
-
-	dodoc BUGS ChangeLog README sample-trap
-	dohtml docs/faqs.html docs/index.html docs/layout1.css docs/snmptt.html docs/snmpttconvert.html docs/snmpttconvertmib.html
-
-	newinitd "${FILESDIR}"/snmptt.initd snmptt
-}
-
-pkg_postinst() {
-	if ( use mysql || use postgres ); then
-		elog "Read the html documentation to configure your database."
-	fi
-	elog "Please configure /etc/snmp/snmptt.conf before running."
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-06 22:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-06 22:22 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snmptt/, net-analyzer/snmptt/files/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox