Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fprobe/, net-analyzer/fprobe/files/
Date: Sat, 30 Jul 2022 09:20:24
Message-Id: 1659172807.760c81eb61289e88af4858c01b8561b1f26385c1.soap@gentoo
1 commit: 760c81eb61289e88af4858c01b8561b1f26385c1
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 30 09:20:07 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 09:20:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760c81eb
7
8 net-analyzer/fprobe: drop 1.1-r3
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-analyzer/fprobe/files/conf.d-fprobe | 71 --------------------------------
13 net-analyzer/fprobe/files/init.d-fprobe | 41 ------------------
14 net-analyzer/fprobe/fprobe-1.1-r3.ebuild | 43 -------------------
15 3 files changed, 155 deletions(-)
16
17 diff --git a/net-analyzer/fprobe/files/conf.d-fprobe b/net-analyzer/fprobe/files/conf.d-fprobe
18 deleted file mode 100644
19 index a93c5c10b207..000000000000
20 --- a/net-analyzer/fprobe/files/conf.d-fprobe
21 +++ /dev/null
22 @@ -1,71 +0,0 @@
23 -# Config file for /etc/init.d/fprobe
24 -
25 -# Do we want the interface in promiscous mode [yes/no]
26 -#PROMISC=no
27 -
28 -# Interface
29 -IFACE=eth0
30 -
31 -# If configured, only capture packets matching this tcpdump expression
32 -#FILTER=""
33 -
34 -# Flow state timers
35 -#TIMER_EXPIRED=5
36 -#TIMER_FRAGMENTED=30
37 -#TIMER_IDLE=60
38 -#TIMER_ACTIVE=300
39 -
40 -# This is the default and should be left unless you know what you are doing
41 -#FLOW_VER=5
42 -
43 -# local ip. if configured fprobe will use this as the source IP for sending ALL flow data
44 -# If you want to specify a specific source address per collecter, customize it below
45 -#LOCALIP=
46 -
47 -# SNMP iface id
48 -SNMP_IFACE="${IFACE#eth}"
49 -
50 -# Maximum number of concurrent flows to track
51 -# using a specified amount of memory
52 -#MEMBULK=10000
53 -#MEMLIMIT=
54 -
55 -# Pending queue
56 -#PENDING=100
57 -
58 -# Kernel capture buffer size (kB)
59 -#KERNBUF=1024
60 -
61 -# Realtime priority [0=disabled, 1..99]
62 -#RTPRIO=0
63 -
64 -# Delay N nanoseconds after each B bytes
65 -#DELAY="0:0"
66 -
67 -# How much of the start of each packet to grab
68 -#SNAPLEN=256
69 -
70 -# chroot() to this location after startup
71 -CHROOT="/var/empty"
72 -
73 -# User to run as. must have perms to the pidfile directory /var/run/fprobe/
74 -USER=nobody
75 -
76 -# logging level for syslog (0=EMERG, ..., 6=INFO, 7=DEBUG)
77 -#LOGLEVEL=6
78 -
79 -# If you want to run multiple instances of fprobe,
80 -# You MUST set this variable to a unique INTEGER for each one!
81 -PIDFILE_ID=''
82 -
83 -# remote ip. this is where we send flows
84 -REMOTEIP=127.0.0.1
85 -# port to listen on
86 -PORT=2055
87 -# Collector type, see the manpage for valid types
88 -TYPE=''
89 -
90 -# If you want multiple collectors, just specify each one here
91 -COLLECTORS="${REMOTEIP}:${PORT}/${LOCALIP}/${TYPE}"
92 -
93 -# vim:ft=gentoo-conf-d:
94
95 diff --git a/net-analyzer/fprobe/files/init.d-fprobe b/net-analyzer/fprobe/files/init.d-fprobe
96 deleted file mode 100644
97 index c470af432c9c..000000000000
98 --- a/net-analyzer/fprobe/files/init.d-fprobe
99 +++ /dev/null
100 @@ -1,41 +0,0 @@
101 -#!/sbin/openrc-run
102 -# Copyright 1999-2017 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -depend() {
106 - need net
107 -}
108 -
109 -BIN=/usr/sbin/fprobe
110 -PIDFILE_EXTRA=""
111 -[ -n "$PIDFILE_ID" ] && PIDFILE_EXTRA="[$PIDFILE_ID]"
112 -PIDFILE="/var/run/fprobe$PIDFILE_EXTRA.pid"
113 -
114 -start() {
115 - ebegin "Starting fprobe"
116 - local OPTS=""
117 - [ "${PROMISC}" = "yes" ] || OPTS="${OPTS} -p"
118 - [ -n "${FILTER}" ] && OPTS="${OPTS} -f '${FILTER}'"
119 - for optname in i:IFACE s:TIMER_EXPIRED g:TIME_FRAGMENTED d:TIMER_IDLE \
120 - e:TIMER_ACTIVE n:FLOW_VER a:LOCALIP x:SNMP_IFACE b:MEMBULK \
121 - m:MEMLIMIT q:PENDING B:KERNBUF r:RTPRIO t:DELAY S:SNAPLEN \
122 - c:CHROOT u:USER v:LOGLEVEL ; do
123 - opt="${optname%:*}" optvar="${optname#*:}"
124 - eval optvalue='$'$optvar
125 - [ -n "$optvalue" ] && OPTS="${OPTS} -${opt} ${optvalue}"
126 - done
127 - OPTS="${OPTS} -l 1:${PIDFILE_ID} ${COLLECTORS}"
128 - start-stop-daemon --start --exec $BIN \
129 - --pidfile ${PIDFILE} \
130 - -- ${OPTS}
131 - eend $?
132 -}
133 -
134 -stop() {
135 - ebegin "Stopping fprobe"
136 - start-stop-daemon --stop --quiet --exec $BIN \
137 - --pidfile ${PIDFILE}
138 - eend $?
139 -}
140 -
141 -# vim:ft=gentoo-init-d:
142
143 diff --git a/net-analyzer/fprobe/fprobe-1.1-r3.ebuild b/net-analyzer/fprobe/fprobe-1.1-r3.ebuild
144 deleted file mode 100644
145 index d86d043a9c3f..000000000000
146 --- a/net-analyzer/fprobe/fprobe-1.1-r3.ebuild
147 +++ /dev/null
148 @@ -1,43 +0,0 @@
149 -# Copyright 1999-2019 Gentoo Authors
150 -# Distributed under the terms of the GNU General Public License v2
151 -
152 -EAPI=6
153 -
154 -DESCRIPTION="libpcap-based tool to collect network traffic data and emit it as NetFlow flows"
155 -HOMEPAGE="http://fprobe.sourceforge.net"
156 -LICENSE="GPL-2"
157 -
158 -SRC_URI="mirror://sourceforge/fprobe/${P}.tar.bz2"
159 -SLOT="0"
160 -KEYWORDS="~amd64 ~ppc x86"
161 -
162 -IUSE="debug messages"
163 -
164 -DEPEND="
165 - net-libs/libpcap
166 -"
167 -RDEPEND="
168 - ${DEPEND}
169 -"
170 -PATCHES=(
171 - "${FILESDIR}"/fprobe-1.1-pidfile-sanity.patch
172 - "${FILESDIR}"/fprobe-1.1-setgroups.patch
173 -)
174 -
175 -src_configure() {
176 - econf \
177 - $(use_enable debug) \
178 - $(use_enable messages)
179 -}
180 -
181 -DOCS=( AUTHORS NEWS README TODO )
182 -
183 -src_install() {
184 - default
185 -
186 - docinto contrib
187 - dodoc contrib/tg.sh
188 -
189 - newinitd "${FILESDIR}"/init.d-fprobe fprobe
190 - newconfd "${FILESDIR}"/conf.d-fprobe fprobe
191 -}