From nobody Sun May 22 05:17:37 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D6D4D1AEE6DD; Sun, 22 May 2022 05:17:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L5THR0HHyz3R6R; Sun, 22 May 2022 05:17:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653196659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZP3LzcAZFLK+WIWQ2l3B4C5suxSvYzJ8WEVjoonTA30=; b=Sm2gRLzJbCz48wnMACBXduoGOflcP8H7umoYoO3b/afuDhwD0zkS55JTzSkqo/wQt9+gLV QF9y36qWGiGDVuL1b1kd8X8YlOR3b6VUqgWOyYkV5fbTjnx4xnHuYXf7hRPmuVfpspoY+k zFEVRGpqwFCFwQ3Hf2GvVnw6OxsvNNeh08jFacuBtn5hyTQSnCqh8pVCBBH9KF/qpGk30x 9pcT3lavzGJZ5Epxlxed5gW/7/7AD3VKEYahFoxtmEwuLjb/ruBqNXj/YchoiqqUxcSVjJ WYf7OWc0lupLb+Gj1I2Y13ezRjOgjl8wEvy6hoc7dxrwlCnZB7hACcgy6h7h+Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4FB36154C6; Sun, 22 May 2022 05:17:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24M5Hbx7064881; Sun, 22 May 2022 05:17:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24M5Hbjf064880; Sun, 22 May 2022 05:17:37 GMT (envelope-from git) Date: Sun, 22 May 2022 05:17:37 GMT Message-Id: <202205220517.24M5Hbjf064880@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ba33b2293367 - main - textproc/luaexpat: Update to 1.4.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba33b2293367000602c9dad83e0bb322bc107c2d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653196659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZP3LzcAZFLK+WIWQ2l3B4C5suxSvYzJ8WEVjoonTA30=; b=g3eY7PFrIeEItMQPfNB1VhY+zmM0LLnIIFiWbf4lIQ/g0rYIb2XYkod5+ZKt6fSNR8HQ2N n7SmekMqmXKvQLfopxypuYHbnEFvvrgViBsGXZcu/HHSgKWO11aZFimUNbq5T+/UySeL/O f1Aw1xUO7g0xH0HaHQ+m/36dfwm1yEu/QrrmDFZ81heQQlKPjfTgjh0YdCZTB7ZEeEuWfO t4ZzBrRdhp18LpliGeYL2SAD06IHfEzUy4+uyBufTfKK+X4b5ZxpFpnXMsH4/Aq8NXEQM8 jxLDH8Lz7PVIfQusIIkCjhRbAa48Vf/akiZVX2hYR0JaYWBL4V7ovaEKZCJ6Jw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653196659; a=rsa-sha256; cv=none; b=w4lQ+jUUpBqRe9jI9TKlfYExDNGfjnWVdxpMkPe2Yj+QTtDZfGzLd3fqqUFviqlauO7JIL 6O0VZs+mS5NHRwEYLpB18Q7NDQTEF9LRMqevilc083LEUkK9qw+tDhcUvdCX9rhbCdaKSO VDfmHPLRzdiSvEFUeiEIWG3Ipw679DXFOQXBHg4WF23Cp6mfrCsGb9h11DGGLPlfQX7WNM egm7X4ecwiwa4XzOBSFeSUVCAXaWz+psDhALQkt2MMoziLFTsHbChi87WiUPRkZMmQX36M ugUh69D9tTVQREtD9HvuKMutSUhRYomdNi6jCN1n2ZHBzZpv+66gS0oAu/Sw2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba33b2293367000602c9dad83e0bb322bc107c2d commit ba33b2293367000602c9dad83e0bb322bc107c2d Author: Po-Chuan Hsieh AuthorDate: 2022-05-22 04:27:30 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-05-22 05:11:38 +0000 textproc/luaexpat: Update to 1.4.1 - Update MASTER_SITES - Update WWW - While I'm here, update pkg-descr PR: 263978 Reported by: Thomas Morper --- textproc/luaexpat/Makefile | 13 +++++++------ textproc/luaexpat/distinfo | 5 +++-- textproc/luaexpat/files/patch-Makefile | 8 ++++++-- textproc/luaexpat/pkg-descr | 18 +++++++++--------- textproc/luaexpat/pkg-plist | 2 ++ 5 files changed, 27 insertions(+), 19 deletions(-) diff --git a/textproc/luaexpat/Makefile b/textproc/luaexpat/Makefile index 60d656237f77..3fe3ada9a1c0 100644 --- a/textproc/luaexpat/Makefile +++ b/textproc/luaexpat/Makefile @@ -1,14 +1,12 @@ # Created by: Andrew Lewis PORTNAME= luaexpat -PORTVERSION= 1.3.0 -PORTREVISION= 5 +PORTVERSION= 1.4.1 CATEGORIES= textproc -MASTER_SITES= https://matthewwild.co.uk/projects/luaexpat/ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= SAX XML parser based on Expat library +COMMENT= SAX XML parser based on the Expat library LICENSE= MIT @@ -16,10 +14,13 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 USES= gmake lua:module +USE_GITHUB= yes +GH_ACCOUNT= lunarmodules + ALL_TARGET= lib CFLAGS+= -fPIC LDFLAGS+= -L${LOCALBASE}/lib -MAKE_ARGS= COMMON_CFLAGS="-Wall" -MAKE_ENV= EXPAT_INC=-I${LOCALBASE}/include LUA_CDIR=${LUA_MODLIBDIR} LUA_INC=-I${LUA_INCDIR} LUA_LDIR=${LUA_MODSHAREDIR} +MAKE_ARGS= COMMON_CFLAGS=-Wall +MAKE_ENV= EXPAT_INC=-I${LOCALBASE}/include LUA_CDIR=${LUA_MODLIBDIR} LUA_INC=-I${LUA_INCDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_V=${LUA_VER} .include diff --git a/textproc/luaexpat/distinfo b/textproc/luaexpat/distinfo index 1ee03c75366b..8cbbae800ad0 100644 --- a/textproc/luaexpat/distinfo +++ b/textproc/luaexpat/distinfo @@ -1,2 +1,3 @@ -SHA256 (luaexpat-1.3.0.tar.gz) = d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3 -SIZE (luaexpat-1.3.0.tar.gz) = 29567 +TIMESTAMP = 1653151296 +SHA256 (lunarmodules-luaexpat-1.4.1_GH0.tar.gz) = d528060d45865b44bef7215ef8a440165b668f363a4af53358389f0315a8593c +SIZE (lunarmodules-luaexpat-1.4.1_GH0.tar.gz) = 52159 diff --git a/textproc/luaexpat/files/patch-Makefile b/textproc/luaexpat/files/patch-Makefile index c6f135d16d82..31c565b875cd 100644 --- a/textproc/luaexpat/files/patch-Makefile +++ b/textproc/luaexpat/files/patch-Makefile @@ -1,15 +1,19 @@ ---- Makefile.orig 2014-04-02 23:30:37 UTC +--- Makefile.orig 2022-04-01 08:20:20 UTC +++ Makefile -@@ -27,8 +27,10 @@ src/$(LIBNAME): +@@ -27,10 +27,12 @@ src/$(LIBNAME): $(CC) $(CF) -o $@ src/$(T)lib.c $(LF) install: - $(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) - $(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua +- $(INSTALL_PROGRAM) -D src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua +- $(INSTALL_PROGRAM) -D src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua + mkdir -p $(DESTDIR)$(LUA_CDIR) + mkdir -p $(DESTDIR)$(LUA_LDIR)/$T + $(INSTALL_PROGRAM) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) + $(INSTALL_PROGRAM) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua ++ $(INSTALL_PROGRAM) src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua ++ $(INSTALL_PROGRAM) src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua clean: $(RM) src/$(LIBNAME) $(OBJS) diff --git a/textproc/luaexpat/pkg-descr b/textproc/luaexpat/pkg-descr index 322a7b4993a7..6de168aec9ed 100644 --- a/textproc/luaexpat/pkg-descr +++ b/textproc/luaexpat/pkg-descr @@ -1,15 +1,15 @@ LuaExpat is a SAX XML parser based on the Expat library. SAX is the Simple API for XML and allows programs to: - -* process a XML document incrementally, thus being able to handle huge - documents without memory penalties; -* register handler functions which are called by the parser during the +- process a XML document incrementally, thus being able to handle huge documents + without memory penalties; +- register handler functions which are called by the parser during the processing of the document, handling the document elements or text. With an event-based API like SAX the XML document can be fed to the parser in -chunks, and the parsing begins as soon as the parser receives the first -document chunk. LuaExpat reports parsing events (such as the start and end of -elements) directly to the application through callbacks. The parsing of huge -documents can benefit from this piecemeal operation. +chunks, and the parsing begins as soon as the parser receives the first document +chunk. LuaExpat reports parsing events (such as the start and end of elements) +directly to the application through callbacks. The parsing of huge documents can +benefit from this piecemeal operation. -WWW: https://www.keplerproject.org/luaexpat/ +WWW: https://lunarmodules.github.io/luaexpat/ +WWW: https://github.com/lunarmodules/luaexpat diff --git a/textproc/luaexpat/pkg-plist b/textproc/luaexpat/pkg-plist index 1957ead18ad6..0c507687f33a 100644 --- a/textproc/luaexpat/pkg-plist +++ b/textproc/luaexpat/pkg-plist @@ -1,2 +1,4 @@ %%LUA_MODLIBDIR%%/lxp.so %%LUA_MODSHAREDIR%%/lxp/lom.lua +%%LUA_MODSHAREDIR%%/lxp/threat.lua +%%LUA_MODSHAREDIR%%/lxp/totable.lua