diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-10-07 00:20:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-10-07 00:20:40 +0200 |
commit | 1ce80a7cec14a487b8a3bb3a098714c69faf55d5 (patch) | |
tree | 50b8bbbbc8e7ea6905d8a487815118dbaa76ea5c /net-analyzer | |
parent | sys-auth/pam_smb: Drop old (EAPI=0) (diff) | |
download | gentoo-1ce80a7cec14a487b8a3bb3a098714c69faf55d5.tar.gz gentoo-1ce80a7cec14a487b8a3bb3a098714c69faf55d5.tar.bz2 gentoo-1ce80a7cec14a487b8a3bb3a098714c69faf55d5.zip |
net-analyzer/snmptt: Drop old (EAPI=0)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/snmptt/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/snmptt/files/snmptt.initd | 19 | ||||
-rw-r--r-- | net-analyzer/snmptt/snmptt-1.2.ebuild | 61 |
3 files changed, 0 insertions, 81 deletions
diff --git a/net-analyzer/snmptt/Manifest b/net-analyzer/snmptt/Manifest index f79dfc2d769e..d8088b076d33 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 76b67a2b1304..000000000000 --- 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 207d3658b9d8..000000000000 --- 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." -} |