diff options
author | lx <lx@FreeBSD.org> | 2017-02-14 04:37:34 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2017-02-14 04:37:34 +0800 |
commit | bc085bc777b2da66b483420107e276fd01c6ac58 (patch) | |
tree | b2f0d035f7a313e9d5e1f66c4a19b52fbec2f080 | |
parent | dbf9309a3cc41f3554671be864fef15cee5c34a0 (diff) | |
download | freebsd-ports-gnome-bc085bc777b2da66b483420107e276fd01c6ac58.tar.gz freebsd-ports-gnome-bc085bc777b2da66b483420107e276fd01c6ac58.tar.zst freebsd-ports-gnome-bc085bc777b2da66b483420107e276fd01c6ac58.zip |
Update to 0.6.
PR: 210462
Submitted by: Piotr Kubaj
-rw-r--r-- | security/luasec/Makefile | 12 | ||||
-rw-r--r-- | security/luasec/distinfo | 5 | ||||
-rw-r--r-- | security/luasec/files/patch-src_ssl.c | 10 |
3 files changed, 13 insertions, 14 deletions
diff --git a/security/luasec/Makefile b/security/luasec/Makefile index 2218245b81d2..bdc2362c05d0 100644 --- a/security/luasec/Makefile +++ b/security/luasec/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= luasec -PORTVERSION= 0.5.1 +PORTVERSION= 0.6 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= security PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} @@ -10,6 +10,8 @@ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= lx@FreeBSD.org COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication +LICENSE= MIT + USE_GITHUB= yes GH_ACCOUNT= brunoos @@ -17,7 +19,7 @@ ALL_TARGET= bsd LIBDIR= -L${LUA_LIBDIR} -L${WRKSRC}/src/luasocket MAKE_ENV+= INCDIR="-I${LUA_INCDIR} -I${WRKSRC}/src" LUAPATH=${LUA_MODSHAREDIR} \ CPATH=${LUA_MODLIBDIR} LD=${CC} -USES= lua:51 ssl +USES= lua ssl CFLAGS+= -I${OPENSSLINC} -DOPENSSL_NO_SSL3 LDFLAGS+= -L${OPENSSLLIB} @@ -36,4 +38,10 @@ post-patch: .SILENT BROKEN= Does not build with openssl-devel .endif +do-install: + ${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/ssl ${STAGEDIR}${LUA_MODLIBDIR} + ${INSTALL_LIB} ${WRKSRC}/src/ssl.so ${STAGEDIR}${LUA_MODLIBDIR} + ${INSTALL_DATA} ${WRKSRC}/src/ssl.lua ${STAGEDIR}${LUA_MODSHAREDIR} + ${INSTALL_DATA} ${WRKSRC}/src/https.lua ${STAGEDIR}${LUA_MODSHAREDIR}/ssl + .include <bsd.port.post.mk> diff --git a/security/luasec/distinfo b/security/luasec/distinfo index 317c02c8723f..fa9eee107e37 100644 --- a/security/luasec/distinfo +++ b/security/luasec/distinfo @@ -1,2 +1,3 @@ -SHA256 (brunoos-luasec-luasec-0.5.1_GH0.tar.gz) = 6d5c5f8e0521f3194668d9a839774e079e2fd5c45b15538dc7b8cacc56719406 -SIZE (brunoos-luasec-luasec-0.5.1_GH0.tar.gz) = 46820 +TIMESTAMP = 1481113241 +SHA256 (brunoos-luasec-luasec-0.6_GH0.tar.gz) = cef3a35c18beb8a54d9c8ce6260a4cabbd9a386de8711320d084daffad0aed5d +SIZE (brunoos-luasec-luasec-0.6_GH0.tar.gz) = 51071 diff --git a/security/luasec/files/patch-src_ssl.c b/security/luasec/files/patch-src_ssl.c deleted file mode 100644 index 62616ba7d909..000000000000 --- a/security/luasec/files/patch-src_ssl.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/ssl.c.orig 2015-11-20 21:39:32 UTC -+++ src/ssl.c -@@ -15,6 +15,7 @@ - #endif - - #include <openssl/ssl.h> -+#include <openssl/comp.h> - #include <openssl/x509v3.h> - #include <openssl/x509_vfy.h> - #include <openssl/err.h> |