diff options
author | 2003-05-26 08:30:43 +0000 | |
---|---|---|
committer | 2003-05-26 08:30:43 +0000 | |
commit | d1defaa145e08739c8c8a2a22e802bf1c46dbcae (patch) | |
tree | fe9830be1834325e2351cbb00d31fbbfc6b8d790 /net-analyzer/net-snmp | |
parent | Added virtual/snmp (diff) | |
download | historical-d1defaa145e08739c8c8a2a22e802bf1c46dbcae.tar.gz historical-d1defaa145e08739c8c8a2a22e802bf1c46dbcae.tar.bz2 historical-d1defaa145e08739c8c8a2a22e802bf1c46dbcae.zip |
virtual/snmp and version bump
Diffstat (limited to 'net-analyzer/net-snmp')
-rw-r--r-- | net-analyzer/net-snmp/ChangeLog | 12 | ||||
-rw-r--r-- | net-analyzer/net-snmp/Manifest | 8 | ||||
-rw-r--r-- | net-analyzer/net-snmp/files/digest-net-snmp-5.0.6-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/net-snmp/files/digest-net-snmp-5.0.8 | 1 | ||||
-rw-r--r-- | net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild | 81 | ||||
-rw-r--r-- | net-analyzer/net-snmp/net-snmp-5.0.8.ebuild | 82 |
6 files changed, 182 insertions, 3 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog index 9cc72a2995ca..4b46ab370b1c 100644 --- a/net-analyzer/net-snmp/ChangeLog +++ b/net-analyzer/net-snmp/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for net-analyzer/net-snmp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.13 2003/05/08 02:22:26 nitro Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.14 2003/05/26 08:30:43 aliz Exp $ + +*net-snmp-5.0.8 (26 May 2003) + + 26 May 2003; Daniel Ahlberg <aliz@gentoo.org> net-snmp-5.0.8.ebuild : + Version bump. + +*net-snmp-5.0.6-r1 (26 May 2003) + + 26 May 2003; Daniel Ahlberg <aliz@gentoo.org> net-snmp-5.0.6-r1.ebuild : + Added virtual/snmp. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest index 6085f816b33c..f16a03f5a96c 100644 --- a/net-analyzer/net-snmp/Manifest +++ b/net-analyzer/net-snmp/Manifest @@ -1,11 +1,15 @@ -MD5 55499cfae84f6a63f5a81573428afba8 ChangeLog 1534 +MD5 d45ce760ab6826dfaa6716bc11d3ccba ChangeLog 1799 MD5 07372e3fc940abfd2601968e11d0fbb6 net-snmp-5.0.1.ebuild 1802 MD5 22ec646d0af5a104570eeda88dc397c6 net-snmp-5.0.2a-r1.ebuild 2033 MD5 479216f8ee9cad9c07a8d2e87b761078 net-snmp-5.0.2a.ebuild 1934 -MD5 113b6acdd5495f9cdc7310c34a695b87 net-snmp-5.0.6.ebuild 2191 +MD5 d1f0e81828f147bb73ce38b5337bec58 net-snmp-5.0.6.ebuild 2282 +MD5 e4e56dc26d965d77d685d064da1ef736 net-snmp-5.0.8.ebuild 2310 +MD5 903f8ddd5ef4f35f60a0caff6caa2399 net-snmp-5.0.6-r1.ebuild 2305 MD5 d127de412720bd3804be2526d4ac7dea files/digest-net-snmp-5.0.1 67 MD5 45a6f4951a27519e45e78c615eaa51d9 files/digest-net-snmp-5.0.2a 68 MD5 45a6f4951a27519e45e78c615eaa51d9 files/digest-net-snmp-5.0.2a-r1 68 MD5 c5a8f12d262061bf64af49b18adb2f48 files/digest-net-snmp-5.0.6 67 MD5 d967ea531257d3b6328dffa4637b27ff files/net-snmp-5.0.6-gentoo.diff 885 MD5 aab0f5782525e1224951f71ba800f172 files/net-snmpd.rc6 736 +MD5 d87102db9b8bd989270ab11bec140004 files/digest-net-snmp-5.0.8 67 +MD5 c5a8f12d262061bf64af49b18adb2f48 files/digest-net-snmp-5.0.6-r1 67 diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6-r1 b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6-r1 new file mode 100644 index 000000000000..c9b5cd8a5311 --- /dev/null +++ b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6-r1 @@ -0,0 +1 @@ +MD5 8c67aae0d7d8fa00625361cece1a2138 net-snmp-5.0.6.tar.gz 2209625 diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.8 b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.8 new file mode 100644 index 000000000000..0e161e5d6bf1 --- /dev/null +++ b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.8 @@ -0,0 +1 @@ +MD5 9fa8555c1a9d68008b3b0df52721ee82 net-snmp-5.0.8.tar.gz 2329963 diff --git a/net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild new file mode 100644 index 000000000000..fbbceedc8005 --- /dev/null +++ b/net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild,v 1.1 2003/05/26 08:30:43 aliz Exp $ + +IUSE="ssl kerberos ipv6 tcpd" +PROVIDES="virtual/snmp" +S=${WORKDIR}/${P%[a-z]} +DESCRIPTION="Software for generating and retrieving SNMP data" +SRC_URI="mirror://sourceforge/net-snmp/${P}.tar.gz" +HOMEPAGE="http://net-snmp.sourceforge.net/" + +DEPEND="virtual/glibc <sys-libs/db-2 + >=sys-libs/zlib-1.1.4 + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + ssl? ( >=dev-libs/openssl-0.9.6d ) + kerberos? ( >=app-crypt/krb5-1.2.5 )" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="x86 ppc sparc arm" + +src_unpack() { + unpack ${A} + + cd ${S} + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + +# Kerberos support trips with a compile error +# use kerberos && { +# cp "${S}/configure" "${S}/configure.tmp" +# sed 's:security_def_list="usm":security_def_list="usm ksm":' \ +# "${S}/configure.tmp" > "${S}/configure" +# } +} + +src_compile() { + local myconf disable_sec_services + + use ssl || myconf="${myconf} --enable-internal-md5 --with-openssl=no" + use tcpd && myconf="${myconf} --with-libwrap" || myconf="${myconf} --with-libwrap=no" + use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --disable-ipv6" + +# Doesn't seem that emerge passes the escaped double quotes properly +# use kerberos && myconf="--with-security-modules=usm ksm" + +econf \ + --with-cflags="${CFLAGS}" \ + --host="${CHOST}" \ + --with-zlib \ + --enable-shared \ + --with-sys-location="Unknown" \ + --with-sys-contact="root@Unknown" \ + --with-default-snmp-version="3" \ + --with-logfile=/var/log/net-snmpd.log \ + --with-persistent-directory=/var/lib/net-snmp \ + --with-mib-modules=host \ + ${myconf} || die "bad ./configure" + + # Parallel make doesn't work. + make || die "compile problem" +} + +src_install () { + + einstall exec_prefix=${D}/usr \ + persistentdir=${D}/var/lib/net-snmp || die + + dodir /var/lib/net-snmp + + dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO EXAMPLE.conf.def + + # Close bug #5882: + rm -f ${D}/usr/bin/snmptrap + dosym /usr/bin/snmptrap /usr/bin/snmpinform + + cp ${FILESDIR}/net-snmpd.rc6 net-snmpd + sed -i "s:doc\/net-snmp:doc\/${PF}:" net-snmpd + + exeinto /etc/init.d + newexe net-snmpd net-snmpd +} diff --git a/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild new file mode 100644 index 000000000000..b6ebd1ac613c --- /dev/null +++ b/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild,v 1.1 2003/05/26 08:30:43 aliz Exp $ + +IUSE="ssl kerberos ipv6 tcpd" + +PROVIDES="virtual/snmp" +S=${WORKDIR}/${P%[a-z]} +DESCRIPTION="Software for generating and retrieving SNMP data" +SRC_URI="mirror://sourceforge/net-snmp/${P}.tar.gz" +HOMEPAGE="http://net-snmp.sourceforge.net/" + +DEPEND="virtual/glibc <sys-libs/db-2 + >=sys-libs/zlib-1.1.4 + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + ssl? ( >=dev-libs/openssl-0.9.6d ) + kerberos? ( >=app-crypt/krb5-1.2.5 )" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~sparc ~arm" + +src_unpack() { + unpack ${A} + + cd ${S} + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + +# Kerberos support trips with a compile error +# use kerberos && { +# cp "${S}/configure" "${S}/configure.tmp" +# sed 's:security_def_list="usm":security_def_list="usm ksm":' \ +# "${S}/configure.tmp" > "${S}/configure" +# } +} + +src_compile() { + local myconf disable_sec_services + + use ssl || myconf="${myconf} --enable-internal-md5 --with-openssl=no" + use tcpd && myconf="${myconf} --with-libwrap" || myconf="${myconf} --with-libwrap=no" + use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --disable-ipv6" + +# Doesn't seem that emerge passes the escaped double quotes properly +# use kerberos && myconf="--with-security-modules=usm ksm" + +econf \ + --with-cflags="${CFLAGS}" \ + --host="${CHOST}" \ + --with-zlib \ + --enable-shared \ + --with-sys-location="Unknown" \ + --with-sys-contact="root@Unknown" \ + --with-default-snmp-version="3" \ + --with-logfile=/var/log/net-snmpd.log \ + --with-persistent-directory=/var/lib/net-snmp \ + --with-mib-modules=host \ + ${myconf} || die "bad ./configure" + + # Parallel make doesn't work. + make || die "compile problem" +} + +src_install () { + + einstall exec_prefix=${D}/usr \ + persistentdir=${D}/var/lib/net-snmp || die + + dodir /var/lib/net-snmp + + dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO EXAMPLE.conf.def + + # Close bug #5882: + rm -f ${D}/usr/bin/snmptrap + dosym /usr/bin/snmptrap /usr/bin/snmpinform + + cp ${FILESDIR}/net-snmpd.rc6 net-snmpd + sed -i "s:doc\/net-snmp:doc\/${PF}:" net-snmpd + + exeinto /etc/init.d + newexe net-snmpd net-snmpd +} |