From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1337188-garchives=archives.gentoo.org@lists.gentoo.org>
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 65CE5158086
	for <garchives@archives.gentoo.org>; Sat,  6 Nov 2021 18:21:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4CBF6E0935;
	Sat,  6 Nov 2021 18:21:13 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1DF6CE0935
	for <gentoo-commits@lists.gentoo.org>; Sat,  6 Nov 2021 18:21:12 +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 9BC19342C1A
	for <gentoo-commits@lists.gentoo.org>; Sat,  6 Nov 2021 18:21:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 265AC175
	for <gentoo-commits@lists.gentoo.org>; Sat,  6 Nov 2021 18:21:10 +0000 (UTC)
From: "Quentin Retornaz" <gentoo@retornaz.com>
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" <gentoo@retornaz.com>
Message-ID: <1636222802.930a28df0aa22c13c1c0b9661d60426fe9b779ce.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.4.1.ebuild
X-VCS-Directories: dev-libs/libressl/
X-VCS-Committer: quentin
X-VCS-Committer-Name: Quentin Retornaz
X-VCS-Revision: 930a28df0aa22c13c1c0b9661d60426fe9b779ce
X-VCS-Branch: master
Date: Sat,  6 Nov 2021 18:21:10 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e091808f-c9d2-4409-8d5c-15105f7a4741
X-Archives-Hash: 3ab08d10b1558b2224f8f1d9483ede65

commit:     930a28df0aa22c13c1c0b9661d60426fe9b779ce
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Nov  3 17:33:15 2021 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Sat Nov  6 18:20:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=930a28df

dev-libs/libressl: Update for 3.4.1

Closes https://github.com/gentoo/libressl/pull/362

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/libressl/pull/366
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 dev-libs/libressl/Manifest              |  1 +
 dev-libs/libressl/libressl-3.4.1.ebuild | 63 +++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
index b627fba..eba4377 100644
--- a/dev-libs/libressl/Manifest
+++ b/dev-libs/libressl/Manifest
@@ -1,3 +1,4 @@
 DIST libressl-3.2.7.tar.gz 3841186 BLAKE2B 878c136fb61a612910ca6469ffc609c7cd1c502e5471b07d3122eb509e370e0f75cd0b07b7297079fa91220c5d21320f2f635ad05e61a7ea492f65b59f10b940 SHA512 34bddff17c93c7c5994bf3db92037882731fc41ddea0daa4ff57c8662d089e1c8d86cc6a4b36cee2cd57125ff7225d5448b6fd5ea6fb05053b708f804d4b264f
 DIST libressl-3.3.5.tar.gz 3847261 BLAKE2B dcdb1a328bde78e52c721207df5b072f8c2fae3aa04e48547af28317de7520a9e50e7bd700d2ad03a1e46c79fe6822c8696fdd948a0e90999ecfeb8022e2aa95 SHA512 d7835ade07bff28425f9563189b4351f7864d3fafed264c3dad09e67b451a0166c825efadafc176c93c37f5c00789ad4f654146d3d3c0b59cb9981d1a8f9312f
 DIST libressl-3.4.0.tar.gz 3917583 BLAKE2B 3be62513c99fe1336732ea2e0fb46e3eb788e139b0bc31d3350596b72e6a877bd62042f00173cc50a8b96115778dd567ca9e89e65d2fa592c7675fb7bb78317a SHA512 035a833889b1c52cb2828c38e01b33efc344586c2c7eed28241e74947efc767b893b41671ddc3c09ce6ff72f3bf91666ef07b9b8abb9ee9c619d68835787fb46
+DIST libressl-3.4.1.tar.gz 3917346 BLAKE2B 0c7e6f6594a5f16b68490ae70e51f975dce0e1d90a1a343590e7b430351531659609a1fbf4b579d72fa3ae3c332e03a3fe282807cb40b3964cb786cc5764236f SHA512 6a4ff612a9f82da672a66c9db807e34cabc961ffa309900cefde2c5061e129d1ec06f9688f5e83ebc5d8ed21a64ff0035271c807b71113b9e8f54e094cc8632f

diff --git a/dev-libs/libressl/libressl-3.4.1.ebuild b/dev-libs/libressl/libressl-3.4.1.ebuild
new file mode 100644
index 0000000..a16ffe3
--- /dev/null
+++ b/dev-libs/libressl/libressl-3.4.1.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
+}