Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 16:22:01 GMT
From:      Benjamin Podszun <dar@darklajid.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188230: Bump textproc/luaexpat to 1.3.0
Message-ID:  <201404031622.s33GM1po055680@cgiserv.freebsd.org>
Resent-Message-ID: <201404031630.s33GU0FE079062@freefall.freebsd.org>

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

>Number:         188230
>Category:       ports
>Synopsis:       Bump textproc/luaexpat to 1.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 16:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Benjamin Podszun
>Release:        10-Release
>Organization:
>Environment:
FreeBSD freebsd_build 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
luaexpat upstream released 1.3.0 (and new versions of prosody warn if you use a previous version, due to a potential DDOS attack).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 350017)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	luaexpat
-PORTVERSION=	1.2.0
+PORTVERSION=	1.3.0
 CATEGORIES=	textproc
 MASTER_SITES=	http://matthewwild.co.uk/projects/luaexpat/ \
 				http://redundancy.redundancy.org/mirror/
@@ -14,18 +14,12 @@
 LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
 
 USES=		gmake
-MAKEFILE=	makefile
 ALL_TARGET=	lib
-USE_LUA=	5.0-5.1
-LUA_PREMK=	yes
+USE_LUA=	5.1-5.2
 WANT_LUA_VER=	5.1
 
 CFLAGS+=	-fPIC
+LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_ENV=	LUA_CDIR=${LUA_MODLIBDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_INC="-I${LUA_INCDIR}" EXPAT_INC="-I${LOCALBASE}/include"
 
-.include <bsd.port.pre.mk>
-
-.if ${LUA_VER} == 5.0
-BUILD_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 350017)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (luaexpat-1.2.0.tar.gz) = 2a7140e9c1923510639e87b60e85d7ddd0cd4e27561663bd9d4031ef90bae5ef
-SIZE (luaexpat-1.2.0.tar.gz) = 28621
+SHA256 (luaexpat-1.3.0.tar.gz) = d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3
+SIZE (luaexpat-1.3.0.tar.gz) = 29567
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 350017)
+++ pkg-plist	(working copy)
@@ -1,4 +1,3 @@
 %%LUA_MODLIBDIR%%/lxp.so
-%%LUA_MODLIBDIR%%/lxp.so.1.2.0
 %%LUA_MODSHAREDIR%%/lxp/lom.lua
-@dirrm share/lua/5.1/lxp
+@dirrm %%LUA_MODSHAREDIR%%/lxp


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



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