From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snmptt/
Date: Sat, 25 Jul 2020 09:38:22 +0000 (UTC) [thread overview]
Message-ID: <1595669895.1548c6ca5671e874b98fbd4c4107c4dd49e3e222.jer@gentoo> (raw)
commit: 1548c6ca5671e874b98fbd4c4107c4dd49e3e222
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 25 09:35:49 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Jul 25 09:38:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1548c6ca
net-analyzer/snmptt: Version 1.4.2
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/snmptt/Manifest | 1 +
net-analyzer/snmptt/snmptt-1.4.2.ebuild | 60 +++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/net-analyzer/snmptt/Manifest b/net-analyzer/snmptt/Manifest
index c9a22c1494f..f68f7085a9a 100644
--- a/net-analyzer/snmptt/Manifest
+++ b/net-analyzer/snmptt/Manifest
@@ -1,2 +1,3 @@
DIST snmptt_1.4.1.tgz 142271 BLAKE2B 4b2af3b3c94e40efba1c497da16c80426c6e8b28e4a310bd44c8f353d304c67b651ef26eefce1c0208d5216a34339bcc3c3959a5cae93016ed57120495420d65 SHA512 2a51356f575ae7f7abc6640d802f67a107dc653a6224d5e208f85f2d17ba735d10a2fc0a3815f83ac449f6a058d870389d61ed501e5ca8c324f88d3c14b8d8bd
+DIST snmptt_1.4.2.tgz 142697 BLAKE2B 5603197adb919a8e34d07d6981f35ff60db5674f254ce3ac4e9e12f7aad31b4ba85ddfa5b785df0c759bd97929a24e9f694b9511d060fc94d60fe2e70764c662 SHA512 b8782aa5789227253c1b65c98771de7eba319f1f29b56224415f89d0c687515cd099f0ba7d0e304d43a9d054fa66335fe09d99545f50415745ac86b8b56a2b9d
DIST snmptt_1.4.tgz 148504 BLAKE2B b49e51d0ec207f1250536010e6475649eeca1a89f85bf31e1a7545cae2fa6ac66951916932863543336bb63a8519f35e9c54e7c67bcd14a43ed7ce6d8d63876b SHA512 200ebe565766c15f85b9b9cbc178baeef740663efc951af4c790c4b28d27398c14a95c4b38306ec3503cefe9b86634d5f24ec5f2482694f07789e9025ea39a80
diff --git a/net-analyzer/snmptt/snmptt-1.4.2.ebuild b/net-analyzer/snmptt/snmptt-1.4.2.ebuild
new file mode 100644
index 00000000000..3596946f831
--- /dev/null
+++ b/net-analyzer/snmptt/snmptt-1.4.2.ebuild
@@ -0,0 +1,60 @@
+# 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
+}
next reply other threads:[~2020-07-25 9:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-25 9:38 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-26 9:14 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snmptt/ Jeroen Roovers
2020-07-26 1:10 Sam James
2020-07-25 9:38 Jeroen Roovers
2020-07-25 0:46 Sam James
2020-07-22 7:04 Jeroen Roovers
2019-10-06 21:18 Thomas Deutschmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1595669895.1548c6ca5671e874b98fbd4c4107c4dd49e3e222.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox