OSSP CVS Repository

ossp - Check-in [4912]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4912
Date: 2004-Dec-26 14:10:39 (local)
2004-Dec-26 13:10:39 (UTC)
User:rse
Branch:
Comment: add the usual amount of distribution files
Tickets:
Inspections:
Files:
ossp-pkg/flow2rrd/AUTHORS      added-> 1.1
ossp-pkg/flow2rrd/ChangeLog      added-> 1.1
ossp-pkg/flow2rrd/INSTALL      added-> 1.1
ossp-pkg/flow2rrd/Makefile.in      added-> 1.1
ossp-pkg/flow2rrd/README      added-> 1.1
ossp-pkg/flow2rrd/THANKS      added-> 1.1
ossp-pkg/flow2rrd/TODO      added-> 1.1
ossp-pkg/flow2rrd/VERSION      added-> 1.1
ossp-pkg/flow2rrd/devtool      added-> 1.1
ossp-pkg/flow2rrd/devtool.conf      added-> 1.1
ossp-pkg/flow2rrd/devtool.func      added-> 1.1
ossp-pkg/flow2rrd/flow2rrd.cgi      1.1->removed
ossp-pkg/flow2rrd/flow2rrd.pl      1.5 -> 1.6     9 inserted, 11 deleted
ossp-pkg/flow2rrd/flow2rrd.pod      1.2 -> 1.3     9 inserted, 8 deleted

ossp-pkg/flow2rrd/AUTHORS -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,15 ----
+    _        ___  ____ ____  ____    __ _               ____               _ 
+   |_|_ _   / _ \/ ___/ ___||  _ \  / _| | _____      _|___ \ _ __ _ __ __| |
+   _|_||_| | | | \___ \___ \| |_) || |_| |/ _ \ \ /\ / / __) | '__| '__/ _` |
+  |_||_|_| | |_| |___) |__) |  __/ |  _| | (_) \ V  V / / __/| |  | | | (_| |
+   |_|_|_|  \___/|____/____/|_|    |_| |_|\___/ \_/\_/ |_____|_|  |_|  \__,_|
+ 
+   OSSP flow2rrd - NetFlow to Round-Robin Database (RRD)
+ 
+   This is a list of authors who have written
+   or edited parts of the OSSP flow2rrd sources.
+ 
+   o  OSSP flow2rrd (as a whole)
+      Written by: Ralf S. Engelschall
+      Edited  by: Ralf S. Engelschall
+ 


ossp-pkg/flow2rrd/ChangeLog -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,15 ----
+    _        ___  ____ ____  ____    __ _               ____               _ 
+   |_|_ _   / _ \/ ___/ ___||  _ \  / _| | _____      _|___ \ _ __ _ __ __| |
+   _|_||_| | | | \___ \___ \| |_) || |_| |/ _ \ \ /\ / / __) | '__| '__/ _` |
+  |_||_|_| | |_| |___) |__) |  __/ |  _| | (_) \ V  V / / __/| |  | | | (_| |
+   |_|_|_|  \___/|____/____/|_|    |_| |_|\___/ \_/\_/ |_____|_|  |_|  \__,_|
+ 
+   OSSP flow2rrd - NetFlow to Round-Robin Database (RRD)
+ 
+   ChangeLog
+ 
+   Changes between *GENESIS* and 0.9.0 (18-Dec-2003 to 24-Dec-2004):
+ 
+     *) Created the initial version of OSSP flow2rrd.
+        [Ralf S. Engelschall]
+ 


ossp-pkg/flow2rrd/INSTALL -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,30 ----
+    _        ___  ____ ____  ____    __ _               ____               _ 
+   |_|_ _   / _ \/ ___/ ___||  _ \  / _| | _____      _|___ \ _ __ _ __ __| |
+   _|_||_| | | | \___ \___ \| |_) || |_| |/ _ \ \ /\ / / __) | '__| '__/ _` |
+  |_||_|_| | |_| |___) |__) |  __/ |  _| | (_) \ V  V / / __/| |  | | | (_| |
+   |_|_|_|  \___/|____/____/|_|    |_| |_|\___/ \_/\_/ |_____|_|  |_|  \__,_|
+ 
+   OSSP flow2rrd - NetFlow to Round-Robin Database (RRD)
+ 
+   INSTALL
+ 
+   The Convenient Way (with OpenPKG)
+   =================================
+ 
+   Just install the OpenPKG "flow2rrd" packages
+   and its dependencies and you are done.
+ 
+   $ <prefix>/bin/openpkg build flow2rrd | sh
+   $ vi <prefix>/etc/flow2rrd/flow2rrd.cfg
+   $ vi <prefix>/etc/rc.conf
+   ...
+   flowtools_capture="yes"
+   flowtools_capture_flags="-V5 -N-1 -n95 -e665 -z4 -S5 -R <prefix>/bin/flow2rrd-store"
+   ...
+   $ <prefix>/etc/rc flowtools start
+ 
+   The Cruel Way (Manually)
+   ========================
+ 
+   ...FIXME...
+ 


ossp-pkg/flow2rrd/Makefile.in -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,91 ----
+ ##
+ ##  OSSP flow2rrd -- NetFlow to Round-Robin Database (RRD)
+ ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP flow2rrd, a tool for storing NetFlow data
+ ##  into an RRD which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
+ ##
+ ##  This program is free software; you can redistribute it and/or modify
+ ##  it under the terms of the GNU General Public License as published by
+ ##  the Free Software Foundation; either version 2 of the License, or
+ ##  (at your option) any later version.
+ ##
+ ##  This program is distributed in the hope that it will be useful,
+ ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ##  General Public License for more details.
+ ##
+ ##  You should have received a copy of the GNU General Public License
+ ##  along with this program; if not, write to the Free Software
+ ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ ##
+ ##  Makefile.in: make(1) build procedure
+ ##
+ 
+ @SET_MAKE@
+ 
+ #   installation paths
+ DESTDIR     =
+ prefix      = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir      = @bindir@
+ libdir      = @libdir@
+ includedir  = @includedir@
+ mandir      = @mandir@
+ 
+ #   build tools
+ RM          = rm -f
+ RMDIR       = rmdir
+ SHTOOL      = ./shtool
+ TRUE        = true
+ PERL        = @PERL@
+ POD2MAN     = @POD2MAN@
+ 
+ #   default target
+ all: flow2rrd flow2rrd.1
+ 
+ flow2rrd.1: flow2rrd.pod
+        V1=`$(SHTOOL) version -l txt -d short VERSION`; \
+        V2=`$(SHTOOL) version -l txt -d long VERSION`; \
+        D=`$(SHTOOL) version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \
+        $(POD2MAN) --quotes=none \
+                   --section=1 --center="NetFlow to Round-Robin Database (RRD)" \
+                   --release="$$D" --date="OSSP flow2rrd $$V1" flow2rrd.pod | \
+        sed -e "s;FLOW2RRD_VERSION_STR;$$V2;" >flow2rrd.1
+ 
+ flow2rrd: flow2rrd.pl
+        sed -e 's;@PERL@;$(PERL);g' \
+            -e 's;@POD2MAN@;$(POD2MAN);g' \
+            <flow2rrd.pl >flow2rrd
+ 
+ #   perform installation procedure
+ install:
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
+        $(SHTOOL) install -c -m 755 flow2rrd $(DESTDIR)$(bindir)/flow2rrd
+        $(SHTOOL) install -c -m 644 flow2rrd.1 $(DESTDIR)$(mandir)/man1/flow2rrd.1
+ 
+ #   perform uninstallation procedure
+ uninstall:
+        -$(RM) $(DESTDIR)$(mandir)/bin/flow2rrd
+        -$(RM) $(DESTDIR)$(mandir)/man1/flow2rrd.1
+        -$(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE)
+        -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
+        -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE)
+ 
+ #   perform build clean up procedure
+ clean:
+        -$(RM) flow2rrd
+        -$(RM) flow2rrd.1
+ 
+ #   perform distribution clean up procedure
+ distclean: clean
+        -$(RM) config.log config.status config.cache
+        -$(RM) Makefile
+ 
+ #   perform developer clean up procedure
+ realclean: distclean
+ 


ossp-pkg/flow2rrd/README -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,44 ----
+    _        ___  ____ ____  ____    __ _               ____               _ 
+   |_|_ _   / _ \/ ___/ ___||  _ \  / _| | _____      _|___ \ _ __ _ __ __| |
+   _|_||_| | | | \___ \___ \| |_) || |_| |/ _ \ \ /\ / / __) | '__| '__/ _` |
+  |_||_|_| | |_| |___) |__) |  __/ |  _| | (_) \ V  V / / __/| |  | | | (_| |
+   |_|_|_|  \___/|____/____/|_|    |_| |_|\___/ \_/\_/ |_____|_|  |_|  \__,_|
+ 
+   OSSP flow2rrd - NetFlow to Round-Robin Database (RRD)
+   Version 0.1.0 (XX-Oct-2004)
+ 
+   ABSTRACT
+ 
+   OSSP flow2rrd is a companion tool to the Flow-Tools toolkit for
+   storing NetFlow network traffic data in an accumulating fixed-size
+   RRDTool Round-Robin-Database (RRD) for visualization purposes.
+ 
+   COPYRIGHT AND LICENSE
+ 
+   Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+   Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ 
+   This file is part of OSSP flow2rrd, a tool for storing NetFlow data
+   into an RRD which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
+ 
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+ 
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+   General Public License for more details.
+ 
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+   USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ 
+   SEE ALSO
+ 
+   o Homepage ....... http://www.ossp.org/pkg/tool/flow2rrd/
+   o Sources ........ http://cvs.ossp.org/pkg/tool/flow2rrd/
+   o Distribution .... ftp://ftp.ossp.org/pkg/tool/flow2rrd/
+ 


ossp-pkg/flow2rrd/THANKS -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,17 ----
+    _        ___  ____ ____  ____    __ _               ____               _ 
+   |_|_ _   / _ \/ ___/ ___||  _ \  / _| | _____      _|___ \ _ __ _ __ __| |
+   _|_||_| | | | \___ \___ \| |_) || |_| |/ _ \ \ /\ / / __) | '__| '__/ _` |
+  |_||_|_| | |_| |___) |__) |  __/ |  _| | (_) \ V  V / / __/| |  | | | (_| |
+   |_|_|_|  \___/|____/____/|_|    |_| |_|\___/ \_/\_/ |_____|_|  |_|  \__,_|
+ 
+   OSSP flow2rrd - NetFlow to Round-Robin Database (RRD)
+ 
+   THANKS
+ 
+   Credit has to be given to the following people who contributed ideas,
+   stuff, bugfixes, hints etc. (in alphabetical order):
+ 
+   o Thomas Lotterer          <thomas@lotterer.net>
+ 
+   ...and all other OSSP flow2rrd users who gave me feedback but I've forgot.
+ 


ossp-pkg/flow2rrd/TODO -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,16 ----
+    _        ___  ____ ____  ____    __ _               ____               _ 
+   |_|_ _   / _ \/ ___/ ___||  _ \  / _| | _____      _|___ \ _ __ _ __ __| |
+   _|_||_| | | | \___ \___ \| |_) || |_| |/ _ \ \ /\ / / __) | '__| '__/ _` |
+  |_||_|_| | |_| |___) |__) |  __/ |  _| | (_) \ V  V / / __/| |  | | | (_| |
+   |_|_|_|  \___/|____/____/|_|    |_| |_|\___/ \_/\_/ |_____|_|  |_|  \__,_|
+ 
+   OSSP flow2rrd - NetFlow to Round-Robin Database (RRD)
+ 
+   - color themes still hardcoded!?
+   - implement "*" number
+   - unknown data handling!
+   - finish/extend manual page flow2rrd.pod
+   - larger/smaller buttons on explore website
+   - back button on explore website
+   - OSSP website
+ 


ossp-pkg/flow2rrd/VERSION -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,6 ----
+ 
+   VERSION -- Version Information for OSSP svs (syntax: Text)
+   [automatically generated and maintained by GNU shtool]
+ 
+   This is OSSP svs, Version 1.0.0 (14-Dec-2004)
+ 


ossp-pkg/flow2rrd/devtool -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,47 ----
+ #!/bin/sh
+ ##
+ ##  devtool -- Development Tool
+ ##  Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com> 
+ ##
+ 
+ if [ $# -eq 0 ]; then
+     echo "devtool:USAGE: devtool <command> [<arg> ...]" 1>&2
+     exit 1
+ fi
+ 
+ cmd="$1"
+ shift
+ 
+ devtoolfunc="./devtool.func"
+ 
+ if [ ! -f devtool.conf ]; then
+     echo "devtool:ERROR: no devtool.conf in current directory" 1>&2
+     exit 1
+ fi
+ 
+ cmdline=`grep "^%$cmd" devtool.conf`
+ if [ ".$cmdline" = . ]; then
+     echo "devtool:ERROR: command $cmd not found in devtool.conf" 1>&2
+     exit 1
+ fi
+ 
+ if [ ".$TMPDIR" != . ]; then
+     tmpdir="$TMPDIR"
+ elif [ ".$TEMPDIR" != . ]; then
+     tmpdir="$TEMPDIR"
+ else
+     tmpdir="/tmp"
+ fi
+ tmpfile="$tmpdir/rc.$$.tmp"
+ 
+ rm -f $tmpfile
+ touch $tmpfile
+ echo ". $devtoolfunc" >>$tmpfile
+ ( sed <devtool.conf -e "1,/^%common/d" -e '/^%.*/,$d'
+   sed <devtool.conf -e "1,/^%$cmd/d" -e '/^%.*/,$d' ) |\
+ sed -e 's;\([  ]\)@\([a-zA-Z_][a-zA-Z0-9_]*\);\1devtool_\2;' >>$tmpfile
+ 
+ sh $tmpfile "$@"
+ 
+ rm -f $tmpfile >/dev/null 2>&1 || true
+ 


ossp-pkg/flow2rrd/devtool.conf -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,46 ----
+ ##
+ ##  devtool.conf -- Development Tool Configuration
+ ##
+ 
+ %autogen
+     @autogen autoconf 2.59 "2.5*"
+     @autogen shtool 2.0.1  "2.0.*" all
+ 
+ %autoclean
+     @autoclean autoconf
+     @autoclean shtool
+ 
+ %configure
+     ./configure --prefix=/tmp/flow2rrd "$@"
+ 
+ %version
+     ./shtool version -l txt -n "OSSP flow2rrd" -e VERSION
+     V=`./shtool version -l txt -d long VERSION`
+     sed -e "s/Version .*(.*)/Version $V/g" <README >README.n 
+     mv README.n README
+ 
+ %dist
+     echo "+++ generating"
+     ./devtool autoclean
+     ./devtool autogen
+     echo "+++ configuring"
+     ./configure
+     echo "+++ building"
+     make clean all
+     echo "+++ cleaning"
+     make distclean
+     echo "+++ fixing"
+     ./shtool fixperm -v .
+     echo "+++ rolling"
+     V=`./shtool version -l txt -d short VERSION`
+     ./shtool tarball -o flow2rrd-${V}.tar.gz -d flow2rrd-${V} -u ossp -g flow2rrd \
+                      -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz' -c 'gzip --best' .
+     ls -l flow2rrd-${V}.tar.gz
+     echo "+++ testing"
+     gunzip <flow2rrd-${V}.tar.gz | tar tvf -
+ 
+ %upload
+     echo "+++ copying to ftp://ftp.ossp.org/pkg/tool/flow2rrd/"
+     V=`./shtool version -ltxt -dshort VERSION`
+     scp flow2rrd-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/tool/flow2rrd/
+ 


ossp-pkg/flow2rrd/devtool.func -> 1.1

*** /dev/null    Sat Nov 23 01:28:35 2024
--- -    Sat Nov 23 01:28:48 2024
***************
*** 0 ****
--- 1,73 ----
+ ##
+ ##  devtool.func -- Development Tool Functions
+ ##  Copyright (c) 2001-2004 Ralf S. Engelschall <rse@engelschall.com> 
+ ##
+ 
+ devtool_require () {
+     t="$1"; o="$2"; p="$3"; e="$4"; a="$5"
+     v=`($t $o | head -1 | awk "{ print \\\$$p; }") 2>/dev/null`
+     if [ ".$v" = . ]; then
+         echo "devtool:ERROR: unable to determine version of $t" 1>&2
+         exit 1
+     fi
+     case "$v" in
+         $e )
+             ;;
+         $a )
+             echo "devtool:WARNING: $t version $v still accepted, although expected $e." 1>&2
+             ;;
+         * )
+             echo "devtool:ERROR: $t version $e expected, but found $v." 1>&2
+             exit 1
+             ;;
+     esac
+     echo "$v"
+ }
+ 
+ devtool_autogen () {
+     tool=$1
+     shift
+     case $tool in
+         autoconf )
+             autoconf_version=`devtool_require autoconf --version 4 "$1" "$2"`
+             echo "generating (GNU Autoconf $autoconf_version): configure config.h.in"
+             autoconf
+             #autoheader 2>&1 | grep -v "is unchanged"
+             rm -rf autom4te.cache >/dev/null 2>&1
+             ;;
+         libtool )
+             libtoolize_version=`devtool_require libtoolize --version 4 "$1" "$2"`
+             echo "generating (GNU Libtool $libtoolize_version): ltmain.sh, libtool.m4, config.guess, config.sub"
+             libtoolize --force --copy >/dev/null 2>&1
+             cp `libtoolize --force --copy --dry-run | grep "add the contents of" |\
+                 sed -e 's;^[^\`]*\`;;' -e "s;'.*;;"` libtool.m4
+             ;;
+         shtool )
+             shtoolize_version=`devtool_require shtoolize -v 3 "$1" "$2"`
+             echo "generating (GNU Shtool $shtoolize_version): shtool"
+             shift
+             shift
+             shtoolize -q "$@"
+             ;;
+     esac
+ }
+ 
+ devtool_autoclean () {
+     tool=$1
+     shift
+     case $tool in
+         autoconf )
+             echo "removing: configure config.h.in"
+             rm -f configure config.h.in
+             ;;
+         libtool )
+             echo "removing: ltmain.sh libtool.m4 config.guess config.sub"
+             rm -f ltmain.sh libtool.m4 config.guess config.sub
+             ;;
+         shtool )
+             echo "removing: shtool"
+             rm -f shtool
+             ;;
+     esac
+ }
+ 


ossp-pkg/flow2rrd/flow2rrd.cgi 1.1 -> 1.2



ossp-pkg/flow2rrd/flow2rrd.pl 1.5 -> 1.6

--- flow2rrd.pl  2004/12/26 12:32:38     1.5
+++ flow2rrd.pl  2004/12/26 13:10:39     1.6
@@ -1,11 +1,11 @@
-#!/usr/opkg/bin/perl
+#!@PERL@
 ##
 ##  OSSP flow2rrd -- NetFlow to Round-Robin Database (RRD)
 ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
 ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
 ##
-##  This file is part of OSSP flow2rrd, a tool for storing NetFlow as
-##  RRD data which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
+##  This file is part of OSSP flow2rrd, a tool for storing NetFlow data
+##  into an RRD which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
 ##
 ##  This program is free software; you can redistribute it and/or modify
 ##  it under the terms of the GNU General Public License as published by
@@ -52,8 +52,7 @@
 my $my = {
     -progname => 'OSSP flow2rrd',
     -proghome => 'http://www.ossp.org/pkg/tool/flow2rrd/',
-    -progvers => '0.1.0',
-    -progdate => '20-Dec-2004',
+    -progvers => '@VERSION@',
 };
 
 #   run-time options
@@ -63,7 +62,7 @@
     -config   => 'flow2rrd.cfg',
     -store    => 0,
     -graph    => 0,
-    -cgi      => 0,
+    -cgi      => (($ENV{'GATEWAY_INTERFACE'} || "") eq 'CGI/1.1' ? 1 : 0)
 };
 
 #   parse command line options
@@ -90,7 +89,7 @@
     exit(0);
 }
 if ($opt->{-version}) {
-    print "$my->{-progname} $my->{-progvers} ($my->{-progdate})\n";
+    print "$my->{-progname} $my->{-progvers}\n";
     exit(0);
 }
 if (not $opt->{-store} and not $opt->{-graph} and not $opt->{-cgi}) {
@@ -802,8 +801,7 @@
         $graph =~ s|\@|\@$tmpfile:|s;
 
         #   generate graph image
-        #die "$0 --graph $graph";
-        my $rc = system("$0 --graph $graph");
+        my $rc = system("GATEWAY_INTERFACE=none $0 --graph $graph");
         if ($rc != 0) { # or not -s $tmpfile) {
             die "failed to generate graph image: $!";
         }
@@ -870,7 +868,7 @@
         $html .= "<a href=\"".$cgi->url(-relative => 1)."\">Real-Time Network Statistics</a>";
         $html << 1;
         $html >> "footer";
-        $html .= "<a href=\"$my->{-proghome}\">$my->{-progname}</a> $my->{-progvers} ($my->{-progdate})";
+        $html .= "<a href=\"$my->{-proghome}\">$my->{-progname}</a> $my->{-progvers}";
         $html << 1;
 
         my $width  = ($cgi->param("width")  || "800");
@@ -1018,7 +1016,7 @@
         $html .= "<a href=\"".$cgi->url(-relative => 1)."\">Real-Time Network Statistics</a>";
         $html << 1;
         $html >> "footer";
-        $html .= "<a href=\"$my->{-proghome}\">$my->{-progname}</a> $my->{-progvers} ($my->{-progdate})";
+        $html .= "<a href=\"$my->{-proghome}\">$my->{-progname}</a> $my->{-progvers}";
         $html << 1;
 
         $html >> "canvas";


ossp-pkg/flow2rrd/flow2rrd.pod 1.2 -> 1.3

--- flow2rrd.pod 2004/12/26 12:32:38     1.2
+++ flow2rrd.pod 2004/12/26 13:10:39     1.3
@@ -3,8 +3,8 @@
 ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
 ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
 ##
-##  This file is part of OSSP flow2rrd, a tool for storing NetFlow as
-##  RRD data which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
+##  This file is part of OSSP flow2rrd, a tool for storing NetFlow data
+##  into an RRD which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
 ##
 ##  This program is free software; you can redistribute it and/or modify
 ##  it under the terms of the GNU General Public License as published by
@@ -30,6 +30,10 @@
 
 B<OSSP flow2rrd> - NetFlow to Round-Robin Database (RRD)
 
+=head1 VERSION
+
+B<OSSP flow2rrd> FLOW2RRD_VERSION_STR
+
 =head1 SYNOPSIS
 
 B<flow2rrd> 
@@ -131,12 +135,9 @@
 
 =item B<-c>|B<--cgi>
 
-Enable the I<CGI operation>. This usually has to be used by a CGI
-wrapper script placed somewhere in the Web server F<cgi-bin> directory:
-
- #!/bin/sh
- # I'm /path/to/cgi/flow2rrd.cgi
- /path/to/bin/flow2rrd --cgi
+Enable the I<CGI operation>. This option is automatically enabled if
+the environment variable C<GATEWAY_INTERFACE> is set to the value
+"C<CGI/1.1>".
 
 =item B<-v>|B<--version>
 

CVSTrac 2.0.1