Diff nmap-7.97 with a nmap-9999
| /usr/portage/net-analyzer/nmap/nmap-9999.ebuild 2026-05-20 19:17:03.704245545 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 8 | 8 |
DISTUTILS_OPTIONAL=1 |
| 9 | 9 |
DISTUTILS_SINGLE_IMPL=1 |
| 10 | 10 |
DISTUTILS_USE_PEP517=setuptools |
| 11 |
PYTHON_COMPAT=( python3_{11..13} )
|
|
| 11 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 12 | 12 |
PLOCALES="de es fr hi hr hu id it ja pl pt_BR pt_PR ro ru sk zh" |
| 13 | 13 |
PLOCALE_BACKUP="en" |
| 14 | 14 |
inherit autotools distutils-r1 lua-single plocale toolchain-funcs |
| ... | ... | |
| 30 | 30 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
| 31 | 31 |
fi |
| 32 | 32 | |
| 33 |
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-7.97-patches-1.tar.xz"
|
|
| 33 |
SRC_URI+=" https://distfiles.gentoo.org/pub/dev/dilfridge@gentoo.org/${CATEGORY}/${PN}/${PN}-7.99-patches-1.tar.xz"
|
|
| 34 | 34 | |
| 35 | 35 |
# https://github.com/nmap/nmap/issues/2199 |
| 36 | 36 |
LICENSE="NPSL-0.95" |
| 37 | 37 |
SLOT="0" |
| 38 |
IUSE="ipv6 libssh2 ncat ndiff nping nls +nse ssl symlink zenmap" |
|
| 38 |
IUSE="libssh2 ncat ndiff nping nls +nse ssl symlink zenmap" |
|
| 39 | 39 |
REQUIRED_USE=" |
| 40 | 40 |
${PYTHON_REQUIRED_USE}
|
| 41 | 41 |
nse? ( ${LUA_REQUIRED_USE} )
|
| ... | ... | |
| 84 | 84 |
fi |
| 85 | 85 | |
| 86 | 86 |
PATCHES=( |
| 87 |
"${WORKDIR}"/${PN}-7.97-patches-2
|
|
| 87 |
"${WORKDIR}"/${PN}-7.99-patches-1
|
|
| 88 | 88 |
) |
| 89 | 89 | |
| 90 | 90 |
pkg_setup() {
|
| ... | ... | |
| 139 | 139 |
python_setup |
| 140 | 140 | |
| 141 | 141 |
local myeconfargs=( |
| 142 |
$(use_enable ipv6) |
|
| 142 |
--enable-ipv6 |
|
| 143 | 143 |
$(use_enable nls) |
| 144 | 144 |
$(use_with libssh2) |
| 145 | 145 |
$(use_with ncat) |
| ... | ... | |
| 154 | 154 |
# The bundled libdnet is incompatible with the version available in the |
| 155 | 155 |
# tree, so we cannot use the system library here. |
| 156 | 156 |
--with-libdnet=included |
| 157 |
--with-libpcre="${ESYSROOT}"/usr
|
|
| 158 | 157 |
--without-dpdk |
| 159 | 158 |
) |
| 160 | 159 | |