ports/security/nmap/files/patch-nping_configure
Ben Woods 0e18b95bd5 security/nmap: Update to 7.80
- Remove local patches incorporated upstream.
- Add patches to add missing libibverbs dependency when linking
  libpcap statically (required to allow build on FreeBSD >= 12.0).
  (See similar fix applied to port net-mgmt/dhcdrop in r499639).

Changes this release:
  https://seclists.org/nmap-announce/2019/0

Approved by:	ohauer (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D22730
2019-12-30 12:38:05 +00:00

11 lines
400 B
Text

--- nping/configure.orig 2019-01-31 23:28:21 UTC
+++ nping/configure
@@ -5356,7 +5356,7 @@ if test $have_libpcap != yes; then
LDFLAGS="-L$libpcapdir $LDFLAGS"
CPPFLAGS="$CPPFLAGS -I$libpcapdir"
fi
- LIBPCAP_LIBS='$(LIBPCAPDIR)/libpcap.a'
+ LIBPCAP_LIBS='$(LIBPCAPDIR)/libpcap.a -libverbs'
PCAP_DEPENDS='$(LIBPCAPDIR)/libpcap.a'
PCAP_BUILD="build-pcap"
PCAP_CLEAN="clean-pcap"