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
during the upgrade of the port:
- A gtk-2 enabled version is built unless configure is invoked
with option --without-gtk (detected and reported by Pointyhat)
- Several fixes seem to be no longer required and patch files
can thus be removed
The port uses gtk if present, unless built with -DWITHOUT_GTK.
Building with gtk can be enforced via -DWITH_GTK (but this is
not the default for the package, because of the large dependency
list).
- move 1.0 obsoleted version to net/libnet10
net/libnet is latest Stable Version
net/libnet is latest Beta Version
- Fix all depended ports with a new DEPENDS scheme
- While I'm here fix security/yersinia build on 4.x
(getopt_long and ncurses issues)
PR: ports/85519 (based on)
Submitted by: Stas Yakovlev <stas.yakovlev_at_gmail.com>