head 1.4; access; symbols pkgsrc-2017Q3:1.3.0.34 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.30 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.28 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.26 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.24 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.22 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.20 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.18 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.16 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.14 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.12 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.10 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.8 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.6 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.4 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.2 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.1.0.36 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.34 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.32 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.30 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.28 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.26 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.24 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.22 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.20 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.18 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.16 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.14 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.12 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.10 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.8 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.6 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.4 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.2 pkgsrc-2009Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2017.12.04.09.32.01; author he; state dead; branches; next 1.3; commitid z49KuASrTK2rsyhA; 1.3 date 2013.11.19.03.07.49; author minskim; state Exp; branches; next 1.2; commitid VVKlmi7wTGubQPdx; 1.2 date 2013.10.31.02.25.17; author minskim; state Exp; branches; next 1.1; commitid v53K43QKdVIXcobx; 1.1 date 2009.05.02.17.35.43; author minskim; state Exp; branches; next ; desc @@ 1.4 log @Update tcpreplay to version 4.2.6. This catches up with the project which has apparently moved to github.com. With it comes fixes for two known CVEs (CVE-2016-6160, CVE-2017-6429). There is otherwise a large set of changes, see the release history on github for the details. The license changed to gnu-gpl-v3, LICENSE setting added. @ text @$NetBSD: patch-ab,v 1.3 2013/11/19 03:07:49 minskim Exp $ --- configure.orig 2010-04-05 00:58:26.000000000 +0000 +++ configure @@@@ -9872,7 +9872,11 @@@@ darwin* | rhapsody*) soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + if test .$module = .yes ; then + shrext_cmds=".so" + else + shrext_cmds=".dylib" + fi sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' @@@@ -14675,7 +14679,11 @@@@ darwin* | rhapsody*) soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + if test .$module = .yes ; then + shrext_cmds=".so" + else + shrext_cmds=".dylib" + fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; @@@@ -17353,9 +17361,9 @@@@ for testdir in $trypcapdir /usr/local /o LPCAPINC="${testdir}/include/pcap.h" LPCAPINCDIR="${testdir}/include" if test $dynamic_link = yes; then - if test -f "${testdir}/lib64/libpcap${shrext_cmds}" ; then + if test -e "${testdir}/lib64/libpcap${shrext_cmds}" ; then LPCAPLIB="-L${testdir}/lib64 -lpcap" - elif test -f "${testdir}/lib/libpcap${shrext_cmds}" ; then + elif test -e "${testdir}/lib/libpcap${shrext_cmds}" ; then LPCAPLIB="-L${testdir}/lib -lpcap" else as_fn_error "Unable to find libpcap in ${testdir}" "$LINENO" 5 @@@@ -18172,7 +18180,7 @@@@ libdnet_version= enable_fragroute=no trydnetdir=/usr/local -if test $have_cygwin == no ; then +if test $have_cygwin = no ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdnet" >&5 $as_echo_n "checking for libdnet... " >&6; } @@@@ -18751,7 +18759,7 @@@@ esac fi - if test "$osx_frameworks" == "yes"; then + if test "$osx_frameworks" = "yes"; then ENABLE_OSX_FRAMEWORKS_TRUE= ENABLE_OSX_FRAMEWORKS_FALSE='#' else @ 1.3 log @Make tcpreplay build on Darwin @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update tcpreplay to 3.4.4. Changes: - Set default timing method to either gtod or abstime (#404) - Fix IPv6 parsing of CIDR's (#405) - Add support for preloading the memory cache (#410) - Generate more useful error when packets are too small (#411) - Update to libopts/Autogen 5.9.9 (#412) - Ship Win32Readme.txt file (#413) - Update copyright notice to 2010 (#416) - Dramatically enhance --portmap option (#417) - Update autotools (#423) - Add support for printing statistics periodically during the run (#424) - Warn user when pcap snaplen < 65535 (#425) - Add 802.1q processing support tcpprep (#428) - Link libnl when newer versions of libpcap require it (#397) - Ship m4 directory (#398) - Upgrade to latest autotools scripts (#400) - Fix error message when running autogen.sh (#401) - Added extensive IPv6 support to tcprewrite & tcpreplay-edit (#11) - Add IPv6 fragroute support (#388) - Add IPv6 decoding support to tcpprep (#11) - Fix compile time error in err.h (#390) - Add --endpoints support in tcpreplay-edit (#393) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2009/05/02 17:35:43 minskim Exp $ d18 14 a31 1 @@@@ -17353,9 +17357,9 @@@@ for testdir in $trypcapdir /usr/local /o d43 1 a43 1 @@@@ -18172,7 +18176,7 @@@@ libdnet_version= d52 1 a52 1 @@@@ -18751,7 +18755,7 @@@@ esac @ 1.1 log @Update tcpreplay to 3.4.1. Changes since 3.1.1: - Sendpacket method did not match documentation (#361) - Fix compile issue on systems without err.h (#363) - Fix tcpprep --mac not processing non-IPv4 packets (#369) - Always build tcpreplay w/ editing features as tcpreplay-edit (#372) - Fix potential tcpbridge issues under OS X & *BSD (#373) - Fix crash on 4 byte strictly aligned systems (#377) - Add MTU truncation to tcprewrite/tcpreplay-edit (#379) - Add libdnet and remove libnet support for sending packets (#302) - Fix numerous 802.11 decoder bugs (#325) - Fix compile issue under Linux (#326) - Fix Mbps/sec nonsense (#327) - Fix tcprewrite crash when packets have no L3+ data (#328) - Clean up err.c/err.h code and improve performance for non-debug builds (#331) - Fix timesdiv() timer code (#332) - Improve high-performance packet sending via multiple packets/interval (#334) - Fix statistics report errors (#335) - Fix BPF filters not being used in tcpbridge (#336) - Improve tcpbridge performance (#337) - Only use two libpcap handles for tcpbridge (#338) - Fix autotools usage errors (#340) - Clean up 'make test' results (#341) - Update to AutoGen/AutoOpts 5.9.7 (#342) - Fix compiler warnings from GCC 4.2 (#344) - Fix numerous memory corruption bugs in libtcpedit DLT plugin code (#345) - Add support for editing IPv4 TOS/DiffServ/ECN (#348) - Update autotools to more recent versions (#349) - Report injection method via -V (#352) - Fix DLT_USER l2len check bug (#353) - Replace man2html w/ groff (#354) - Fix false pcap_inject() detection under Windows/Winpcap (#355) - tcpbridge now builds under Win32/Cygwin - libdnet is no longer an option for Win32/Cygwin (#57) - tcpbridge now supports --listnics (#357) - Fix (again) tcpbridge --unidir assert error (#308) - Fix tcpbridge bug where all packets that were sent were all zeros - Fix tcpbridge not honoring --include/exclude flags (#311) - Fix ip_in_cidr() debug messages (#312) - Report packets which have timestamps which go backwards in time (#315) - Clean up --sleep-accel code to use options struct (#316) - Remove really old and out of date RPM .spec file (#317) - Warn when sending on non-Ethernet interface (#318) - Re-enable tcpreplay --listnics (#319) - Fix sendpacket always reporting using PF_PACKET, even when it doesn't (#322) - Fix major packet timing issue under old versions of glibc (#324) - Fix limitation of PF_PACKET only supporting Ethernet (#123) - Fix (again) /dev/bpf detection in FreeBSD 8.0 (#292) - Document building code from Subversion under Cygwin (#304) - Fix --enable-force-* under Linux (#305) - Fix tcpbridge --unidir assert error (#308) - Improve tcpreplay timing accuracy between packets (#41) - Add tcprewrite fragroute support (#42) - Fix tcprewrite --efcs option (#277) - Updated Win32/Cygwin documentation (#280) - Add dmalloc support (#282) - Fix tcpprep broken handling of VLAN tagged frames (#290) - Fix tcprewrite crash when cache file has NO_SEND packets (#291) - Fix /dev/bpf detection in FreeBSD 8.0 (#292) - Add tcprewrite --ttl editing option (#294) - Fix autoconf AM_PROG_CC_C_O warning (#295) - Add tcpprep --reverse option to split by matching client addresses (#297) - Update version of autoconf to 1.10.1 (#298) - Improved GNU Autogen detection and warnings (#299) - Track EAGAIN errors separately from ENOBUFS (#301) - Automatically detect Winpcap on Cygwin (#303) - Fix linker error with --enable-tcpreplay-edit and --enable-dynamic-link (#288) - Fix compile errors with Sun Studio compiler (#286) - Fix crash in tcpreplay when --enable-tcpreplay-edit (#281) - Display if --enable-tcpreplay-edit in -V (#283) - Fix compile issue under Linux and other OS's (#275) - Enable source MAC spoofing for OS X (#142, #151) * Tcpreplay now requires OS X 10.5 (Leopard) - Fix crash/memory access error with tcpreplay -N (#273) - Fix tcprewrite segfault in 'make test' under Linux (#200) - Major performance improvement in tcpprep for large pcaps (#261) - Fix strsignal already defined error under Cygwin/Windows (#199) - Fix compile errors for older versions of GCC (#201) - Remove flowreplay code (#262) - Fix DLT rewrite code causing corrupted ethernet protocol type (#268) - Try to fix inet_aton() issue under Solaris (#260) - Return a more useful error message when tcpprep fails (#187) - Add Tomahawk test tool client/server detection algorithm (#186) - Improved AutoGen support (#191) - Improved documentation (#164, #198) - Added Doxygen markup (#176) - configure now honors --with-tcpdump flag (#192) - configure now defaults to --enable-64bits which breaks backwards compatibility in certain situations. Use --disable-64bits if this concerns you (#195) - Use safe_free() to detect bugs earlier in development (#197) @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2009-02-04 13:07:26.000000000 -0800 d5 1 a5 1 @@@@ -9824,7 +9824,11 @@@@ darwin* | rhapsody*) d18 13 a30 1 @@@@ -22072,7 +22076,7 @@@@ libdnet_version= d36 1 a36 1 { $as_echo "$as_me:$LINENO: checking for libdnet" >&5 d39 1 a39 1 @@@@ -22806,7 +22810,7 @@@@ esac @