+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-1.8.2.ebuild,v 1.15 2004/10/15 10:01:30 eldad Exp $
-
-inherit eutils
-
-DESCRIPTION="p0f performs passive OS detection based on SYN packets."
-SRC_URI="http://www.stearns.org/p0f/p0f-1.8.2.tgz"
-HOMEPAGE="http://www.stearns.org/p0f/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="x86 sparc"
-IUSE=""
-
-DEPEND="net-libs/libpcap"
-
-src_compile() {
- epatch ${FILESDIR}/${P}-makefile.patch
- sed -e 's;#include <net/bpf.h>;;' -i p0f.c
-
- cp ${FILESDIR}/${P}.rc p0f.rc
- make || die
-}
-
-src_install () {
- dodir /usr/bin /usr/sbin /usr/share/doc /usr/share/man/man1 /etc/init.d
- make DESTDIR=${D} install || die
-}
-
-pkg_postinst() {
- einfo "You can start the p0f monitoring program on boot time by running"
- einfo "rc-update add p0f default"
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.2.ebuild,v 1.7 2004/10/15 10:01:30 eldad 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"
-IUSE=""
-
-DEPEND="net-libs/libpcap"
-
-src_compile () {
- cd ${WORKDIR}/p0f
- sed -i "s: /usr/sbin/: ../../image/usr/sbin/:g" ${WORKDIR}/p0f/mk/Linux
- sed -i "s: /etc/p0f: ../../image/etc/p0f:g" ${WORKDIR}/p0f/mk/Linux
- sed -i "s: /usr/man/man1/: ../../image/usr/man/man1/:g" ${WORKDIR}/p0f/mk/Linux
-
- sed -e 's;#include <net/bpf.h>;;' -i p0f.c
-
- make || die
-}
-
-src_install () {
- cd ${WORKDIR}/p0f
- dodir /usr/sbin; dodir /etc/p0f; dodir /usr/man/man1
- mkdir -p ../../image/usr/sbin ../../image/etc/p0f ../../image/usr/man/man1
- make install || die
-}
-