pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/lua-web-sanitize
Module Name: pkgsrc
Committed By: nia
Date: Wed Jul 13 08:44:24 UTC 2022
Modified Files:
pkgsrc/www/lua-web-sanitize: Makefile PLIST distinfo
Log Message:
lua-web-sanitize: Update to 1.3.0. Fix running tests.
This update includes a fix for the stack overflow (too many captures) error produced by LPeg when parsing too large of an input.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/lua-web-sanitize/Makefile \
pkgsrc/www/lua-web-sanitize/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/lua-web-sanitize/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/lua-web-sanitize/Makefile
diff -u pkgsrc/www/lua-web-sanitize/Makefile:1.2 pkgsrc/www/lua-web-sanitize/Makefile:1.3
--- pkgsrc/www/lua-web-sanitize/Makefile:1.2 Thu Dec 9 15:16:11 2021
+++ pkgsrc/www/lua-web-sanitize/Makefile Wed Jul 13 08:44:24 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/12/09 15:16:11 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/07/13 08:44:24 nia Exp $
-DISTNAME= web_sanitize-1.1.0
+DISTNAME= web_sanitize-1.3.0
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/_/-/g}
CATEGORIES= www lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=leafo/}
@@ -15,6 +15,11 @@ LICENSE= mit
USE_LANGUAGES= # none
NO_BUILD= yes
+LUA_USE_BUSTED= yes
+
+TEST_DEPENDS+= ${LUA_PKGPREFIX}-moonscript-[0-9]*:../../lang/lua-moonscript
+TEST_DEPENDS+= ${LUA_PKGPREFIX}-cjson-[0-9]*:../../textproc/lua-cjson
+
INSTALLATION_DIRS+= ${LUA_LDIR}
INSTALLATION_DIRS+= ${LUA_LDIR}/web_sanitize
INSTALLATION_DIRS+= ${LUA_LDIR}/web_sanitize/query
@@ -27,8 +32,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/web_sanitize/query/*.lua \
${DESTDIR}${PREFIX}/${LUA_LDIR}/web_sanitize/query
-do-test:
- cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
+pre-test:
+ ${PREFIX}/bin/moonc${_LUA_DOT_VERSION} ${WRKSRC}/spec/*.moon
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/lua-web-sanitize/PLIST
diff -u pkgsrc/www/lua-web-sanitize/PLIST:1.2 pkgsrc/www/lua-web-sanitize/PLIST:1.3
--- pkgsrc/www/lua-web-sanitize/PLIST:1.2 Thu Dec 9 15:16:11 2021
+++ pkgsrc/www/lua-web-sanitize/PLIST Wed Jul 13 08:44:24 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/12/09 15:16:11 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/07/13 08:44:24 nia Exp $
${LUA_LDIR}/web_sanitize.lua
${LUA_LDIR}/web_sanitize/css.lua
${LUA_LDIR}/web_sanitize/css_types.lua
@@ -7,6 +7,7 @@ ${LUA_LDIR}/web_sanitize/data.lua
${LUA_LDIR}/web_sanitize/html.lua
${LUA_LDIR}/web_sanitize/html_named_entities.lua
${LUA_LDIR}/web_sanitize/init.lua
+${LUA_LDIR}/web_sanitize/patterns.lua
${LUA_LDIR}/web_sanitize/query.lua
${LUA_LDIR}/web_sanitize/query/parse_query.lua
${LUA_LDIR}/web_sanitize/query/scan_html.lua
Index: pkgsrc/www/lua-web-sanitize/distinfo
diff -u pkgsrc/www/lua-web-sanitize/distinfo:1.4 pkgsrc/www/lua-web-sanitize/distinfo:1.5
--- pkgsrc/www/lua-web-sanitize/distinfo:1.4 Thu Dec 9 15:16:11 2021
+++ pkgsrc/www/lua-web-sanitize/distinfo Wed Jul 13 08:44:24 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/12/09 15:16:11 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/07/13 08:44:24 nia Exp $
-BLAKE2s (web_sanitize-1.1.0.tar.gz) = 980719a2f743e7387945157a456096c0ae38019e226ac8600a0155e8036f2d24
-SHA512 (web_sanitize-1.1.0.tar.gz) = a9e70636068c807c72b2aadc07b9878202cfc988c40676af4a08565133cefd0f6fa416f2455fa6071969779e133c409499c85611854f3c1354ea820fbfc4dcd1
-Size (web_sanitize-1.1.0.tar.gz) = 44387 bytes
+BLAKE2s (web_sanitize-1.3.0.tar.gz) = 13a976c5121c181fbd00e41c75550d329e15e50b25a35168b6a3f472bcc426a1
+SHA512 (web_sanitize-1.3.0.tar.gz) = b842d4f2cc07bd3a4cda1c57ff8c8684c1318feb22673cfeaa5a0960e5801ec21f5b9a8c16832eeb8dad0954f9e87d241694789ccf431d69c0bb9fba01c81a64
+Size (web_sanitize-1.3.0.tar.gz) = 55057 bytes
Home |
Main Index |
Thread Index |
Old Index