diff options
author | Michael Boman <mboman@gentoo.org> | 2004-01-21 18:21:58 +0000 |
---|---|---|
committer | Michael Boman <mboman@gentoo.org> | 2004-01-21 18:21:58 +0000 |
commit | 990fa2c71dce13ff9ae6f3c533bfb194625802fc (patch) | |
tree | b8f290d2617ecceaab59fcffb07bdee200cce07f /net-analyzer/honeyd/honeyd-0.8.ebuild | |
parent | New upstream version. Fixes bug #38934 (Security bug). (diff) | |
download | gentoo-2-990fa2c71dce13ff9ae6f3c533bfb194625802fc.tar.gz gentoo-2-990fa2c71dce13ff9ae6f3c533bfb194625802fc.tar.bz2 gentoo-2-990fa2c71dce13ff9ae6f3c533bfb194625802fc.zip |
New upstream version. Fixes bug #38934 (Security bug).
Diffstat (limited to 'net-analyzer/honeyd/honeyd-0.8.ebuild')
-rw-r--r-- | net-analyzer/honeyd/honeyd-0.8.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/net-analyzer/honeyd/honeyd-0.8.ebuild b/net-analyzer/honeyd/honeyd-0.8.ebuild new file mode 100644 index 000000000000..f0cb5755d6fe --- /dev/null +++ b/net-analyzer/honeyd/honeyd-0.8.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/honeyd/honeyd-0.8.ebuild,v 1.1 2004/01/21 18:21:43 mboman Exp $ + +inherit eutils + +DESCRIPTION="Honeyd is a small daemon that creates virtual hosts on a network" +HOMEPAGE="http://www.citi.umich.edu/u/provos/honeyd/" +SRC_URI="http://www.citi.umich.edu/u/provos/honeyd/${P}.tar.gz + http://www.tracking-hackers.com/solutions/honeyd/honeyd-0.7a-beta2.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="doc" +DEPEND=">=dev-libs/libdnet-1.7 + >=dev-libs/libevent-0.6 + >=net-libs/libpcap-0.7.1" +RDEPEND=${DEPEND} + +S="${WORKDIR}/${P}" + +src_unpack() { + unpack ${A} ; cd ${S} + + sed -i "s:^CFLAGS = -O2:CFLAGS = ${CFLAGS}:g" Makefile.in +} + +src_compile() { + econf --with-libdnet=/usr || die "econf failed" + emake || die +} + +src_install() { + dodoc README + dosbin honeyd + + einstall + + rm ${D}/usr/bin/honeyd + rm ${D}/usr/share/honeyd/README + + dodir /usr/share/honeyd/scripts + exeinto /usr/share/honeyd/scripts + doexe scripts/web.sh scripts/router-telnet.pl scripts/test.sh + + # This adds all the services and example configurations collected + # by Lance Spitzer + + # Install the white-papers if 'doc' USE flags are specified + use doc && ( + cd ${WORKDIR}/honeyd-0.7a-beta2/contrib + dodoc * + ) + + # Install the example configurations + cd ${WORKDIR}/honeyd-0.7a-beta2 + dodoc honeyd.conf nmap.prints nmap.assoc pf.os xprobe2.conf + dodoc honeyd.conf.simple honeyd.conf.bloat nmap.prints.new + dodoc xprobe2.conf.new honeyd.conf.networks + + # Install example start/stop scripts.. Those should _really_ + # be re-written to gentoo instead.. + dodoc start-arpd.sh start-honeyd.sh + + # Install all the example scripts + cd ${WORKDIR}/honeyd-0.7a-beta2/scripts + cp -R * ${D}/usr/share/honeyd/scripts/ + cd ${D}/usr/share/honeyd/scripts/ + find -type f -name "*.sh" -o -name "*.pl" | xargs chmod +x + + +} + |