From owner-dev-commits-ports-main@freebsd.org Thu May 27 08:57:05 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7BC816369F3; Thu, 27 May 2021 08:57:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FrMBn2yJQz4hM7; Thu, 27 May 2021 08:57:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 487DB213AC; Thu, 27 May 2021 08:57:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14R8v50E039238; Thu, 27 May 2021 08:57:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14R8v5ri039237; Thu, 27 May 2021 08:57:05 GMT (envelope-from git) Date: Thu, 27 May 2021 08:57:05 GMT Message-Id: <202105270857.14R8v5ri039237@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 1454ab40206b - main - textprox/expat2: update to 2.4.1 -- fixes CVE-2013-0340/CWE-776 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1454ab40206b85f94edb6390e0d96c9716a07399 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2021 08:57:05 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=1454ab40206b85f94edb6390e0d96c9716a07399 commit 1454ab40206b85f94edb6390e0d96c9716a07399 Author: Tobias C. Berner AuthorDate: 2021-05-24 14:38:28 +0000 Commit: Tobias C. Berner CommitDate: 2021-05-27 08:56:26 +0000 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 --- textproc/expat2/Makefile | 4 +++- textproc/expat2/distinfo | 6 +++--- textproc/expat2/pkg-plist | 10 +++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile index 69d0c38f232c..f24d6a60a027 100644 --- a/textproc/expat2/Makefile +++ b/textproc/expat2/Makefile @@ -1,7 +1,7 @@ # Created by: Dirk Froemberg PORTNAME= expat -DISTVERSION= 2.3.0 +DISTVERSION= 2.4.1 CATEGORIES= textproc MASTER_SITES= https://github.com/libexpat/libexpat/releases/download/R_${DISTVERSION:S|.|_|g}/ @@ -30,6 +30,8 @@ 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/ diff --git a/textproc/expat2/distinfo b/textproc/expat2/distinfo index 96d40c66930f..5c679b618856 100644 --- a/textproc/expat2/distinfo +++ b/textproc/expat2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1616672812 -SHA256 (expat-2.3.0.tar.xz) = caa34f99b6e3bcea8502507eb6549a0a84510b244a748dfb287271b2d47467a9 -SIZE (expat-2.3.0.tar.xz) = 433508 +TIMESTAMP = 1621866901 +SHA256 (expat-2.4.1.tar.xz) = cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a +SIZE (expat-2.4.1.tar.xz) = 445024 diff --git a/textproc/expat2/pkg-plist b/textproc/expat2/pkg-plist index 23469f8fae33..2e7b447c5e0f 100644 --- a/textproc/expat2/pkg-plist +++ b/textproc/expat2/pkg-plist @@ -2,14 +2,14 @@ bin/xmlwf include/expat.h include/expat_config.h include/expat_external.h -lib/cmake/expat-2.3.0/expat-config-version.cmake -lib/cmake/expat-2.3.0/expat-config.cmake -lib/cmake/expat-2.3.0/expat-noconfig.cmake -lib/cmake/expat-2.3.0/expat.cmake +lib/cmake/expat-%%EXPAT_VERSION%%/expat-config-version.cmake +lib/cmake/expat-%%EXPAT_VERSION%%/expat-config.cmake +lib/cmake/expat-%%EXPAT_VERSION%%/expat-noconfig.cmake +lib/cmake/expat-%%EXPAT_VERSION%%/expat.cmake %%STATIC%%lib/libexpat.a lib/libexpat.so lib/libexpat.so.1 -lib/libexpat.so.1.7.0 +lib/libexpat.so.1.8.1 libdata/pkgconfig/expat.pc man/man1/xmlwf.1.gz %%PORTDOCS%%%%DOCSDIR%%/AUTHORS