diff options
author | 2024-05-12 10:45:19 -0700 | |
---|---|---|
committer | 2024-05-12 10:45:19 -0700 | |
commit | 77ab40dab6869bf7d89f315b79ac93b53037fca0 (patch) | |
tree | 9fb89fdd6ab7635808aa4343aef31d324474be07 | |
parent | net-analyzer/nmap: upstream sync, add unstable (diff) | |
download | libressl-77ab40dab6869bf7d89f315b79ac93b53037fca0.tar.gz libressl-77ab40dab6869bf7d89f315b79ac93b53037fca0.tar.bz2 libressl-77ab40dab6869bf7d89f315b79ac93b53037fca0.zip |
dev-libs/libressl: add 3.9.2
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r-- | dev-libs/libressl/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libressl/libressl-3.9.2.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 9a759d5..cbf35d4 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -2,3 +2,5 @@ DIST libressl-3.8.4.tar.gz 4467303 BLAKE2B 7ae939e012e1a8d98814e28caec86d5f36f7e DIST libressl-3.8.4.tar.gz.asc 833 BLAKE2B 8c22b3a48db6d7155fae869ed44c14afaf34b5c6c421c3d5f8d6408192ae35576967f03213d31ad5e9e482bd088984faf0d69c7a03642f4cf0a177cf9d618789 SHA512 0f2b3147b1fc1dd58c3214905c43cdac94677fae51a0dc4775e3e17004d4e76b34a86126e2728a62d8845af8696860cb06b846f543a1a02a17912288d436b527 DIST libressl-3.9.1.tar.gz 4352796 BLAKE2B f757741a75bbd5ac7da6378165d8f4f63d0a0116f7a67dc65b6fb9b60519ca46007bfd9c74a0ecc17e340575da3c1e30fe9e2750f255ea1ada07fc720420ba33 SHA512 15426f8830761c84bdffa22d5db5a25aba16214c49197c231ca3b7ef0ca5bca473994df78a1fc758c302b06a9bf095255adac90eebe9f1767528c6b65b2ce0a1 DIST libressl-3.9.1.tar.gz.asc 833 BLAKE2B ea81a791bbf48d0472f4966bd2aa38121bfc3fd2328134efd225ade92a3d3c71c7038b30e44fa227ca0906dc9ce0ead2cfd7d9b85a4072e50846c31711eb6900 SHA512 51b6dedac840f9b5bbe6f349ac17c0633bdaccd13a4dc8ee0e6c37ac19f9e1e479ebbe248ff7cf72566c2224a4523d98a8e53780bcea816f9d2b99b99e7cb1d2 +DIST libressl-3.9.2.tar.gz 4353829 BLAKE2B 190e14bb596f644ad50da92c2ebcb69028f2a1e1d65b0f78b25c77c67bc5b3cf34f1caf9774de6533c7050071dd29fcaf1288ec7a3bfe138e0cd7a31c87389fe SHA512 b7b9f47c77fd27787b7c7ae7e78cd831fe9f7f32e280f54952994569bfe69ff03022e349aea9ea734c50b079693c6e15a3c1115ef0093e523437904074da5784 +DIST libressl-3.9.2.tar.gz.asc 833 BLAKE2B 0d35047b42c0936ec5410c4cf8b95620652a51f3ccf82cdf5a21c7ecaa03fdc082ff0cf64f37b3bd1c5aba2bb0d260d41da247acc4fc4eab05341cf55fd6077c SHA512 75e21c8a8ab1fdb4bd26c0ad8132513727453dc42cf2be59c5abae7f08ad42b8b45ef36620bd613d5b35b37fb9fcefa27587a7de2a3d3222e8b8d172a49c4d3f diff --git a/dev-libs/libressl/libressl-3.9.2.ebuild b/dev-libs/libressl/libressl-3.9.2.ebuild new file mode 100644 index 0000000..08cd5bc --- /dev/null +++ b/dev-libs/libressl/libressl-3.9.2.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/56" +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 +} |