| Port details |
- md4c Markdown Parser written in C
- 0.5.2.20240225 textproc
=0 0.5.2.20240225Version of this port present on the latest quarterly branch. - Maintainer: rosenke@dssgmbh.de
 - Port Added: 2021-02-17 10:37:32
- Last Update: 2025-11-20 02:41:56
- Commit Hash: b7ccdbc
- License: MIT
- WWW:
- https://github.com/mity/md4c/
- Description:
- C Markdown parser. Fast.
SAX-like interface. Compliant to CommonMark specification.
Also allows converting from Markdown to HTML via md2html.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/textproc/md4c/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/md4c
- pkg install md4c
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: md4c
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1763606060
SHA256 (mity-md4c-0.5.2.20240225-481fbfb_GH0.tar.gz) = 04e03a69a2783ab5f2449f8864499dabb150092d5f48415a5e423f762a209d54
SIZE (mity-md4c-0.5.2.20240225-481fbfb_GH0.tar.gz) = 238753
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- This port is required by:
- for Libraries
-
- editors/libreoffice
Configuration Options:
- No options to configure
- Options name:
- textproc_md4c
- USES:
- cmake cpe
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.5.2.20240225 20 Nov 2025 02:41:56
    |
Vladimir Druzenko (vvd)  |
textproc/md4c: Update 0.5.2 => 0.5.2.20240225 (last commit)
This update allow onlyoffice-documentserver to use the ports version,
rather than the existing source build.
Changelog:
Fixes:
- Fix quadratic time behavior caused by one-by-one walking over
block lines instead of calling md_lookup_line().
- Fix quadratic time and output size behavior caused by malicious
misuse of link reference definitions.
- The strike-through extension (with flag MD_FLAG_STRIKETHROUGH)
now follows same logic as other emphasis spans in respect to
punctuation character and word boundaries.
- Fix handling tab when removing trailing whitespace, especially in
connection with ATX headers.
https://github.com/mity/md4c/blob/481fbfb/CHANGELOG.md
Commit log:
https://github.com/mity/md4c/compare/release-0.5.2...481fbfb
PR: 290670
Reported by: Matt Kempe <fsbruva@yahoo.com>
Approved by: Henrik Rosenke <rosenke@dssgmbh.de> (maintainer, timeout 3 weeks) |
0.5.2 23 Aug 2024 18:10:57
    |
Fernando Apesteguía (fernape)  Author: Älven |
textproc/md4c: update to 0.5.2
ChangeLog: https://github.com/mity/md4c/blob/master/CHANGELOG.md
Fixes CVE-2021-30027: DoS with malformed Markdown.
* Base Score: 5.5 MEDIUM
* Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
PR: 280956
Reported by: alster@vinterdalen.se
MFH: 2024Q3 (security fix)
Security: CVE-2021-30027 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.4.7 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.4.7 16 May 2022 06:49:43
    |
Loïc Bartoletti (lbartoletti)  |
devel/cmake: Update to 3.23.0
Update to 3.23.0.
Fix pkg-plist: using the default share/man location
Release Notes:
https://cmake.org/cmake/help/v3.23/release/3.23.html
PR: 262886
Exp-run by: antoine |
0.4.7 21 Oct 2021 15:40:41
    |
Stefan Eßer (se)  |
textproc/md4c: Add CPE information
Approved by: portmgr (blanket) |
0.4.7 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.4.7 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.4.7 19 Mar 2021 16:46:50
  |
mat  |
Regular USE_GITHUB cleanup.
Remove DISTNAME, it is always overwritten.
Cleanup GH_TAGNAME and WRKSRC. |
0.4.7 17 Feb 2021 10:36:55
  |
arrowd  |
textproc/md4c: Create the port.
md4c is a markdown parser written in C.
PR: 252383
Submitted by: Henrik Rosenke <rosenke@dssgmbh.de>
Reviewed by: Matthias Apitz <guru@unixarea.de>, daniel.engberg.lists@pyret.net |