tcpflow stable port information

Package: tcpflow
Version: 0.21
Revision: 2
Depends: libpcap-shlibs
BuildDepends: fink (>= 0.24.12), libpcap
UpdateConfigGuess: true
PatchFile: %n.patch
PatchFile-MD5: 9688f3ae498238e1666bf57400714ab6
Source: http://www.circlemud.org/pub/jelson/tcpflow/%n-%v.tar.gz
InstallScript: make install DESTDIR=%d
ConfigureParams: --mandir='${prefix}/share/man' --infodir='${prefix}/share/info'
Description: Captures data transmitted in TCP connections
DescDetail: <<
tcpflow is a program that captures data transmitted as part of TCP
connections (flows), and stores the data in a way that is convenient for
protocol analysis or debugging. A program like 'tcpdump' shows a summary of
packets seen on the wire, but usually doesn't store the data that's actually
being transmitted. In contrast, tcpflow reconstructs the actual data streams
and stores each flow in a separate file for later analysis.

tcpflow understands sequence numbers and will correctly reconstruct data
streams regardless of retransmissions or out-of-order delivery. However,
it currently does not understand IP fragments; flows containing IP fragments
will not be recorded properly.
<<
DescPort: <<
Would give 'calling setrlimit: Invalid argument' on Leopard.
Fix according to: http://www.entropy.ch/phpbb2/viewtopic.php?t=2881&sid=32825fe6b6b6308373d01dfbf149b3e6
<<
Maintainer: None
Homepage: http://www.circlemud.org/~jelson/software/tcpflow/
License: GPL
DocFiles: README AUTHORS COPYING NEWS
Source-MD5: 45a5aef6f043312315b7f342afc4a9c5

tcpflow stable port .patch

diff -Naur tcpflow-0.21/src/main.c tcpflow-new/src/main.c
--- tcpflow-0.21/src/main.c 2003-08-07 03:35:24.000000000 -0400
+++ tcpflow-new/src/main.c 2007-11-14 09:17:20.000000000 -0500
@@ -68,7 +68,7 @@
int no_promisc = 0;
int bytes_per_flow = 0;
int max_flows = 0;
-int max_desired_fds = 0;
+int max_desired_fds = MAX_FD_GUESS;
int console_only = 0;
int strip_nonprint = 0;

@@ -152,7 +152,7 @@
if ((max_desired_fds = atoi(optarg)) < (NUM_RESERVED_FDS + 2)) {
DEBUG(1) ("warning: -f flag must be used with argument >= %d",
NUM_RESERVED_FDS + 2);
- max_desired_fds = 0;
+ max_desired_fds = MAX_FD_GUESS;
}
break;
case 'h':

tcpflow _unstable_ port .patch