Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 14:27:01 GMT
From:      Andrew Lewis <freeghb@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136793: Update port: security/luasec - Link against OpenSSL from ports
Message-ID:  <200907151427.n6FER1CR096627@www.freebsd.org>
Resent-Message-ID: <200907151430.n6FEU36R009070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136793
>Category:       ports
>Synopsis:       Update port: security/luasec - Link against OpenSSL from ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 15 14:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Lewis
>Release:        7.1-RELEASE-p6
>Organization:
Private
>Environment:
FreeBSD foo.bar 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #4: Wed Jun 24 14:25:56 UTC 2009 toor@foo.bar:/usr/obj/usr/src/sys/ADAMANTIUM71 i386
>Description:
Update security/luasec to link against OpenSSL from ports so that it works on older versions of FreeBSD, and to respect $CC and $CFLAGS per handbook.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/security/luasec/
#	/usr/ports/security/luasec/Makefile
#	/usr/ports/security/luasec/pkg-descr
#	/usr/ports/security/luasec/pkg-plist
#	/usr/ports/security/luasec/distinfo
#	/usr/ports/security/luasec/files
#	/usr/ports/security/luasec/files/patch-src-Makefile
#
echo c - /usr/ports/security/luasec/
mkdir -p /usr/ports/security/luasec/ > /dev/null 2>&1
echo x - /usr/ports/security/luasec/Makefile
sed 's/^X//' >/usr/ports/security/luasec/Makefile << '8d6f2d06b7b4bd1fddc79cd678106504'
X# New ports collection makefile for:    luasec
X# Date created:				25 June 2009
X# Whom:					Andrew Lewis <freeghb@gmail.com>
X#
X# $FreeBSD: ports/security/luasec/Makefile,v 1.2 2009/07/14 06:36:52 pgollucci Exp $
X#
X
XPORTNAME=	luasec
XPORTVERSION=	0.3.2
XCATEGORIES=	security
XMASTER_SITES=	http://luaforge.net/frs/download.php/4059/
XPKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
X
XMAINTAINER=	freeghb@gmail.com
XCOMMENT=	A Lua binding for the OpenSSL library to provide TLS/SSL communication
X
XRUN_DEPENDS+=	${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket
X
XUSE_OPENSSL=            yes
XUSE_OPENSSL_PORT=       yes
X
XALL_TARGET=	bsd
XLIBDIR=		-L${LUA_LIBDIR}
XMAKE_ENV+=	INCDIR=-I${LUA_INCDIR}
XUSE_LUA=	5.1
XWANT_LUA_VER=	5.1
X
X.include <bsd.port.mk>
8d6f2d06b7b4bd1fddc79cd678106504
echo x - /usr/ports/security/luasec/pkg-descr
sed 's/^X//' >/usr/ports/security/luasec/pkg-descr << 'e2fb1a07ae63fed550738d0ec7905389'
XLuaSec is a binding for OpenSSL library to provide TLS/SSL communication. This 
Xversion delegates to LuaSocket the TCP connection establishment between the
Xclient and server. Then LuaSec uses this connection to start a secure TLS/SSL
Xsession.
X
XWWW: http://www.inf.puc-rio.br/~brunoos/luasec/
e2fb1a07ae63fed550738d0ec7905389
echo x - /usr/ports/security/luasec/pkg-plist
sed 's/^X//' >/usr/ports/security/luasec/pkg-plist << 'e6b1ae60ab5f895f52f48951d886ca17'
X%%LUA_MODLIBDIR%%/ssl.so
X%%LUA_MODSHAREDIR%%/ssl.lua
e6b1ae60ab5f895f52f48951d886ca17
echo x - /usr/ports/security/luasec/distinfo
sed 's/^X//' >/usr/ports/security/luasec/distinfo << '0a035b00f0b270927602abd9e405187d'
XMD5 (luasec-0.3.2.tar.gz) = ee74c2578a1eb594b889eeba7a3b57f0
XSHA256 (luasec-0.3.2.tar.gz) = 1a2f677aa94f42a886da31538f7f7e60b126fcf624663e4b06eaa03a7e428ef5
XSIZE (luasec-0.3.2.tar.gz) = 26467
0a035b00f0b270927602abd9e405187d
echo c - /usr/ports/security/luasec/files
mkdir -p /usr/ports/security/luasec/files > /dev/null 2>&1
echo x - /usr/ports/security/luasec/files/patch-src-Makefile
sed 's/^X//' >/usr/ports/security/luasec/files/patch-src-Makefile << '053a11d2cabc2462b67a41b346efe88a'
X--- src/Makefile.orig	2009-07-15 13:57:17.000000000 +0000
X+++ src/Makefile	2009-07-15 13:53:25.000000000 +0000
X@@ -24,10 +24,10 @@
X MAC_LDFLAGS=-bundle -undefined dynamic_lookup $(LIBDIR)
X 
X CP=cp
X-CC=gcc
X+CC?=gcc
X LD=$(MYENV) gcc
X-CFLAGS=$(MYCFLAGS)
X-LDFLAGS=$(MYLDFLAGS)
X+CFLAGS+=$(MYCFLAGS)
X+LDFLAGS+=$(MYLDFLAGS)
X 
X .PHONY: all clean install none linux bsd macosx
X 
053a11d2cabc2462b67a41b346efe88a
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907151427.n6FER1CR096627>