mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
luasec: update to 0.5 to fix memory leak hit by prosody
Noted in luasec 0.4.1 Changelog: Activate SSL_MODE_RELEASE_BUFFERS by default if it is available (thanks Prosody project) Update to latest 0.5 to fix a few other leaks. luasec moved to github, so update URL and license info. Move package maintainer to correct place in Makefile, hope he is okay with it. Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- luasec-luasec-0.5-old/src/luasocket/Makefile 2014-01-29 21:43:33.000000000 +0100
|
||||
+++ luasec-luasec-0.5/src/luasocket/Makefile 2014-11-30 13:07:44.850051000 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
CC ?= cc
|
||||
CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG
|
||||
-AR := ar rcu
|
||||
+AR ?= ar
|
||||
RANLIB ?= ranlib
|
||||
|
||||
.PHONY: all clean
|
||||
@@ -14,7 +14,7 @@
|
||||
all: libluasocket.a
|
||||
|
||||
libluasocket.a: $(OBJS)
|
||||
- $(AR) $@ $(OBJS)
|
||||
+ $(AR) rcu $@ $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
clean:
|
||||
Reference in New Issue
Block a user