diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-09-06 17:47:41 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-09-06 17:47:41 +0000 |
commit | 5a6647f77604fc8f5cdb2bc39e01fead2fe4af7b (patch) | |
tree | 08f340c8098f7886fe9155bd49c21eac3c82b5c6 /net-analyzer/p0f | |
parent | Cleanup (diff) | |
download | gentoo-2-5a6647f77604fc8f5cdb2bc39e01fead2fe4af7b.tar.gz gentoo-2-5a6647f77604fc8f5cdb2bc39e01fead2fe4af7b.tar.bz2 gentoo-2-5a6647f77604fc8f5cdb2bc39e01fead2fe4af7b.zip |
Cleanup
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-analyzer/p0f')
-rw-r--r-- | net-analyzer/p0f/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/p0f/files/digest-p0f-2.0.3 | 3 | ||||
-rw-r--r-- | net-analyzer/p0f/files/digest-p0f-2.0.5 | 3 | ||||
-rw-r--r-- | net-analyzer/p0f/files/digest-p0f-2.0.6 | 3 | ||||
-rwxr-xr-x | net-analyzer/p0f/files/p0f.initd | 37 | ||||
-rw-r--r-- | net-analyzer/p0f/p0f-2.0.3.ebuild | 36 | ||||
-rw-r--r-- | net-analyzer/p0f/p0f-2.0.5.ebuild | 45 | ||||
-rw-r--r-- | net-analyzer/p0f/p0f-2.0.6.ebuild | 52 |
8 files changed, 5 insertions, 180 deletions
diff --git a/net-analyzer/p0f/ChangeLog b/net-analyzer/p0f/ChangeLog index 95382daca5a3..fec328ac07a6 100644 --- a/net-analyzer/p0f/ChangeLog +++ b/net-analyzer/p0f/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/p0f # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/ChangeLog,v 1.37 2007/07/12 15:21:07 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/ChangeLog,v 1.38 2007/09/06 17:47:40 jokey Exp $ + + 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> -files/p0f.initd, + -p0f-2.0.3.ebuild, -p0f-2.0.5.ebuild, -p0f-2.0.6.ebuild: + Cleanup 12 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> p0f-2.0.8-r1.ebuild: Stable on sparc diff --git a/net-analyzer/p0f/files/digest-p0f-2.0.3 b/net-analyzer/p0f/files/digest-p0f-2.0.3 deleted file mode 100644 index b31f633465ac..000000000000 --- a/net-analyzer/p0f/files/digest-p0f-2.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 583688a4c5718eec0bb34102b3ac457b p0f-2.0.3.tgz 119407 -RMD160 dfd960f51040289fc28aca5e4505654965094906 p0f-2.0.3.tgz 119407 -SHA256 e2d58c71a5e014e8391789f48f787c493b1c81901001c55d5ce888aba5b84a41 p0f-2.0.3.tgz 119407 diff --git a/net-analyzer/p0f/files/digest-p0f-2.0.5 b/net-analyzer/p0f/files/digest-p0f-2.0.5 deleted file mode 100644 index 6c3b8b5796fa..000000000000 --- a/net-analyzer/p0f/files/digest-p0f-2.0.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 78235749e8ada6ad2b16b40fe15081f6 p0f-2.0.5.tgz 130002 -RMD160 34ee678aa721ee38959419808ed798aa23228a16 p0f-2.0.5.tgz 130002 -SHA256 563c62f63acfbef79e79659c3f483813816c7d032ef73e96e462a3b4f9a2fc7f p0f-2.0.5.tgz 130002 diff --git a/net-analyzer/p0f/files/digest-p0f-2.0.6 b/net-analyzer/p0f/files/digest-p0f-2.0.6 deleted file mode 100644 index 8bfdb2ca91f0..000000000000 --- a/net-analyzer/p0f/files/digest-p0f-2.0.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d6333198027b90e05ccb3412d8f25d05 p0f-2.0.6.tgz 131668 -RMD160 926ae9a8ec382d158df000175612421f7bddc6d1 p0f-2.0.6.tgz 131668 -SHA256 95aaf7861475c76929a08aeb4b7dca3ee912a5405fbbb1e4b80b8cadc3600441 p0f-2.0.6.tgz 131668 diff --git a/net-analyzer/p0f/files/p0f.initd b/net-analyzer/p0f/files/p0f.initd deleted file mode 100755 index 09d1ce333b3d..000000000000 --- a/net-analyzer/p0f/files/p0f.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/files/p0f.initd,v 1.1 2005/03/11 10:46:08 ka0ttic Exp $ - -start() { - ebegin "Starting p0f" - # The 'tcp and tcp[13] & 2 = 2' requires at least syn set. - # An alternative would be 'tcp and tcp[13] & 0x3f = 2', which - # is syn and no other major flags (but ECN enabled packets are OK) - if [ -z "$BpfFilter" ]; then - BpfFilter='tcp and tcp[13] & 2 = 2' - else - BpfFilter="$BpfFilter and tcp and tcp[13] & 2 = 2" - fi - - # The command in backticks returns all the local IP addresses on this machine. - for OneIP in `/sbin/ifconfig 2>/dev/null | grep 'inet addr' | sed -e 's/.*addr://' -e 's/ .*//'` ; do - BpfFilter="$BpfFilter and not src host $OneIP" - done - - # Create a lock file. - mkdir -p /var/lock/subsys - touch /var/lock/subsys/p0f - - # Start up p0f and filter out all packets originating from any of this machines IP's. - einfo "Logfile: ${P0FLOGFILE}" - start-stop-daemon --start --quiet --exec /usr/sbin/p0f -- -v "$BpfFilter" >>"/var/log/p0f" 2>&1 & - eend ${?} -} - -stop() { - ebegin "Stopping p0f" - start-stop-daemon --stop --quiet --exec /usr/sbin/p0f - rm -f /var/lock/subsys/p0f - eend ${?} -} diff --git a/net-analyzer/p0f/p0f-2.0.3.ebuild b/net-analyzer/p0f/p0f-2.0.3.ebuild deleted file mode 100644 index 7087d0ba737a..000000000000 --- a/net-analyzer/p0f/p0f-2.0.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# 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.13 2006/02/15 23:43:40 jokey Exp $ - -inherit eutils - -DESCRIPTION="p0f performs passive OS detection based on SYN packets." -HOMEPAGE="http://lcamtuf.coredump.cx/p0f.shtml" -SRC_URI="http://lcamtuf.coredump.cx/p0f/${P}.tgz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="x86 ~amd64 sparc ppc-macos" -IUSE="" - -DEPEND="net-libs/libpcap" - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} && cd ${S} - sed -i 's;#include <net/bpf.h>;;' p0f.c || die "sed p0f.c failed" - sed -i -e 's|^\(all: $(FILE)\).*$|\1|' \ - -e "s|^\(CFLAGS.*=\).*$|\1${CFLAGS}|" mk/* || die "sed makefiles failed" -} - -src_install () { - dosbin p0f p0frep || die - - insinto /etc/p0f - doins p0f.fp p0fa.fp p0fr.fp - - doman p0f.1 || die - cd doc - dodoc ChangeLog CREDITS KNOWN_BUGS README TODO -} diff --git a/net-analyzer/p0f/p0f-2.0.5.ebuild b/net-analyzer/p0f/p0f-2.0.5.ebuild deleted file mode 100644 index f6da76234dc4..000000000000 --- a/net-analyzer/p0f/p0f-2.0.5.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.5.ebuild,v 1.5 2006/02/15 23:43:40 jokey Exp $ - -inherit eutils - -DESCRIPTION="p0f performs passive OS detection based on SYN packets." -HOMEPAGE="http://lcamtuf.coredump.cx/p0f.shtml" -SRC_URI="http://lcamtuf.coredump.cx/p0f/${P}.tgz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~ppc-macos sparc x86" -IUSE="static" - -DEPEND="net-libs/libpcap" - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} && cd ${S} - sed -i 's;#include <net/bpf.h>;;' p0f.c || die "sed p0f.c failed" - sed -i -e 's|^\(all: $(FILE)\).*$|\1|' \ - -e "s|^\(CFLAGS.*=\).*$|\1${CFLAGS}|" mk/* || die "sed makefiles failed" -} - -src_compile() { - local static - use static && static="static" - emake ${static} || die "emake ${static} failed" -} - -src_install () { - use static && mv p0f-static p0f - dosbin p0f p0frep || die - - insinto /etc/p0f - doins p0f.fp p0fa.fp p0fr.fp - - doman p0f.1 || die - cd doc - dodoc ChangeLog CREDITS KNOWN_BUGS README TODO - - newinitd ${FILESDIR}/${PN}.initd ${PN} || die "newinitd failed" -} diff --git a/net-analyzer/p0f/p0f-2.0.6.ebuild b/net-analyzer/p0f/p0f-2.0.6.ebuild deleted file mode 100644 index dce7f9a075c4..000000000000 --- a/net-analyzer/p0f/p0f-2.0.6.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.6.ebuild,v 1.2 2007/05/01 22:22:51 genone Exp $ - -inherit eutils - -DESCRIPTION="p0f performs passive OS detection based on SYN packets." -HOMEPAGE="http://lcamtuf.coredump.cx/p0f.shtml" -SRC_URI="http://lcamtuf.coredump.cx/p0f/${P}.tgz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86" -IUSE="static" - -DEPEND="net-libs/libpcap" - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} && cd ${S} - sed -i 's;#include <net/bpf.h>;;' p0f.c || die "sed p0f.c failed" - sed -i -e 's|^\(all: $(FILE)\).*$|\1|' \ - -e "s|^\(CFLAGS.*=\).*$|\1${CFLAGS}|" mk/* || die "sed makefiles failed" -} - -src_compile() { - local static - use static && static="static" - emake ${static} || die "emake ${static} failed" - emake ${static} p0fq || die "emake ${static} p0fq failed" -} - -src_install () { - use static && mv p0f-static p0f - dosbin p0f p0frep test/p0fq || die - - insinto /etc/p0f - doins p0f.fp p0fa.fp p0fr.fp - - doman p0f.1 || die - cd doc - dodoc ChangeLog CREDITS KNOWN_BUGS README TODO - - newconfd "${FILESDIR}"/${PN}.confd ${PN} || die "newconfd failed" - newinitd "${FILESDIR}"/${PN}.initd2 ${PN} || die "newinitd failed" -} - -pkg_postinst(){ - elog "Adjust /etc/conf.d/p0f to your liking before using the" - elog "init script. For more information on options, read man p0f." -} |