From nobody Tue Sep 17 07:31:50 2024 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 4X7D4R2ZxLz5Wg1C; Tue, 17 Sep 2024 07:31:51 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7D4R0lcvz4k1G; Tue, 17 Sep 2024 07:31:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726558311; 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=Zrc4FZijlijFKzJ20xWoD+hNvRzqcegCasz+UiLNmIQ=; b=wl7EEtPOc6PqRKMEadnPK8Ys7AiA21LSD/CSGdvVI76gkf770YUmfzKlW9Po70VSOfFmO1 zF6w8DVqa1ewQeHXT8TxrciFVglWUfuII5ZpsXyjedJU17PcdKI24MA3bl3WORP32KLgXt NevzsHDx7OVW/DOOOQKM6A91dfJoRnb9tdTQjfN2mioqWTVl1hG3QreQKAWiGQIXgy6ETL VZnwRFrcbjNx2Y/n6RYdeKdgEJfL3H3DNKz01nl+j88vMEWdftdBgoa94AVvCP7cPhiM5Y Y8/NM2qgMCXyv7BncK+Blc0cLWq3RUjjrZReLa9nS5eH1kO7Hk9g/gz1DOXxVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726558311; a=rsa-sha256; cv=none; b=vFS3K2GKIMrUTEGP5MzVXXTNaQBFVEA7tAtD2RQB/+1lzb7eJzM+2PD/1LHrSKY4ivccP1 9V4O0gCx4+t7BAgWwTWGdWT/MInsacuBfW4hL4TgWrfLZNoIrCJG+TjZTtAaiJQfLPiwtb p7AEuTGgKyxx+CEoDcMDQNITM2a90DveD1WZjvE1xPZzMnNralZs5VY3q5Qm+k7R9YAB6L R5qo2MWcXvOz3OqOEsq2FhJD/eTGVgtjCrRsbPzqXcbcy02jxEJ7CpeheqGXNA2fMTL/2i pePx89AXq43+3jLbAHAmAyYlGqFwi7aQ3RQwZyhXfNUUS8Q9ndSaNAo4EXzjKg== 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=1726558311; 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=Zrc4FZijlijFKzJ20xWoD+hNvRzqcegCasz+UiLNmIQ=; b=YjoNVq8x8LqWStzG/jRkwpKqLEDJtDX738BlEeXEk8LkIUtyZfMTdJ0jS+HlVMs/t7x2on ZNTZl+DMM6H9ZiQ29vOATWzVVMaNxlaZ3iMkHnFYY/8s9Zl6RS2xAymnTzUibzMcr4G0Gl 0ptqrM4P5ih1gfcc4Tt02GsQiT/V8bnN+k/4SSsWuL3hCwCcCFL3TIbh4FoCZ2p8yEvI1x YI+vG4LC/cs4aKZ/C4oyyiZ3rZSVO+zcgullew5W6bVF1OofbhQ2iSHl8SxKXZLoCUxk5M WSEnn9qpDf1FhizBEv5S7oTc690S3fUEnB2tRS23Oqk3Dph3WyaSLZMFeoTLrg== 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 4X7D4R0MQxzTqg; Tue, 17 Sep 2024 07:31:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48H7VoIn009307; Tue, 17 Sep 2024 07:31:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48H7VoIU009304; Tue, 17 Sep 2024 07:31:50 GMT (envelope-from git) Date: Tue, 17 Sep 2024 07:31:50 GMT Message-Id: <202409170731.48H7VoIU009304@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 7d7a24910c6a - main - security/libretls: do not use builtin arc4random_buf 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d7a24910c6abe868ee5131205f27dae10a5d1d9 Auto-Submitted: auto-generated The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d7a24910c6abe868ee5131205f27dae10a5d1d9 commit 7d7a24910c6abe868ee5131205f27dae10a5d1d9 Author: Baptiste Daroussin AuthorDate: 2024-09-17 07:27:22 +0000 Commit: Baptiste Daroussin CommitDate: 2024-09-17 07:28:56 +0000 security/libretls: do not use builtin arc4random_buf The issue upstream had with FreeBSD's arc4random_buf are not valid anymore. PR: 280465 --- security/libretls/Makefile | 2 +- security/libretls/files/patch-configure | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/security/libretls/Makefile b/security/libretls/Makefile index 3d1db9c72cfe..cbcf8759fd7f 100644 --- a/security/libretls/Makefile +++ b/security/libretls/Makefile @@ -1,6 +1,6 @@ PORTNAME= libretls PORTVERSION= 3.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security devel MASTER_SITES= https://causal.agency/libretls/ diff --git a/security/libretls/files/patch-configure b/security/libretls/files/patch-configure new file mode 100644 index 000000000000..f5d513d1de8a --- /dev/null +++ b/security/libretls/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig 2023-10-11 23:33:50 UTC ++++ configure +@@ -12163,9 +12163,6 @@ fi + *freebsd*) + HOST_OS=freebsd + HOST_ABI=elf +- # fork detection missing, weak seed on failure +- # https://svnweb.freebsd.org/base/head/lib/libc/gen/arc4random.c?revision=268642&view=markup +- USE_BUILTIN_ARC4RANDOM=yes + PROG_LDADD='-lthr' + + ;;