commit 7ef03e9d8e51cb40897732a812e8887cff5e297947040254db63765c8c9da651 Author: Adrian Schröter Date: Fri May 3 12:05:00 2024 +0200 Sync from SUSE:SLFO:Main discount revision b70791c26ce68b6331d727057b7b47cb diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/discount-3.0.0a.tar.gz b/discount-3.0.0a.tar.gz new file mode 100644 index 0000000..0832b0f --- /dev/null +++ b/discount-3.0.0a.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a20af1ee09d2369543a421ba65e6fc1fd482ad3a5b1828132441f2c8dd98afc +size 140250 diff --git a/discount-disable_ldconfig.patch b/discount-disable_ldconfig.patch new file mode 100644 index 0000000..314be6c --- /dev/null +++ b/discount-disable_ldconfig.patch @@ -0,0 +1,20 @@ +Index: discount-3.0.0a/configure.inc +=================================================================== +--- discount-3.0.0a.orig/configure.inc ++++ discount-3.0.0a/configure.inc +@@ -1456,7 +1456,6 @@ __AC_ELF_LIBRARIAN() { + if $AC_CC $_VFLAGS -o ngc$$.so ngc$$.c; then + USE_SONAME=T + fi +- LDCONFIG=`AC_PATH=/sbin:/usr/sbin:/usr/local/sbin acLookFor ldconfig` + + if [ "$LDCONFIG" ]; then + case `uname -s 2>/dev/null | $AC_UPPERCASE` in +@@ -1501,7 +1500,6 @@ install)$PROG_INSTALL -c \$FULLNAME "\$1 + $PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME.\$MAJOR + $PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME + EOF +- test "$LDCONFIG" && echo ' '$LDCONFIG '"$1"' >> librarian.sh + cat >> librarian.sh << EOF + ;; + esac diff --git a/discount.changes b/discount.changes new file mode 100644 index 0000000..6ea0590 --- /dev/null +++ b/discount.changes @@ -0,0 +1,224 @@ +------------------------------------------------------------------- +Thu Mar 23 16:24:30 UTC 2023 - Andrea Manzini + +- update to 3.0.0a: + * add a new testcase to verify that -> ... <- works properly + * have all of the extensions code guarded by checking against MKD_STRICT + * rework the tag handler + +- enabled test suite during build + +------------------------------------------------------------------- +Thu Jan 5 15:27:53 UTC 2023 - Dirk Müller + +- update to 2.2.7b: + * fix to makefiles for parallel build + +------------------------------------------------------------------- +Fri Mar 12 23:06:20 UTC 2021 - Dirk Müller + +- update to version 2.2.7: + * fix small buffer overflow + +------------------------------------------------------------------- +Tue Jan 26 09:04:18 UTC 2021 - Martin Pluskal + +- Update to version 2.2.6: + * No changelog provided +- Drop no longer needed discount-fix-compile-warings.diff + +------------------------------------------------------------------- +Mon Jan 7 14:44:33 UTC 2019 - Martin Pluskal + +- Update changelog with references to security issues fixed + +------------------------------------------------------------------- +Wed Oct 17 07:24:36 UTC 2018 - Martin Pluskal + +- Update to version 2.2.4: + * No changelog provided + * fixes: + + boo#1094809 CVE-2018-11468 heap-based buffer over-read __mkd_trim_line function in mkdio.c + + boo#1098252 CVE-2018-12495 heap-based buffer over-read via a crafted file + +------------------------------------------------------------------- +Mon Jun 25 09:11:13 UTC 2018 - mpluskal@suse.com + +- Update to version 2.2.3a: + * No changelog provided +- Refresh patches: + * discount-disable_ldconfig.patch + * discount-fix-compile-warings.diff + +------------------------------------------------------------------- +Fri Nov 3 09:31:38 UTC 2017 - mpluskal@suse.com + +- Provide virtual package markdown + +------------------------------------------------------------------- +Thu Feb 9 16:09:59 UTC 2017 - mpluskal@suse.com + +- Update to version 2.2.2: + * No changelog provided +- Refresh patches: + * discount-disable_ldconfig.patch + * discount-fix-compile-warings.diff + +------------------------------------------------------------------- +Sun Oct 16 15:18:22 UTC 2016 - mpluskal@suse.com + +- Update to version 2.2.1: + * No changelog provided +- Refresh patches: + * discount-disable_ldconfig.patch + * discount-fix-compile-warings.diff + +------------------------------------------------------------------- +Sun May 1 15:29:28 UTC 2016 - mpluskal@suse.com + +- Update to 2.2.0 + * no changelog provided +- Build with optflags +- Refresh discount-disable_ldconfig.patch + +------------------------------------------------------------------- +Thu May 21 11:59:36 UTC 2015 - mailaender@opensuse.org + +- add symlink with update-alternatives to un-conflict Markdown.pl + +------------------------------------------------------------------- +Thu Apr 30 20:29:35 UTC 2015 - mardnh@gmx.de + +- add build condition "fenced_code" to conditionally run configure + with "--with-fenced-code" + Building with this condition enables PHP markdown extra-style fenced code + sections, where your chunks of code are surrounded by ~~~ lines instead + of being indented 4 spaces. + +------------------------------------------------------------------- +Thu Apr 30 13:01:27 UTC 2015 - mardnh@gmx.de + +- update to 2.1.8a +- correct license in spec file. It's actually BSD-3-Clause +- added patch for fixing some comiler warnings: + discount-fix-compile-warings.diff +- ran spec-cleaner and specfile cleanup + +- change from version 2.1.8a + When I put in the patch to ... + * Change the mail demangler to a debian-specific ‘always mangle one way’ hack. + (enabled with the configure.sh option –debian-glitch) + I messed up the format string and made the mangled email address into a fixed + bogus string. Sigh. Fixed (thanks to a patch from Alessandro Ghedini), updated + (and I really have to expand the runtime configuration flags array to be long + enough to fit 64 settings, but that’s a fix for a different day) and released. + +- change from version 2.1.8 + After a year or so of letting the code sit and slowly accumulate fixes, a new + version which fixes a wad of bugs and adds a few new features. Some of this + code is front other people, and those changes will be marked with their names: + + * FINALLY address the bug where markdown extra-style footnotes lose numbering + when they show up in nested element; I was not carrying the m-e reference# + inside the footnotes structure, but was instead carrying it in the parent + structure and not updating it. So I changed the footnotes structure to + include the reference + the list of footnotes, which made the misnumbering + go away on my tests. + * Fix makefile distclean to cleanup all the generated files and corrected the + names of the installed sample program man pages to end in .1 + (Mark Pizzolato mark@infocomm.com) + * Change the mail demangler to a debian-specific ‘always mangle one way’ hack. + (enabled with the configure.sh option –debian-glitch) + * Add –with-unmangled-email compile-time flag to disable mailto: mangling + * Allow the magic output filename -, which means send output to stdout instead + of to a file. + * Fix a bug where autolink + github flavored markdown absorbs the ^C eoln + character into a link at the end of a line. + * Tweak install.samples so that the user can supply a SAMPLE_PFX on the + command line SAMPLE_PFX=discount- make install.samples to install the sample + programs with a package-specific prefix. + * Emit pages in utf-8 instead of us-ascii (simply a change to the + Content-Type meta) (Nathan Phillip Brink binki@gentoo.org) + * Patch the horrible list handler to support long numeric list items + (George Hartzell hartzell@alerce.com) + * Various bugfixes (Masayoshi Sekimura sekimura@gmail.com) + * Fix support for CFLAGS=-m32 ./configure.sh by using CFLAGS for all build + invokations of CC. (Nathan Phillip Brink binki@gentoo.org) + * Github-style language attributes on fenced code blocks + (Loren Segal lsegal@amazon.com) + * When defining WORD & DWORD, check first for the MS Windows WinDef.h file; + if found, include it instead of defining WORD & DWORD ourselves. + * support url-encoded anchor links with –with-urlencoded-anchor option + (Daisuke Murase typester@cpan.org) + +- change from version 2.1.6 + does nothing except for some bugfixes (and ignores some particularly scary + ones that I /must/ fix soon) and adds two small features. + + * A < at the end of the input is exactly the same as \<(space) + * Markdown.pl does not appear to escape \<[nonwhite] sequences. Sigh. + * Tweak the previous Markdown does not escape... commit to simply push out + the backslash and back up to the start of the <[nonwhite] sequence, + so -fnohtml will continue to work. + * Treat hard
(via two spaces) as whitespace. + * Tweak divquote handling so that two adjacent divquotes won’t die if there + is a space between the second > & leading % + * Tweak one of the list tests back to the previous behavior (I’ve put in a + hack for list indentation, and accidentally committed the changes. Oops!) + + The features are that I now use styles for table cell alignment instead of + align=, and that I’m using the 3-clause BSD license for this release + (because there is one widely used closed-source license that claims that you + can’t dynamically link with code that uses the 4-clause license. Fine. + I’ll 3-clause this release to make the stupid GPL happy.) + +------------------------------------------------------------------- +Tue Dec 18 10:40:20 UTC 2012 - lnussel@suse.de + +- correct license in spec file. It's actually BSD4c + +- changes from version 2.1.5a: + * MKD_NOSTYLE – treat