diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-02-21 04:50:33 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-02-21 04:50:33 +0000 |
commit | 7663236082b5cccb86feafa7e15c74b686c25b1f (patch) | |
tree | 2b6c8421919b498c995ee5974191c6f040514c89 /net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild | |
parent | removing ucd-snmp as per bug #69451 (diff) | |
download | gentoo-2-7663236082b5cccb86feafa7e15c74b686c25b1f.tar.gz gentoo-2-7663236082b5cccb86feafa7e15c74b686c25b1f.tar.bz2 gentoo-2-7663236082b5cccb86feafa7e15c74b686c25b1f.zip |
removing ucd-snmp as per bug #69451
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild')
-rw-r--r-- | net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild b/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild deleted file mode 100644 index 1425bd16ecee..000000000000 --- a/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# 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-r2.ebuild,v 1.16 2004/10/12 19:20:52 gmsoft Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="Software for generating and retrieving SNMP data." -HOMEPAGE="http://net-snmp.sourceforge.net/" -SRC_URI="mirror://sourceforge/net-snmp/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 amd64 ppc sparc hppa alpha ppc64 s390" -IUSE="ssl ipv6 tcpd" - -PROVIDE="virtual/snmp" -DEPEND="virtual/libc - <sys-libs/db-2 - >=sys-libs/zlib-1.1.4 - >=sys-apps/sed-4 - ssl? ( >=dev-libs/openssl-0.9.6d ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" -RDEPEND="${DEPEND} - !virtual/snmp" - -src_unpack() { - unpack ${A} && cd "${S}" - - # Fix openssl-0.9.7 support, based on changes done to net-snmp - # (bug #25595) - <azarah@gentoo.org> (23 Sep 2003). - epatch "${FILESDIR}/${P}-openssl-0.9.7.patch" - # Fix head/tail syntax. - epatch "${FILESDIR}/${P}-coreutils-2.patch" - # Fix race conditions when building parallel. - epatch "${FILESDIR}/${P}-agent-parallel-fixes.patch" - # Fix build not erroring out when a subdir fails. - epatch "${FILESDIR}/${P}-Makefile-fixes.patch" -} - -src_compile() { - local myconf - myconf="${myconf} `use_with ssl openssl`" - myconf="${myconf} `use_with tcpd libwrap` `use_enable !ssl internal-md5`" - myconf="${myconf} `use_enable ipv6`" - - if use ssl && has_version '=dev-libs/openssl-0.9.6*' ; then - einfo "Found openssl version 0.9.6: adding extra flags." - append-flags "-DSTRUCT_DES_KS_STRUCT_HAS_WEAK_KEY" - fi - - econf \ - --with-sys-location="Unknown" \ - --with-sys-contact="root@Unknown" \ - --with-mib-modules="host smux" \ - --with-logfile=/var/log/ucd-snmpd.log \ - --with-persistent-directory=/var/lib/ucd-snmp \ - --with-zlib \ - ${myconf} || die "econf failed" - - emake || die "compile problem" -} - -src_install () { - einstall exec_prefix="${D}/usr" persistentdir="${D}/var/lib/net-snmp" - keepdir /etc/snmp /var/lib/ucd-snmp - - 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 -} |