diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-11-16 17:57:16 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-11-16 17:57:16 +0000 |
commit | 016e6796bc14a2c7998aa12b63174722d64ba54e (patch) | |
tree | e77e5ee9ea7512fe8bb6d85af55b88d5241ac2ee /net-analyzer | |
parent | masked mediawiki-1.3.8 for testing (diff) | |
download | historical-016e6796bc14a2c7998aa12b63174722d64ba54e.tar.gz historical-016e6796bc14a2c7998aa12b63174722d64ba54e.tar.bz2 historical-016e6796bc14a2c7998aa12b63174722d64ba54e.zip |
Version bumped. Closes 68467
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/net-snmp/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/net-snmp/Manifest | 18 | ||||
-rw-r--r-- | net-analyzer/net-snmp/files/digest-net-snmp-5.1.2 | 1 | ||||
-rw-r--r-- | net-analyzer/net-snmp/net-snmp-5.1.2.ebuild | 116 |
4 files changed, 133 insertions, 9 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog index 88619e5fb6fa..5c476e810dc7 100644 --- a/net-analyzer/net-snmp/ChangeLog +++ b/net-analyzer/net-snmp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/net-snmp # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.65 2004/11/03 04:44:13 psi29a Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.66 2004/11/16 17:57:16 mholzer Exp $ + +*net-snmp-5.1.2 (16 Nov 2004) + + 16 Nov 2004; Martin Holzer <mholzer@gentoo.org> +net-snmp-5.1.2.ebuild: + Version bumped. Closes 68467 03 Nov 2004; Bret Curtis <psi29a@gentoo.org> net-snmp-5.1.1-r1.ebuild: marked ~mips for testing diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest index 5b4be4df8ef8..a6c00bf57b55 100644 --- a/net-analyzer/net-snmp/Manifest +++ b/net-analyzer/net-snmp/Manifest @@ -1,18 +1,20 @@ -MD5 4a9c5d6c7734aac86536dc4c203747f3 ChangeLog 9778 -MD5 feec9ceb3ba9f6a8b860a4a130998500 metadata.xml 214 -MD5 277963b5cf3dd0a4fca2658df153e9f7 net-snmp-5.1.1.ebuild 2413 -MD5 469a9d0b2d836a307178f2fa26042d51 net-snmp-5.1.ebuild 2142 MD5 f597261fb689d5987bd724f686d8bd8c net-snmp-5.0.9-r1.ebuild 1659 MD5 c9cad6967c195fe67becfed53488a95b net-snmp-5.0.9-r3.ebuild 2253 +MD5 feec9ceb3ba9f6a8b860a4a130998500 metadata.xml 214 +MD5 753e668db9f766f792e2aa832c01c0ea ChangeLog 9916 +MD5 469a9d0b2d836a307178f2fa26042d51 net-snmp-5.1.ebuild 2142 +MD5 277963b5cf3dd0a4fca2658df153e9f7 net-snmp-5.1.1.ebuild 2413 MD5 a66338e028cccf6cca411b2cc30dc13d net-snmp-5.1.1-r1.ebuild 3589 -MD5 d37d58ebf8d67438ae7a607ffe281b0a files/digest-net-snmp-5.1 65 -MD5 b492aa2a6ad459eb41a26932d4c0740b files/digest-net-snmp-5.1.1 67 +MD5 88dc599fed8727b20c54ee57befd8211 net-snmp-5.1.2.ebuild 3620 +MD5 0dbde7b1bdd9c9dc988039e676800337 files/snmpd-5.1.rc6 714 MD5 1cc5b20de8fc9e7c807195c320ab2f4b files/net-snmp-proc.patch 2448 MD5 ed2e953a9a923caec45eeca95bec2efc files/snmpd-5.1.conf 606 -MD5 0dbde7b1bdd9c9dc988039e676800337 files/snmpd-5.1.rc6 714 +MD5 d37d58ebf8d67438ae7a607ffe281b0a files/digest-net-snmp-5.1 65 MD5 00ce9b4fa6d597e08af7ce82d3a5c246 files/snmpd.conf 599 MD5 662833e61042a47d4bd8aaae404f4245 files/snmpd.rc6 710 -MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r1 67 MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r3 67 +MD5 b492aa2a6ad459eb41a26932d4c0740b files/digest-net-snmp-5.1.1 67 +MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r1 67 MD5 b492aa2a6ad459eb41a26932d4c0740b files/digest-net-snmp-5.1.1-r1 67 MD5 25d92c9a7adcbb80240a914a8f6bbfe5 files/net-snmp-lm_sensors.patch 13686 +MD5 4b5b02692d3398dcdb69a3188136dc25 files/digest-net-snmp-5.1.2 67 diff --git a/net-analyzer/net-snmp/files/digest-net-snmp-5.1.2 b/net-analyzer/net-snmp/files/digest-net-snmp-5.1.2 new file mode 100644 index 000000000000..c3304db947c2 --- /dev/null +++ b/net-analyzer/net-snmp/files/digest-net-snmp-5.1.2 @@ -0,0 +1 @@ +MD5 8080555ab3f90011f25d5122042d9a8d net-snmp-5.1.2.tar.gz 3253579 diff --git a/net-analyzer/net-snmp/net-snmp-5.1.2.ebuild b/net-analyzer/net-snmp/net-snmp-5.1.2.ebuild new file mode 100644 index 000000000000..45572007176e --- /dev/null +++ b/net-analyzer/net-snmp/net-snmp-5.1.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.1.2.ebuild,v 1.1 2004/11/16 17:57:16 mholzer Exp $ + +inherit eutils + +DESCRIPTION="Software for generating and retrieving SNMP data" +HOMEPAGE="http://net-snmp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64 ~mips" +IUSE="perl ipv6 ssl tcpd X lm_sensors minimal" + +PROVIDE="virtual/snmp" +DEPEND="virtual/libc + !minimal? ( <sys-libs/db-2 ) + >=sys-libs/zlib-1.1.4 + ssl? ( >=dev-libs/openssl-0.9.6d ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + perl? ( + >=sys-devel/libperl-5.8.0 + >=dev-perl/ExtUtils-MakeMaker-6.11-r1 + ) + lm_sensors? ( + x86? ( sys-apps/lm-sensors ) + amd64? ( sys-apps/lm-sensors ) + )" +RDEPEND="${DEPEND} + perl? ( X? ( dev-perl/perl-tk ) ) + !virtual/snmp" + +DEPEND="${DEPEND} >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + if use lm_sensors; then + if use x86 || use amd64; then + epatch ${FILESDIR}/${PN}-lm_sensors.patch + else + eerror "Unfortunatly you are trying to enable lm_sensors support for an unsupported arch." + eerror "please check the availability of sys-apps/lm-sensors - if it is available on" + eerror "your arch, please file a bug about this." + die "lm_sensors patch error: unsupported arch." + fi + fi + + #wrt to bugs 68467, 68254 + sed -i -e 's/^NSC_AGENTLIBS="@AGENTLIBS@"/NSC_AGENTLIBS="@AGENTLIBS@ @WRAPLIBS@"/' net-snmp-config.in + + sed -i -e '551s;embed_perl="yes",;embed_perl=$enableval,;' configure.in + autoconf || die "autoconf failed" +} + +src_compile() { + local myconf + myconf="${myconf} `use_enable perl embedded-perl`" + myconf="${myconf} `use_with ssl openssl` `use_enable !ssl internal-md5`" + myconf="${myconf} `use_with tcpd libwrap`" + myconf="${myconf} `use_enable ipv6`" + + econf \ + --with-sys-location="Unknown" \ + --with-sys-contact="root@Unknown" \ + --with-default-snmp-version="3" \ + --with-mib-modules="host smux ucd-snmp/dlmod" \ + --with-logfile=${ROOT}/var/log/net-snmpd.log \ + --with-persistent-directory=${ROOT}/var/lib/net-snmp \ + --enable-ucd-snmp-compatibility \ + --enable-shared \ + --with-zlib \ + --with-install-prefix=${D} \ + ${myconf} || die "econf failed" + + emake -j1 || die "compile problem" + + if use perl ; then + emake perlmodules || die "compile perl modules problem" + fi +} + +src_install () { + make DESTDIR="${D}" install || die "make install failed" + + if use perl ; then + make DESTDIR="${D}" perlinstall || die "make perlinstall failed" + if ! use X ; then + rm -f "${D}/usr/bin/tkmib" + fi + else + rm -f "${D}/usr/bin/mib2c" "${D}/usr/bin/tkmib" + fi + + dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO + newdoc EXAMPLE.conf.def EXAMPLE.conf + + exeinto /etc/init.d + newexe "${FILESDIR}/snmpd-5.1.rc6" snmpd + insinto /etc/conf.d + newins "${FILESDIR}/snmpd-5.1.conf" snmpd + + keepdir /etc/snmp /var/lib/net-snmp + + # Remove everything, keeping only the snmpd, snmptrapd, MIBs, libs, and includes. + if use minimal; then + einfo "USE=minimal is set. Cleaning up excess cruft for a embedded/minimal/server only install." + rm -rf ${D}/usr/bin/{encode_keychange,snmp{get,getnext,set,usm,walk,bulkwalk,table,trap,bulkget,translate,status,delta,test,df,vacm,netstat,inform}} + rm -rf ${D}/usr/share/snmp/snmpconf-data ${D}/usr/share/snmp/*.conf + rm -rf ${D}/usr/bin/{net-snmp-config,fixproc,traptoemail} ${D}/usr/bin/snmpc{heck,onf} + find ${D} -name '*.pl' -exec rm -f '{}' \; + use ipv6 || rm -rf ${D}/usr/share/snmp/mibs/IPV6* + fi +} |