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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 250AA1382C5 for ; Sun, 25 Apr 2021 17:03:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65D4CE0844; Sun, 25 Apr 2021 17:03:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B869E0844 for ; Sun, 25 Apr 2021 17:03:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77CC7341591 for ; Sun, 25 Apr 2021 17:03:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8BFB71B for ; Sun, 25 Apr 2021 17:03:21 +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: <1619367253.a324bb877ccba5f3513f221a722e659092236a36.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.3.2.ebuild X-VCS-Directories: dev-libs/libressl/ X-VCS-Committer: quentin X-VCS-Committer-Name: Quentin Retornaz X-VCS-Revision: a324bb877ccba5f3513f221a722e659092236a36 X-VCS-Branch: master Date: Sun, 25 Apr 2021 17:03:21 +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: c45e2244-c70a-4986-af3f-39353832ff86 X-Archives-Hash: 56c8b827bace2ce6b37cf54d5e4868d2 commit: a324bb877ccba5f3513f221a722e659092236a36 Author: Quentin Retornaz retornaz com> AuthorDate: Sun Apr 25 16:14:13 2021 +0000 Commit: Quentin Retornaz retornaz com> CommitDate: Sun Apr 25 16:14:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=a324bb87 dev-libs/libressl: version bump to 3.3.2 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Quentin Retornaz retornaz.com> dev-libs/libressl/Manifest | 1 + dev-libs/libressl/libressl-3.3.2.ebuild | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 28512b0..3962877 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -9,3 +9,4 @@ DIST libressl-3.2.3.tar.gz 3839953 BLAKE2B 219c9c2e78952d56dd9eadb92c9732f426cbd DIST libressl-3.2.5.tar.gz 3842149 BLAKE2B a8d70ebd3a22e24206320a5f15857cc170e770a7da66bf2ca681c98169ce291106d32567c623b35261cdafb94ca245e56e9a4a20a3af3e9b8f09f816c661639d SHA512 7b34d826685d8d6da74dee127138ad8cbb0b5a82e9eca8f45891e431a85ed9a7bcdcf28ad69064c5ce7e4d465ad2ac895074ba308e4bad303bcd7a12fcaa3ea2 DIST libressl-3.3.0.tar.gz 3837684 BLAKE2B 0b2947fa00f86829b574beedc462ed7e602b417f057c8bcf966508952e10c17709a4ea484e4b8699eee2cee228e00518a25c9eedd96534273c56a467cdc0c39b SHA512 3ea1339719b85234e4db8753eb11b760b9969bf0917d2556126bb048fc41022def628995587e438781092dcc49233109641b174f156cc4ec451fe8a217372cec DIST libressl-3.3.1.tar.gz 3838592 BLAKE2B 67c5bd72c1d1085c13fd3bf2e3829a6b83d61c3c9af5f5e65dca7548abe967f0ec8ebe3c46c6af576c54304b432069aab9d940bded90925cb44fffa7a8f35c29 SHA512 a0a6c10af71c6932a63381f33b2d0fe38b28d1c3c62c0c2de770695152f6eb3c558fdedd2fb6cdf34bd9a2dd3887aec615b652cbc3c1eed6c3c973c787a0c294 +DIST libressl-3.3.2.tar.gz 3847969 BLAKE2B 6a7af3c36dd78ed60c5fbc9f96efa7c69a01599d76ebd25a701186b4c6471255918ab7e2696c9d277454ca2b99f4a17c536c31336b462903601e779518a73d6e SHA512 16a06771a38d7f88e755878875ec38e814a9bdfe5ec5d0b9b4a7a7ce3ee4a9c3d395f82cee2803ebc418c9ea27c0ac3aa5c34197e048ea91cd8d9a707da56f77 diff --git a/dev-libs/libressl/libressl-3.3.2.ebuild b/dev-libs/libressl/libressl-3.3.2.ebuild new file mode 100644 index 0000000..b92c362 --- /dev/null +++ b/dev-libs/libressl/libressl-3.3.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 + #eapply "${FILESDIR}"/${PN}-3.2.2-build.patch + 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 +}