pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/cmark



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jan 24 08:27:49 UTC 2023

Modified Files:
        pkgsrc/textproc/cmark: Makefile distinfo
Removed Files:
        pkgsrc/textproc/cmark/patches: patch-src_cmark.h

Log Message:
cmark: updated to 0.30.3

0.30.3

* Fix quadratic complexity bug with repeated `![[]()`.
  Resolves CVE-2023-22486. Add new pathological test.

* Allow declarations with no space, as per spec.

* Set `enumi*` counter correctly in LaTeX output.

* Allow `<!DOCTYPE` to be case-insensitive. (This conforms to the
  existing spec.)

* Fixed HTML comment scanning. Need to handle this case: `<!--> and -->`.
  Since the scanner finds the longest match, we had to
  move some of the logic outside of the scanner.

* Fix quadratic parsing issue with repeated `<!--` (this was not
  introduced by the previous fix, and not in a released version of cmark).
  Resolves CVE-2023-22484. Add new pathological test.

* Update HTML comment scanner to accord with commonmark/commonmark-spec#713.

* Pathological tests: half the number of repetitions, and the timeout.
  This reduces the time needed for the pathological tests.

* Shrink `struct cmark_node`. The `internal_offset` member is
  only used for headings and can be moved to `struct cmark_heading`.
  This reduces the size of `struct cmark_node` from 112 to 104 bytes on
  64-bit systems.

* Add `-Wstrict-prototypes` and fix offending functions.

* Fix quadratic behavior involving `get_containing_block`.
  Instead of searching for the containing block, update the tight list
  status when entering a child of a list item or exiting a list.

* Fix `pathological_tests.py`:
  - Use a multiprocessing.Queue to actually get results from spawned
    tests processes.
  - Fix the `allowed_failures` test.
  - Truncate actual output when printed.
  - Prepare for testing pathological behavior of the Commonmark renderer.

* Fix source position bug with backticks (kyle).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/cmark/Makefile \
    pkgsrc/textproc/cmark/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/cmark/patches/patch-src_cmark.h

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

Modified files:

Index: pkgsrc/textproc/cmark/Makefile
diff -u pkgsrc/textproc/cmark/Makefile:1.11 pkgsrc/textproc/cmark/Makefile:1.12
--- pkgsrc/textproc/cmark/Makefile:1.11 Mon Nov 29 10:44:16 2021
+++ pkgsrc/textproc/cmark/Makefile      Tue Jan 24 08:27:49 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2021/11/29 10:44:16 cirnatdan Exp $
+# $NetBSD: Makefile,v 1.12 2023/01/24 08:27:49 adam Exp $
 
-DISTNAME=      cmark-0.30.2
-PKGREVISION=   1
+DISTNAME=      cmark-0.30.3
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jgm/}
 
Index: pkgsrc/textproc/cmark/distinfo
diff -u pkgsrc/textproc/cmark/distinfo:1.11 pkgsrc/textproc/cmark/distinfo:1.12
--- pkgsrc/textproc/cmark/distinfo:1.11 Mon Nov 29 10:44:16 2021
+++ pkgsrc/textproc/cmark/distinfo      Tue Jan 24 08:27:49 2023
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/11/29 10:44:16 cirnatdan Exp $
+$NetBSD: distinfo,v 1.12 2023/01/24 08:27:49 adam Exp $
 
-BLAKE2s (cmark-0.30.2.tar.gz) = b164ae5a797abba43c6829af282e271abe94ccecd6a347c2e8216e33320ec2fb
-SHA512 (cmark-0.30.2.tar.gz) = aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17
-Size (cmark-0.30.2.tar.gz) = 246033 bytes
+BLAKE2s (cmark-0.30.3.tar.gz) = 305d9c9d472c13eb442fb149f3a50fa3e1f1c69829213376a04f24b1456d3fd6
+SHA512 (cmark-0.30.3.tar.gz) = 27383bfef95ae1390c26aff0dd2cbca33704e7d20116bf29da4695d2c9a4146b86daba0da1e91bdb9eab95671702f885e832b3d31d51601731f1dc630df5237b
+Size (cmark-0.30.3.tar.gz) = 246916 bytes
 SHA1 (patch-src_CMakeLists.txt) = 6403931bb8c07738d4e8c0f1fc96db67c04addb4
-SHA1 (patch-src_cmark.h) = 4cc0740bc605cf701f06bf9cf1ec68348366e891



Home | Main Index | Thread Index | Old Index