2020-03-13 12:06:40 +01:00
|
|
|
VERSION="4.9.3"
|
2018-08-11 22:50:19 +02:00
|
|
|
SRCDIR="tcpdump-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="http://www.tcpdump.org/release/"
|
2020-03-13 12:06:40 +01:00
|
|
|
SHA256SUM="2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410"
|
2019-03-30 23:28:30 +01:00
|
|
|
DEPENDS="libnl3-dev openssl-dev libpcap-dev toolchain"
|
2018-08-11 22:50:19 +02:00
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --with-system-libpcap --with-cap-ng \
|
2020-03-13 14:17:50 +01:00
|
|
|
--with-crypto="$SYSROOT"
|
2018-08-11 22:50:19 +02:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-08-11 22:50:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "tcpdump" "tar.gz"
|
2018-08-11 22:50:19 +02:00
|
|
|
}
|