2012-12-17 18:23:17 +00:00
|
|
|
# Template file for 'tcpdump'
|
|
|
|
pkgname=tcpdump
|
|
|
|
version=4.3.0
|
2013-03-15 09:06:30 +00:00
|
|
|
revision=3
|
2012-12-17 18:23:17 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-ipv6"
|
|
|
|
makedepends="libpcap-devel openssl-devel"
|
|
|
|
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"
|
|
|
|
checksum=efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286
|
2013-03-13 20:57:32 +00:00
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-14 13:09:59 +00: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 20:57:32 +00:00
|
|
|
fi
|
2013-04-14 13:09:59 +00:00
|
|
|
|
|
|
|
tcpdump_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|