Hi.

Change of mail address, new thread with a decent title (previously: prosody update, which is sort of independent as far as I've confirmed so far).

With the attached patch luasec-0.5 builds & installs fine in my environment.

IF (capitals used for a reason..) I understand the following output correctly, there's just one (known) consumer for that port:

#pkg info -r lua51-luasec
lua51-luasec-0.4:
        prosody-0.9.2

(where prosody in this case is already bumped to the last release, I'm trying to push that in [1], as a follow-up to a 0.9.1 bump that never landed)

Would it be correct to assume that therefor the risk in bumping luasec is quite small, especially since I'm successfully _running_ prosody [2] using that port?

Being utterly clueless: What's the right procedure to move forward, especially without a dedicated maintainer for that thing? Hoping for a sponsor on this list? Should I stop the discussion here and send a PR instead - hoping that someone accepts that one?

Thanks a lot in advance,
Ben

1: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182075

2: This instance is nothing but a 'do these ports run' deployment, but
2.1 c2s results: https://xmpp.net/result.php?domain=dar-klajid.de&type=client 2.2 s2s results: https://xmpp.net/result.php?domain=dar-klajid.de&type=server

Basically this means that client and server connections work AND encryption (which is the whole point of using luasec in the first place) works quite well/gets great scores w/ the right configuration. Haven't looked into PFS support yet, but .. that's a different issue.
diff -Nur luasec.orig/Makefile luasec/Makefile
--- luasec.orig/Makefile	2014-02-06 21:33:46.000000000 +0100
+++ luasec/Makefile	2014-02-06 23:58:40.000000000 +0100
@@ -1,10 +1,12 @@
 # Created by: Andrew Lewis <free...@gmail.com>
-# $FreeBSD$
+# $FreeBSD: tags/RELEASE_10_0_0/security/luasec/Makefile 327769 2013-09-20 22:55:24Z bapt $
 
 PORTNAME=	luasec
-PORTVERSION=	0.4
+PORTVERSION=	0.5
 CATEGORIES=	security
-MASTER_SITES=	http://www.inf.puc-rio.br/~brunoos/luasec/download/
+MASTER_SITES=	https://github.com/brunoos/${PORTNAME}/archive/
+FETCH_ARGS=	-Fpr
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 
 MAINTAINER=	po...@freebsd.org
@@ -13,8 +15,8 @@
 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} \
+LIBDIR=		-L${LUA_LIBDIR} -L./luasocket
+MAKE_ENV+=	INCDIR="-I${LUA_INCDIR} -I${WRKSRC}/src" LUAPATH=${LUA_MODSHAREDIR} \
 		CPATH=${LUA_MODLIBDIR}
 USE_LUA=	5.1
 WANT_LUA_VER=	5.1
@@ -31,11 +33,12 @@
 .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]?//;}' \
+	${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.mk>
-
diff -Nur luasec.orig/distinfo luasec/distinfo
--- luasec.orig/distinfo	2014-01-16 22:07:01.000000000 +0100
+++ luasec/distinfo	2014-02-06 23:58:40.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (luasec-0.4.tar.gz) = 111732f0e646120a701d33e7d3a613a9a901c11c0a01d0805d73ef90c3f0abd5
-SIZE (luasec-0.4.tar.gz) = 27829
+SHA256 (luasec-0.5.tar.gz) = 6480598f7492ac479b6b608b5fb1488226bfa6ef675e29f6b24dbe9099083523
+SIZE (luasec-0.5.tar.gz) = 46738
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to