svn commit: r434315 - head/security/luasec-51

Bryan Drewery bdrewery at FreeBSD.org
Sat Feb 18 03:00:36 UTC 2017


This breaks "index" for package building:

[00:02:20] ====>> Error: Duplicated origin for lua52-luasec-0.6:
security/luasec AND security/luasec-51.

Meaning both origins have the same PKGNAME now.

Before update:
~/svn/ports/security/luasec # make -C ../luasec-51 -V PKGNAME
lua51-luasec-0.6

After:
~/svn/ports/security/luasec # make -C ../luasec-51 -V PKGNAME
lua52-luasec-0.6

I've fixed luasec-51 to have 'lua51' again in r434326.


On 2/17/17 1:04 PM, David Thiel wrote:
> Author: lx
> Date: Fri Feb 17 21:04:38 2017
> New Revision: 434315
> URL: https://svnweb.freebsd.org/changeset/ports/434315
> 
> Log:
>   Turn into a slave port.
>   
>   Submitted by:	lifanof
> 
> Deleted:
>   head/security/luasec-51/distinfo
>   head/security/luasec-51/pkg-descr
>   head/security/luasec-51/pkg-plist
> Modified:
>   head/security/luasec-51/Makefile
> 
> Modified: head/security/luasec-51/Makefile
> ==============================================================================
> --- head/security/luasec-51/Makefile	Fri Feb 17 20:49:22 2017	(r434314)
> +++ head/security/luasec-51/Makefile	Fri Feb 17 21:04:38 2017	(r434315)
> @@ -1,47 +1,13 @@
>  # Created by: Andrew Lewis <freeghb at gmail.com>
>  # $FreeBSD$
>  
> -PORTNAME=	luasec
> -PORTVERSION=	0.6
> -DISTVERSIONPREFIX=	${PORTNAME}-
> -CATEGORIES=	security
> -PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
> +COMMENT=	LuaSec for Lua 5.1
>  
> -MAINTAINER=	lx at FreeBSD.org
> -COMMENT=	Lua binding for the OpenSSL library to provide TLS/SSL communication
> +SLAVE_PORT=	luasec
>  
> -LICENSE=	MIT
> +USES=	lua:51 ssl
>  
> -USE_GITHUB=	yes
> -GH_ACCOUNT=	brunoos
> +MASTERDIR=	${.CURDIR}/../luasec
> +PLIST=	${MASTERDIR}/pkg-plist
>  
> -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
> -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
> -
> -.include <bsd.port.pre.mk>
> -
> -.if ${SSL_DEFAULT:Mopenssl-devel}
> -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>
> +.include "${MASTERDIR}/Makefile"
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170217/f8ebdbeb/attachment.sig>


More information about the svn-ports-all mailing list