2012-12-17 19:23:17 +01:00
|
|
|
# Template file for 'tcpdump'
|
|
|
|
pkgname=tcpdump
|
2013-11-28 16:04:18 +01:00
|
|
|
version=4.5.1
|
2014-07-14 13:11:58 +02:00
|
|
|
revision=2
|
2012-12-17 19:23:17 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-ipv6"
|
2014-07-14 13:11:58 +02:00
|
|
|
makedepends="libpcap-devel libressl-devel"
|
2012-12-17 19:23:17 +01:00
|
|
|
short_desc="A tool for network monitoring and data acquisition"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="http://www.tcpdump.org"
|
|
|
|
distfiles="http://www.tcpdump.org/release/${pkgname}-${version}.tar.gz"
|
2013-11-28 16:04:18 +01:00
|
|
|
checksum=14ab39657128f3a650aed4cf455f76c7590601087b6101c253d698f6e73f0b96
|
2013-03-13 21:57:32 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-14 15:09:59 +02:00
|
|
|
configure_args+=" ac_cv_linux_vers=$(uname -r 2>&1 | sed -n -e '$s/.* //' -e '$s/\..*//p') td_cv_buggygetaddrinfo=no"
|
2013-03-13 21:57:32 +01:00
|
|
|
fi
|