summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-18 16:52:37 +0000
committerSam James <sam@gentoo.org>2022-07-18 17:43:34 +0000
commitcf7792231bf75f70b6c76a25d1e59253f4619266 (patch)
tree697b1c60e91729ad80aa09cc0f0e6fdb871addd5 /net-analyzer/p0f
parentnet-misc/exabgp: remove unused file (diff)
downloadgentoo-cf7792231bf75f70b6c76a25d1e59253f4619266.tar.gz
gentoo-cf7792231bf75f70b6c76a25d1e59253f4619266.tar.bz2
gentoo-cf7792231bf75f70b6c76a25d1e59253f4619266.zip
net-analyzer/p0f: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/p0f')
-rw-r--r--net-analyzer/p0f/p0f-3.09_beta-r1.ebuild (renamed from net-analyzer/p0f/p0f-3.09_beta.ebuild)14
1 files changed, 8 insertions, 6 deletions
diff --git a/net-analyzer/p0f/p0f-3.09_beta.ebuild b/net-analyzer/p0f/p0f-3.09_beta-r1.ebuild
index 92f2334f50ea..305af081ef7d 100644
--- a/net-analyzer/p0f/p0f-3.09_beta.ebuild
+++ b/net-analyzer/p0f/p0f-3.09_beta-r1.ebuild
@@ -1,14 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit toolchain-funcs
+EAPI=8
+
+inherit edo toolchain-funcs
MY_P=${P/_beta/b}
DESCRIPTION="A tool to perform passive OS detection based on SYN packets"
HOMEPAGE="https://lcamtuf.coredump.cx/p0f3/"
SRC_URI="https://lcamtuf.coredump.cx/p0f3/releases/${MY_P}.tgz"
+S="${WORKDIR}"/${MY_P}
LICENSE="LGPL-2.1"
SLOT="0"
@@ -18,8 +20,6 @@ IUSE="debug ipv6"
RDEPEND="net-libs/libpcap"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${MY_P}
-
src_prepare() {
default
@@ -36,7 +36,9 @@ src_prepare() {
src_compile() {
tc-export CC
- ./build.sh $(use debug && echo debug) || die
+
+ edo ./build.sh $(use debug && echo debug)
+
emake -C tools p0f-client p0f-sendsyn $(use ipv6 && echo p0f-sendsyn6)
}