diff options
Diffstat (limited to 'net-analyzer/ippl/ippl-1.4.14-r1.ebuild')
-rw-r--r-- | net-analyzer/ippl/ippl-1.4.14-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-analyzer/ippl/ippl-1.4.14-r1.ebuild b/net-analyzer/ippl/ippl-1.4.14-r1.ebuild new file mode 100644 index 000000000000..4b29a2fc2bcb --- /dev/null +++ b/net-analyzer/ippl/ippl-1.4.14-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ippl/ippl-1.4.14-r1.ebuild,v 1.1 2008/06/05 13:12:14 pva Exp $ + +inherit eutils + +DESCRIPTION="A daemon which logs TCP/UDP/ICMP packets" +HOMEPAGE="http://pltplp.net/ippl/" +SRC_URI="http://pltplp.net/ippl/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="|| ( sys-devel/bison >=dev-util/yacc-1.9.1-r1 ) + >=sys-devel/flex-2.5.4a-r4" +RDEPEND="" + +pkg_setup() { + enewuser ippl || die "Failed to add user ippl" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Patches from debian which besides features additions fix some bugs... + epatch "${FILESDIR}"/ippl-1.4.14-noportresolve.patch + epatch "${FILESDIR}"/ippl-1.4.14-manpage.patch + epatch "${FILESDIR}"/ippl-1.4.14-privilege-drop.patch +} + +src_install() { + dosbin Source/ippl + + insinto "/etc" + doins ippl.conf + + doman Docs/{ippl.8,ippl.conf.5} + + dodoc BUGS CREDITS HISTORY README TODO + + newinitd "${FILESDIR}"/ippl.rc ippl +} |