maintainers {wohner.eu:normen @Gminfly} openmaintainer
description Simple yet powerful libpcap-based Ethernet packet generator.
Bit-Twist is a simple yet powerful libpcap-based Ethernet packet generator. \
It is designed to compliment tcpdump, which by itself has done a great job \
in capturing network traffic. With Bit-Twist, you can now regenerate the \
captured traffic onto a live network! Packets are generated from tcpdump \
trace file (.pcap file). Bit-Twist also comes with a comprehensive trace \
file editor to allow you to change the contents of a trace file.
homepage http://bittwist.sourceforge.net
distname ${name}-bsd-${version}
checksums md5 10b5e7e13fe009bad6d7d100c60a600a \
sha1 fbf749190146ab3aded38b38017605171c6c5062
worksrcdir ${name}-${version}
livecheck.url ${homepage}
livecheck.regex bittwist-macosx-(.*?)${extract.suffix}
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
build.env CFLAGS="${configure.cflags} -D__BSD_VISIBLE"
xinstall -m 755 -W ${worksrcpath}/src bittwist bittwistb bittwiste \
xinstall -m 644 -W ${worksrcpath}/doc bittwist.1 bittwistb.1 bittwiste.1 \
${destroot}${prefix}/share/man/man1