Commit Graph

20 Commits

Author SHA1 Message Date
W. Michael Petullo ab262a75da luasec: update to 1.3.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2024-01-02 14:53:09 -08:00
W. Michael Petullo e24a92498e luasec: update to 1.3.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:16:26 +08:00
W. Michael Petullo 38f2618c78 luasec: update to 1.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-22 16:26:16 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 71f82ad771
luasec: Update to 0.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-31 21:27:14 -08:00
W. Michael Petullo b9e7e3c98e luasec: update to 0.8.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-10-13 16:43:02 -04:00
W. Michael Petullo d9c2669fc0 luasec: update to 0.8
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-04-27 23:22:12 -04:00
Eneas U de Queiroz aa2f0987d6
luasec: cleanup Makefile
The LIBDIR and INCDIR assignments are duplicate of the original
Makefile, changing LIB_PATH and INC_PATH to LDFLAGS and CPPFLAGS.

Setting LIB_PATH and INC_PATH to empty strings will do the same
without duplicating the flags.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-04-03 18:00:23 -03:00
Eneas U de Queiroz e3f1532297
luasec: use gcc to link instead of ld
Linking with ld is not portable and was causing problems for some
targets, e.g. i386_pentium4:
i486-openwrt-linux-musl-ld: x509.o: in function `push_asn1_objname':
x509.c:(.text+0x61): undefined reference to `__stack_chk_fail_local'
...

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-04-03 15:10:10 -03:00
Rosen Penev cf23dd2eb0
luasec: Replace -fPIC with $(FPIC)
Currently i386 and the PPC targets have issues linking issues.

https://github.com/openwrt/packages/issues/3319

says that replacing -fPIC with -fpic works.

Patch added to avoid package overriding settings set by toolchain and make
compilation less noisy

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-02 13:02:36 -07:00
Rosen Penev a48a5c0e26 luasec: Update to 0.7
Switched to codeload to keep a sane source name.

Backported a few useful patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-20 20:04:46 -08:00
Eneas U de Queiroz 6858948658 luasec: added openssl 1.1.0 compatibility
This patch was a backport of 0.7alpha, without changing version 0.6
functionality.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 14:08:18 -03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
W. Michael Petullo 4399f887de luasec: remove obsolete patches
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-09-16 14:04:52 -04:00
W. Michael Petullo 0c4b164998 luasec: update to 0.6
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-09-14 08:48:56 -04:00
Jo-Philipp Wich 32f6b85a52 luasec: fix build with OPENSSL_NO_COMP
Currently luasec fails to build if OpenSSL was built without compression
support due to an undefined COMP_METHOD type:

    ssl.c: In function 'meth_compression':
    ssl.c:404:9: error: unknown type name 'COMP_METHOD'
       const COMP_METHOD *comp;
             ^
    <builtin>: recipe for target 'ssl.o' failed
    make[6]: *** [ssl.o] Error 1

Add a local patch to stub the `meth_compression()` function if there is no
compression support available in the OpenSSL library in order to allow
luasec to build.

A similar fix has been added upstream with
https://github.com/brunoos/luasec/pull/30

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-09 09:35:21 +02:00
W. Michael Petullo 3059512e91 luasec: update to 0.5.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-12-30 19:23:25 -05:00
Stefan Hellermann 9c2110c7e2 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>
2014-12-08 14:43:28 +01:00
W. Michael Petullo 715be8ddc5 luasec: update URL, as it previously pointed into a redirect
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-21 16:37:13 +02:00
W. Michael Petullo f226e1620f Copy luasec package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-21 16:23:19 +02:00