Tue Jun 10 10:21:41 2008 UTC ()
Update libtrace to 3.0.4

libtrace 3.0.4 (2008-01-02)
Deprecate wtf:/wag: format. These traces no longer exist.
Cleanup bpf: capture format
add LINUX_SLL header support to get_source_mac()
deprecate trace_get_link() and replace it with the newer
 trace_get_packet_buffer()/trace_get_layer2()
Bug: Don't crash when destroying an output trace that failed to
 initialise
Use Linux's in kernel BPF filter if available
Add support for Cisco HDLC over PoS
Allow BPF bytecode to be used to construct a filter
Code cleanups
Fix libtrace_ip's bitfields
Fix pcapfile output bug
Documentation cleanups
Discard RT packets when writing pcapfile: files
Add a new "stats" example program
Build system cleanups
Avoid using assert() to report errors
RT packet issues
Properly deal with the packet parsing/length cache when using the
 event system
Add a new loss counter framework
Bug: Event framework not generating sleep events when reading traces
 from disk
Be more strict about returning NULL from trace_get_payload_from_X()
 functions

libtrace 3.0.3 (2007-09-05)
Code cleanups w.r.t warnings
tracesplit_dir now provides a warning of the number of packets that had
 an unknown direction at the end of the trace
Fix a segfault in tracereport with rxerrors, non ip
Add support for decoding 802.2 LLC/SNAP and Ethernet II in 802.11 frames
Documentation fixes and clarifications
Fix bug with trace_get_payload_from_80211() and 3 vs 4 frame formats
Deal correctly with uri's with parse errors causing segfaults on cleanup
Minor tidyups to protocol decoders
Add more information to libtracepktdump
Correctly deal with PPP captures
Cache trace_get_capture_length() and trace_get_l3() which are both
 heavily used internally
Build system cleanups
Add a GRE tracepktdump decoder
Add a preliminary PPPoE tracepktdump decoder
Add more information to tracereport
Fix bug in legacy decoder with wire lengths
Fix bug in trace_ether_ntoa
Add legacynzix: trace format
Don't assert() on bad packets (instead return BADPACKET) for erf traces
Add TRACE_OPTION_EVENT_REALTIME to allow the event framework to playback
 traces in realtime
Rename TRACE_META_FREQ to TRACE_OPTION_META_FREQ to follow naming
 convention
Correctly deal with errors when using trace_set_option
Deal better with signals when writing packets to files
Add support for dag 3.x
Improved dag 2.5+ support
dag2.5+ supports setting the snaplen from libtrace
Add support for setting direction on linux int: formats
Consider loopback packets outgoing, not incoming
Fix trace_get_source_mac() for wireless frames
Add support for interfaces_per_input to tracemerge
Fix tracereport direction report
Deprecated wag: and wtf formats

libtrace 3.0.2 (2007-04-27)
Fixed make install for libpacketdump
Add support for tsh: and rf+ tracefiles.
Update support for radiotap
Add a new tool traceflow(1)
More correctly deal with pcap LINKTYPE's vs DLT's
Major cleanups of tracereport
libpacketdump Decoder cleanups
trace_event() memory leak fixes
Fix segfaults with bad arguments in tracesplit(1)
Don't suffix a number if we are only generating one file
Support snapping packets
Minor bugs in libtrace error handling
Misc cleanups and bug fixes

libtrace 3.0.1 (2007-03-26)
Added missing manpages to release tarball
Update manpages
Fixed TCP option length calculation in libpacketdump
tracereport has had a massive tidy up
getopt support for disabling/enabling reports.
Documentation cleanups
Fix 0 byte gzwrite(3)'s were causing the compressed file checksum to fail
RT closing issues
Metadata available
tracedump renamed tracepktdump due to naming conflict in debian
Implement better PoS decoding in libtrace for erf, legacypos.
Build fixes for MacOS


(markd)
diff -r1.2 -r1.3 pkgsrc/net/libtrace/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/net/libtrace/PLIST
diff -r1.1.1.1 -r1.2 pkgsrc/net/libtrace/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/net/libtrace/Makefile (expand / switch to unified diff)

--- pkgsrc/net/libtrace/Makefile 2007/12/27 17:06:11 1.2
+++ pkgsrc/net/libtrace/Makefile 2008/06/10 10:21:41 1.3
@@ -1,25 +1,27 @@ @@ -1,25 +1,27 @@
1# $NetBSD: Makefile,v 1.2 2007/12/27 17:06:11 joerg Exp $ 1# $NetBSD: Makefile,v 1.3 2008/06/10 10:21:41 markd Exp $
2# 2#
3 3
4DISTNAME= libtrace-3.0.0 4DISTNAME= libtrace-3.0.4
5CATEGORIES= net 5CATEGORIES= net
6MASTER_SITES= http://research.wand.net.nz/software/libtrace/ 6MASTER_SITES= http://research.wand.net.nz/software/libtrace/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://research.wand.net.nz/software/libtrace.php 10HOMEPAGE= http://research.wand.net.nz/software/libtrace.php
11COMMENT= Library for trace processing 11COMMENT= Library for trace processing
12 12
 13PKG_DESTDIR_SUPPORT= user-destdir
 14
13USE_TOOLS+= gmake 15USE_TOOLS+= gmake
14USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++
15USE_LIBTOOL= yes 17USE_LIBTOOL= yes
16GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
17 19
18CONFIGURE_ENV+= libtrace_doxygen='false' 20CONFIGURE_ENV+= libtrace_doxygen='false'
19 21
20.include "../../mk/bsd.prefs.mk" 22.include "../../mk/bsd.prefs.mk"
21 23
22.if ${OPSYS} == "DragonFly" 24.if ${OPSYS} == "DragonFly"
23CONFIGURE_ENV+= ac_cv_have_decl_BIOCSETIF=no 25CONFIGURE_ENV+= ac_cv_have_decl_BIOCSETIF=no
24CFLAGS+= -DHAVE_VSNPRINTF 26CFLAGS+= -DHAVE_VSNPRINTF
25.endif 27.endif

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/libtrace/PLIST (expand / switch to unified diff)

--- pkgsrc/net/libtrace/PLIST 2007/03/24 14:10:31 1.1.1.1
+++ pkgsrc/net/libtrace/PLIST 2008/06/10 10:21:41 1.2
@@ -1,53 +1,61 @@ @@ -1,53 +1,61 @@
1@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/24 14:10:31 markd Exp $ 1@comment $NetBSD: PLIST,v 1.2 2008/06/10 10:21:41 markd Exp $
2bin/traceanon 2bin/traceanon
3bin/traceconvert 3bin/traceconvert
4bin/tracedump 
5bin/tracefilter 4bin/tracefilter
 5bin/traceflow
6bin/tracemerge 6bin/tracemerge
 7bin/tracepktdump
7bin/tracereport 8bin/tracereport
8bin/tracertstats 9bin/tracertstats
9bin/tracesplit 10bin/tracesplit
10bin/tracesplit_dir 11bin/tracesplit_dir
11bin/tracestats 12bin/tracestats
12bin/tracesummary 13bin/tracesummary
13include/dagformat.h 14include/dagformat.h
14include/daglegacy.h 15include/daglegacy.h
15include/libpacketdump.h 16include/libpacketdump.h
16include/libtrace.h 17include/libtrace.h
17include/libtraceio.h 18include/libtraceio.h
18include/lt_inttypes.h 19include/lt_inttypes.h
19include/rt_protocol.h 20include/rt_protocol.h
20include/wag.h 
21lib/libpacketdump.la 21lib/libpacketdump.la
22lib/libpacketdump/eth_2048.la 22lib/libpacketdump/eth_2048.la
23lib/libpacketdump/eth_2054.la 23lib/libpacketdump/eth_2054.la
24lib/libpacketdump/eth_33024.protocol 24lib/libpacketdump/eth_33024.protocol
 25lib/libpacketdump/eth_34525.protocol
25lib/libpacketdump/eth_34887.la 26lib/libpacketdump/eth_34887.la
 27lib/libpacketdump/eth_34916.la
26lib/libpacketdump/eth_34958.la 28lib/libpacketdump/eth_34958.la
27lib/libpacketdump/ip_1.la 29lib/libpacketdump/ip_1.la
28lib/libpacketdump/ip_132.la 30lib/libpacketdump/ip_132.la
29lib/libpacketdump/ip_17.la 31lib/libpacketdump/ip_17.la
30lib/libpacketdump/ip_33.la 32lib/libpacketdump/ip_33.la
31lib/libpacketdump/ip_41.protocol 33lib/libpacketdump/ip_41.protocol
 34lib/libpacketdump/ip_47.la
32lib/libpacketdump/ip_58.protocol 35lib/libpacketdump/ip_58.protocol
33lib/libpacketdump/ip_6.la 36lib/libpacketdump/ip_6.la
34lib/libpacketdump/link_0.la 37lib/libpacketdump/link_0.la
35lib/libpacketdump/link_10.la 38lib/libpacketdump/link_10.la
36lib/libpacketdump/link_11.la 39lib/libpacketdump/link_11.la
37lib/libpacketdump/link_15.la 40lib/libpacketdump/link_15.la
 41lib/libpacketdump/link_17.protocol
38lib/libpacketdump/link_2.la 42lib/libpacketdump/link_2.la
39lib/libpacketdump/link_3.protocol 43lib/libpacketdump/link_3.protocol
40lib/libpacketdump/link_4.la 44lib/libpacketdump/link_4.la
 45lib/libpacketdump/link_5.so
41lib/libpacketdump/link_6.la 46lib/libpacketdump/link_6.la
42lib/libpacketdump/link_9.la 47lib/libpacketdump/ppp_33.so
43lib/libtrace.la 48lib/libtrace.la
44man/man1/traceanon.1 49man/man1/traceanon.1
45man/man1/traceconvert.1 50man/man1/traceconvert.1
46man/man1/tracedump.1 
47man/man1/tracefilter.1 51man/man1/tracefilter.1
 52man/man1/traceflow.1
48man/man1/tracemerge.1 53man/man1/tracemerge.1
 54man/man1/tracepktdump.1
 55man/man1/tracereport.1
 56man/man1/tracertstats.1
49man/man1/tracesplit.1 57man/man1/tracesplit.1
50man/man1/tracesplit_dir.1 58man/man1/tracesplit_dir.1
51man/man1/tracestats.1 59man/man1/tracestats.1
52man/man1/tracesummary.1 60man/man1/tracesummary.1
53@dirrm lib/libpacketdump 61@dirrm lib/libpacketdump

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/libtrace/distinfo (expand / switch to unified diff)

--- pkgsrc/net/libtrace/distinfo 2007/03/24 14:10:31 1.1.1.1
+++ pkgsrc/net/libtrace/distinfo 2008/06/10 10:21:41 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1.1.1 2007/03/24 14:10:31 markd Exp $ 1$NetBSD: distinfo,v 1.2 2008/06/10 10:21:41 markd Exp $
2 2
3SHA1 (libtrace-3.0.0.tar.bz2) = d6aeab482761f5b90bdd891ff74e2415431f0fd4 3SHA1 (libtrace-3.0.4.tar.bz2) = 6f1999c2431c8b41e00caeb74e6c1fe29e81623c
4RMD160 (libtrace-3.0.0.tar.bz2) = 2f34466e9eaaac0f9e7d8269de643bc3a20374d9 4RMD160 (libtrace-3.0.4.tar.bz2) = b190b5814971d813b98ae7595211fde98f27e2c4
5Size (libtrace-3.0.0.tar.bz2) = 511516 bytes 5Size (libtrace-3.0.4.tar.bz2) = 537000 bytes