summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/net-snmp/ChangeLog9
-rw-r--r--net-analyzer/net-snmp/Manifest24
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.11
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a1
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a-r11
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.61
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.6-r11
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.81
-rw-r--r--net-analyzer/net-snmp/files/digest-net-snmp-5.0.91
-rw-r--r--net-analyzer/net-snmp/files/net-snmp-5.0.6-gentoo.diff27
-rw-r--r--net-analyzer/net-snmp/files/net-snmpd.rc629
-rw-r--r--net-analyzer/net-snmp/files/snmpd.conf6
-rw-r--r--net-analyzer/net-snmp/files/snmpd.rc64
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.1.ebuild58
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.2a-r1.ebuild65
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.2a.ebuild61
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild82
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.6.ebuild82
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.8.ebuild87
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.9-r1.ebuild13
-rw-r--r--net-analyzer/net-snmp/net-snmp-5.0.9.ebuild87
21 files changed, 23 insertions, 618 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog
index 4f645508ec79..120a6e1f2b19 100644
--- a/net-analyzer/net-snmp/ChangeLog
+++ b/net-analyzer/net-snmp/ChangeLog
@@ -1,6 +1,13 @@
# 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.22 2003/09/19 21:49:33 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.23 2003/09/24 04:36:16 max Exp $
+
+ 23 Sep 2003; Max Kalika <max@gentoo.org> net-snmp-5.0.1.ebuild,
+ net-snmp-5.0.2a-r1.ebuild, net-snmp-5.0.2a.ebuild, net-snmp-5.0.6-r1.ebuild,
+ net-snmp-5.0.6.ebuild, net-snmp-5.0.8.ebuild, net-snmp-5.0.9-r1.ebuild,
+ net-snmp-5.0.9.ebuild, files/net-snmp-5.0.6-gentoo.diff,
+ files/net-snmpd.rc6, files/snmpd.conf, files/snmpd.rc6:
+ Purge all the no-longer download-able versions and tweak some minor tidbits.
*net-snmp-5.0.9-r1 (19 Sep 2003)
diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest
index 7a69e1426d10..6b151c571e9e 100644
--- a/net-analyzer/net-snmp/Manifest
+++ b/net-analyzer/net-snmp/Manifest
@@ -1,22 +1,6 @@
-MD5 e9652ee261ab7fa0a15ca4346fef5dae net-snmp-5.0.6-r1.ebuild 2339
-MD5 6ca3fa22cb86cc2ce0ae80ea377738c3 net-snmp-5.0.9-r1.ebuild 1614
-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 997405b5ca453b42d691d47c97861f33 net-snmp-5.0.1.ebuild 1807
-MD5 62498d1261fecf3a96e16690a7fdb749 ChangeLog 3807
+MD5 30ef9c2f4b25236f392022edb6768744 net-snmp-5.0.9-r1.ebuild 1615
+MD5 706fe2323f69da2472cf7e9b4acb7cfe ChangeLog 4223
MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215
-MD5 6463901c07219b77218dba820029a6e4 net-snmp-5.0.8.ebuild 2489
-MD5 d967ea531257d3b6328dffa4637b27ff files/net-snmp-5.0.6-gentoo.diff 885
-MD5 c5a8f12d262061bf64af49b18adb2f48 files/digest-net-snmp-5.0.6-r1 67
MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-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
-MD5 3dbefb627701207ff9d4ca9a0ba061aa files/snmpd.conf 215
-MD5 0f64c604facf62ebcb8a419461565eca files/snmpd.rc6 476
+MD5 183ae5320f0a2d1d22f8403e0df1cce1 files/snmpd.conf 313
+MD5 1eb787b9a4cdacfc8f6c52e8077a68f5 files/snmpd.rc6 488
diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.1 b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.1
deleted file mode 100644
index 94686d8f7435..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f209cff622b4ffee830d54b68985d859 net-snmp-5.0.1.tar.gz 2128267
diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a
deleted file mode 100644
index f392eb21731a..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a
+++ /dev/null
@@ -1 +0,0 @@
-MD5 18f137c812b62955123a03b35a7e2c0f net-snmp-5.0.2a.tar.gz 2201724
diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a-r1 b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a-r1
deleted file mode 100644
index f392eb21731a..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.2a-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 18f137c812b62955123a03b35a7e2c0f net-snmp-5.0.2a.tar.gz 2201724
diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6 b/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6
deleted file mode 100644
index c9b5cd8a5311..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8c67aae0d7d8fa00625361cece1a2138 net-snmp-5.0.6.tar.gz 2209625
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
deleted file mode 100644
index c9b5cd8a5311..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.6-r1
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 0e161e5d6bf1..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9fa8555c1a9d68008b3b0df52721ee82 net-snmp-5.0.8.tar.gz 2329963
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
deleted file mode 100644
index 6c16ce856e79..000000000000
--- a/net-analyzer/net-snmp/files/digest-net-snmp-5.0.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 cecd5ec74f5c546c1ea7ed7987b5932b net-snmp-5.0.9.tar.gz 2345822
diff --git a/net-analyzer/net-snmp/files/net-snmp-5.0.6-gentoo.diff b/net-analyzer/net-snmp/files/net-snmp-5.0.6-gentoo.diff
deleted file mode 100644
index 9a14dcb642e6..000000000000
--- a/net-analyzer/net-snmp/files/net-snmp-5.0.6-gentoo.diff
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naur net-snmp-5.0.5.orig/agent/snmp_agent.c net-snmp-5.0.5/agent/snmp_agent.c
---- net-snmp-5.0.5.orig/agent/snmp_agent.c Tue Oct 1 04:18:12 2002
-+++ net-snmp-5.0.5/agent/snmp_agent.c Wed Oct 2 20:10:14 2002
-@@ -71,6 +71,9 @@
-
- #ifdef USE_LIBWRAP
- #include <tcpd.h>
-+#ifdef HAVE_SYSLOG_H
-+#include <syslog.h>
-+#endif
- int allow_severity = LOG_INFO;
- int deny_severity = LOG_WARNING;
- #endif
-diff -Naur net-snmp-5.0.5.orig/apps/snmptrapd.c net-snmp-5.0.5/apps/snmptrapd.c
---- net-snmp-5.0.5.orig/apps/snmptrapd.c Thu Sep 12 08:24:50 2002
-+++ net-snmp-5.0.5/apps/snmptrapd.c Wed Oct 2 20:10:05 2002
-@@ -99,8 +99,10 @@
- #if USE_LIBWRAP
- #include <tcpd.h>
-
-+/*
- int allow_severity = LOG_INFO;
- int deny_severity = LOG_WARNING;
-+*/
- #endif
-
- #define NETSNMP_DS_APP_NUMERIC_IP 8 /* must not conflict with agent's DS booleans */
diff --git a/net-analyzer/net-snmp/files/net-snmpd.rc6 b/net-analyzer/net-snmp/files/net-snmpd.rc6
deleted file mode 100644
index 0559bc830f77..000000000000
--- a/net-analyzer/net-snmp/files/net-snmpd.rc6
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/net-snmpd.rc6,v 1.3 2003/04/21 21:41:03 mholzer Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /usr/share/snmp/snmpd.conf ] ; then
- eerror "You need an /usr/share/snmp/snmpd.conf to run snmpd"
- eerror "There is an example config in /usr/share/doc/net-snmp"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting net-snmpd"
- start-stop-daemon --start --quiet --exec /usr/sbin/snmpd
- eend $?
-}
-
-stop() {
- ebegin "Stopping net-snmpd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/snmpd
- eend $?
-}
diff --git a/net-analyzer/net-snmp/files/snmpd.conf b/net-analyzer/net-snmp/files/snmpd.conf
index b19dd59be37e..ce606bbf0333 100644
--- a/net-analyzer/net-snmp/files/snmpd.conf
+++ b/net-analyzer/net-snmp/files/snmpd.conf
@@ -1,8 +1,10 @@
-# Initial options
+# Initial (empty) options.
SNMPD_FLAGS=""
-# Enable syslog and disable file log
+# Enable syslog and disable file log.
#SNMPD_FLAGS="${SNMPD_FLAGS} -s -l /dev/null"
# Enable agentx socket as /var/agentx/master
+# *NOTE* Before uncommenting this, make sure
+# the /var/agentx directory exists.
#SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master"
diff --git a/net-analyzer/net-snmp/files/snmpd.rc6 b/net-analyzer/net-snmp/files/snmpd.rc6
index e059d02ff623..ff54132453bf 100644
--- a/net-analyzer/net-snmp/files/snmpd.rc6
+++ b/net-analyzer/net-snmp/files/snmpd.rc6
@@ -1,13 +1,13 @@
#!/sbin/runscript
depend() {
- need net
use logger
+ need net
}
checkconfig() {
if [ ! -e /etc/snmp/snmpd.conf ] ; then
- eerror "You need an /etc/snmp/snmpd.conf to run snmpd"
+ eerror "You need an /etc/snmp/snmpd.conf config file to run snmpd"
return 1
fi
}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.1.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.1.ebuild
deleted file mode 100644
index 615a865f020a..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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.1.ebuild,v 1.9 2003/09/05 23:40:10 msterret Exp $
-
-IUSE="ssl kerberos ipv6 tcpd"
-
-S=${WORKDIR}/${P}
-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
- ssl? ( >=dev-libs/openssl-0.9.6 )
- 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 sparc "
-
-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"
- use ipv6 || myconf="${myconf} --with-out-transports=\"TCPIPv6 UDPIPv6\""
- use kerberos && myconf="${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 \
- --host=${CHOST} ${myconf} || die "bad ./configure"
-
- emake || 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
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/net-snmpd.rc6 net-snmpd
-}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.2a-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.2a-r1.ebuild
deleted file mode 100644
index 4a7e53a5ec00..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.2a-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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.2a-r1.ebuild,v 1.9 2003/09/05 23:40:10 msterret Exp $
-
-IUSE="ssl kerberos ipv6 tcpd"
-
-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
- ssl? ( >=dev-libs/openssl-0.9.6 )
- 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 "
-
-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 -- nitro
- #use ipv6 || myconf="${myconf} --with-out-transports=\"TCPIPv6 UDPIPv6\""
- use kerberos && myconf="${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
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/net-snmpd.rc6 net-snmpd
-}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.2a.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.2a.ebuild
deleted file mode 100644
index 0cf7419d6756..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.2a.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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.2a.ebuild,v 1.9 2003/09/05 23:40:10 msterret Exp $
-
-IUSE="ssl kerberos ipv6 tcpd"
-
-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
- ssl? ( >=dev-libs/openssl-0.9.6 )
- 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 "
-
-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 -- nitro
- #use ipv6 || myconf="${myconf} --with-out-transports=\"TCPIPv6 UDPIPv6\""
- use kerberos && myconf="${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 makes don'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
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/net-snmpd.rc6 net-snmpd
-}
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
deleted file mode 100644
index ff7a1885d28e..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.6-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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.8 2003/09/05 23:40:10 msterret 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}
- 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
-}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.6.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.6.ebuild
deleted file mode 100644
index a9f1ef6224c1..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.6.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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.ebuild,v 1.12 2003/09/05 23:40:10 msterret Exp $
-
-IUSE="ssl kerberos ipv6 tcpd"
-
-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"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- 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
-}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild
deleted file mode 100644
index 19238b691b79..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.8.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# 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.8 2003/09/05 23:40:10 msterret 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
-}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.9-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.9-r1.ebuild
index 811df9137bc9..477634db5df1 100644
--- a/net-analyzer/net-snmp/net-snmp-5.0.9-r1.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-5.0.9-r1.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.2 2003/09/22 22:21:14 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.0.9-r1.ebuild,v 1.3 2003/09/24 04:36:16 max Exp $
DESCRIPTION="Software for generating and retrieving SNMP data."
HOMEPAGE="http://net-snmp.sourceforge.net/"
@@ -8,7 +8,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~arm ~hppa ~alpha"
+KEYWORDS="x86 amd64 ppc sparc arm ~hppa ~alpha"
IUSE="ssl ipv6 tcpd"
PROVIDE="virtual/snmp"
@@ -21,8 +21,6 @@ DEPEND="virtual/glibc
RDEPEND="${DEPEND}
!virtual/snmp"
-S="${WORKDIR}/${P%[a-z]}"
-
src_compile() {
local myconf
myconf="${myconf} `use_with ssl openssl` `use_enable -ssl internal-md5`"
@@ -46,14 +44,13 @@ src_compile() {
src_install () {
einstall exec_prefix="${D}/usr" persistentdir="${D}/var/lib/net-snmp"
+ keepdir /etc/snmp /var/lib/net-snmp
- dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING \
- README* TODO EXAMPLE.conf.def
+ dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO
+ newdoc EXAMPLE.conf.def EXAMPLE.conf
exeinto /etc/init.d
newexe "${FILESDIR}/snmpd.rc6" snmpd
insinto /etc/conf.d
newins "${FILESDIR}/snmpd.conf" snmpd
-
- keepdir /var/lib/net-snmp
}
diff --git a/net-analyzer/net-snmp/net-snmp-5.0.9.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.9.ebuild
deleted file mode 100644
index 5626d6c17010..000000000000
--- a/net-analyzer/net-snmp/net-snmp-5.0.9.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# 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
-}