head 1.34; access; symbols OPENPKG_E1_MP_HEAD:1.29 OPENPKG_E1_MP:1.29 OPENPKG_E1_MP_2_STABLE:1.21.2.2 OPENPKG_E1_FP:1.21.2.2 OPENPKG_2_STABLE_MP:1.28 OPENPKG_2_STABLE_20061018:1.21.2.2 OPENPKG_2_STABLE_20060622:1.21.2.1 OPENPKG_2_STABLE:1.21.0.2 OPENPKG_2_STABLE_BP:1.21 OPENPKG_2_5_RELEASE:1.19.2.1 OPENPKG_2_5_SOLID:1.19.0.2 OPENPKG_2_5_SOLID_BP:1.19 OPENPKG_2_4_RELEASE:1.16.2.1 OPENPKG_2_4_SOLID:1.16.0.2 OPENPKG_2_4_SOLID_BP:1.16 OPENPKG_CW_FP:1.13 OPENPKG_2_3_RELEASE:1.13.2.1 OPENPKG_2_3_SOLID:1.13.0.2 OPENPKG_2_3_SOLID_BP:1.13; locks; strict; comment @-- @; 1.34 date 2009.04.18.13.10.21; author rse; state Exp; branches; next 1.33; commitid 4pHXU27WTIGCZuKt; 1.33 date 2008.01.01.14.53.53; author rse; state Exp; branches; next 1.32; commitid B8esaHJHoduuKILs; 1.32 date 2007.10.27.11.59.25; author cs; state Exp; branches; next 1.31; commitid XKMxflRJ6S7CYdDs; 1.31 date 2007.10.27.11.12.54; author cs; state Exp; branches; next 1.30; commitid TE2YDiPiEa7VIdDs; 1.30 date 2007.07.20.20.16.28; author thl; state Exp; branches; next 1.29; commitid yCyWfcoNSNOaUxqs; 1.29 date 2007.01.01.17.37.53; author rse; state Exp; branches; next 1.28; commitid BicZD6VUl7GuqP0s; 1.28 date 2006.12.20.08.50.03; author rse; state Exp; branches; next 1.27; commitid LrVxk63lBfxHVeZr; 1.27 date 2006.12.01.13.06.30; author rse; state Exp; branches; next 1.26; commitid 9xoaOVpJkkoxXOWr; 1.26 date 2006.10.13.17.28.03; author thl; state Exp; branches; next 1.25; commitid q5GSxzsSDX29XxQr; 1.25 date 2006.10.12.20.15.05; author rse; state Exp; branches; next 1.24; commitid VdGVJtslo4jdWqQr; 1.24 date 2006.10.09.08.02.04; author rse; state Exp; branches; next 1.23; commitid ge2a3mwDyEiJYYPr; 1.23 date 2006.09.24.13.52.21; author rse; state Exp; branches; next 1.22; commitid flcSW6zFeRYLo5Or; 1.22 date 2006.08.25.19.16.31; author rse; state Exp; branches; next 1.21; commitid Tvsj1UyQ8rQ89gKr; 1.21 date 2006.01.01.13.13.37; author rse; state Exp; branches 1.21.2.1; next 1.20; commitid otZG8yKMCw1JFTfr; 1.20 date 2005.10.14.09.34.44; author rse; state Exp; branches; next 1.19; 1.19 date 2005.09.29.08.12.20; author thl; state Exp; branches 1.19.2.1; next 1.18; 1.18 date 2005.09.27.12.44.19; author rse; state Exp; branches; next 1.17; 1.17 date 2005.07.22.14.48.58; author rse; state Exp; branches; next 1.16; 1.16 date 2005.05.16.10.09.34; author rse; state Exp; branches 1.16.2.1; next 1.15; 1.15 date 2005.05.15.17.51.33; author rse; state Exp; branches; next 1.14; 1.14 date 2005.03.24.11.18.49; author rse; state Exp; branches; next 1.13; 1.13 date 2005.02.18.17.11.41; author rse; state Exp; branches 1.13.2.1; next 1.12; 1.12 date 2005.02.16.21.57.04; author rse; state Exp; branches; next 1.11; 1.11 date 2005.01.01.10.49.08; author rse; state Exp; branches; next 1.10; 1.10 date 2004.12.25.09.56.28; author rse; state Exp; branches; next 1.9; 1.9 date 2004.12.25.09.44.49; author rse; state Exp; branches; next 1.8; 1.8 date 2004.12.25.09.32.22; author rse; state Exp; branches; next 1.7; 1.7 date 2004.12.24.20.56.09; author rse; state Exp; branches; next 1.6; 1.6 date 2004.12.23.13.26.13; author rse; state Exp; branches; next 1.5; 1.5 date 2004.12.18.11.48.57; author rse; state Exp; branches; next 1.4; 1.4 date 2004.12.17.18.54.38; author rse; state Exp; branches; next 1.3; 1.3 date 2004.12.17.16.02.20; author rse; state Exp; branches; next 1.2; 1.2 date 2004.12.16.18.59.42; author rse; state Exp; branches; next 1.1; 1.1 date 2004.12.16.12.58.02; author rse; state Exp; branches; next ; 1.21.2.1 date 2006.06.20.15.16.55; author rse; state Exp; branches; next 1.21.2.2; commitid P9b9BoNafLYTTKBr; 1.21.2.2 date 2006.10.16.14.50.03; author rse; state Exp; branches; next 1.21.2.3; commitid iZxwRSmmWscPXUQr; 1.21.2.3 date 2006.12.22.19.13.22; author thl; state Exp; branches; next ; commitid 2LefOfqsS8nsjyZr; 1.19.2.1 date 2005.10.11.12.49.55; author rse; state Exp; branches; next ; 1.16.2.1 date 2005.06.15.18.59.12; author rse; state Exp; branches; next 1.16.2.2; 1.16.2.2 date 2005.07.22.14.51.18; author rse; state Exp; branches; next ; 1.13.2.1 date 2005.02.21.17.06.43; author rse; state Exp; branches; next ; desc @@ 1.34 log @bump years in copyright messages @ text @## ## flowtools.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package versions %define V_flowtools 0.68 %define V_flowextract 2.61 %define V_cflow 1.053 # package information Name: flowtools Summary: NetFlow Tools URL: http://www.splintered.net/sw/flow-tools/ Vendor: Mark Fullmer Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: BASE Group: Auditing License: BSD Version: %{V_flowtools} Release: 20080101 # package options %option with_fsl yes %option with_perl yes %option with_mysql no %option with_pgsql no %option with_crypto no # list of sources Source0: ftp://ftp.eng.oar.net/pub/flow-tools/flow-tools-%{V_flowtools}.tar.gz Source1: http://security.uchicago.edu/tools/net-forensics/flow-extract-%{V_flowextract}.tar.gz Source2: http://net.doit.wisc.edu/~plonka/Cflow/Cflow-%{V_cflow}.tar.gz Source3: rc.flowtools Source4: fsl.flowtools Patch0: flowtools.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823, flex, bison PreReq: OpenPKG, openpkg >= 20060823 BuildPreReq: zlib PreReq: zlib %if "%{with_fsl}" == "yes" BuildPreReq: fsl PreReq: fsl %endif %if "%{with_perl}" == "yes" BuildPreReq: perl, perl-openpkg PreReq: perl %endif %if "%{with_mysql}" == "yes" BuildPreReq: mysql PreReq: mysql %endif %if "%{with_pgsql}" == "yes" BuildPreReq: postgresql PreReq: postgresql %endif %if "%{with_crypto}" == "yes" BuildPreReq: openssl PreReq: openssl %endif AutoReq: no AutoReqProv: no %description Flow-Tools is a software toolkit for collecting and processing NetFlow data. Flow-Tools is library and a collection of programs used to collect, send, process, and generate reports from NetFlow data. The tools can be used together on a single server or distributed to multiple servers for large deployments. The flow-toools library provides an API for development of custom applications for NetFlow export versions 1,5,6 and the 14 currently defined version 8 subversions. A Perl API is included, too. %track prog flowtools = { version = %{V_flowtools} url = ftp://ftp.eng.oar.net/pub/flow-tools/ regex = flow-tools-(\d\.\d\d)\.tar\.gz } prog flowtools:flowextract = { version = %{V_flowextract} url = http://security.uchicago.edu/tools/net-forensics/ regex = flow-extract-(__VER__)\.tar\.gz } prog flowtools:Cflow = { version = %{V_cflow} url = http://net.doit.wisc.edu/~plonka/Cflow/ regex = Cflow-(__VER__)\.tar\.gz } %prep %setup -q -c %setup -q -D -T -a 1 %setup -q -D -T -a 2 %patch -p0 %build # build flow-tools ( cd flow-tools-%{V_flowtools} %{l_shtool} subst \ -e 's;-g -Wall;;' \ Makefile.in */Makefile.in %{l_shtool} subst \ -e 's|@@localstatedir@@/sym/|%{l_prefix}/share/flowtools/|' \ -e 's|@@localstatedir@@/cfg/|%{l_prefix}/etc/flowtools/|' \ docs/flow-*.1.in export CC="%{l_cc}" export CFLAGS="%{l_cflags -O}" export CPPFLAGS="%{l_cppflags}" export LDFLAGS="-L../lib %{l_ldflags} %{l_fsl_ldflags}" export LIBS="%{l_fsl_libs}" %if "%{with_mysql}" == "yes" LDFLAGS="$LDFLAGS %{l_ldflags mysql}" LIBS="$LIBS -lssl -lcrypto -lm" %endif %if "%{with_pgsql}" == "yes" LIBS="$LIBS -lssl -lcrypto -lcrypt" %endif ./configure \ %if "%{with_mysql}" == "yes" --with-mysql=%{l_prefix} \ %endif %if "%{with_pgsql}" == "yes" --with-pgsql=%{l_prefix} \ %endif %if "%{with_crypto}" == "yes" --with-openssl=%{l_prefix} \ %endif --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc/flowtools \ --includedir=%{l_prefix}/include/flowtools \ --localstatedir=%{l_prefix}/var/flowtools \ --datadir=%{l_prefix}/share/flowtools %{l_make} %{l_mflags -O} ) || exit $? # build flow-extract addon ( cd flow-extract INCLUDES="-I../flow-tools-%{V_flowtools}/lib %{l_cppflags}" LIBS="-L../flow-tools-%{V_flowtools}/lib %{l_ldflags} -lft -lz" case "%{l_platform -t}" in *-sunos* ) LIBS="$LIBS -lsocket -lnsl" ;; esac %{l_make} %{l_mflags} \ CC="%{l_cc}" \ FLAGS="%{l_cflags}" \ INCLUDES="$INCLUDES" \ LIBS="$LIBS" \ YACC="bison -y" ) || exit $? %if "%{with_perl}" == "yes" # build Perl API %{l_prefix}/bin/perl-openpkg prepare %{l_prefix}/bin/perl-openpkg \ -d Cflow-%{V_cflow} \ -A "INC='-DOSU -I../flow-tools-%{V_flowtools}/lib'" \ -A "LIBS='-L../flow-tools-%{V_flowtools}/lib %{l_ldflags} -lft -lz'" \ configure build %endif %install rm -rf $RPM_BUILD_ROOT # install flow-tools ( cd flow-tools-%{version} %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" ) || exit $? # install flow-extract addon ( cd flow-extract %{l_shtool} install -c -s -m 755 \ flow-extract $RPM_BUILD_ROOT%{l_prefix}/bin/ %{l_shtool} install -c -m 644 \ flow-extract.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ ) || exit $? # install Perl API %if "%{with_perl}" == "yes" %{l_prefix}/bin/perl-openpkg -d Cflow-%{V_cflow} install %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup ( cd Cflow-%{V_cflow} %{l_prefix}/bin/pod2man flowdumper >flowdumper.1 %{l_shtool} install -c -m 644 \ flowdumper.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ ) || exit $? %else >perl-openpkg-files %endif # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.flowtools} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # install OSSP fsl configuration %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE fsl.flowtools} $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/ # strip down installation strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true # create additional directories %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/var/flowtools/db # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} `cat perl-openpkg-files` \ '%config %{l_prefix}/etc/fsl/fsl.flowtools' \ '%config %{l_prefix}/etc/flowtools/*.cfg' \ '%dir %attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/flowtools/db' \ '%dir %attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/flowtools' %files -f files %clean rm -rf $RPM_BUILD_ROOT %post # after upgrade, restart service [ $1 -eq 2 ] || exit 0 eval `%{l_rc} flowtools status 2>/dev/null` [ ".$flowtools_active" = .yes ] && %{l_rc} flowtools restart exit 0 %preun # before erase, stop service and remove log files [ $1 -eq 0 ] || exit 0 %{l_rc} flowtools stop 2>/dev/null rm -rf $RPM_INSTALL_PREFIX/var/flowtools/db/* >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/flowtools/flowtools.pid >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/flowtools/flowtools.log >/dev/null 2>&1 || true exit 0 @ 1.33 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.32 log @Drop version information of OSSP fsl dependency since it doesn't make to much sense in an CURRENT-only world. Additionally, in several cases it has been choosen quite at will without being correct. @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d40 1 a40 1 Release: 20071027 @ 1.31 log @fix URL @ text @d66 2 a67 2 BuildPreReq: fsl >= 1.2.0 PreReq: fsl >= 1.2.0 @ 1.30 log @remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider @ text @d41 1 a41 1 Release: 20070720 d52 1 a52 1 Source1: http://security.uchicago.edu/tools/net-forensics/files/flow-extract-%{V_flowextract}.tar.gz @ 1.29 log @Welcome Year 2007! @ text @d41 1 a41 1 Release: 20061220 a236 1 '%not %dir %{l_prefix}/etc/fsl' \ @ 1.28 log @add optional crypto support via OpenSSL @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.27 log @fix tracking of flow-extract and upgrade to latest version @ text @d41 1 a41 1 Release: 20061201 d44 5 a48 4 %option with_fsl yes %option with_perl yes %option with_mysql no %option with_pgsql no d81 4 d150 3 @ 1.26 log @new world order for "Packager" and "Distribution" headers @ text @d27 1 a27 1 %define V_flowextract 2.5 d41 1 a41 1 Release: 20061013 d51 1 a51 1 Source1: http://security.uchicago.edu/tools/net-forensics/files/flowextract-%{V_flowextract}.cpio.gz d60 1 a60 1 BuildPreReq: OpenPKG, openpkg >= 20060823, cpio, flex, bison d102 1 a102 1 regex = flowextract-(__VER__)\.cpio\.gz d112 1 a112 1 %{l_gzip} -d -c %{SOURCE1} | %{l_prefix}/bin/cpio -idmu d154 1 a154 1 ( cd flowextract-%{V_flowextract} d187 1 a187 1 ( cd flowextract-%{V_flowextract} @ 1.25 log @bless for BASE class @ text @d35 2 a36 2 Packager: OpenPKG Distribution: OpenPKG d41 1 a41 1 Release: 20061012 @ 1.24 log @fix building under Solaris 10/amd64 by replacing one more u_in32_t with u_int32 (which is defined in the sources) @ text @d37 1 a37 1 Class: PLUS d41 1 a41 1 Release: 20061009 @ 1.23 log @adjust Group header @ text @d41 1 a41 1 Release: 20060924 @ 1.22 log @replace '@@l_prefix@@/lib/openpkg/bash @@l_prefix@@/etc/rc' in shebang with '@@l_prefix@@/bin/openpkg rc' to allow people who run the rc.xxx scripts directly (as executables) to leverage from the Set-UID functionality @ text @d38 1 a38 1 Group: Network d41 1 a41 1 Release: 20060825 @ 1.21 log @adjust copyrights for new year 2006 @ text @d41 1 a41 1 Release: 20051014 d60 2 a61 2 BuildPreReq: OpenPKG, openpkg >= 20040130, cpio, flex, bison PreReq: OpenPKG, openpkg >= 20040130 @ 1.21.2.1 log @bump release numbers for OpenPKG 2.20060622 in advance @ text @d41 1 a41 1 Release: 2.20060622 d60 2 a61 2 BuildPreReq: OpenPKG, openpkg >= 2.20060622, cpio, flex, bison PreReq: OpenPKG, openpkg >= 2.20060622 @ 1.21.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @d35 4 a38 4 Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: BASE Group: Auditing d41 1 a41 1 Release: 2.20061018 d60 2 a61 2 BuildPreReq: OpenPKG, openpkg >= 2.20061018, cpio, flex, bison PreReq: OpenPKG, openpkg >= 2.20061018 @ 1.21.2.3 log @MFC: make up leeway for 2_STABLE by virtue of build-time results @ text @d27 1 a27 1 %define V_flowextract 2.61 d41 1 a41 1 Release: 2.20061222 d44 4 a47 5 %option with_fsl yes %option with_perl yes %option with_mysql no %option with_pgsql no %option with_crypto no d51 1 a51 1 Source1: http://security.uchicago.edu/tools/net-forensics/files/flow-extract-%{V_flowextract}.tar.gz d60 1 a60 1 BuildPreReq: OpenPKG, openpkg >= 2.20061018, flex, bison a79 4 %if "%{with_crypto}" == "yes" BuildPreReq: openssl PreReq: openssl %endif d102 1 a102 1 regex = flow-extract-(__VER__)\.tar\.gz d112 1 a112 1 %setup -q -D -T -a 1 a144 3 %if "%{with_crypto}" == "yes" --with-openssl=%{l_prefix} \ %endif d154 1 a154 1 ( cd flow-extract d187 1 a187 1 ( cd flow-extract @ 1.20 log @fix building under Solaris by using u_intX local typedefs instead of relying on BSD-style u_intX_t system typedefs @ text @d3 2 a4 2 ## Copyright (c) 2000-2005 OpenPKG Foundation e.V. ## Copyright (c) 2000-2005 Ralf S. Engelschall @ 1.19 log @modifying package: flowtools-0.68 20050927 -> 20050929 @ text @d41 1 a41 1 Release: 20050929 @ 1.19.2.1 log @bump release numbers for OpenPKG 2.5 @ text @d41 1 a41 1 Release: 2.5.0 d60 2 a61 2 BuildPreReq: OpenPKG, openpkg >= 2.5.0, cpio, flex, bison PreReq: OpenPKG, openpkg >= 2.5.0 @ 1.18 log @ok, take the large hammer and get flow-tools finally to build under new GCC 4.0 world order @ text @d28 1 a28 1 %define V_cflow 1.051 d41 1 a41 1 Release: 20050927 @ 1.17 log @port flowtools to real 64-bit platforms like FreeBSD/amd64 where time_t is a 64-bit integer and hence we have to explicitly _cast_ a 32-bit integer value into the 64-bit time_t variable before we pass a pointer to the time_t variable to localtime(3) @ text @d41 1 a41 1 Release: 20050722 @ 1.16 log @fix builds under upgrade situations (where old libs is installed under /lib) @ text @d41 1 a41 1 Release: 20050516 @ 1.16.2.1 log @bump release numbers for OpenPKG 2.4 @ text @d41 1 a41 1 Release: 2.4.0 d60 2 a61 2 BuildPreReq: OpenPKG, openpkg >= 2.4.0, cpio, flex, bison PreReq: OpenPKG, openpkg >= 2.4.0 @ 1.16.2.2 log @MFC: port to 64-bit platforms where time_t is usually not a 32-bit integer @ text @d41 1 a41 1 Release: 2.4.1 @ 1.15 log @upgrading package: flowtools 0.67 -> 0.68 @ text @d41 1 a41 1 Release: 20050515 d129 1 a129 1 export LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" @ 1.14 log @Adjust the copyright declaration in this (RSE's) copy of the OpenPKG source code now that the fork point for C&W was established (CVS tag OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is no longer active (as C&W no longer officially sponsors OpenPKG) and the new shared copyright from RSE can be taken over by the newly established juristic entity OpenPKG Foundation e.V. (instead of the non-juristic entity OpenPKG Project). @ text @d26 1 a26 1 %define V_flowtools 0.67 d41 1 a41 1 Release: 20050218 @ 1.13 log @bless for PLUS class @ text @d2 3 a4 4 ## flowtools.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2005 The OpenPKG Project ## Copyright (c) 2000-2005 Ralf S. Engelschall ## Copyright (c) 2000-2005 Cable & Wireless d35 1 a35 1 Packager: The OpenPKG Project @ 1.13.2.1 log @bump release numbers for OpenPKG 2.3 @ text @d42 1 a42 1 Release: 2.3.0 d61 2 a62 2 BuildPreReq: OpenPKG, openpkg >= 2.3.0, cpio, flex, bison PreReq: OpenPKG, openpkg >= 2.3.0 @ 1.12 log @fix building @ text @d38 1 a38 1 Class: EVAL d42 1 a42 1 Release: 20050216 @ 1.11 log @Happy New Year 2005 @ text @d42 1 a42 1 Release: 20041225 d156 1 a156 1 INCLUDES="-I../flow-tools-%{V_flowtools}/lib" @ 1.10 log @adjust paths in manual pages, too @ text @d3 3 a5 3 ## Copyright (c) 2000-2004 The OpenPKG Project ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 Cable & Wireless @ 1.9 log @cleanup filesystem hierarchy to more strictly comply to the OpenPKG standards @ text @d123 4 @ 1.8 log @switch to more silent compilation (we are the packager, not the developer) and print more reasonable errors on bind() failure in flow-fanout @ text @d143 1 d145 2 a146 1 --localstatedir=%{l_prefix}/var/flowtools d228 1 @ 1.7 log @add RDBMS support to flow-export; capture logs from flow-fanout @ text @d42 1 a42 1 Release: 20041224 d120 3 @ 1.6 log @port to Linux and Solaris @ text @d42 1 a42 1 Release: 20041223 d47 2 d73 8 d120 12 a131 5 CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ LIBS="%{l_fsl_libs}" \ d133 6 @ 1.5 log @add OSSP fsl support; switch to 7days instead of 10MB expiration; log status every 5 minutes; remove empty directories (after flows are expired) @ text @d42 1 a42 1 Release: 20041218 d124 5 d132 2 a133 2 INCLUDES="-I../flow-tools-%{V_flowtools}/lib" \ LIBS="-L../flow-tools-%{V_flowtools}/lib %{l_ldflags} -lft -lz" \ @ 1.4 log @add optional support for automatically running the flow-capture tool @ text @d42 1 a42 1 Release: 20041217 d45 1 d53 1 d63 4 d113 2 a114 1 LDFLAGS="%{l_ldflags}" \ d177 6 a187 1 $RPM_BUILD_ROOT%{l_prefix}/var/flowtools/run \ d193 4 a196 2 '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/flowtools/db' \ '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/flowtools/run' d214 3 a216 2 rm -rf $RPM_INSTALL_PREFIX/var/flowtools/db/* >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/flowtools/run/* >/dev/null 2>&1 || true @ 1.3 log @add flowextract and Perl API Cflow @ text @d51 1 d102 1 d114 2 d124 1 d126 1 d137 2 d142 2 d150 2 d163 8 d172 7 d180 3 a182 5 %if "%{with_perl}" == "yes" %{l_files_std} `cat perl-openpkg-files` %else %{l_files_std} %endif d189 15 @ 1.2 log @skip esoteric version @ text @d26 5 d41 5 a45 2 Version: 0.67 Release: 20041216 d48 3 a50 1 Source0: ftp://ftp.eng.oar.net/pub/flow-tools/flow-tools-%{version}.tar.gz d56 1 a56 1 BuildPreReq: OpenPKG, openpkg >= 20040130 d58 6 d79 1 a79 1 version = %{version} d83 10 d95 3 a97 1 %setup -q -n flow-tools-%{version} d101 27 a127 9 CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ --includedir=%{l_prefix}/include/flowtools \ --localstatedir=%{l_prefix}/var/flowtools %{l_make} %{l_mflags -O} d131 20 a150 1 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" d152 6 a157 1 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} @ 1.1 log @new package: flowtools 0.67 (NetFlow Tools) @ text @d65 1 a65 1 regex = flow-tools-(__VER__)\.tar\.gz @