git: e7844c7ae011 - main - textproc/luaexpat: Update to 1.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 16:27:38 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7844c7ae0118cf16e420ce1fa3fe5569feb4339 commit e7844c7ae0118cf16e420ce1fa3fe5569feb4339 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-02 16:19:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-02 16:19:51 +0000 textproc/luaexpat: Update to 1.5.1 - Strip shared library - Update WWW Changes: https://github.com/lunarmodules/luaexpat/releases https://lunarmodules.github.io/luaexpat/#history --- textproc/luaexpat/Makefile | 8 ++++++-- textproc/luaexpat/distinfo | 6 +++--- textproc/luaexpat/files/patch-Makefile | 16 ++++++++-------- textproc/luaexpat/pkg-descr | 2 -- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/textproc/luaexpat/Makefile b/textproc/luaexpat/Makefile index 358db244ee7a..2993cb35ebef 100644 --- a/textproc/luaexpat/Makefile +++ b/textproc/luaexpat/Makefile @@ -1,11 +1,12 @@ PORTNAME= luaexpat -PORTVERSION= 1.5.0 +PORTVERSION= 1.5.1 CATEGORIES= textproc PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SAX XML parser based on the Expat library -WWW= https://lunarmodules.github.io/luaexpat/ +WWW= https://lunarmodules.github.io/luaexpat/ \ + https://github.com/lunarmodules/luaexpat LICENSE= MIT @@ -22,4 +23,7 @@ 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} LUA_V=${LUA_VER} +post-install: + ${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/lxp.so + .include <bsd.port.mk> diff --git a/textproc/luaexpat/distinfo b/textproc/luaexpat/distinfo index 73e647986ae9..17acb0fb526a 100644 --- a/textproc/luaexpat/distinfo +++ b/textproc/luaexpat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661950838 -SHA256 (lunarmodules-luaexpat-1.5.0_GH0.tar.gz) = ae5710a948831b4260c2910f67d651e247dc3d48a228a31e1e78dd9e4a37aa48 -SIZE (lunarmodules-luaexpat-1.5.0_GH0.tar.gz) = 53520 +TIMESTAMP = 1682903042 +SHA256 (lunarmodules-luaexpat-1.5.1_GH0.tar.gz) = 7d455f154de59eb0b073c3620bc8b873f7f697b3f21a112e6ff8dc9fca6d0826 +SIZE (lunarmodules-luaexpat-1.5.1_GH0.tar.gz) = 53912 diff --git a/textproc/luaexpat/files/patch-Makefile b/textproc/luaexpat/files/patch-Makefile index 31c565b875cd..42ad927f5d63 100644 --- a/textproc/luaexpat/files/patch-Makefile +++ b/textproc/luaexpat/files/patch-Makefile @@ -1,19 +1,19 @@ ---- Makefile.orig 2022-04-01 08:20:20 UTC +--- Makefile.orig 2022-10-03 09:23:43 UTC +++ Makefile @@ -27,10 +27,12 @@ src/$(LIBNAME): - $(CC) $(CF) -o $@ src/$(T)lib.c $(LF) + $(CC) $(CF) $(RPM_OPT_FLAGS) $(RPM_LD_FLAGS) -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 +- $(INSTALL_DATA) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua +- $(INSTALL_DATA) -D src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua +- $(INSTALL_DATA) -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 ++ $(INSTALL_DATA) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua ++ $(INSTALL_DATA) src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua ++ $(INSTALL_DATA) 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 d87d1e7fe4f3..8109063588e0 100644 --- a/textproc/luaexpat/pkg-descr +++ b/textproc/luaexpat/pkg-descr @@ -10,5 +10,3 @@ 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. - -See also: https://github.com/lunarmodules/luaexpat