pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-html-sanitizer



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 27 14:41:38 UTC 2024

Modified Files:
        pkgsrc/textproc/py-html-sanitizer: Makefile distinfo

Log Message:
py-html-sanitizer: updated to 2.4.4

Next version

- **Vulnerability:** Fixed an issue where normalizing unicode too late in the
  process would keep disallowed tags when using specially crafted HTML. Fixed
  in 2.4.2.
- Fixed missing whitespace while merging adjacent tags.

2.4 (2024-04-01)

- Fixed an edge case where ``br`` tag attributes weren't removed if the br tag
  appears first.
- Updated the ``lxml`` dependency to 5.2 and added the now-required
  ``lxml[html_clean]`` extra.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/py-html-sanitizer/Makefile \
    pkgsrc/textproc/py-html-sanitizer/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-html-sanitizer/Makefile
diff -u pkgsrc/textproc/py-html-sanitizer/Makefile:1.11 pkgsrc/textproc/py-html-sanitizer/Makefile:1.12
--- pkgsrc/textproc/py-html-sanitizer/Makefile:1.11     Mon Mar 11 06:55:41 2024
+++ pkgsrc/textproc/py-html-sanitizer/Makefile  Mon May 27 14:41:38 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2024/03/11 06:55:41 adam Exp $
+# $NetBSD: Makefile,v 1.12 2024/05/27 14:41:38 adam Exp $
 
-DISTNAME=      html_sanitizer-2.3.1
+DISTNAME=      html_sanitizer-2.4.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    textproc converters python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/html-sanitizer/}
@@ -12,7 +12,8 @@ LICENSE=      modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
-DEPENDS+=      ${PYPKGPREFIX}-lxml>=4.9.1:../../textproc/py-lxml
+DEPENDS+=      ${PYPKGPREFIX}-lxml>=5.2:../../textproc/py-lxml
+DEPENDS+=      ${PYPKGPREFIX}-lxml-html-clean>=0.1:../../textproc/py-lxml-html-clean
 
 USE_LANGUAGES= # none
 
Index: pkgsrc/textproc/py-html-sanitizer/distinfo
diff -u pkgsrc/textproc/py-html-sanitizer/distinfo:1.11 pkgsrc/textproc/py-html-sanitizer/distinfo:1.12
--- pkgsrc/textproc/py-html-sanitizer/distinfo:1.11     Mon Mar 11 06:55:41 2024
+++ pkgsrc/textproc/py-html-sanitizer/distinfo  Mon May 27 14:41:38 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2024/03/11 06:55:41 adam Exp $
+$NetBSD: distinfo,v 1.12 2024/05/27 14:41:38 adam Exp $
 
-BLAKE2s (html_sanitizer-2.3.1.tar.gz) = 65e380c88a1c00da722866ebb22e2292a4997c448ab0bf4f0cf4cd5bd92bcc2f
-SHA512 (html_sanitizer-2.3.1.tar.gz) = 3c36f35f153afb4b4391cfdf52f59986d1a0766cf978a3e84f7e097ae7bf7722589974837c1cb8e87af07bdae6ea586cdbc5337dcc1902e5b174faa61c798bb7
-Size (html_sanitizer-2.3.1.tar.gz) = 16964 bytes
+BLAKE2s (html_sanitizer-2.4.4.tar.gz) = a864b6360f92b896409bef2f2acc706a83e89d4c30db7586d9f294c543ba3193
+SHA512 (html_sanitizer-2.4.4.tar.gz) = a10bbe3b14844695a6de31b1f02d18748563bfae2bc76b726b56a606ee470fb07873cfc511a1698075a1476fcceef42ebdf2750afa5288cca01cdd27daec4eb7
+Size (html_sanitizer-2.4.4.tar.gz) = 17257 bytes



Home | Main Index | Thread Index | Old Index