commit: ba11bfb74847125b247eb28a2a11e3a58a56c469 Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Fri Oct 7 14:50:14 2022 +0000 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> CommitDate: Fri Oct 7 21:11:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=ba11bfb7
dev-libs/libressl: Add 3.6.0 Signed-off-by: orbea <orbea <AT> riseup.net> Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> dev-libs/libressl/Manifest | 2 ++ dev-libs/libressl/libressl-3.6.0.ebuild | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 75c437c..771da26 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -1,2 +1,4 @@ DIST libressl-3.5.3.tar.gz 4039561 BLAKE2B 98e0261e8abe3af6c77382467e9101b1d11800f6a5906f3f1dee7d1da8a92b6fd9fdf9ae17e204cd8a13ae163755ca9a3f819e1cf10b3957b13abf3cdc1478e2 SHA512 19f97f7c2b5cb4591ee6f191255b441373176b1b6539aa6ac2cd54494a14beaf126b151eb2f0b7fb650796fc0e37e2a9b1508ca50722adc7107c460904a5dbb7 DIST libressl-3.5.3.tar.gz.asc 833 BLAKE2B f3f4bc1233d3f17d4d3b65b67b38c52a11ed5655df1435fb20c5be087288cae87febfd2ac74293bae61ace1663eb66513a042eb8474b7790b578520fd870462d SHA512 914a6eb0acb4a6a5508fc61c88e2ffcc50f8a9812f58367817e83a25b05a120d9649b6ec1d48e9fbad65da540ada206bf9ee53c5e6e799f9366f0aa83a2ac52e +DIST libressl-3.6.0.tar.gz 4240139 BLAKE2B 3bf6e5b4bcf8be69a442ea665f5bbb4d83b2a7fe57e518f3e53a270ea39eaf29b5f077684c0fa8a85871243bfd3c52f1192ae3bcd822d7247688c4737ab05a8f SHA512 91758bf99ca93470d799fff706ae4044edc751943e7ce983343cb7b87ccc4204871b28514986e0f3d500bc29e9bd0daecd11433cd168016b4637783f4552a362 +DIST libressl-3.6.0.tar.gz.asc 833 BLAKE2B b474ef57a614420775af157ecffcfc7e8f995ec5a69c965ed11e03ca5e89bd0de3e914378dbeba99e7c72e558a9c0fce13ce03919c3accd75266d6fe9b82815c SHA512 8af5b4e8412d3985f1e5df518892ded5ae1ad16084d4fe665490126e27ff00264b6e36966619ed1c108a798a863112c3d358aee982bd3c5ea9aaaf707163c1f6 diff --git a/dev-libs/libressl/libressl-3.6.0.ebuild b/dev-libs/libressl/libressl-3.6.0.ebuild new file mode 100644 index 0000000..1dd3eff --- /dev/null +++ b/dev-libs/libressl/libressl-3.6.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/53" +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 )" + +PDEPEND="app-misc/ca-certificates" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-libressl )" + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libressl.asc + +PATCHES=( + "${FILESDIR}"/${PN}-2.8.3-solaris10.patch +) + +src_prepare() { + default + + eautoreconf +} + +multilib_src_configure() { + local ECONF_SOURCE="${S}" + local args=( + $(use_enable asm) + $(use_enable static-libs static) + $(use_enable test tests) + ) + econf "${args[@]}" +} + +multilib_src_test() { + emake check +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -exec rm -f {} + || die +}
