diff options
Diffstat (limited to 'net-analyzer/net-snmp')
-rw-r--r-- | net-analyzer/net-snmp/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/net-snmp/Manifest | 21 | ||||
-rw-r--r-- | net-analyzer/net-snmp/files/digest-net-snmp-5.0.9 | 1 | ||||
-rw-r--r-- | net-analyzer/net-snmp/metadata.xml | 6 | ||||
-rw-r--r-- | net-analyzer/net-snmp/net-snmp-5.0.9.ebuild | 87 |
5 files changed, 113 insertions, 10 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog index 12497640ac96..373f958682c7 100644 --- a/net-analyzer/net-snmp/ChangeLog +++ b/net-analyzer/net-snmp/ChangeLog @@ -1,6 +1,12 @@ # 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.20 2003/08/10 18:05:40 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.21 2003/09/19 18:50:17 max Exp $ + +*net-snmp-5.0.9 (19 Sep 2003) + + 19 Sep 2003; Max Kalika <max@gentoo.org> metadata.xml, + net-snmp-5.0.9.ebuild: + Bump to version 5.0.9. 31 Jul 2003; Aron Griffis <agriffis@gentoo.org> net-snmp-5.0.6-r1.ebuild, net-snmp-5.0.8.ebuild: diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest index a3c7723f0495..143bca5088b4 100644 --- a/net-analyzer/net-snmp/Manifest +++ b/net-analyzer/net-snmp/Manifest @@ -1,15 +1,18 @@ -MD5 c76f0ddf54d09ea7f0718c9579f91ba5 ChangeLog 2920 -MD5 997405b5ca453b42d691d47c97861f33 net-snmp-5.0.1.ebuild 1807 -MD5 85397b284de6b10475f9a9f4b7b6bfde net-snmp-5.0.2a-r1.ebuild 2038 +MD5 e9652ee261ab7fa0a15ca4346fef5dae net-snmp-5.0.6-r1.ebuild 2339 MD5 52ff1c265a8058cc42976a90b05f20e4 net-snmp-5.0.2a.ebuild 1939 +MD5 27c1bf363cb549b6f39007da6b586aee net-snmp-5.0.9.ebuild 2484 +MD5 85397b284de6b10475f9a9f4b7b6bfde net-snmp-5.0.2a-r1.ebuild 2038 MD5 ae60955f464f7e68e04a6cd773eb5bcd net-snmp-5.0.6.ebuild 2304 -MD5 e9652ee261ab7fa0a15ca4346fef5dae net-snmp-5.0.6-r1.ebuild 2339 +MD5 997405b5ca453b42d691d47c97861f33 net-snmp-5.0.1.ebuild 1807 +MD5 d08cb9d9cef1e2a5920ab3e9d6301cd6 ChangeLog 3055 +MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215 MD5 6463901c07219b77218dba820029a6e4 net-snmp-5.0.8.ebuild 2489 -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 c5a8f12d262061bf64af49b18adb2f48 files/digest-net-snmp-5.0.6-r1 67 +MD5 45a6f4951a27519e45e78c615eaa51d9 files/digest-net-snmp-5.0.2a-r1 68 +MD5 d127de412720bd3804be2526d4ac7dea files/digest-net-snmp-5.0.1 67 +MD5 c5a8f12d262061bf64af49b18adb2f48 files/digest-net-snmp-5.0.6 67 MD5 d87102db9b8bd989270ab11bec140004 files/digest-net-snmp-5.0.8 67 +MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9 67 +MD5 45a6f4951a27519e45e78c615eaa51d9 files/digest-net-snmp-5.0.2a 68 +MD5 aab0f5782525e1224951f71ba800f172 files/net-snmpd.rc6 736 diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.9 b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.9 new file mode 100644 index 000000000000..6c16ce856e79 --- /dev/null +++ b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.9 @@ -0,0 +1 @@ +MD5 cecd5ec74f5c546c1ea7ed7987b5932b net-snmp-5.0.9.tar.gz 2345822 diff --git a/net-analyzer/net-snmp/metadata.xml b/net-analyzer/net-snmp/metadata.xml new file mode 100644 index 000000000000..05e6d2289c71 --- /dev/null +++ b/net-analyzer/net-snmp/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>max@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/net-analyzer/net-snmp/net-snmp-5.0.9.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.9.ebuild new file mode 100644 index 000000000000..5626d6c17010 --- /dev/null +++ b/net-analyzer/net-snmp/net-snmp-5.0.9.ebuild @@ -0,0 +1,87 @@ +# 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.9.ebuild,v 1.1 2003/09/19 18:50:17 max Exp $ + +IUSE="ssl kerberos ipv6 tcpd" + +PROVIDE="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 + >=sys-apps/sed-4 + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + ssl? ( >=dev-libs/openssl-0.9.6d ) + kerberos? ( >=app-crypt/mit-krb5-1.2.5 )" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~sparc ~arm ~hppa ~alpha" + +src_unpack() { + unpack ${A} + + cd ${S} + + # 5.0.8 compiles without this patch, and the filename doesn't + # match anyway, so disabling for now + # Robert Coie <rac@gentoo.org> 2003.06.05 + #patch -p1 < ${FILESDIR}/${P}-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 +} |