summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-06-29 19:27:07 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-06-29 19:27:07 +0000
commit9f3fbddfe12c5f1049bf503e118f1451ae2b6219 (patch)
tree18aa0e809e8754ed3a6305460a1d2e586e8fa497
parentdont update .in files (diff)
downloadgentoo-2-9f3fbddfe12c5f1049bf503e118f1451ae2b6219.tar.gz
gentoo-2-9f3fbddfe12c5f1049bf503e118f1451ae2b6219.tar.bz2
gentoo-2-9f3fbddfe12c5f1049bf503e118f1451ae2b6219.zip
ucd-snmp version update
-rw-r--r--net-analyzer/ucd-snmp/ChangeLog10
-rw-r--r--net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.51
-rw-r--r--net-analyzer/ucd-snmp/ucd-snmp-4.2.5.ebuild48
3 files changed, 57 insertions, 2 deletions
diff --git a/net-analyzer/ucd-snmp/ChangeLog b/net-analyzer/ucd-snmp/ChangeLog
index f106b3d524ae..8cb30c07664d 100644
--- a/net-analyzer/ucd-snmp/ChangeLog
+++ b/net-analyzer/ucd-snmp/ChangeLog
@@ -1,10 +1,16 @@
# ChangeLog for net-analyzer/ucd-snmp
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ChangeLog,v 1.4 2002/05/26 10:14:02 prez Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ChangeLog,v 1.5 2002/06/29 19:27:07 blocke Exp $
+
+*ucd-snmp-4.2.5 (29 Jun 2002)
+
+ 29 Jun 2002; Bruce A. Locke <blocke@shivan.org> ucd-snmp-4.2.5.ebuild:
+
+ Version bump and dependency upgrade
*ucd-snmp-4.2.3-r1 (3 May 2002)
- 26 May 2002: Preston A. Elder <prez@gentoo.org> :
+ 26 May 2002; Preston A. Elder <prez@gentoo.org> :
Made it work with gcc 3.1 by removing the --with-openssl=/usr stuff,
it caused configure to not find headers, plus openssl is autodetected.
diff --git a/net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.5 b/net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.5
new file mode 100644
index 000000000000..cbea84281896
--- /dev/null
+++ b/net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.5
@@ -0,0 +1 @@
+MD5 615e0b1e760cbb8c63b5392fe2d04b14 ucd-snmp-4.2.5.tar.gz 1707471
diff --git a/net-analyzer/ucd-snmp/ucd-snmp-4.2.5.ebuild b/net-analyzer/ucd-snmp/ucd-snmp-4.2.5.ebuild
new file mode 100644
index 000000000000..249fc9300231
--- /dev/null
+++ b/net-analyzer/ucd-snmp/ucd-snmp-4.2.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ucd-snmp-4.2.5.ebuild,v 1.1 2002/06/29 19:27:07 blocke Exp $
+
+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 )"
+LICENSE="as-is"
+SLOT="0"
+
+src_compile() {
+ local myconf
+ use ssl || myconf="${myconf} --enable-internal-md5 --with-openssl=no"
+ use tcpd && myconf="${myconf} --with-libwrap"
+ use ipv6 && myconf="${myconf} --with-ipv6"
+
+ ./configure \
+ --with-zlib \
+ --prefix=/usr \
+ --enable-shared \
+ --mandir=/usr/share/man \
+ --with-sys-location="Unknown" \
+ --with-sys-contact="root@Unknown" \
+ --with-logfile=/var/log/snmpd.log \
+ --with-persistent-directory=/var/lib/ucd-snmp \
+ --host=${CHOST} ${myconf} || die "bad ./configure"
+
+ emake || die "compile problem"
+}
+
+src_install () {
+ make install \
+ prefix=${D}/usr \
+ exec_prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ persistentdir=${D}/var/lib/ucd-snmp || die
+
+ dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO EXAMPLE.conf
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/snmpd.rc6 snmpd
+}