1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

18 Commits

Author SHA1 Message Date
dmiller
76d932e3ab Have configure check for PyPA build. Fixes #3115 2025-05-21 20:47:38 +00:00
dmiller
210adf941e Remove nmap-update
This feature was never publicly released, and has not been distributed
in our binary builds for a couple versions now. It needed to be removed
in order to reduce the number of places Nmap looks for data files. See #2051
2020-08-27 19:13:31 +00:00
dmiller
f8004b792c Replace a config-time check with a ifndef that also works on Windows. 2018-11-21 06:23:08 +00:00
rewanth
6ee953a5ff Removes trailing spaces in 69 files. Closes #971. 2017-08-23 08:52:40 +00:00
dmiller
c75999fe09 Properly quote an AC macro name 2014-11-28 21:31:40 +00:00
dmiller
80f18a2bc7 Add configure test for PCAP_NETMASK_UNKNOWN 2014-10-31 13:28:12 +00:00
dmiller
9847a701e4 Make large files support conditional
nse_fs.cc was forcing large files support, and it was broken on AIX due
to this GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366

Now we let autoconf handle setting the appropriate defines, and also
check for this particular bug before defining.
2014-09-09 05:04:17 +00:00
dmiller
467bc7d3a5 Correct an incompatibility (#define X 1 instead of /**/) 2014-08-26 20:02:24 +00:00
dmiller
cdc4260b6e Add templates/definitions for AC_DEFINEd symbols 2014-08-26 13:35:24 +00:00
david
cb68c85409 Don't use exit in PCAP_IS_SUITABLE.
John Spencer reported that musl libc doesn't automatically include
<stdlib.h>, as Glibc does, so the configure check was wrongly failing.

conftest.c: In function 'main':
conftest.c:35:5: error: implicit declaration of function 'exit'
2012-09-08 19:44:24 +00:00
david
894f858fd4 Include <sys/types.h> in the PCAP_IS_SUITABLE test.
The lack of this was causing PCAP_IS_SUITABLE to fail on Arch Linux, at
least. I think that in some cases this caused both -L../libpcap and
-lpcap to be added to the linker line, which could cause an error
because of the need to link with -lnl. (We check for -lnl when
--with-libpcap=included is used (since r23163), but the PCAP_IS_SUITABLE
failure went around this check and allowed linking with the included
libpcap without checking whether -lnl is required.)

Here are reported build failures and responses:
http://seclists.org/nmap-dev/2011/q3/449
http://seclists.org/nmap-dev/2011/q4/33
http://seclists.org/nmap-dev/2012/q1/369
2012-03-04 05:18:08 +00:00
david
899a1314d3 Add --with-apr using the APR_FIND_APR macro from Apache. 2012-02-01 00:38:41 +00:00
david
94f88daee6 Fix brace balancing with PCAP_IS_SUITABLE macro. 2012-02-01 00:38:37 +00:00
david
5d39765730 Check that pcap_get_selectable_fd is declared in PCAP_IS_SUITABLE.
On AIX this test was passing even though this error happened on
compiling:
netutil.cc: In function 'int my_pcap_get_selectable_fd(pcap_t*)':
netutil.cc:870:34: error: 'pcap_get_selectable_fd' was not declared in this scope
2011-09-24 06:35:38 +00:00
david
4aa4a154f9 Merge from /nmap-exp/david/nmap-ipv6.
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
david
34a6753f73 Add a check to see if the libpcap library needs and has a workaround for the
BPF_TIMEVAL BIOCSRTIMEOUT bug that affects OS X 10.6. If the size of the
parameter to the BIOCSRTIMEOUT ioctl is sizeof(struct timeval) we assume the
workaround is not needed (most platforms). If they are unequal, we assume that
version 1.1.0 or later has a workaround.
2010-04-20 23:22:48 +00:00
david
701fe380f8 Move the libpcap version number check into acinclude.m4, call it
PCAP_IS_SUITABLE.
2010-04-20 22:02:10 +00:00
david
d41f9ee095 Fix the test for GTK+ in configure.ac and move the macro RECVFROM_ARG6_TYPE from aclocal.m4 to acinclude.m4. 2007-10-22 23:27:22 +00:00