diff options
Diffstat (limited to 'net-analyzer/p0f/p0f-2.0.3.ebuild')
-rw-r--r-- | net-analyzer/p0f/p0f-2.0.3.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-analyzer/p0f/p0f-2.0.3.ebuild b/net-analyzer/p0f/p0f-2.0.3.ebuild new file mode 100644 index 000000000000..6c1daf797892 --- /dev/null +++ b/net-analyzer/p0f/p0f-2.0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.3.ebuild,v 1.1 2004/02/06 14:56:04 aliz Exp $ + +DESCRIPTION="p0f performs passive OS detection based on SYN packets." +# the p0f.tgz always resembles the latest version, trashing the digest md5sum then, discovered and fixed by gustavoz +SRC_URI="http://lcamtuf.coredump.cx/p0f/${P}.tgz" +HOMEPAGE="http://lcamtuf.coredump.cx/p0f.shtml" +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~x86 ~amd64" +IUSE="" +S=${WORKDIR}/${PN} + + +DEPEND="net-libs/libpcap" + +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${P}-libpcap-include.patch +} + +src_compile() { + make || die +} + +src_install () { + dosbin p0f p0frep + + insinto /etc/p0f + doins p0f.fp p0fa.fp p0fr.fp + + doman p0f.1 + + dodoc README +} + |