summaryrefslogtreecommitdiff
path: root/net-analyzer/snmptt/snmptt-1.4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-analyzer/snmptt/snmptt-1.4.ebuild
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'net-analyzer/snmptt/snmptt-1.4.ebuild')
-rw-r--r--net-analyzer/snmptt/snmptt-1.4.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/net-analyzer/snmptt/snmptt-1.4.ebuild b/net-analyzer/snmptt/snmptt-1.4.ebuild
deleted file mode 100644
index ed70054e6dc9..000000000000
--- a/net-analyzer/snmptt/snmptt-1.4.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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
- dev-perl/Config-IniFiles
- net-analyzer/net-snmp
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
-"
-
-src_prepare() {
- # bug 105354, daemonize this thing
- sed -i \
- -e 's:mode = standalone:mode = daemon:g' \
- -e '/pid_file/s:/var/run:/run:g' \
- snmptt.ini || die
-
- echo "traphandle default /usr/sbin/snmptt" >examples/snmptrapd.conf.sample
-}
-
-src_install() {
- into /usr
- dosbin snmptt snmptthandler snmptt-net-snmp-test snmpttconvert \
- snmpttconvertmib
-
- insinto /etc/snmp
- doins snmptt.ini examples/snmptt.conf.generic \
- examples/snmptrapd.conf.sample
- newins examples/snmptt.conf.generic snmptt.conf
-
- 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-r1 snmptt
-}