38 Commits

Author SHA1 Message Date
Nuno Gonçalves
6b87dad19f nmap: add build depedency on python-setuptools (fixes #27833)
python-setuptools no longer comes by default with the python package,
so we must depend on it explicitly

Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
2025-11-12 10:01:17 +01:00
Christian Marangi
6b1a859678 nmap: add patch fixing compilation error with no OpenSSL DTLS
Add patch fixing compilation error with no OpenSSL DTLS support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-28 22:21:36 +02:00
Josef Schlehofer
951779447a nmap: update to version 7.95
- Remove patch 010-Build-based-on-OpenSSL-version.patch
since it was backported and now it is included in 7.95 release
- Patch 030-ncat-drop-ca-bundle.patch was refreshed

Release notes:
https://nmap.org/changelog.html#7.95

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2024-04-28 22:21:36 +02:00
Christian Marangi
8e2fc52e63 nmap: use git as source and bump to PCRE2 support commit
Use git as source and bump version to PCRE2 support commit.

Move nmap to PCRE2 library as PCRE is EOL and won't receive any security
update in the future.

Patch 001-Use-correct-HAVE_-macros-for-Lua-5.4.-Fixes-2648.patch has
been merged upstream and can be dropped.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-28 22:21:36 +02:00
Christian Marangi
cbe30884e6 nmap: bump to version 7.94
Bump to version 7.94.
Nmap now require lua 5.4.

Patch 020-Python3-port-of-ndiff.patch has been merged upstream and can
be dropped.
Patch 001-Use-correct-HAVE_-macros-for-Lua-5.4.-Fixes-2648.patch is now
required to fix a problem with header inclusion for lua 5.4.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-28 22:21:36 +02:00
Konstantin Demin
1ff280529b nmap: bump package version
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2024-02-04 23:05:25 +00:00
Konstantin Demin
b4538c87ab nmap: unify SSL dependencies
ssl/full variants now depend on "ca-certs" (provided by "ca-bundle" and "ca-certificates")

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2024-02-04 23:05:25 +00:00
Konstantin Demin
c8793c0285 nmap: ncat: use default CA bundle
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2024-02-04 23:05:25 +00:00
Josef Schlehofer
2c87004346 nmap: backport fix to be able to compile it with OpenSSL 1.1
The latest nmap version 7.9.3 currently fails to compile with OpenSSL 1.1 [1],
it required to backport upstream patch to fix the compilation. [2]

[1] https://github.com/nmap/nmap/issues/2516
[2] d6bea8dcde

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-11-05 15:39:35 +00:00
Jeffery To
da55275f3b nmap: Force old Python build process
This package isn't compatible with the new Python build process yet, so
force the old build process for now.

This also adds a call to Py3Build/Install, for when the new build
process can be used.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:33 +08:00
Nuno Gonçalves
61c3a9a3b9 nmap: refresh patch
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
2023-04-17 09:49:07 +01:00
Nuno Gonçalves
0563e5092c nmap: update license
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
2023-04-15 23:54:20 +01:00
Nuno Gonçalves
43c990c43f nmap: bump to 7.93
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
2023-04-15 23:31:49 +01:00
Konstantin Demin
2a4b38d8db nmap: bump to 7.91
changes: https://nmap.org/changelog#7.91

drop patches (applied upstream):
- 010-Avoid-using-namespace-std-causing-name-conflicts.patch
refresh patches:
- 020-Python3-port-of-ndiff.patch
- 030-libcxx.patch

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2021-03-20 22:47:01 +01:00
Ilya Lipnitskiy
5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev
5f6f54b851 nmap: fix compilation with libcxx 10
Seems nmap's time header logic is broken.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-03 10:31:23 +02:00
Jeffery To
1bc2f4f3c6 treewide: Remove Python variants for non-Python packages
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.

This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
067c93b028 nmap: Update to 7.80, add full variant, switch to Python 3
* Update to 7.80

* Add "full" variants for nmap and ncat that support Lua scripts (and
  OpenSSL)

* Replace libcxx fix with upstream patch[1] (CHANGELOG change was
  removed)

* Switch ndiff to use Python 3 (using a patch from Debian[2], which
  comes from an upstream PR[3] plus a port of ndiff/setup.py)

[1]: ea4e2d6657
[2]: 0510c602dd/debian/patches/0004-Python3-port-of-ndiff.patch
[3]: https://github.com/nmap/nmap/pull/1807

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-29 22:26:07 +01:00
Nuno Goncalves
59513531e1 nmap: add Nping with SSL option
Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2020-03-29 22:26:07 +01:00
Rosen Penev
7744104b74 nmap: fix compilation with libcxx
Missing headers and confusion between std::bind and bind.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-04 09:22:24 +01:00
Jeffery To
53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Jan Pavlinec
299e5b0a9b treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Daniel Engberg
b392ae5417 nmap: Update to 7.70
Update nmap suite to 7.70

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-06 11:49:10 +01:00
Daniel Engberg
470032938b net/nmap: Avoid linking libssh2 unintentionally
Explicitly tell nmap not to link libssh2 if its available, fixes buildbot failure.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-08 09:53:11 +02:00
Daniel Engberg
840431acf7 net/nmap: Update to 7.60
* Update nmap-suite to 7.60
* Use PKG_HASH as PKG_MD5SUM is deprecated
* Switch download URL to HTTPS
* Add zlib as dependency and link libpcre dynamically

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-07 12:37:28 +02:00
Nuno Goncalves
9bd7c830fe nmap: bump version to 7.50
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-07-01 13:46:32 +02:00
Nuno Goncalves
5b038289f0 nmap: bump version to 7.40 (all patches upstream)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-01-23 20:54:54 +01:00
neheb
7c4090f0c9 nmap: Fix compile with stripped down openssl. fix #3300
Signed-off by: Rosen Penev <rosenp@gmail.com>
2016-11-22 16:44:14 +01:00
Alexandru Ardelean
c093978cca nmap: fix build on MacOS X
The configure script (for libdnet) seems to find <net/bpf.h>
and detect some BSD stuff.

The lidnet's Makefile wants to include eth-bsd.c, arp-bsd.c
and other BSD friends.

This seems to put a cork on it, and no BSD stuff appears anymore.
[at least on my system].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-10-28 18:31:38 +02:00
Nuno Goncalves
3a6f39fc14 nmap: bump version to 7.31
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2016-10-22 13:54:41 +02:00
Nuno Goncalves
cafb97090d nmap: bump version to 7.30
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2016-09-30 18:11:49 +02:00
Stephen Walker
a53bf7192b packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses without any quotation marks and long git hashes

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2016-07-09 14:50:58 -04:00
Nuno Goncalves
2308199bb6 nmap: bump to 7.12
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2016-04-12 23:41:07 +01:00
Nuno Goncalves
b2bfb56bea nmap: bump to 7.01
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-12-13 20:36:27 +00:00
Nuno Goncalves
35ab69b62f nmap: bump to 7.00
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-11-22 19:21:32 +00:00
Nuno Goncalves
bc9b5f2931 nmap: dont build zenmap by default.
Fixes https://dev.openwrt.org/ticket/18436.
Closes #577.

Signed-off-by: Nick Potts nicholas.potts@googles-email-system.com
2014-12-03 13:41:12 +00:00
Ian Leonard
ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Nuno Goncalves
ae0ffa8cdb nmap: moved to github
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2014-09-11 15:03:36 +01:00