45 lines
957 B
Bash
45 lines
957 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/labrea/labrea-2.5-r1.ebuild,v 1.2 2010/04/21 18:12:21 fauli Exp $
|
|
|
|
EAPI=2
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="'Sticky' Honeypot and IDS"
|
|
HOMEPAGE="http://labrea.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}-stable-1.tar.gz"
|
|
RESTRICT="mirror"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~ppc x86"
|
|
IUSE=""
|
|
DEPEND="net-libs/libpcap
|
|
>=dev-libs/libdnet-1.7"
|
|
|
|
MY_P="${P}-stable-1"
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}-stable-1-incdir.patch"
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf || die
|
|
}
|
|
|
|
src_install() {
|
|
einstall || die
|
|
dodoc AUTHORS ChangeLog README TODO NEWS
|
|
newdoc INSTALL README.first
|
|
}
|
|
|
|
pkg_postinst() {
|
|
|
|
ewarn CAUTION:
|
|
ewarn Before using this package READ the INSTALL and README!
|
|
ewarn as the author states that it can cause serious problems on your network.
|
|
|
|
}
|