Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752957 - mail-filter/rspamd: migrate to lua eclasses
Summary: mail-filter/rspamd: migrate to lua eclasses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Roessner
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 752600 752612
Blocks: slotted-lua
  Show dependency tree
 
Reported: 2020-11-03 15:38 UTC by Marek Szuba
Modified: 2020-12-09 22:57 UTC (History)
2 users (show)

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


Attachments

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:38:24 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 Larry the Git Cow gentoo-dev 2020-12-09 22:57:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988d8128f29202023006ed0b299cbe6daefbebf9

commit 988d8128f29202023006ed0b299cbe6daefbebf9
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-09 22:48:46 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-09 22:57:13 +0000

    mail-filter/rspamd: migrate to lua-single.eclass
    
    Latest release and the live ebuild. Support lua5-{1..3} and luajit, as
    per upstream build scripts. Speaking of which, although the upstream
    logic for finding is the same as in FindLua.cmake (i.e. 5.3, 5.2, 5.1,
    stopping on the first one found) they use a different module which does
    support pkgconfig - so although a patch is still necessary, all it does
    is point cmake to the pkgconfig wrapper set up by lua-single.
    
    Closes: https://bugs.gentoo.org/752957
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/rspamd-2.6-cmake-lua-version.patch       |  44 ++++++++
 mail-filter/rspamd/rspamd-2.6-r100.ebuild          | 117 +++++++++++++++++++++
 mail-filter/rspamd/rspamd-9999.ebuild              |  24 +++--
 profiles/package.mask                              |   1 +
 4 files changed, 175 insertions(+), 11 deletions(-)