mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
security/luasec: update to 0.9
- change DISTVERSIONPREFIX due to GitHub naming - reorder variable assignment to make portlint more happy - update MAKE_ENV to no longer depend on post-patch and do-install - update broken WWW link Changelog: https://github.com/brunoos/luasec/blob/v0.9/CHANGELOG PR: 243919 Approved by: koobs (mentor), bapt (mentor) Approved by: portmgr (maintainer timeout: > 2 weeks) Differential Revision: https://reviews.freebsd.org/D23823
This commit is contained in:
parent
4c2c12c8bf
commit
d9a7418f32
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527348
@ -2,8 +2,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= luasec
|
||||
PORTVERSION= 0.8
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
PORTVERSION= 0.9
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= security
|
||||
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
||||
|
||||
@ -12,32 +12,18 @@ COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
.if !defined(SLAVE_PORT)
|
||||
USES= lua ssl
|
||||
.endif
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= brunoos
|
||||
|
||||
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} LIBDIR="${LIBDIR}"
|
||||
.if !defined(SLAVE_PORT)
|
||||
USES= lua ssl
|
||||
.endif
|
||||
MAKE_ENV+= LUAPATH=${LUA_MODSHAREDIR} LUACPATH=${LUA_MODLIBDIR} \
|
||||
INC_PATH=-I${LUA_INCDIR} LIB_PATH=-L${LUA_LIBDIR} \
|
||||
DESTDIR=${STAGEDIR}
|
||||
CFLAGS+= -I${OPENSSLINC} -DOPENSSL_NO_SSL3
|
||||
LDFLAGS+= -L${OPENSSLLIB}
|
||||
|
||||
post-patch: .SILENT
|
||||
${REINPLACE_CMD} -Ee '/\(INSTALL\)/s/-D //' \
|
||||
-e '/^LDFLAGS/s/\+=/=/' \
|
||||
-e 's/LUAPATH/LUA_MODSHAREDIR/' \
|
||||
-e 's/LUACPATH/LUA_MODLIBDIR/' \
|
||||
${WRKSRC}/src/Makefile
|
||||
${REINPLACE_CMD} -Ee '/^(INC|LIB)DIR/s/[^?]=/?=/' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
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.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1565734012
|
||||
SHA256 (brunoos-luasec-luasec-0.8_GH0.tar.gz) = 80ef0f41e146c4c4914c910c992043e46f284b134574061556f040ac738f7d27
|
||||
SIZE (brunoos-luasec-luasec-0.8_GH0.tar.gz) = 51209
|
||||
TIMESTAMP = 1580913778
|
||||
SHA256 (brunoos-luasec-v0.9_GH0.tar.gz) = 6b6b94e8517bf6baf545fad29a2112f9ac7957ad85b4aae8e0727bec77d7a325
|
||||
SIZE (brunoos-luasec-v0.9_GH0.tar.gz) = 52163
|
||||
|
@ -3,4 +3,4 @@ version delegates to LuaSocket the TCP connection establishment between the
|
||||
client and server. Then LuaSec uses this connection to start a secure TLS/SSL
|
||||
session.
|
||||
|
||||
WWW: http://www.inf.puc-rio.br/~brunoos/luasec/
|
||||
WWW: https://github.com/brunoos/luasec
|
||||
|
Loading…
Reference in New Issue
Block a user