diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-05-26 08:30:43 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-05-26 08:30:43 +0000 |
commit | 59051ec6896e7f201b9878be1b14781600d84349 (patch) | |
tree | ded8c4d329928d04620ad3935b12b2b51c442128 | |
parent | Added virtual/snmp (diff) | |
download | gentoo-2-59051ec6896e7f201b9878be1b14781600d84349.tar.gz gentoo-2-59051ec6896e7f201b9878be1b14781600d84349.tar.bz2 gentoo-2-59051ec6896e7f201b9878be1b14781600d84349.zip |
virtual/snmp and version bump
-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 | ||||
-rw-r--r-- | net-analyzer/ucd-snmp/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/ucd-snmp/Manifest | 8 | ||||
-rw-r--r-- | net-analyzer/ucd-snmp/files/digest-ucd-snmp-4.2.6-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r1.ebuild | 56 |
10 files changed, 253 insertions, 4 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 +} 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 +} |