# 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.6 2004/09/17 14:32:35 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/ChangeLog,v 1.7 2004/10/25 13:16:49 eldad Exp $
+
+ 25 Oct 2004; Eldad Zack <eldad@gentoo.org> snmptt-0.9-r1.ebuild:
+ Version bump (Closes #68765). Marked 0.9 x86 stable.
17 Sep 2004; Jason Wever <weeve@gentoo.org> snmptt-0.9-r1.ebuild:
Added ~sparc keyword.
-MD5 bf4b53ef0b454f32d54c054068740212 ChangeLog 1009
-MD5 193ab07812b3cd299e6fd2dd3d40d15c metadata.xml 215
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 298a7732050b79b557cf3f2c77d13398 snmptt-0.9-r1.ebuild 1268
+MD5 2ce46afb4c8c3bd5d58f75acaba15f3f snmptt-1.0.ebuild 1266
MD5 f08470442acfc5d2ff62ad4075a4b15b snmptt-0.9.ebuild 1159
-MD5 38e0aa74b949f2853eaf1abc14bc984d snmptt-0.9-r1.ebuild 1269
-MD5 1563776a631f989d7d781026125a53d0 files/digest-snmptt-0.9 59
+MD5 a36d7792d5157be15d65f23aecf47738 ChangeLog 1132
+MD5 193ab07812b3cd299e6fd2dd3d40d15c metadata.xml 215
MD5 1563776a631f989d7d781026125a53d0 files/digest-snmptt-0.9-r1 59
+MD5 1563776a631f989d7d781026125a53d0 files/digest-snmptt-0.9 59
+MD5 b6787c534ab58fab31a50732394c5027 files/digest-snmptt-1.0 59
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBfPyMT+MN7JbqCpMRAhrrAKCQW+js+Gc5FIHPWinybJgb/mumwwCgkNfm
+1b6l9kkPGmd+H0xgvcpVEv0=
+=jeUP
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 ad93fc3d7b28eb59c153ce2761644838 snmptt_1.0.tgz 110663
# 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.2 2004/09/17 14:32:35 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/snmptt-0.9-r1.ebuild,v 1.3 2004/10/25 13:16:49 eldad Exp $
MY_P=${P/-/_}
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc ~sparc"
+KEYWORDS="x86 ~ppc ~sparc"
SLOT="0"
IUSE="mysql postgres"
--- /dev/null
+# 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-1.0.ebuild,v 1.1 2004/10/25 13:16:49 eldad 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 ~sparc"
+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
+}