summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-30 11:20:08 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-30 11:20:08 +0200
commit416d9a6613ba91327f6e372476aefd5ca5408ef4 (patch)
tree8fafacbcdcc501786ad4793c85001ff936e429eb /net-analyzer/fprobe/fprobe-1.1-r5.ebuild
parentnet-analyzer/fprobe: drop 1.1-r3 (diff)
downloadgentoo-416d9a6613ba91327f6e372476aefd5ca5408ef4.tar.gz
gentoo-416d9a6613ba91327f6e372476aefd5ca5408ef4.tar.bz2
gentoo-416d9a6613ba91327f6e372476aefd5ca5408ef4.zip
net-analyzer/fprobe: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer/fprobe/fprobe-1.1-r5.ebuild')
-rw-r--r--net-analyzer/fprobe/fprobe-1.1-r5.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-analyzer/fprobe/fprobe-1.1-r5.ebuild b/net-analyzer/fprobe/fprobe-1.1-r5.ebuild
new file mode 100644
index 000000000000..1aee1c4aa4f3
--- /dev/null
+++ b/net-analyzer/fprobe/fprobe-1.1-r5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="libpcap-based tool to collect network traffic data and emit it as NetFlow flows"
+HOMEPAGE="http://fprobe.sourceforge.net"
+SRC_URI="mirror://sourceforge/fprobe/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug messages"
+
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/fprobe-1.1-pidfile-sanity.patch
+ "${FILESDIR}"/fprobe-1.1-setgroups.patch
+)
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable messages)
+}
+
+src_install() {
+ default
+
+ docinto contrib
+ dodoc contrib/tg.sh
+
+ newinitd "${FILESDIR}"/init.d-fprobe-r1 fprobe
+ newconfd "${FILESDIR}"/conf.d-fprobe-r1 fprobe
+}