Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828110 - mail-filter/imapfilter: should allow luajit in LUA_COMPAT
Summary: mail-filter/imapfilter: should allow luajit in LUA_COMPAT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-04 02:44 UTC by Holger Hoffstätte
Modified: 2022-06-28 09:31 UTC (History)
1 user (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 Holger Hoffstätte 2021-12-04 02:44:54 UTC
imapfilter currently does not allow luajit as Lua implementation, but works fine
with it (since it's 5.1 compatible), so luajit can be added to LUA_COMPAT.


Reproducible: Always




Simple fix:

-LUA_COMPAT=( lua5-{1..3} )
+LUA_COMPAT=( lua5-{1..3} luajit )
 
Using it right now without issue: it logs into my IMAP server and does what it's supposed to do. No need to install another Lua implementation.
Comment 1 Holger Hoffstätte 2022-06-26 19:25:25 UTC
Created a PR: https://github.com/gentoo/gentoo/pull/26082
Comment 2 Larry the Git Cow gentoo-dev 2022-06-28 09:31:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1e8ba45af1913742d440c63efde2390eca9e2c

commit 0e1e8ba45af1913742d440c63efde2390eca9e2c
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2022-06-26 19:18:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-28 09:31:38 +0000

    mail-filter/imapfilter: add 5.4 & luajit to LUA_COMPAT, correctly depend on libpcre2
    
    Closes: https://bugs.gentoo.org/828110
    Closes: https://bugs.gentoo.org/854471
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/26082
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild | 48 +++++++++++++++++++++++
 1 file changed, 48 insertions(+)