From 4656244420e9cfaac9e61e659193bcd7954a2d32 Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Sun, 23 Jan 2005 00:39:01 +0000 Subject: Mega-commit fixing several outstanding issues with the port. Fix inconsistent configure-time behaviour. Previously, the tcpdump port would look at the base system pcap, then attempt to link against the port. This caused spurious link failures, and should fix build on IA64. Add a new switch, WITH_LIBPCAP_PORT, to force the use of libpcap from ports. Rototile the build-time options for the port, and document them. Fix detection of the OpenSSL libraries; 0.9.7d and later renamed the des_cbc_encrypt function to DES_cbc_encrypt, so deal with this by rebuilding configure after patching configure.in. Incorporate fix for PR bin/76497 suggested by keramida@ (logic error in the PPP IPV6CP parser). Make some stylistic fixes while we're at it, and improve comments. Mark as unbroken on -CURRENT. Bump PORTREVISION. PR: bin/76497 (possibly others) --- net/tcpdump/files/extra-patch-openssl-configure.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/tcpdump/files/extra-patch-openssl-configure.in (limited to 'net/tcpdump/files/extra-patch-openssl-configure.in') diff --git a/net/tcpdump/files/extra-patch-openssl-configure.in b/net/tcpdump/files/extra-patch-openssl-configure.in new file mode 100644 index 000000000000..a3e078a36173 --- /dev/null +++ b/net/tcpdump/files/extra-patch-openssl-configure.in @@ -0,0 +1,11 @@ +--- configure.in.orig Sat Jan 22 23:59:33 2005 ++++ configure.in Sun Jan 23 00:00:19 2005 +@@ -732,7 +732,7 @@ + if test -f $ac_cv_ssleay_path/lib/librsaref.a; then + LIBS="$LIBS -lrsaref" + fi +- AC_CHECK_LIB(crypto, des_cbc_encrypt) ++ AC_CHECK_LIB(crypto, DES_cbc_encrypt) + + CPPFLAGS="$CPPFLAGS $V_INCLS" + AC_CHECK_HEADERS(openssl/evp.h) -- cgit v1.2.3