commit:     534a4562a1b3cd389f01a0067c53f84c7ba5c6de
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Mar 10 16:06:30 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sun Mar 10 16:06:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=534a4562

dev-libs/libressl: add 3.8.3

Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-libs/libressl/Manifest              |  2 +
 dev-libs/libressl/libressl-3.8.3.ebuild | 69 +++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
index 6c72cb4..c74b8ab 100644
--- a/dev-libs/libressl/Manifest
+++ b/dev-libs/libressl/Manifest
@@ -4,3 +4,5 @@ DIST libressl-3.7.3.tar.gz 4337594 BLAKE2B 
e335e5b6080e4165c5c4088f7c79cef3fcc79
 DIST libressl-3.7.3.tar.gz.asc 833 BLAKE2B 
3b41ed454cb13fc6e830a0142e41cdbb7fd2a861a2b9a2f9acb56cbc20c266a7a8343d864b44c06ca748ffd7fbd3d2b67766885bab6f3674ace1d98c4ae1f4d8
 SHA512 
89043da91ca2218816f8ba3e5c87b6e0bb0980272eb9aafbf6480e1e5f573a46e723fbca1f25f9902ef204d50fbf4c760cd6c7bd9ee3ee64851805064f7b3cb7
 DIST libressl-3.8.2.tar.gz 4473978 BLAKE2B 
d6787c3077c8f8d8a5819750fe6cb9bee396ecdecb467f640c652136acc4e84b982bcabfb4cf4abdc81445744714bf708cb15aba2e8f87b2ac60164fc64eb265
 SHA512 
81765174fdd60223529182fab96249a28978c1d02b5894313d9b0b3aa365a1da2f7e5906403ab368114bdcba2fa861d1ad69b752f8344e6ea61d44666b483122
 DIST libressl-3.8.2.tar.gz.asc 833 BLAKE2B 
d3b848e59d6385028541f3389c35abd88ae823590a84159b605f9960aef8417613eef53030cea3da97788880b97647aeb218812d0aae3b6295e52e6aff7b97e0
 SHA512 
cb96c8c051690d56a1aff51d0db955965e508bf5a89fb0a061ec05b711feb2e2bf73e7fe43873e536d25457a43c3a197b4025456ec93f4c2393eb8ee5bce2e44
+DIST libressl-3.8.3.tar.gz 4475058 BLAKE2B 
f29ca56e6a717c09efd2510c97ef38a4f037b38352c3b02badad9db841c636628cbebdd9a1f69e9138fee038764326559939b0221bf335aaf03b415f4fe92d66
 SHA512 
b8107fc809d5a095a49cebe3192a9b609441dfaa86c7bee472c34c177854d1d8ca983eb071828593f98e0c161f75176dabeefe6067ba417b2ecbaea5aa20645f
+DIST libressl-3.8.3.tar.gz.asc 833 BLAKE2B 
752c161854cbeeb3ff3e6d921728f723d4ae1dd391cf41a266fee3bb1575664b2608481db26706fb239469888ae0885194cfa727c59c4c0339d3962155594aa9
 SHA512 
a2a9e5e0cf6387674c7af9ca07531eee294e3c1c90862082af6d7aafc1953b1bb8ff79172ac2c6e2b9113c462622a7e4feb2a28824721288cb30d9b6ab21fa8a

diff --git a/dev-libs/libressl/libressl-3.8.3.ebuild 
b/dev-libs/libressl/libressl-3.8.3.ebuild
new file mode 100644
index 0000000..36f837d
--- /dev/null
+++ b/dev-libs/libressl/libressl-3.8.3.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/55"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~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
+}

Reply via email to