4 Summary: fprobe-ulog: a NetFlow probe
5 Group: Network/Monitoring
7 URL: http://fprobe.sourceforge.net
8 Source0: %{name}-%{version}.tar.bz2
9 Buildroot: %{_tmppath}/%{name}-buildroot
13 fprobe-ulog - libipulog-based tool that collect network traffic data and emit
14 it as NetFlow flows towards the specified collector. PlanetLab version.
20 ./configure --sbindir=/sbin --mandir=%{_mandir} --enable-uptime_trick=no $EXTRA_OPTIONS
25 make install DESTDIR=%{buildroot}
26 install -d -v %{buildroot}/etc/init.d
27 install -m 755 -v fprobe-initscript %{buildroot}/etc/init.d/fprobe-ulog
28 gzip --best %{buildroot}%{_mandir}/man8/fprobe-ulog.8
35 %doc AUTHORS ChangeLog NEWS README COPYING TODO
36 /etc/init.d/fprobe-ulog
38 %{_mandir}/man8/fprobe-ulog.8.gz
41 mkdir -p /usr/local/fprobe
42 chkconfig --add fprobe-ulog
43 chkconfig fprobe-ulog on
44 if [ "$PL_BOOTCD" != "1" ] ; then
45 service fprobe-ulog start
49 # 0 = erase, 1 = upgrade
50 if [ "$1" -eq 0 ]; then
51 if [ "$PL_BOOTCD" != "1" ] ; then
52 service fprobe-ulog stop
54 chkconfig fprobe-ulog off
55 chkconfig --del fprobe-ulog