From: Benoît Canet <benoit.canet.cont...@gmail.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master
lua: Upgrade LuaSec
The LuaRock repository is not up to date - the latest release it has of
LuaSec is a year old and does not successfully compile on new distributions
with Gcc 7 and new openssl.
Use the github repository.
Signed-of-by: Benoît Canet <ben...@scylladb.com>
Message-Id: <20170722105150.26589-1-ben...@scylladb.com>
---
diff --git a/modules/lua/Makefile b/modules/lua/Makefile
--- a/modules/lua/Makefile
+++ b/modules/lua/Makefile
@@ -121,9 +121,13 @@ LuaSec: $(CDIR)/ssl.lua
$(CDIR)/ssl.lua: $(LUA_ROCKS_BIN)
# Workaround because LuaRocks ignores /lib64
ifneq ("$(wildcard /usr/lib64/libssl.so*)", "")
- out/bin/luarocks install LuaSec 0.5 OPENSSL_LIBDIR=/usr/lib64
+ rm -rf luasec
+ git clone https://github.com/brunoos/luasec.git
+ cd luasec && ../out/bin/luarocks make luasec-0.6-1.rockspec
OPENSSL_LIBDIR=/usr/lib64
else
- out/bin/luarocks install LuaSec 0.5
+ rm -rf luasec
+ git clone https://github.com/brunoos/luasec.git
+ cd luasec && ../out/bin/luarocks make luasec-0.6-1.rockspec
endif
##
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.