tcpdump: bump version

as suggested by @infrastation in #11012
This commit is contained in:
Jérôme Duval
2024-09-01 10:00:22 +02:00
parent 79b7633050
commit 196a6cadbc
2 changed files with 3 additions and 29 deletions

View File

@@ -1,22 +0,0 @@
From e33cbe01f9a0cc763a4699ff2a1792f1cd46f9ec Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 28 Apr 2015 20:22:20 +0000
Subject: Haiku patch
diff --git a/aclocal.m4 b/aclocal.m4
index c67e572..7dfa4ce 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1174,7 +1174,7 @@ AC_DEFUN(AC_LBL_LIBRARY_NET, [
AC_CHECK_LIB(socket, gethostbyname,
LIBS="-lsocket -lnsl $LIBS", , -lnsl)
fi
- AC_SEARCH_LIBS(socket, socket, ,
+ AC_SEARCH_LIBS(socket, socket network, ,
AC_CHECK_LIB(socket, socket, LIBS="-lsocket -lnsl $LIBS", , -lnsl))
# DLPI needs putmsg under HPUX so test for -lstr while we're at it
AC_SEARCH_LIBS(putmsg, str)
--
2.37.3

View File

@@ -2,7 +2,7 @@ SUMMARY="A tool for network monitoring and data acquisition"
DESCRIPTION="
Tcpdump prints out a description of the contents of packets on a \
network interface that match a boolean expression."
HOMEPAGE="http://www.tcpdump.org"
HOMEPAGE="https://www.tcpdump.org"
COPYRIGHT="
1998-2015 The TCPDUMP Project
1988-1997, 2000 The Regents of the University of California
@@ -33,9 +33,8 @@ COPYRIGHT="
"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="http://www.tcpdump.org/release/tcpdump-${portVersion}.tar.gz"
CHECKSUM_SHA256="0232231bb2f29d6bf2426e70a08a7e0c63a0d59a9b44863b7f5e2357a6e49fea"
PATCHES="tcpdump-$portVersion.patchset"
SOURCE_URI="https://www.tcpdump.org/release/tcpdump-${portVersion}.tar.xz"
CHECKSUM_SHA256="d76395ab82d659d526291b013eee200201380930793531515abfc6e77b4f2ee5"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -60,8 +59,6 @@ BUILD_REQUIRES="
devel:libpcap$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
@@ -70,7 +67,6 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure --omit-dirs binDir \
./configure --bindir="$prefix/bin"
make $jobArgs