pkgsrc-WIP-changes archive

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

Update md4c to version 0.4.8



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%netbsd.org@localhost>
Pushed By:	nros
Date:		Thu Jun 3 15:21:47 2021 +0000
Changeset:	6ad934bd6d65d93dd652bf093d7ebf723ce17506

Modified Files:
	md4c/Makefile
	md4c/distinfo
Removed Files:
	md4c/TODO
	md4c/patches/patch-src_CMakeLists.txt

Log Message:
Update md4c to version 0.4.8

Update md4c to version 0.4.8, includes our pkgsrc patch.

Changes from CHANGELOG.md:

* A HTML block started in a container block (and not explicitly finished in
  the block) could eat 1 line of actual contents.
* Fix md2html utility to output proper DOCTYPE and HTML tags when --full-html
  command line options is used, accordingly to the expected output format
  (HTML or XHTML).
* Suppress recognition of a permissive autolink if it would otherwise form a
  complete body of an outer inline link.
* Set MD_BLOCK_UL_DETAIL::mark and MD_BLOCK_OL_DETAIL::mark_delimiter
  correctly, even when the blocks are nested at the same line in a
  complicated ways.
* Avoid reading 1 character beyond the input size in some complex cases.
  (CVE-2021-30027)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6ad934bd6d65d93dd652bf093d7ebf723ce17506

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

diffstat:
 md4c/Makefile                         |  2 +-
 md4c/TODO                             |  2 --
 md4c/distinfo                         |  9 ++++-----
 md4c/patches/patch-src_CMakeLists.txt | 37 -----------------------------------
 4 files changed, 5 insertions(+), 45 deletions(-)

diffs:
diff --git a/md4c/Makefile b/md4c/Makefile
index fd8d7951cc..8423ad3c2d 100644
--- a/md4c/Makefile
+++ b/md4c/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	md4c
-GITHUB_TAG=	release-0.4.7
+GITHUB_TAG=	release-0.4.8
 DISTNAME=	${GITHUB_PROJECT}-${GITHUB_TAG}
 PKGNAME=	${DISTNAME:S/release-//}
 CATEGORIES=	textproc converters
diff --git a/md4c/TODO b/md4c/TODO
deleted file mode 100644
index 386f701de9..0000000000
--- a/md4c/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-This package has known vulnerabilities, please investigate and fix if possible:
-  CVE-2021-30027
diff --git a/md4c/distinfo b/md4c/distinfo
index 7d7f84b01a..ffab4af411 100644
--- a/md4c/distinfo
+++ b/md4c/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-SHA1 (md4c/md4c-release-0.4.7.tar.gz) = 9b85772b0a4fbed49d718086d52092e6fe84a58f
-RMD160 (md4c/md4c-release-0.4.7.tar.gz) = 180ee3c94c60a33cea56d81b67b1e1537d9f0a0b
-SHA512 (md4c/md4c-release-0.4.7.tar.gz) = 90e6f4c91ff5a0faafcea3e50f6a3f3ed6ba9a42cb779b373e82b8a6a09ed4b19ed7221036a4a32171aa5ef19ee6824d3830fb9ab613bd59174b7db51bd1099b
-Size (md4c/md4c-release-0.4.7.tar.gz) = 228223 bytes
-SHA1 (patch-src_CMakeLists.txt) = 347a9ea8c71c7bc8e77a37073181a7ec5bb5406d
+SHA1 (md4c/md4c-release-0.4.8.tar.gz) = cfbf9730fc3019310a2105f00fda6cea0e4643ce
+RMD160 (md4c/md4c-release-0.4.8.tar.gz) = ab09246d6a0d487cd627cef5c3e9ef1202448caa
+SHA512 (md4c/md4c-release-0.4.8.tar.gz) = c939fdadf3e05c32c570cf9a5c0a02f83afaf4dfacf0f4505fcf12c6e24ffe0cd1372c207ff47cf2a489b02f24c5f20bb5f1361453c847c5464225cc7fcdb5ab
+Size (md4c/md4c-release-0.4.8.tar.gz) = 229471 bytes
diff --git a/md4c/patches/patch-src_CMakeLists.txt b/md4c/patches/patch-src_CMakeLists.txt
deleted file mode 100644
index 80e5eda971..0000000000
--- a/md4c/patches/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD$
-
-* fix use of find_package(md4c), applied upstream
-  https://github.com/mity/pd4c/pull/146
-
---- src/CMakeLists.txt.orig	2020-12-24 14:04:35.000000000 +0000
-+++ src/CMakeLists.txt
-@@ -17,7 +17,6 @@ set_target_properties(md4c PROPERTIES
-     PUBLIC_HEADER md4c.h
- )
- 
--
- # Build rules for HTML renderer library
- 
- configure_file(md4c-html.pc.in md4c-html.pc @ONLY)
-@@ -39,18 +38,17 @@ install(
-     LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-     PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
-+    INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- )
- install(FILES ${CMAKE_BINARY_DIR}/src/md4c.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
--install(EXPORT md4cConfig DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/md4c/)
- 
- install(
-     TARGETS md4c-html
--    EXPORT md4cHtmlConfig
-+    EXPORT md4cConfig
-     ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-     LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-     PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- )
- install(FILES ${CMAKE_BINARY_DIR}/src/md4c-html.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
--install(EXPORT md4cHtmlConfig DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/md4c-html/)
--
-+install(EXPORT md4cConfig DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/md4c/ NAMESPACE md4c::)


Home | Main Index | Thread Index | Old Index