Commit Graph

31 Commits

Author SHA1 Message Date
Josef Schlehofer 1075441a39 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>
(cherry picked from commit 2c87004346)
2023-11-05 16:40:52 +01:00
Josef Schlehofer 82cbf130ed nmap: drop upstream backports
These patches were introduced for old version, which we had in this repository from upstream in commit 129b7c3 ("nmap: fix ncat proxy mode with upstream patches"), but because nmap was recently updated in commit c12313f ("nmap: bump to 7.93
"), they are not required anymore.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-11-02 11:17:19 +01:00
Jeffery To 49880edcb3 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>
(cherry picked from commit da55275f3b)
2023-11-02 01:15:50 +01:00
Nuno Gonçalves d66edd21e7 nmap: update license
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 0563e5092c)
2023-11-02 01:15:44 +01:00
Nuno Gonçalves c12313f7c1 nmap: bump to 7.93
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 43c990c43f)
2023-11-02 01:15:38 +01:00
ValdikSS ValdikSS 129b7c367c nmap: fix ncat proxy mode with upstream patches
ncat utility from nmap package has a bug in 7.90 and 7.91 version which
prevent it from working via proxy.

Signed-off-by: ValdikSS ValdikSS <iam@valdikss.org.ru>
2023-06-20 17:00:42 +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