# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/honeyd/honeyd-0.6a.ebuild,v 1.7 2004/07/11 10:12:33 eldad 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" LICENSE="BSD" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=dev-libs/libdnet-1.4 >=dev-libs/libevent-0.6 >=net-libs/libpcap-0.7.1" 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 }