From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11871158042 for ; Tue, 15 Oct 2024 20:09:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15B6EE07BA; Tue, 15 Oct 2024 20:09:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED9F0E07BA for ; Tue, 15 Oct 2024 20:09:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05B2A342FF0 for ; Tue, 15 Oct 2024 20:09:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68CAF1671 for ; Tue, 15 Oct 2024 20:09:00 +0000 (UTC) From: "orbea" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "orbea" Message-ID: <1729022879.af822edc7fed04a9530bb4818b3874cfb676f23f.orbea@gentoo> Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-libs/libressl/ X-VCS-Repository: repo/proj/libressl X-VCS-Files: dev-libs/libressl/Manifest dev-libs/libressl/libressl-4.0.0.ebuild X-VCS-Directories: dev-libs/libressl/ X-VCS-Committer: orbea X-VCS-Committer-Name: orbea X-VCS-Revision: af822edc7fed04a9530bb4818b3874cfb676f23f X-VCS-Branch: master Date: Tue, 15 Oct 2024 20:09:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 080c1d39-8776-4a6b-bf5e-1ab4ba9f796b X-Archives-Hash: c08fe9fec44bf2bb46a2e773da0f16c3 commit: af822edc7fed04a9530bb4818b3874cfb676f23f Author: orbea riseup net> AuthorDate: Tue Oct 15 15:51:14 2024 +0000 Commit: orbea riseup net> CommitDate: Tue Oct 15 20:07:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=af822edc dev-libs/libressl: add 4.0.0 Signed-off-by: orbea riseup.net> dev-libs/libressl/Manifest | 2 + dev-libs/libressl/libressl-4.0.0.ebuild | 69 +++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index dc1bf71..69c3ac3 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -2,3 +2,5 @@ DIST libressl-3.8.4.tar.gz 4467303 BLAKE2B 7ae939e012e1a8d98814e28caec86d5f36f7e DIST libressl-3.8.4.tar.gz.asc 833 BLAKE2B 8c22b3a48db6d7155fae869ed44c14afaf34b5c6c421c3d5f8d6408192ae35576967f03213d31ad5e9e482bd088984faf0d69c7a03642f4cf0a177cf9d618789 SHA512 0f2b3147b1fc1dd58c3214905c43cdac94677fae51a0dc4775e3e17004d4e76b34a86126e2728a62d8845af8696860cb06b846f543a1a02a17912288d436b527 DIST libressl-3.9.2.tar.gz 4353829 BLAKE2B 190e14bb596f644ad50da92c2ebcb69028f2a1e1d65b0f78b25c77c67bc5b3cf34f1caf9774de6533c7050071dd29fcaf1288ec7a3bfe138e0cd7a31c87389fe SHA512 b7b9f47c77fd27787b7c7ae7e78cd831fe9f7f32e280f54952994569bfe69ff03022e349aea9ea734c50b079693c6e15a3c1115ef0093e523437904074da5784 DIST libressl-3.9.2.tar.gz.asc 833 BLAKE2B 0d35047b42c0936ec5410c4cf8b95620652a51f3ccf82cdf5a21c7ecaa03fdc082ff0cf64f37b3bd1c5aba2bb0d260d41da247acc4fc4eab05341cf55fd6077c SHA512 75e21c8a8ab1fdb4bd26c0ad8132513727453dc42cf2be59c5abae7f08ad42b8b45ef36620bd613d5b35b37fb9fcefa27587a7de2a3d3222e8b8d172a49c4d3f +DIST libressl-4.0.0.tar.gz 4259615 BLAKE2B 5b5c3b8490a809bb5920904b0c63785c1647a802201183ae05310d92b686fafc7ea7b6c12360bac6615cb11394b15d10dc9d583cc0544f9ca54ea81707eae5a9 SHA512 b5ec6d1f4e3842ecb487f9a67d86db658d05cbe8cd3fcba61172affa8c65c5d0823aa244065a7233f06c669d04a5a36517c02a2d99d2f2da3c4df729ac243b37 +DIST libressl-4.0.0.tar.gz.asc 833 BLAKE2B 3547f18e6ebb1dc1d5727cfee4085b0a2cbbefb491f6a80731050deb7eb8366d19140f5adf9705c56032845c06f815aaac932572659e0d41166ddc3feb3c63ac SHA512 28b0951150b963ada69cfe300627e687ac719a5ed4c0c788322e778a3c351d40eb0c0804b81d957164ec672bcae0229738951484b8f2bea4f9611d8684fc8809 diff --git a/dev-libs/libressl/libressl-4.0.0.ebuild b/dev-libs/libressl/libressl-4.0.0.ebuild new file mode 100644 index 0000000..73e2710 --- /dev/null +++ b/dev-libs/libressl/libressl-4.0.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libressl.asc +inherit autotools multilib-minimal verify-sig + +DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" +HOMEPAGE="https://www.libressl.org/" +SRC_URI=" + https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz + verify-sig? ( https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz.asc ) +" + +LICENSE="ISC openssl" +# Reflects ABI of libcrypto.so and libssl.so. Since these can differ, +# we'll try to use the max of either. However, if either change between +# versions, we have to change the subslot to trigger rebuild of consumers. +SLOT="0/58" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+asm netcat static-libs test" +RESTRICT="!test? ( test )" + +PDEPEND="app-misc/ca-certificates" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-libressl )" +RDEPEND="netcat? ( + !net-analyzer/netcat + !net-analyzer/nmap[symlink] + !net-analyzer/openbsd-netcat +)" + +MULTILIB_WRAPPED_HEADERS=( /usr/include/openssl/opensslconf.h ) + +# LibreSSL checks for libc features during configure +QA_CONFIG_IMPL_DECL_SKIP=( + __va_copy + b64_ntop +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.8.3-solaris10.patch + # Gentoo's ssl-cert.eclass uses 'openssl genrsa -rand' + # which LibreSSL doesn't support. + # https://github.com/libressl/portable/issues/839 + "${FILESDIR}"/${PN}-3.7.2-genrsa-rand.patch +) + +src_prepare() { + default + + eautoreconf +} + +multilib_src_configure() { + local ECONF_SOURCE="${S}" + local args=( + $(use_enable asm) + $(use_enable static-libs static) + $(use_enable netcat nc) + $(use_enable test tests) + ) + econf "${args[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -exec rm -f {} + || die +}