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 vesion.
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 chkconfig --add fprobe-ulog
42 chkconfig fprobe-ulog on
43 if [ "$PL_BOOTCD" != "1" ] ; then
44 service fprobe-ulog start
48 # 0 = erase, 1 = upgrade
49 if [ "$1" -eq 0 ]; then
50 if [ "$PL_BOOTCD" != "1" ] ; then
51 service fprobe-ulog stop
53 chkconfig fprobe-ulog off
54 chkconfig --del fprobe-ulog