p0f: remove, it's in gentoo now, damn I love it when that happens

This commit is contained in:
Zero_Chaos 2012-03-30 04:42:34 +00:00
parent db957a14a7
commit 873c28e787
2 changed files with 0 additions and 55 deletions

View file

@ -1,2 +0,0 @@
DIST p0f-3.04b.tgz 94646 RMD160 c95cad9f34234c7a7bb3996f903fd54ebb714d88 SHA1 f1c575c8708eecfc3646e4e2b303659d51020b14 SHA256 009897729383d9d2d447b4fadd6539795fa0be5098c94526a125e51c2d1839ea
EBUILD p0f-3.04_beta.ebuild 1311 RMD160 09fec39059f3fa4aadd6a9759f9d5a3d91aa4ac5 SHA1 07b84abf457ef70e881d989024ad6b6f79cf55a2 SHA256 4023070bcf264769f69c8de36cd0cd7dd19b382384e7c8cf70408c98c623dfe3

View file

@ -1,53 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-3.03_beta.ebuild,v 1.1 2012/01/23 02:43:04 ssuominen Exp $
EAPI=4
inherit toolchain-funcs
MY_P=${P/_beta/b}
DESCRIPTION="A tool to perform passive OS detection based on SYN packets"
HOMEPAGE="http://lcamtuf.coredump.cx/p0f3/"
SRC_URI="http://lcamtuf.coredump.cx/p0f3/releases/${MY_P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="debug ipv6"
RDEPEND="net-libs/libpcap"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
sed -i \
-e 's:-g -ggdb::' \
-e 's:-O3::' \
-e '/^CC/s:=:?=:' \
-e '/^CFLAGS/s:=:+=:' \
-e '/^LDFLAGS/s:=:+=:' \
build.sh tools/Makefile || die
sed -i -e "/FP_FILE/s:p0f.fp:${EPREFIX}/etc/&:" config.h || die
}
src_compile() {
tc-export CC
./build.sh $(use debug && echo debug) || die
emake -C tools p0f-client p0f-sendsyn $(use ipv6 && echo p0f-sendsyn6)
}
src_install() {
dosbin p0f tools/p0f-{client,sendsyn}
use ipv6 && dosbin tools/p0f-sendsyn6
insinto /etc
doins p0f.fp
#newconfd "${FILESDIR}"/${PN}.confd ${PN}
#newinitd "${FILESDIR}"/${PN}.initd3 ${PN}
dodoc docs/{ChangeLog,README,TODO,*.txt} tools/README-TOOLS
}