aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2006-07-11 00:22:04 +0800
committerse <se@FreeBSD.org>2006-07-11 00:22:04 +0800
commitfd211cc18f6ea48befc63a24421ebdf384f2f1e4 (patch)
treea1ea718f6dfd4c918e29c9695c82a5b1a055c494 /security
parentf0b01e623f72df0a1359cf02f6d97c5a94d2968f (diff)
downloadfreebsd-ports-gnome-fd211cc18f6ea48befc63a24421ebdf384f2f1e4.tar.gz
freebsd-ports-gnome-fd211cc18f6ea48befc63a24421ebdf384f2f1e4.tar.zst
freebsd-ports-gnome-fd211cc18f6ea48befc63a24421ebdf384f2f1e4.zip
The configure script distributed with version 0.7 of yersinia checks
for multiple pcap.h files and aborts with an error message, if more than one is actually present. This appears to be a pre-caution to prevent building with pcap.h from one version and running with a library belonging to another one ... While I see the value of such a test, it prevents building on systems before 5.0 (where it requires a port version of libpcap). After some testing I'm quite confident, that the port will build correctly (i.e. without version mismatch between header and library), if the port version of libpcap is present. The libpcap port is used instead of the system version, if present. In that case, yersinia is statically linked with libpcap. The problem was detected by jau at iki dot fi (Jukka A. Ukkonen). PR: 99869
Diffstat (limited to 'security')
-rw-r--r--security/yersinia/files/patch-configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/yersinia/files/patch-configure b/security/yersinia/files/patch-configure
index 586bfb60d54c..4ac604b2c151 100644
--- a/security/yersinia/files/patch-configure
+++ b/security/yersinia/files/patch-configure
@@ -10,3 +10,12 @@
else
{ echo "$as_me:$LINENO: WARNING: Ouch!! Only gcc is supported..." >&5
echo "$as_me: WARNING: Ouch!! Only gcc is supported..." >&2;}
+@@ -3817,7 +3818,7 @@
+ echo $pcap_dir
+ echo $dir
+ echo; echo please wipe out all unused pcap installations
+- exit
++# exit
+ else
+ pcap_dir="$dir"
+ fi