summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-05-26 08:30:43 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-05-26 08:30:43 +0000
commit59051ec6896e7f201b9878be1b14781600d84349 (patch)
treeded8c4d329928d04620ad3935b12b2b51c442128 /net-analyzer/ucd-snmp
parentAdded virtual/snmp (diff)
downloadgentoo-2-59051ec6896e7f201b9878be1b14781600d84349.tar.gz
gentoo-2-59051ec6896e7f201b9878be1b14781600d84349.tar.bz2
gentoo-2-59051ec6896e7f201b9878be1b14781600d84349.zip
virtual/snmp and version bump
Diffstat (limited to 'net-analyzer/ucd-snmp')
-rw-r--r--net-analyzer/ucd-snmp/ChangeLog7
-rw-r--r--net-analyzer/ucd-snmp/Manifest8
-rw-r--r--net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.6-r11
-rw-r--r--net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r1.ebuild56
4 files changed, 71 insertions, 1 deletions
diff --git a/net-analyzer/ucd-snmp/ChangeLog b/net-analyzer/ucd-snmp/ChangeLog
index 8b3b63b65e8c..4b6fd8b94b5a 100644
--- a/net-analyzer/ucd-snmp/ChangeLog
+++ b/net-analyzer/ucd-snmp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ucd-snmp
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ChangeLog,v 1.12 2003/03/20 04:05:49 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ChangeLog,v 1.13 2003/05/26 08:30:43 aliz Exp $
+
+*ucd-snmp-4.2.6-r1 (26 May 2003)
+
+ 26 May 2003; Daniel Ahlberg <aliz@gentoo.org> ucd-snmp-4.2.6-r1.ebuild :
+ Added virtual/snmp
18 Feb 2003; Nick Hadaway <raker@gentoo.org> files/snmpd.rc6 :
Changed the location of snmpd.conf to /etc/ucd-snmp for FHS
diff --git a/net-analyzer/ucd-snmp/Manifest b/net-analyzer/ucd-snmp/Manifest
new file mode 100644
index 000000000000..adc5f294e401
--- /dev/null
+++ b/net-analyzer/ucd-snmp/Manifest
@@ -0,0 +1,8 @@
+MD5 8a139586095bb86a3826b779a0a68b7e ChangeLog 2110
+MD5 5891bec2e9dca1401646135b63c0c28b ucd-snmp-4.2.5.ebuild 1436
+MD5 3a76d9762be702fbafb66cfbd5338700 ucd-snmp-4.2.6.ebuild 1589
+MD5 db068e264828d06826e91e9d0ffc55f2 ucd-snmp-4.2.6-r1.ebuild 1613
+MD5 a39e90a4a13e741a49630ec3b9c80966 files/digest-ucd-snmp-4.2.5 67
+MD5 0b7185775cd34df5a4b4390a49d480fd files/digest-ucd-snmp-4.2.6 67
+MD5 a77f6c5ca8e3d6452181abfb9c9fe73a files/snmpd.rc6 727
+MD5 0b7185775cd34df5a4b4390a49d480fd files/digest-ucd-snmp-4.2.6-r1 67
diff --git a/net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.6-r1 b/net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.6-r1
new file mode 100644
index 000000000000..1e6090e78c69
--- /dev/null
+++ b/net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.6-r1
@@ -0,0 +1 @@
+MD5 cf3f24e6a69a4f52c14affe0064116b1 ucd-snmp-4.2.6.tar.gz 1717379
diff --git a/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r1.ebuild b/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r1.ebuild
new file mode 100644
index 000000000000..88db4a3b3e9d
--- /dev/null
+++ b/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r1.ebuild,v 1.1 2003/05/26 08:30:43 aliz Exp $
+
+IUSE="ssl ipv6 tcpd"
+PROVIDES="virtual/snmp"
+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="<sys-libs/db-2
+ >=sys-libs/zlib-1.1.4
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 sparc ~ppc hppa"
+
+src_compile() {
+ export SNMPCONFPATH="/etc/ucd-snmp"
+ 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 \
+ --with-mib-modules=host \
+ --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
+
+ dodir /etc/ucd-snmp
+ insinto /etc/ucd-snmp
+ newins EXAMPLE.conf snmpd.conf.dist
+}