pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/discount



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Aug 27 20:46:19 UTC 2018

Modified Files:
        pkgsrc/textproc/discount: Makefile distinfo

Log Message:
Update to 2.2.4. From the changelog:

1. (bugfix) when splitting a line, null terminate the new line; also
   don’t inherit the dle from the previous line
2. (bugfix) fix the broken footnote code; allow multi-paragraph
   footnotes, not just one line of footnote.
3. (feature) support github checkbox list items (static configuration option)
   a. --github-checkbox does the checkbox with html check entities
   b. --github-checkbox=input does them with html <input> elements (set
      to disabled so that people can’t check and uncheck willy-nilly)
4. (feature) on systems that support it, use the ‘destructor’
   attribute on mkd_shlib_destructor() so it will run automatically when
   the library unloads.
5. (feature) add --cxx-binding option to configure.sh to generate a
   mkdio.h that’s got an extern "C" wrapper around it.
6. (tweak)delete HGROUP from the list of html5 elements, because the w3c
   working group decided to punt it

The bugfix for not null-terminating a split line was reported by Github
user fCorleone, who was running a input mangler program (afl) to stress
discount by feeding random garbage to it. It saw that the splitline()
function (used when breaking out embedded chunks of html) was not
null-terminating the split line chunks, and was throwing errors on that.
(this is something that clang on modern macos catches if you use the
-fsanitize=address option.)

I never actually use footnotes, so I’d been running for about a decade
assuming that footnotes were one or maybe two lines, but github user
somasis pointed out that this was wrong wrong wrong! Ooops; at least it
was fixable w/o much pain and suffering.

HGROUP was caught by github user Crypto-Anarchist in their own branch of
discount, so I cherry-picked that changeset and pulled it back into the
mainline discount.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/discount/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/discount/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/discount/Makefile
diff -u pkgsrc/textproc/discount/Makefile:1.7 pkgsrc/textproc/discount/Makefile:1.8
--- pkgsrc/textproc/discount/Makefile:1.7       Fri Jul 27 15:50:45 2018
+++ pkgsrc/textproc/discount/Makefile   Mon Aug 27 20:46:18 2018
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/07/27 15:50:45 schmonz Exp $
+# $NetBSD: Makefile,v 1.8 2018/08/27 20:46:18 schmonz Exp $
 #
 
-DISTNAME=      discount-2.2.3a
-PKGREVISION=   4
+DISTNAME=      discount-2.2.4
 CATEGORIES=    textproc
 MASTER_SITES=  ${HOMEPAGE}
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/textproc/discount/distinfo
diff -u pkgsrc/textproc/discount/distinfo:1.8 pkgsrc/textproc/discount/distinfo:1.9
--- pkgsrc/textproc/discount/distinfo:1.8       Fri Jul 27 15:50:45 2018
+++ pkgsrc/textproc/discount/distinfo   Mon Aug 27 20:46:18 2018
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2018/07/27 15:50:45 schmonz Exp $
+$NetBSD: distinfo,v 1.9 2018/08/27 20:46:18 schmonz Exp $
 
-SHA1 (discount-2.2.3a.tar.bz2) = 9ff2985b89e7bc7ca6a18f82aade2b25db2c97f8
-RMD160 (discount-2.2.3a.tar.bz2) = 66a13d6848251ab8a73a59ba4ec95befe9bbdc2d
-SHA512 (discount-2.2.3a.tar.bz2) = cf995a46879f269f3e02f7d480303d229676bb36f71fe045d3a8eab7306fca9cce98496611b9fb9e0a14a9cf46ee66bd239dd9c946dff54ae09277fd66459c1f
-Size (discount-2.2.3a.tar.bz2) = 98325 bytes
+SHA1 (discount-2.2.4.tar.bz2) = 038e754afe234d92e5f327353fab5772c3f97f63
+RMD160 (discount-2.2.4.tar.bz2) = 5270054635d152d81acb81a8d87f29a98750a1a0
+SHA512 (discount-2.2.4.tar.bz2) = 0650e0ce3f6948e3a30fdaa1a810e895f64621c55df46c7a5ed8755e65c1b718b7a1d1a1bfe0a87a3a59fbb13fca8907718f1aa095125a4b6e152602b8e490cf
+Size (discount-2.2.4.tar.bz2) = 99482 bytes
 SHA1 (patch-Makefile.in) = 66270dca27485373279bd9ce8c445cc5a931e29a
 SHA1 (patch-generate.c) = 40ba6619c592531724ed78df5ffc99998e55498e



Home | Main Index | Thread Index | Old Index