From nobody Wed Oct 13 12:56:02 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1331C17F4318; Wed, 13 Oct 2021 12:56:03 +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 4HTswL70tjz4kFg; Wed, 13 Oct 2021 12:56:02 +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 D018C27E70; Wed, 13 Oct 2021 12:56:02 +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 19DCu26R050323; Wed, 13 Oct 2021 12:56:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19DCu2Cs050322; Wed, 13 Oct 2021 12:56:02 GMT (envelope-from git) Date: Wed, 13 Oct 2021 12:56:02 GMT Message-Id: <202110131256.19DCu2Cs050322@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Olivier Cochard Subject: git: 7a6696ab2619 - main - net/libyang: Fixes mutiple CVEs and connect upstream's test suite List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olivier X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a6696ab2619c2661b8af49f1ee6eb4d1d9caf46 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a6696ab2619c2661b8af49f1ee6eb4d1d9caf46 commit 7a6696ab2619c2661b8af49f1ee6eb4d1d9caf46 Author: Olivier Cochard AuthorDate: 2021-10-13 12:43:05 +0000 Commit: Olivier Cochard CommitDate: 2021-10-13 12:55:58 +0000 net/libyang: Fixes mutiple CVEs and connect upstream's test suite CVEs: CVE-2021-28902, CVE-2021-28903, CVE-2021-28904, CVE-2021-28905, CVE-2021-28906 PR: 259127 Reported by: diizzy --- net/libyang/Makefile | 9 ++++++++- net/libyang/distinfo | 6 +++--- net/libyang/pkg-plist | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/net/libyang/Makefile b/net/libyang/Makefile index 9f6bb8ec7e0e..e6ccf2cb9b20 100644 --- a/net/libyang/Makefile +++ b/net/libyang/Makefile @@ -1,5 +1,5 @@ PORTNAME= libyang -PORTVERSION= 1.0.184 +PORTVERSION= 1.0.240 DISTVERSIONPREFIX= v CATEGORIES= net @@ -10,6 +10,7 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpcre.so:devel/pcre +TEST_DEPENDS= cmocka>0:sysutils/cmocka USES= cmake compiler:c++11-lang pkgconfig USE_LDCONFIG= yes @@ -19,4 +20,10 @@ GH_ACCOUNT= CESNET CMAKE_ARGS+= -DENABLE_LYD_PRIV=ON +TEST_TARGET= test + +OPTIONS_DEFINE= TEST + +TEST_CMAKE_BOOL= ENABLE_BUILD_TESTS + .include diff --git a/net/libyang/distinfo b/net/libyang/distinfo index dceb6fc670ff..86cc163850de 100644 --- a/net/libyang/distinfo +++ b/net/libyang/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1595492965 -SHA256 (CESNET-libyang-v1.0.184_GH0.tar.gz) = 1a5637451b73c4c5683837eb4c51371bb084795f653bc1a5fc20fed5541b58bc -SIZE (CESNET-libyang-v1.0.184_GH0.tar.gz) = 1659420 +TIMESTAMP = 1634122288 +SHA256 (CESNET-libyang-v1.0.240_GH0.tar.gz) = 8576cad398b451b1c622b0652a2030fcf83ee1d9a39e6cd93d17b0a5a43118d6 +SIZE (CESNET-libyang-v1.0.240_GH0.tar.gz) = 1667619 diff --git a/net/libyang/pkg-plist b/net/libyang/pkg-plist index d308491c32ae..7b1ecf2e4784 100644 --- a/net/libyang/pkg-plist +++ b/net/libyang/pkg-plist @@ -9,7 +9,7 @@ include/libyang/user_types.h include/libyang/xml.h lib/libyang.so lib/libyang.so.1 -lib/libyang.so.1.9.2 +lib/libyang.so.1.10.32 lib/libyang1/extensions/metadata.so lib/libyang1/extensions/nacm.so lib/libyang1/extensions/yangdata.so