2018-08-11 22:50:19 +02:00
|
|
|
VERSION="4.9.2"
|
|
|
|
SRCDIR="tcpdump-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="http://www.tcpdump.org/release/"
|
|
|
|
SHA256SUM="798b3536a29832ce0cbb07fafb1ce5097c95e308a6f592d14052e1ef1505fe79"
|
2019-03-30 23:28:30 +01:00
|
|
|
DEPENDS="libnl3-dev openssl-dev libpcap-dev toolchain"
|
2018-08-11 22:50:19 +02:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
apply_patches
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --with-system-libpcap --with-cap-ng \
|
|
|
|
--with-crypto="$TCDIR/$TARGET"
|
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
|
|
|
}
|