mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-analyzer/snmptt: Old
Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST snmptt_1.4.1.tgz 142271 BLAKE2B 4b2af3b3c94e40efba1c497da16c80426c6e8b28e4a310bd44c8f353d304c67b651ef26eefce1c0208d5216a34339bcc3c3959a5cae93016ed57120495420d65 SHA512 2a51356f575ae7f7abc6640d802f67a107dc653a6224d5e208f85f2d17ba735d10a2fc0a3815f83ac449f6a058d870389d61ed501e5ca8c324f88d3c14b8d8bd
|
||||
DIST snmptt_1.4.2.tgz 142697 BLAKE2B 5603197adb919a8e34d07d6981f35ff60db5674f254ce3ac4e9e12f7aad31b4ba85ddfa5b785df0c759bd97929a24e9f694b9511d060fc94d60fe2e70764c662 SHA512 b8782aa5789227253c1b65c98771de7eba319f1f29b56224415f89d0c687515cd099f0ba7d0e304d43a9d054fa66335fe09d99545f50415745ac86b8b56a2b9d
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="SNMP Trap Translator"
|
||||
SRC_URI="mirror://sourceforge/snmptt/${P/-/_}.tgz"
|
||||
HOMEPAGE="http://www.snmptt.org/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
SLOT="0"
|
||||
|
||||
S="${WORKDIR}/${P/-/_}"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-perl/Config-IniFiles
|
||||
net-analyzer/net-snmp
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug 105354, daemonize by default
|
||||
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 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /usr
|
||||
dosbin \
|
||||
snmptt \
|
||||
snmptt-net-snmp-test \
|
||||
snmpttconvert \
|
||||
snmpttconvertmib \
|
||||
snmptthandler \
|
||||
snmptthandler-embedded
|
||||
|
||||
insinto /etc/snmp
|
||||
doins \
|
||||
examples/snmptrapd.conf.sample \
|
||||
examples/snmptt.conf.generic \
|
||||
snmptt.ini
|
||||
newins examples/snmptt.conf.generic snmptt.conf
|
||||
|
||||
dodoc ChangeLog README sample-trap
|
||||
|
||||
docinto html
|
||||
dodoc docs/*
|
||||
|
||||
newinitd "${FILESDIR}"/snmptt.initd-r1 snmptt
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins snmptt.logrotate snmptt
|
||||
}
|
||||
Reference in New Issue
Block a user