summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/snmptt/ChangeLog8
-rw-r--r--net-analyzer/snmptt/Manifest12
-rw-r--r--net-analyzer/snmptt/files/digest-snmptt-0.9-r11
-rw-r--r--net-analyzer/snmptt/snmptt-0.9-r1.ebuild50
4 files changed, 60 insertions, 11 deletions
diff --git a/net-analyzer/snmptt/ChangeLog b/net-analyzer/snmptt/ChangeLog
index 98ba9e85853d..31d0c5b5edea 100644
--- a/net-analyzer/snmptt/ChangeLog
+++ b/net-analyzer/snmptt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/snmptt
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/ChangeLog,v 1.4 2004/09/11 15:23:43 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/ChangeLog,v 1.5 2004/09/15 17:49:48 squinky86 Exp $
+
+*snmptt-0.9-r1 (15 Sep 2004)
+
+ 15 Sep 2004; Jon Hood <squinky86@gentoo.org> +snmptt-0.9-r1.ebuild:
+ Version bump to fix #64130; correctly install documentation and binaries,
+ thanks to Jason Wever <weeve@gentoo.org>.
11 Sep 2004; Jon Hood <squinky86@gentoo.org> snmptt-0.9.ebuild:
Fix dependencies irt #63498. Thanks Lazar Obradovic <laza@yu.net>.
diff --git a/net-analyzer/snmptt/Manifest b/net-analyzer/snmptt/Manifest
index 88845f832ac8..7388250bcf8e 100644
--- a/net-analyzer/snmptt/Manifest
+++ b/net-analyzer/snmptt/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 1939e4b28181b6748c350410db7d5c8c snmptt-0.9-r1.ebuild 1263
MD5 f08470442acfc5d2ff62ad4075a4b15b snmptt-0.9.ebuild 1159
MD5 83d5f8e1d5a6f0e906d346a089c992d1 ChangeLog 699
MD5 193ab07812b3cd299e6fd2dd3d40d15c metadata.xml 215
+MD5 1563776a631f989d7d781026125a53d0 files/digest-snmptt-0.9-r1 59
MD5 1563776a631f989d7d781026125a53d0 files/digest-snmptt-0.9 59
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBQxnxcAgAdbxYsnERAnymAKCE2E3sRBfn1AFSpjmeNmmEB4xYawCdH7u/
-+GhsSG75F7wqVeEF0N9tUjU=
-=E7hp
------END PGP SIGNATURE-----
diff --git a/net-analyzer/snmptt/files/digest-snmptt-0.9-r1 b/net-analyzer/snmptt/files/digest-snmptt-0.9-r1
new file mode 100644
index 000000000000..80ec5a63741e
--- /dev/null
+++ b/net-analyzer/snmptt/files/digest-snmptt-0.9-r1
@@ -0,0 +1 @@
+MD5 85090dee54ed5772c4e6ec939d954271 snmptt_0.9.tgz 107679
diff --git a/net-analyzer/snmptt/snmptt-0.9-r1.ebuild b/net-analyzer/snmptt/snmptt-0.9-r1.ebuild
new file mode 100644
index 000000000000..bf9b7d246f49
--- /dev/null
+++ b/net-analyzer/snmptt/snmptt-0.9-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/snmptt-0.9-r1.ebuild,v 1.1 2004/09/15 17:49:48 squinky86 Exp $
+
+MY_P=${P/-/_}
+
+DESCRIPTION="SNMP Trap Translator"
+SRC_URI="mirror://sourceforge/snmptt/${MY_P}.tgz"
+HOMEPAGE="http://www.snmptt.org/"
+
+LICENSE="GPL-2"
+
+KEYWORDS="~x86 ~ppc"
+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_compile() {
+ 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
+ doins examples/snmptrapd.conf.sample
+
+ dodoc BUGS COPYING ChangeLog INSTALL README sample-trap
+ dohtml docs/faqs.html docs/index.html docs/layout1.css docs/snmptt.html docs/snmpttconvert.html docs/snmpttconvertmib.html
+}
+
+pkg_postinst() {
+ if ( use mysql || use postgres ); then
+ einfo "Read the html documentation to configure your database."
+ fi
+}