From owner-svn-ports-all@freebsd.org Fri Feb 17 21:04:40 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 385A1CE3F75; Fri, 17 Feb 2017 21:04:40 +0000 (UTC) (envelope-from lx@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DFD1B181E; Fri, 17 Feb 2017 21:04:39 +0000 (UTC) (envelope-from lx@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1HL4cOh012489; Fri, 17 Feb 2017 21:04:38 GMT (envelope-from lx@FreeBSD.org) Received: (from lx@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1HL4cUE012488; Fri, 17 Feb 2017 21:04:38 GMT (envelope-from lx@FreeBSD.org) Message-Id: <201702172104.v1HL4cUE012488@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lx set sender to lx@FreeBSD.org using -f From: David Thiel Date: Fri, 17 Feb 2017 21:04:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434315 - head/security/luasec-51 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2017 21:04:40 -0000 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 # $FreeBSD$ -PORTNAME= luasec -PORTVERSION= 0.6 -DISTVERSIONPREFIX= ${PORTNAME}- -CATEGORIES= security -PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} +COMMENT= LuaSec for Lua 5.1 -MAINTAINER= lx@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 - -.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 +.include "${MASTERDIR}/Makefile"