summaryrefslogtreecommitdiff
path: root/net/tcpdump/files/extra-patch-openssl-configure.in
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2005-01-23 00:39:01 +0000
committerBruce M Simpson <bms@FreeBSD.org>2005-01-23 00:39:01 +0000
commit4656244420e9cfaac9e61e659193bcd7954a2d32 (patch)
tree9f610a28dfdf0314953055f11f5d988691b2aad9 /net/tcpdump/files/extra-patch-openssl-configure.in
parent- Chase gthumb move (diff)
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)
Diffstat (limited to 'net/tcpdump/files/extra-patch-openssl-configure.in')
-rw-r--r--net/tcpdump/files/extra-patch-openssl-configure.in11
1 files changed, 11 insertions, 0 deletions
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)