Commit Graph

161 Commits

Author SHA1 Message Date
sthen
edb4c48d8a nmap: port ndiff to python 3 (via 2to3 plus a few extra
patches) and reenable it
2022-12-04 18:18:24 +00:00
kn
1caf67cac9 Remove net/nmap,-zenmap and ndiff(1) from net/nmap
zenmap is a python 2 gui supposed to be run as root, ndiff diffs nmap
outputs.  ndiff from the nmap package requires the nmap-zenmap package to
be installed, but doesn't depend on it and won't work unless you actually
install/use zenmap... which noone ever complained about.

Upstream has some active python 3 pull requests, but nothing concrete and
nmap port updates are overdue anyway.

Completely remove all python (2) bits from this port.

Feedback jca sthen
OK jca (on zenmap removal, ndiff removal probably as well)
OK sthen
2022-12-04 18:13:56 +00:00
naddy
3f5796b9fd drop RCS Ids 2022-03-11 19:45:43 +00:00
tb
b838148b12 net/nmap: fix build with opaque EVP structs in LibreSSL 3.5 2022-01-14 10:49:27 +00:00
tb
bb0cf6eb42 net/nmap: fix build after libressl bump. 2021-10-31 17:13:36 +00:00
tb
fff6ee7c28 net/nmap: pull in and improve an upstream fix to avoid an out-of-bounds
access, enable debug packages and update license comments.

from niklas, ok maintainer
2021-10-05 05:21:27 +00:00
sthen
a20369a2bd Update to nmap-7.91, the last version still available under the old
"not really gpl but they call it that" license. Remove old patch that was
removing iovec use that we're not quite sure what it did but it seems
to have broken IPv6. From JR Aquino who takes maintainer (agreed by
previous maintainer David Carlier) small tweaks by me.
2021-07-20 22:28:24 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
kn
130b30caaf Remove Python 2 RDEP from -main package
Only -zenmap uses it, -main ist standalone.

Fedback OK jca sthen
2020-03-14 16:01:19 +00:00
giovanni
49ce74bde1 Update to version 7.80
from David Carlier (maintainer) with tweaks by me
2019-08-24 06:37:13 +00:00
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +00:00
naddy
1bc6ff0ce0 Fix bind(2) call, ambiguous after the libcxx7 update 2019-02-05 21:12:07 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
espie
150a0f36fa first tag: update-desktop-database 2018-06-27 21:03:34 +00:00
jca
14428a57e1 Update to nmap-7.70
from David Carlier (maintainer)
2018-04-08 21:02:45 +00:00
dcoppa
ef8b885f1e Use the right autoconf invocation as per gnu.port.mk 2017-09-27 11:03:27 +00:00
dcoppa
889e49cff3 Unbreak autoconf check with clang by not using nested functions
Regen patches while here
2017-09-27 09:50:00 +00:00
giovanni
f520b95bdf Update to 7.60, initial diff from David Carlier (maintainer) with
tweaks by me
ok rsadowski@
2017-08-09 20:43:53 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
c114d7057b add pthread to COMPILER_LIBCXX.
white lie, but it allows clang and gcc to be more similar
bump accordingly.
2017-07-23 09:26:25 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
benoit
28f2276466 Update to nmap-7.50.
from David CARLIER (maintainer)
2017-06-14 02:54:36 +00:00
sthen
073d25a37c use LIBCXX 2017-04-10 11:46:32 +00:00
sthen
eac293e578 update to nmap-7.40, from maintainer David CARLIER 2016-12-22 21:58:40 +00:00
giovanni
feb9502553 Fix build if libdnet is installed
spotted, debugged and tested by Markus Lude, fix by me
Ok David Carlier (maintainer), sthen@
2016-10-12 14:03:17 +00:00
giovanni
f3ebf4c308 Update to 7.30
from David Carlier with tweaks by me
2016-10-06 05:47:35 +00:00
giovanni
0c127d21a6 Update to 7.12
bug fixed for zenmap, minor nse improvements
2016-03-30 21:26:45 +00:00
zhuk
f50096cb97 Minor update to 7.11 from maintainer David Carlier, thanks!
okay jca@
2016-03-24 20:53:34 +00:00
naddy
deea7ed07b drop SHARED_ONLY from python and ruby ports 2016-03-20 16:12:22 +00:00
giovanni
111e0f88a8 update to 7.10 from maintainer David Carlier with tweaks by me 2016-03-18 21:13:38 +00:00
giovanni
6ac605272d Update to 7.01 and drop maintainership
new maintainer is David Carlier
ok jca@
2016-01-07 13:23:47 +00:00
sthen
691c83f9b2 Bump some ports which reference if_msghdr in their source, so that package
updates are triggered. This is following the struct if_data ABI change a few
days ago; if_msghdr has an embedded if_data.  Some may be unnecessary, but
some are definitely needed and bumps are cheaper than debugging.
Problem reported with wpa_supplicant by Mikolaj Kucharski.
2015-10-08 21:19:21 +00:00
sthen
cd9427a22c handle ifmedia64 2015-09-11 15:57:42 +00:00
sthen
bb1a5d50fe hand-edit patch to avoid rcs id 2015-09-11 15:56:43 +00:00
sthen
1b06699303 update to nmap 6.47, ok giovanni@ 2014-09-25 17:33:15 +00:00
sthen
ca6e73b9d0 Don't use pcap_get_selectable_fd; I don't know if it works in base libpcap,
but it doesn't work for us in nmap's internal libpcap causing problems with
at least -sS and probably some others. Found by Kent Fritz, ok giovanni@.
2014-06-16 10:22:15 +00:00
sthen
7e274e2550 update to nmap 6.46, tweak from / ok giovanni@ (maintainer) 2014-05-16 15:08:54 +00:00
sthen
f345f882ed Fix build on sparc64, this needs -fPIC for the internal libpcap. Thanks to
Markus Lude for reporting the problem and testing the fix.  ok jasper@
2014-02-11 16:16:36 +00:00
sthen
a3572f1266 Update nmap to 6.40, and build with their bundled libpcap for now, bpf_timeval
patches are questionable and there's a timing-related problem to track down.
From giovanni@ (maintainer) a while ago. Add a fix from jca@ to fix a floating-
point related assertion failure seen on i386, reminded by zhuk@. Committing the
update rather than the minimal assertion-fix diff as it has been more
extensively tested in the past (then slipped through the cracks), jasper@
agrees. OK jasper@ giovanni@
2014-02-10 17:43:15 +00:00
sthen
8e18900479 fix license marker, this isn't just gpl, there are various additions.
pointed out by djm
2014-01-23 00:40:57 +00:00
sthen
27f03b1c52 bump REVISION for any ports using route messages. regen some distinfos and
remove unnecessary USE_GROFFs while there.
2013-10-31 21:12:12 +00:00
giovanni
0728382e60 Do not issue SIOCSIFNETMASK before SIOCSIFADDR in libdnet-stripped code, it is not needed and will
fail after upcoming change.
This code is not used by nmap but is better to keep it in sync with net/libdnet
ok sthen@ mpi@
2013-05-10 12:27:45 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
giovanni
e6fc392521 Update to 6.25
lot of improvements in nse scripting engine and in ipv6 support
Full changelog: http://nmap.org/changelog.html
Help and ok sthen@ and dcoppa@
2012-12-19 17:12:11 +00:00
sthen
c4b4fc9490 cope with net/if.h struct changes. 2012-11-16 17:05:13 +00:00
jasper
c3990dee0b sync after recent lua.port.mk change 2012-09-19 08:15:08 +00:00
giovanni
7cc1504616 Major update to 6.01
tests & ok benoit@, thanks
2012-07-16 07:39:31 +00:00
jasper
144e2930d7 handle multiple lua versions, for now everything builds with the "old" 5.1 in the new location.
use FLAVOR=lua52 to use lua 5.2 with these ports.
2012-07-10 15:22:44 +00:00
jasper
d6d6ca72b2 various lua tweaks 2012-05-15 18:28:36 +00:00
giovanni
a25c0042f6 Remove POSIX collating elements in regexps
Patch from upstream: http://seclists.org/nmap-dev/2011/q3/640
Fixes nmap -A.
Spotted by Rafael Sadowski, patch submitted by Nigel Taylor
ok nigel@
2011-10-05 15:07:53 +00:00