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 A9AE7158090 for ; Sun, 1 May 2022 00:19:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4031E0A6B; Sun, 1 May 2022 00:19:35 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37EE6E0A6A for ; Sun, 1 May 2022 00:19:34 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 708C8341400 for ; Sun, 1 May 2022 00:19:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3C2D344 for ; Sun, 1 May 2022 00:19:31 +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: <1651364241.95f0c290d47c0938c64866b78ad605e074ececf0.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/libressl-3.5.2.ebuild X-VCS-Directories: dev-libs/libressl/ X-VCS-Committer: quentin X-VCS-Committer-Name: Quentin Retornaz X-VCS-Revision: 95f0c290d47c0938c64866b78ad605e074ececf0 X-VCS-Branch: master Date: Sun, 1 May 2022 00:19:31 +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: a0f13734-a744-499e-9691-0a544b272ecb X-Archives-Hash: 5543c0f8dee62a7088e86abdee8d1ce3 commit: 95f0c290d47c0938c64866b78ad605e074ececf0 Author: orbea riseup net> AuthorDate: Fri Apr 29 22:20:31 2022 +0000 Commit: Quentin Retornaz retornaz com> CommitDate: Sun May 1 00:17:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=95f0c290 dev-libs/libressl: Update ebuild Signed-off-by: orbea riseup.net> Signed-off-by: Quentin Retornaz retornaz.com> dev-libs/libressl/libressl-3.5.2.ebuild | 42 ++++++++++++--------------------- 1 file changed, 15 insertions(+), 27 deletions(-) diff --git a/dev-libs/libressl/libressl-3.5.2.ebuild b/dev-libs/libressl/libressl-3.5.2.ebuild index a16ffe3..2cb7044 100644 --- a/dev-libs/libressl/libressl-3.5.2.ebuild +++ b/dev-libs/libressl/libressl-3.5.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit multilib-minimal libtool +inherit autotools multilib-minimal DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" HOMEPAGE="https://www.libressl.org/" @@ -19,38 +19,26 @@ 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 +PATCHES=( + "${FILESDIR}"/${PN}-2.8.3-solaris10.patch +) - eapply "${FILESDIR}"/${PN}-2.8.3-solaris10.patch || die - - eapply_user +src_prepare() { + default - elibtoolize # for Solaris + eautoreconf } multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable asm) \ + local ECONF_SOURCE="${S}" + local args=( + $(use_enable asm) $(use_enable static-libs static) + $(use_enable test tests) + ) + econf "${args[@]}" } multilib_src_test() {