aboutsummaryrefslogtreecommitdiff
path: root/security/yersinia
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2006-07-10 16:22:04 +0000
committerStefan Eßer <se@FreeBSD.org>2006-07-10 16:22:04 +0000
commit6a88eeeaa32cf6d3ed4cbeb40170d018d16f2338 (patch)
tree6a77dbcdae29266d8557c785eba5b1e54cc91db4 /security/yersinia
parentdd6c29952121ac09c6123be273f341308ed943eb (diff)
downloadports-6a88eeeaa32cf6d3ed4cbeb40170d018d16f2338.tar.gz
ports-6a88eeeaa32cf6d3ed4cbeb40170d018d16f2338.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
Notes
Notes: svn path=/head/; revision=167363
Diffstat (limited to 'security/yersinia')
-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