OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 27-Dec-2004 13:58:53 Branch: HEAD Handle: 2004122712585200 Added files: openpkg-src/flow2rrd flow2rrd.patch Modified files: openpkg-src/flow2rrd flow2rrd.spec Log: apply patch for order-persistent matching of flows Summary: Revision Changes Path 1.1 +17 -0 openpkg-src/flow2rrd/flow2rrd.patch 1.8 +2 -0 openpkg-src/flow2rrd/flow2rrd.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/flow2rrd/flow2rrd.patch ============================================================================ $ cvs diff -u -r0 -r1.1 flow2rrd.patch --- /dev/null 2004-12-27 13:58:53 +0100 +++ flow2rrd.patch 2004-12-27 13:58:53 +0100 @@ -0,0 +1,17 @@ +cvs diff: Diffing . +Index: flow2rrd.pl +=================================================================== +RCS file: /u/rse/arc/cvs/ossp/ossp-pkg/flow2rrd/flow2rrd.pl,v +retrieving revision 1.11 +diff -u -d -u -d -r1.11 flow2rrd.pl +--- flow2rrd.pl 26 Dec 2004 20:03:35 -0000 1.11 ++++ flow2rrd.pl 27 Dec 2004 12:57:33 -0000 +@@ -370,7 +370,7 @@ + # the flow matches them... + my $matched_total = 0; + LOOP: foreach my $host (@{$cfg->{'Host'}}) { +- foreach my $target (grep { $_ !~ m/^-/ } keys(%{$host->{-target}})) { ++ foreach my $target (@{$host->{-target}->{-order}}) { + my $matched = 0; + my $inbound; $inbound = undef; + my $np = $ctx->{-network}->{$host->{-name}.":".$target}; @@ . patch -p0 <<'@@ .' Index: openpkg-src/flow2rrd/flow2rrd.spec ============================================================================ $ cvs diff -u -r1.7 -r1.8 flow2rrd.spec --- openpkg-src/flow2rrd/flow2rrd.spec 27 Dec 2004 12:04:00 -0000 1.7 +++ openpkg-src/flow2rrd/flow2rrd.spec 27 Dec 2004 12:58:52 -0000 1.8 @@ -38,6 +38,7 @@ # list of sources Source0: ftp://ftp.ossp.org/pkg/tool/flow2rrd/flow2rrd-%{version}.tar.gz +Patch0: flow2rrd.patch # build information Prefix: %{l_prefix} @@ -65,6 +66,7 @@ %prep %setup -q + %patch -p0 %build # build the program @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org