Date: Thu, 30 Jul 2009 21:14:02 GMT From: Andrew Lewis <freeghb@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137277: Update port: security/luasec to 0.3.3 Message-ID: <200907302114.n6ULE2Qj077607@www.freebsd.org> Resent-Message-ID: <200907302120.n6ULK0dn045303@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137277 >Category: ports >Synopsis: Update port: security/luasec to 0.3.3 >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: Thu Jul 30 21:20:00 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 to 0.3.3 Remove all patches Change maintainer >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN /usr/ports/security/luasec/Makefile /var/ports/security/luasec/Makefile --- /usr/ports/security/luasec/Makefile 2009-07-20 16:53:17.000000000 +0000 +++ /var/ports/security/luasec/Makefile 2009-07-30 20:58:11.000000000 +0000 @@ -6,13 +6,13 @@ # PORTNAME= luasec -PORTVERSION= 0.3.2 -PORTREVISION= 1 +PORTVERSION= 0.3.3 CATEGORIES= security MASTER_SITES= http://luaforge.net/frs/download.php/4059/ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} +WRKSRC= ${WRKDIR}/luasec-0.3.2 -MAINTAINER= freeghb@gmail.com +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 diff -ruN /usr/ports/security/luasec/distinfo /var/ports/security/luasec/distinfo --- /usr/ports/security/luasec/distinfo 2009-07-14 06:07:51.000000000 +0000 +++ /var/ports/security/luasec/distinfo 2009-07-30 20:45:43.000000000 +0000 @@ -1,3 +1,3 @@ -MD5 (luasec-0.3.2.tar.gz) = ee74c2578a1eb594b889eeba7a3b57f0 -SHA256 (luasec-0.3.2.tar.gz) = 1a2f677aa94f42a886da31538f7f7e60b126fcf624663e4b06eaa03a7e428ef5 -SIZE (luasec-0.3.2.tar.gz) = 26467 +MD5 (luasec-0.3.3.tar.gz) = ee74c2578a1eb594b889eeba7a3b57f0 +SHA256 (luasec-0.3.3.tar.gz) = 1a2f677aa94f42a886da31538f7f7e60b126fcf624663e4b06eaa03a7e428ef5 +SIZE (luasec-0.3.3.tar.gz) = 26467 diff -ruN /usr/ports/security/luasec/files/patch-Makefile /var/ports/security/luasec/files/patch-Makefile --- /usr/ports/security/luasec/files/patch-Makefile 2009-07-20 16:53:17.000000000 +0000 +++ /var/ports/security/luasec/files/patch-Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ ---- Makefile.orig 2009-05-09 19:11:47.000000000 +0400 -+++ Makefile 2009-07-16 22:01:50.000000000 +0400 -@@ -1,6 +1,6 @@ - # Inform the location to intall the modules --LUAPATH=/usr/local/share/lua/5.1 --CPATH=/usr/local/lib/lua/5.1 -+LUAPATH?=/usr/local/share/lua/5.1 -+CPATH?=/usr/local/lib/lua/5.1 - - # Edit the lines below to inform new path, if necessary - # diff -ruN /usr/ports/security/luasec/files/patch-src-Makefile /var/ports/security/luasec/files/patch-src-Makefile --- /usr/ports/security/luasec/files/patch-src-Makefile 2009-07-20 16:53:17.000000000 +0000 +++ /var/ports/security/luasec/files/patch-src-Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ ---- src/Makefile.orig 2009-05-09 19:11:47.000000000 +0400 -+++ src/Makefile 2009-07-16 21:43:41.000000000 +0400 -@@ -13,8 +13,8 @@ - - WARN=-Wall -pedantic - --BSD_CFLAGS=-O2 -fpic $(WARN) $(INCDIR) $(DEFS) --BSD_LDFLAGS=-O -shared -fpic $(LIBDIR) -+BSD_CFLAGS=-fpic $(WARN) $(INCDIR) $(DEFS) -+BSD_LDFLAGS=-shared -fpic $(LIBDIR) - - LNX_CFLAGS=-O2 -fpic $(WARN) $(INCDIR) $(DEFS) - LNX_LDFLAGS=-O -shared -fpic $(LIBDIR) -@@ -24,10 +24,10 @@ - MAC_LDFLAGS=-bundle -undefined dynamic_lookup $(LIBDIR) - - CP=cp --CC=gcc -+CC?=gcc - LD=$(MYENV) gcc --CFLAGS=$(MYCFLAGS) --LDFLAGS=$(MYLDFLAGS) -+CFLAGS+=$(MYCFLAGS) -+LDFLAGS+=$(MYLDFLAGS) - - .PHONY: all clean install none linux bsd macosx - diff -ruN /usr/ports/security/luasec/files/patch-src-ssl.c /var/ports/security/luasec/files/patch-src-ssl.c --- /usr/ports/security/luasec/files/patch-src-ssl.c 2009-07-20 16:53:17.000000000 +0000 +++ /var/ports/security/luasec/files/patch-src-ssl.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ ---- src/ssl.c.orig 2009-05-09 19:11:47.000000000 +0400 -+++ src/ssl.c 2009-07-16 21:44:52.000000000 +0400 -@@ -67,6 +67,7 @@ - if (ssl->state == ST_SSL_CLOSED) - return IO_CLOSED; - for ( ; ; ) { -+ ERR_clear_error(); - int err = SSL_do_handshake(ssl->ssl); - ssl->error = SSL_get_error(ssl->ssl, err); - switch(ssl->error) { -@@ -109,6 +110,7 @@ - return IO_CLOSED; - *sent = 0; - for ( ; ; ) { -+ ERR_clear_error(); - int err = SSL_write(ssl->ssl, data, (int) count); - ssl->error = SSL_get_error(ssl->ssl, err); - switch(ssl->error) { -@@ -151,6 +153,7 @@ - return IO_CLOSED; - *got = 0; - for ( ; ; ) { -+ ERR_clear_error(); - int err = SSL_read(ssl->ssl, data, (int) count); - ssl->error = SSL_get_error(ssl->ssl, err); - switch(ssl->error) { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907302114.n6ULE2Qj077607>