From nobody Thu Apr 18 21:02:39 2024 X-Original-To: dev-commits-ports-branches@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 4VL9G76kL7z5HZH8; Thu, 18 Apr 2024 21:02:39 +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 4VL9G76BfDz4SxR; Thu, 18 Apr 2024 21:02:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713474159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RZpNsC2/r8YDGRjPet1F3oeyGyyuo1d9yBERT+glDHY=; b=TEFWDpsTGSMHLaLfFcEgX5grCZCiQxsxp1ho+LVYZLjB74MCaEGYPPbXJUlcKyWeExI2R1 vsvIGLltGBhu5eDhHkliM9yekPueBnmTjZsn2gVLSmBVCUk+uRfSMYrz75rVhb/QXq2XFr RteaeU1HRUHP8dnHcn5EG4so8knVIntPuvSe/tp+srD488o6+vakA4DTV8RBvBKTuL7wVO 1PIfw5YmfwQdT+HCfh5SkssHsaG21qYK0GA9yvIxbMw7MjySsDwpk2o/Md+PpppdRWetLV 8uUiiGT9AnnoattpAQHbKt9rWFUpaLTO9uL3bl+CmcRXhLGkuQ+AVd6jOkGiMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713474159; a=rsa-sha256; cv=none; b=CufwtyHd7+duShx5gW4zTO06XWHUm+s9g3k1qN/mEcWBJM3T4ePRM7BUdhfDNFhWmM0iqW XN/K/xMvk1hBMfl9R4UTz6mwnGPCBD48QZ1ynWxEb782GzRWZSNKyGoxieeWtJbbua5MeX 7VvVpz8mcWrKJYkYHikcDJP46jl/p9p7Ofbp5Oev9YpW6fPpnphvpV09Yo3T5ncMEIq4ya kTjScVj3mPF5gXNXsnQK4msGJWgoCHvNHzWZJg3bBrNZmp5hOkmdHYEqF0kWmfj4+49LIe 3Fm96E5ilYYeeRlTP/eGaLJZWtnC6urRghVVz/UIqO0JcyU7b9kV2dJkPTvrOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713474159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RZpNsC2/r8YDGRjPet1F3oeyGyyuo1d9yBERT+glDHY=; b=UGkhtiBx8HYDMejidWbfkxeZFnwKh1DxWrh7EIeQfpwQsGBdW7hz9jkAybW/9ZL5AWW+0N kaMgwzlnDn9YpZ5PfOiSWDdzFM+QFWFvKZMltMynAF8n42CS5CrV5ozwD71/gt2h97VmDW 8Wu+0ADH97Dh7VF1INjKIO7j2I8Joyq0e0pVzNU9ni358lSCsQ58iQQ0SwUJzq7+0AH9Zl SW11gMUQZA/NhgWbB08jzLz6B72fJRl22yxJWPYWdJbC7XC1stKqCZMAtPVyQKETwgOHTr 2fp9kZfMgKHcAr5jv1B5IPhjF7HeE6diElu1aEwjnQu8fMjigDAay5Jp23Oa1g== 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 4VL9G75nJBzQ20; Thu, 18 Apr 2024 21:02:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IL2dXT007939; Thu, 18 Apr 2024 21:02:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IL2dar007936; Thu, 18 Apr 2024 21:02:39 GMT (envelope-from git) Date: Thu, 18 Apr 2024 21:02:39 GMT Message-Id: <202404182102.43IL2dar007936@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko Subject: git: 1ac65cf22787 - 2024Q2 - net/freerdp3: update to 3.5.0 with 6 CVEs fixed List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q2 X-Git-Reftype: branch X-Git-Commit: 1ac65cf22787496b194b399a3dd90afad81cb95a Auto-Submitted: auto-generated The branch 2024Q2 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ac65cf22787496b194b399a3dd90afad81cb95a commit 1ac65cf22787496b194b399a3dd90afad81cb95a Author: Vladimir Druzenko AuthorDate: 2024-04-18 20:31:11 +0000 Commit: Vladimir Druzenko CommitDate: 2024-04-18 21:02:04 +0000 net/freerdp3: update to 3.5.0 with 6 CVEs fixed Changelog: https://github.com/FreeRDP/FreeRDP/releases/tag/3.5.0 CVE: CVE-2024-32041 [Low] OutOfBound Read in zgfx_decompress_segment CVE-2024-32039 [Moderate] Integer overflow & OutOfBound Write in clear_decompress_residual_data CVE-2024-32040 [Low] integer underflow in nsc_rle_decode CVE-2024-32458 [Low] OutOfBound Read in planar_skip_plane_rle CVE-2024-32459 [Low] OutOfBound Read in ncrush_decompress CVE-2024-32460 [Low] OutOfBound Read in interleaved_decompress Approved by: arrowd (mentor, implicit) MFH: 2024Q2 (cherry picked from commit 8c3cc66ae44252df585713b085edda4c4f04c457) --- net/freerdp3/Makefile | 7 ++++-- net/freerdp3/distinfo | 8 +++--- .../files/patch-winpr_libwinpr_sysinfo_sysinfo.c | 29 ---------------------- 3 files changed, 10 insertions(+), 34 deletions(-) diff --git a/net/freerdp3/Makefile b/net/freerdp3/Makefile index 7d102ef502eb..cab6f9a4d66b 100644 --- a/net/freerdp3/Makefile +++ b/net/freerdp3/Makefile @@ -1,11 +1,14 @@ PORTNAME= freerdp -DISTVERSION= 3.4.0 -PORTREVISION= 1 +DISTVERSION= 3.5.0 CATEGORIES= net comms MASTER_SITES= https://pub.freerdp.com/releases/ \ https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 3 +PATCH_SITES= https://github.com/FreeRDP/FreeRDP/commit/ +# move epoll detection to platform: https://github.com/FreeRDP/FreeRDP/pull/10097 +PATCHFILES+= be19268d5d186118a751d275602be2fb5ffcc3d8.patch:-p1 + MAINTAINER= vvd@FreeBSD.org COMMENT= Free implementation of Remote Desktop Protocol WWW= https://www.freerdp.com/ diff --git a/net/freerdp3/distinfo b/net/freerdp3/distinfo index b46f48bda6da..9ffa6383688e 100644 --- a/net/freerdp3/distinfo +++ b/net/freerdp3/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1710490177 -SHA256 (freerdp-3.4.0.tar.gz) = e44fec047d69c728178a21cdc3d5a55d1dac57e4c104e7318d27cba247232133 -SIZE (freerdp-3.4.0.tar.gz) = 9331562 +TIMESTAMP = 1713470999 +SHA256 (freerdp-3.5.0.tar.gz) = 13c37e875c1f26f78526e58aa63303b04221e393fde61e6106ce72402a63b529 +SIZE (freerdp-3.5.0.tar.gz) = 9335565 +SHA256 (be19268d5d186118a751d275602be2fb5ffcc3d8.patch) = 6d27ff2cc60994794142c0fcabb7988dbacf105636cae66f47e98b7e477c9def +SIZE (be19268d5d186118a751d275602be2fb5ffcc3d8.patch) = 1553 diff --git a/net/freerdp3/files/patch-winpr_libwinpr_sysinfo_sysinfo.c b/net/freerdp3/files/patch-winpr_libwinpr_sysinfo_sysinfo.c deleted file mode 100644 index 23b92abce568..000000000000 --- a/net/freerdp3/files/patch-winpr_libwinpr_sysinfo_sysinfo.c +++ /dev/null @@ -1,29 +0,0 @@ ---- winpr/libwinpr/sysinfo/sysinfo.c.orig 2024-03-14 10:28:33 UTC -+++ winpr/libwinpr/sysinfo/sysinfo.c -@@ -34,7 +34,7 @@ - #endif - - #if !defined(_WIN32) --#if defined(_POSIX_SOURCE) && (_POSIX_C_SOURCE >= 200112L) -+#if (_POSIX_C_SOURCE >= 200112L) || defined(__FreeBSD__) - #include - #elif !defined(__APPLE__) - #include -@@ -579,7 +579,7 @@ ULONGLONG winpr_GetTickCount64(void) - UINT64 winpr_GetTickCount64NS(void) - { - UINT64 ticks = 0; --#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L) -+#if (_POSIX_C_SOURCE >= 200112L) || defined(__FreeBSD__) - struct timespec ts = { 0 }; - - if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts) == 0) -@@ -632,7 +632,7 @@ UINT64 winpr_GetUnixTimeNS(void) - } t = { 0 }; - GetSystemTimeAsFileTime(&t.ft); - return (t.u64 - FILETIME_TO_UNIX_OFFSET_S * 10000000ull) * 100ull; --#elif _POSIX_C_SOURCE >= 200112L -+#elif (_POSIX_C_SOURCE >= 200112L) || defined(__FreeBSD__) - struct timespec ts = { 0 }; - if (clock_gettime(CLOCK_REALTIME, &ts) != 0) - return 0;