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:           Fri Jan  3 13:49:26 UTC 2025

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

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

2.5 (2024-12-19)

- **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.
- Raised the minimum lxml-html-clean version to 0.4 because of a reported
  vulnerability. We were already compatible, but enforcing the lower bound
  makes sense.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 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.12 pkgsrc/textproc/py-html-sanitizer/Makefile:1.13
--- pkgsrc/textproc/py-html-sanitizer/Makefile:1.12     Mon May 27 14:41:38 2024
+++ pkgsrc/textproc/py-html-sanitizer/Makefile  Fri Jan  3 13:49:26 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2024/05/27 14:41:38 adam Exp $
+# $NetBSD: Makefile,v 1.13 2025/01/03 13:49:26 adam Exp $
 
-DISTNAME=      html_sanitizer-2.4.4
+DISTNAME=      html_sanitizer-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    textproc converters python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/html-sanitizer/}
@@ -13,11 +13,9 @@ LICENSE=     modified-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=5.2:../../textproc/py-lxml
-DEPENDS+=      ${PYPKGPREFIX}-lxml-html-clean>=0.1:../../textproc/py-lxml-html-clean
+DEPENDS+=      ${PYPKGPREFIX}-lxml-html-clean>=0.4:../../textproc/py-lxml-html-clean
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-html-sanitizer/distinfo
diff -u pkgsrc/textproc/py-html-sanitizer/distinfo:1.12 pkgsrc/textproc/py-html-sanitizer/distinfo:1.13
--- pkgsrc/textproc/py-html-sanitizer/distinfo:1.12     Mon May 27 14:41:38 2024
+++ pkgsrc/textproc/py-html-sanitizer/distinfo  Fri Jan  3 13:49:26 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2024/05/27 14:41:38 adam Exp $
+$NetBSD: distinfo,v 1.13 2025/01/03 13:49:26 adam Exp $
 
-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
+BLAKE2s (html_sanitizer-2.5.0.tar.gz) = f571d844dcf42a71af2291b55c09119aa6ec22cece2e3d0913a7203000e284fe
+SHA512 (html_sanitizer-2.5.0.tar.gz) = 37bd7184ec207403cdbb0c9a1eceddd20751a1193d2da0004d811bf0bb814181f5d6e207f3e94ac74603281a7ae7355651e818d6b8cc05154a06eb09e08b9203
+Size (html_sanitizer-2.5.0.tar.gz) = 17489 bytes



Home | Main Index | Thread Index | Old Index