diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-16 18:07:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-16 18:07:37 +0000 |
commit | 0ce37e189b0c7ed244f9fead16595e8eec650c0a (patch) | |
tree | 9a224b129defe5cb5f1f4fd3bde3c0380878cca2 /net-analyzer | |
parent | Marked ~ppc64/~ppc wrt #397769 (diff) | |
download | gentoo-2-0ce37e189b0c7ed244f9fead16595e8eec650c0a.tar.gz gentoo-2-0ce37e189b0c7ed244f9fead16595e8eec650c0a.tar.bz2 gentoo-2-0ce37e189b0c7ed244f9fead16595e8eec650c0a.zip |
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/p0f/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/p0f/p0f-3.00_rc5.ebuild | 53 |
2 files changed, 60 insertions, 2 deletions
diff --git a/net-analyzer/p0f/ChangeLog b/net-analyzer/p0f/ChangeLog index 5e13b0cd9abe..3850723c5d8f 100644 --- a/net-analyzer/p0f/ChangeLog +++ b/net-analyzer/p0f/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/p0f -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/ChangeLog,v 1.45 2011/08/05 05:56:12 zmedico Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/ChangeLog,v 1.46 2012/01/16 18:07:37 ssuominen Exp $ + +*p0f-3.00_rc5 (16 Jan 2012) + + 16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +p0f-3.00_rc5.ebuild: + Version bump. 05 Aug 2011; Zac Medico <zmedico@gentoo.org> p0f-2.0.8-r2.ebuild: Bump to EAPI 3 and fix for prefix. diff --git a/net-analyzer/p0f/p0f-3.00_rc5.ebuild b/net-analyzer/p0f/p0f-3.00_rc5.ebuild new file mode 100644 index 000000000000..6970e9bccc75 --- /dev/null +++ b/net-analyzer/p0f/p0f-3.00_rc5.ebuild @@ -0,0 +1,53 @@ +# 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.00_rc5.ebuild,v 1.1 2012/01/16 18:07:37 ssuominen Exp $ + +EAPI=4 +inherit toolchain-funcs + +MY_P=${P/_/-} + +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/${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 +} |