1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/textproc/expat2/Makefile
Tobias C. Berner 1454ab4020 textprox/expat2: update to 2.4.1 -- fixes CVE-2013-0340/CWE-776
See [1] for details:
	Expat 2.4.0 and follow-up release 2.4.1 have both been released earlier
	today (21-05-23). Release 2.4.0 fixes long known security issue CVE-2013-0340 by
	adding protection against so-called Billion Laughs Attacks, a form of
	denial of service against applications accepting XML input, in all known
	variations, including recent flavor Parameter Laughs.

[1] https://blog.hartwork.org/posts/cve-2013-0340-billion-laughs-fixed-in-expat-2-4-0

PR:		256121
Exp-run by:	antoine
2021-05-27 10:56:26 +02:00

39 lines
889 B
Makefile

# Created by: Dirk Froemberg <dirk@FreeBSD.org>
PORTNAME= expat
DISTVERSION= 2.4.1
CATEGORIES= textproc
MASTER_SITES= https://github.com/libexpat/libexpat/releases/download/R_${DISTVERSION:S|.|_|g}/
MAINTAINER= desktop@FreeBSD.org
COMMENT= XML 1.0 parser written in C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= bash:shells/bash
USES= libtool pathfix python:test tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-docbook --without-examples
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS STATIC TEST
OPTIONS_SUB= yes
STATIC_CONFIGURE_ENABLE= static
TEST_USES= shebangfix
SHEBANG_FILES= test-driver-wrapper.sh tests/udiffer.py tests/xmltest.sh
TEST_CONFIGURE_WITH= tests
TEST_TARGET= check
PLIST_SUB= EXPAT_VERSION=${DISTVERSION}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/xmlwf.1 ${STAGEDIR}${MANPREFIX}/man/man1/
.include <bsd.port.mk>