Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Point the install notes at distribution packages
Debian, Ubuntu, Fedora and Alpine package luaossl, luaposix and lpeg
for the Lua versions they ship, which leaves LuaRocks for the rest.
Scintillua comes as a release zip whose lexers directory is what the
filter looks for, so its steps say where to put that.
Diffstat (limited to 'custom/extensions/email-libravatar.lua')
| -rw-r--r-- | custom/extensions/email-libravatar.lua | 25 |
1 file changed, 14 insertions, 11 deletions
diff --git a/custom/extensions/email-libravatar.lua b/custom/extensions/email-libravatar.lua index 79794a7..edf4733 100644 --- a/custom/extensions/email-libravatar.lua +++ b/custom/extensions/email-libravatar.lua @@ -6,21 +6,24 @@ -- email-filter=lua:/path/to/email-libravatar.lua -- -- Runs on Lua 5.1 through 5.5 and LuaJIT, where 5.5 needs luaossl 20260910 or --- later, since earlier builds fail to load there. +-- later, or a build patched for 5.5 such as Alpine's, since earlier releases +-- fail to load there. -- -- The one dependency is luaossl, the OpenSSL binding that provides --- openssl.digest, from <https://github.com/wahern/luaossl>. The reliable --- cross-platform install is LuaRocks, matched to the Lua version cgit is built --- against, and it needs the OpenSSL development headers present. Without it --- the filter draws no icons, leaving the names as they are, and says so in the --- error log. +-- openssl.digest, from <https://github.com/wahern/luaossl>, built for the Lua +-- cgit is linked against. Without it the filter draws no icons, leaving the +-- names as they are, and says so in the error log. -- --- # Debian and Ubuntu --- sudo apt install luarocks libssl-dev --- sudo luarocks --lua-version 5.1 install luaossl +-- # Debian and Ubuntu, for Lua 5.1 to 5.4 and LuaJIT +-- sudo apt install lua-luaossl +-- +-- # Fedora, for Lua 5.4, or lua5.1-luaossl for LuaJIT +-- sudo dnf install lua-luaossl +-- +-- # Alpine, named for the Lua version, 5.1 for LuaJIT +-- sudo apk add lua5.5-ossl -- --- # Fedora --- sudo dnf install luarocks openssl-devel +-- # elsewhere, LuaRocks matched to that Lua, with the OpenSSL headers -- sudo luarocks --lua-version 5.1 install luaossl -- -- # macOS with Homebrew |
