Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752774 - net-analyzer/nmap: migrate to lua eclasses
Summary: net-analyzer/nmap: migrate to lua eclasses
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
Depends on:
Blocks: 757873
  Show dependency tree
Reported: 2020-11-03 15:37 UTC by Marek Szuba
Modified: 2020-12-27 00:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2020-11-03 15:37:12 UTC
In order for Gentoo Linux to properly support side-by-side installation of
different versions of Lua (including LuaJIT), please migrate this package as
to lua.eclass (for packages which should support multiple Lua implementations
at the same time, i.e. most likely Lua modules) or lua-single.eclass (for
packages which only have to support one Lua implementation at a time). For
details, consult documentation of respective eclasses as well as
already-migrated ebuilds in the tree.

Please note that since slotted dev-lang/lua is currently masked, your
migrated ebuilds should be masked as well. There is a section of package.mask,
created in September 2020, which you can use for this purpose so that it will
be easier in the future to unmask them all in one go.

Thank you in advance for your effort!
Comment 1 Marek Szuba archtester gentoo-dev 2020-12-01 12:38:20 UTC
USE=system-lua is masked for this package (it is not compatible with lua-5.1) so while it will eventually have to be migrated to the correct eclass, it does not block the migration to slotted Lua. Resolving this as NEEDINFO as a substitute for LATER, same as with other packages in the same situation.
Comment 2 Larry the Git Cow gentoo-dev 2020-12-27 00:05:40 UTC
The bug has been closed via the following commit(s):

commit 4b3b89a166b295db16dcbee179bae41eefd8c324
Author:     Marek Szuba <>
AuthorDate: 2020-12-27 00:00:44 +0000
Commit:     Marek Szuba <>
CommitDate: 2020-12-27 00:05:32 +0000

    net-analyzer/nmap: migrate to lua-single.eclass
    The live ebuild, the latest release currently in the tree and the latest
    release available under the GPL. In all three cases, upstream build
    scripts require version 5.3 of Lua and while they do not use pkgconfig,
    they check for versioned files/directories first.
    IUSE=system-lua is still there but defaults to enabled now.
    Signed-off-by: Marek Szuba <>

 net-analyzer/nmap/nmap-7.80-r2.ebuild | 137 ++++++++++++++++++++++++++++++++++
 net-analyzer/nmap/nmap-7.91-r1.ebuild | 116 ++++++++++++++++++++++++++++
 net-analyzer/nmap/nmap-9999.ebuild    |  18 +++--
 3 files changed, 266 insertions(+), 5 deletions(-)