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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C596415808E for ; Thu, 28 Apr 2022 23:41:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B51B7E0824; Thu, 28 Apr 2022 23:41:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 23C0FE0824 for ; Thu, 28 Apr 2022 23:41:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 DB04F34187A for ; Thu, 28 Apr 2022 23:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EED8A43D for ; Thu, 28 Apr 2022 23:40:57 +0000 (UTC) From: "Quentin Retornaz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Quentin Retornaz" Message-ID: <1651189235.62864fa73d125042d722a8c488d1925888b213b7.quentin@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-3.5.2.ebuild X-VCS-Directories: dev-libs/libressl/ X-VCS-Committer: quentin X-VCS-Committer-Name: Quentin Retornaz X-VCS-Revision: 62864fa73d125042d722a8c488d1925888b213b7 X-VCS-Branch: master Date: Thu, 28 Apr 2022 23:40:57 +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: 7e9f7e7b-dc32-4efd-8047-5d1ac34614d9 X-Archives-Hash: 083a7677858ed89aeac98f4e701045cf commit: 62864fa73d125042d722a8c488d1925888b213b7 Author: orbea riseup net> AuthorDate: Wed Apr 27 23:59:53 2022 +0000 Commit: Quentin Retornaz retornaz com> CommitDate: Thu Apr 28 23:40:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=62864fa7 dev-libs/libressl: Updated for version 3.5.2. Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/libressl/pull/397 Signed-off-by: Quentin Retornaz retornaz.com> dev-libs/libressl/Manifest | 1 + dev-libs/libressl/libressl-3.5.2.ebuild | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 97c2d87..7f80fc7 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -1,3 +1,4 @@ DIST libressl-3.3.6.tar.gz 3844198 BLAKE2B 049fe23340e7dcbbc6a9d4210e257b1de0fb2bed508b44f63e54d315476cb580ac96c0b64618a8318227c5bf6daf34a47130572009977cb85adeafe3602da104 SHA512 b34cd1c5ac610b18cef996eacb5f4b5684f47e98ed82008e6bb7c61fe488f54db0a9b55ef69298c61a1c4e42a2294fff9b011e2a7c9397fcb5820698dfe10a71 DIST libressl-3.4.3.tar.gz 3913963 BLAKE2B 95adbdd30f5cd573d51ab3657afd4d17263c9faae9455a88985689fbacbb711289a87027891244922250fb3ccc131f858d536df4cdadb608375ef8f0c4ea9b39 SHA512 0562d9c1fc227bacb9c6a51f50a5f29e73a960758c2ee9b0e702352cc55808f93533c9e0d2e85fb841846b9fdf6a50e6048205ebb67b8a8b7d9fdf5856fbfb91 DIST libressl-3.5.1.tar.gz 4030718 BLAKE2B 5894d1a3ca1b8e1db8d7582798efd3a35d0c1a331171c672ca4b2c3530c822fe13b4fa0078ac2c8b80d672ef9e4c81b963977179ac8e84bd515f2cb725a792f8 SHA512 6f31b86427144c3b6336ceb074fbe7dadd2662e598e05334999072e0d7dfa30d7fae2ab409541ae9e3359fef569849a37e2fee47b8800225a2cab7f067d60655 +DIST libressl-3.5.2.tar.gz 4039407 BLAKE2B 7ed995ee73516d72d00cab90a78bdd1897d57ac79912c3d6ed28b010484b2e6fae511f11b2cf247f66a54ada14d4de9e1c534e8d20aae3462074bdb5f42e3c96 SHA512 07ebd1529934d472b621b31ba458a185c9fa1a4588d0bc34b669952ff0846e227094019b322cbb808def42967510abbb0928be3f6784920451b3e0c96c8f4cad diff --git a/dev-libs/libressl/libressl-3.5.2.ebuild b/dev-libs/libressl/libressl-3.5.2.ebuild new file mode 100644 index 0000000..a16ffe3 --- /dev/null +++ b/dev-libs/libressl/libressl-3.5.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal libtool + +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" + +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/48" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+asm static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( static-libs )" + +DEPEND="${RDEPEND}" +PDEPEND="app-misc/ca-certificates" + +src_prepare() { + touch crypto/Makefile.in + + sed -i \ + -e '/^[ \t]*CFLAGS=/s#-g ##' \ + -e '/^[ \t]*CFLAGS=/s#-g"#"#' \ + -e '/^[ \t]*CFLAGS=/s#-O2 ##' \ + -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \ + -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \ + -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \ + configure || die "fixing CFLAGS failed" + + if ! use test ; then + sed -i \ + -e '/^[ \t]*SUBDIRS =/s#tests##' \ + Makefile.in || die "Removing tests failed" + fi + + eapply "${FILESDIR}"/${PN}-2.8.3-solaris10.patch || die + + eapply_user + + elibtoolize # for Solaris +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable asm) \ + $(use_enable static-libs static) +} + +multilib_src_test() { + emake check +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -exec rm -f {} + || die +}