Commit cc6611ca authored by Sophie Brun's avatar Sophie Brun
Browse files

Import new upstream release. Keep libpcap embedded for Kali

parent fb53d946
nmap (7.70+dfsg1-3kali1) kali-dev; urgency=medium
* Import new upstream release. Keep libpcap embedded for Kali
-- Sophie Brun <sophie@freexian.com> Tue, 15 May 2018 11:31:30 +0200
nmap (7.70+dfsg1-3) unstable; urgency=medium
* Make ncat Architecture: any
......
......@@ -6,6 +6,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
VENDOR_CONFIGURE_OPTIONS = --with-libssh2=included
endif
ifeq ($(shell dpkg-vendor --derives-from kali && echo yes),yes)
VENDOR_CONFIGURE_OPTIONS = --with-libpcap=included
endif
%:
dh $@ --with=python2
......@@ -14,9 +17,12 @@ override_dh_auto_clean:
dh_auto_clean
rm -f nselib/data/jdwp-class/*.class nselib/data/psexec/*.exe
override_dh_auto_configure:
override_dh_autoreconf:
cp -r debian/libpcap .
dh_auto_configure -- --with-liblua --with-liblinear --with-libpcap=included --enable-ipv6 STRIP=/bin/true $(VENDOR_CONFIGURE_OPTIONS)
dh_autoreconf
override_dh_auto_configure:
dh_auto_configure -- --with-liblua --with-liblinear --enable-ipv6 STRIP=/bin/true $(VENDOR_CONFIGURE_OPTIONS)
override_dh_auto_build-indep:
dh_auto_build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment