head	1.7;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4;
locks; strict;
comment	@# @;


1.7
date	2012.11.17.06.01.07;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2011.11.24.15.55.53;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2010.08.23.08.22.52;	author jadawin;	state Exp;
branches;
next	1.4;

1.4
date	2009.07.31.01.26.12;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	2009.07.20.16.53.17;	author amdmi3;	state Exp;
branches;
next	1.2;

1.2
date	2009.07.14.06.36.52;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2009.07.14.06.07.51;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Switch exporter over
@
text
@# New ports collection makefile for:    luasec
# Date created:				25 June 2009
# Whom:					Andrew Lewis <freeghb@@gmail.com>
#
# $FreeBSD: head/security/luasec/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	luasec
PORTVERSION=	0.4
CATEGORIES=	security
MASTER_SITES=	http://www.inf.puc-rio.br/~brunoos/luasec/download/
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}

MAINTAINER=	kelly.hays@@jkhfamily.org
COMMENT=	A Lua binding for the OpenSSL library to provide TLS/SSL communication

RUN_DEPENDS+=	${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket

ALL_TARGET=	bsd
LIBDIR=		-L${LUA_LIBDIR}
MAKE_ENV+=	INCDIR=-I${LUA_INCDIR} LUAPATH=${LUA_MODSHAREDIR} \
		CPATH=${LUA_MODLIBDIR}
USE_LUA=	5.1
WANT_LUA_VER=	5.1
USE_OPENSSL=	yes

.include <bsd.port.options.mk>

# NOTE: OSVERSION is already defined here, and USE_OPENSSL_PORT
# should be defined before pre.mk, that's why options.mk is used

.if ${OSVERSION} < 700024
USE_OPENSSL_PORT=yes
.endif

post-patch:	.SILENT
	${REINPLACE_CMD} -Ee '/^CC/s/=/?=/' \
		-e '/^LD/s/gcc/$$(CC)/' \
		-e '/^(C|LD)FLAGS/s/=/+=/' \
		-e '/^BSD/{s/-O[0-3]?//;}' \
		${WRKSRC}/src/Makefile

.include <bsd.port.mk>
@


1.6
log
@- Respect CC/CFLAGS

PR:		162533
Submitted by:	Jan Beich <jbeich@@tormail.net>
Approved by:	maintainer
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@- Update to 0.4

PR:		ports/149034
Submitted by:	Frederic Culot <frederic _AT_ culot.org>
Approved by:	maintainer
@
text
@d36 7
@


1.4
log
@1: Upgrade to 0.3.3.
2: remove all patches.
3: change MAINTAINER.

PR:		ports/137277
Submitted by:	maintainer.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.3
d11 1
a11 1
MASTER_SITES=	http://luaforge.net/frs/download.php/4160/
@


1.3
log
@- Respect CC/CFLAGS
- Use openssl from ports for older FreeBSD versions
- Add a patch to handle openssl errors properly
- While here, fix building with custom PREFIX/LOCALBASE

PR:		136793
Submitted by:	Andrew Lewis <freeghb@@gmail.com> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.3.2
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://luaforge.net/frs/download.php/4059/
d14 1
a14 1
MAINTAINER=	freeghb@@gmail.com
@


1.2
log
@- Update maintainer e-mail address

Requested by:   private e-mail
@
text
@d10 1
d22 2
a23 1
MAKE_ENV+=	INCDIR=-I${LUA_INCDIR}
d26 10
@


1.1
log
@LuaSec is a binding for OpenSSL library to provide TLS/SSL communication. This
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/

PR:		ports/136266
Submitted by:	Andrew Lewis <dru at silenceisdefeat.net>
@
text
@d3 1
a3 1
# Whom:					Andrew Lewis <dru@@silenceisdefeat.net>
d14 1
a14 1
MAINTAINER=	dru@@silenceisdefeat.net
@

