Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-libs/libressl/
Date: Thu, 16 Mar 2023 21:53:44
Message-Id: 1679003591.80e90b1ba396acc2aeb0c8e187b9cc4c29425075.quentin@gentoo
1 commit: 80e90b1ba396acc2aeb0c8e187b9cc4c29425075
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Thu Mar 16 18:44:28 2023 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Thu Mar 16 21:53:11 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=80e90b1b
7
8 dev-libs/libressl: Add 3.7.1
9
10 Signed-off-by: orbea <orbea <AT> riseup.net>
11 Closes: https://github.com/gentoo/libressl/pull/505
12 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
13
14 dev-libs/libressl/Manifest | 2 ++
15 dev-libs/libressl/libressl-3.7.1.ebuild | 52 +++++++++++++++++++++++++++++++++
16 2 files changed, 54 insertions(+)
17
18 diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
19 index 7e43b0b..09b5c7d 100644
20 --- a/dev-libs/libressl/Manifest
21 +++ b/dev-libs/libressl/Manifest
22 @@ -4,3 +4,5 @@ DIST libressl-3.6.2.tar.gz 4239482 BLAKE2B 6c978ba3afcd031773184494470a53e67572d
23 DIST libressl-3.6.2.tar.gz.asc 833 BLAKE2B 1c5b5041277d1bb79fc752bf6872e6b45407f206cbf57e51de525e277c2a6b2819ba6d765154b8ff8f0137df99fcee163333844b80c0f1dd099da7ca769d2437 SHA512 e983936800a84d193c357c8f3f7fbdc5af9750bcf4f6429cfac92147f97a5cc673a6916564f26f4449b1c7a35a40f6c23ecfc81cecc8550aa174750afb014802
24 DIST libressl-3.7.0.tar.gz 4260077 BLAKE2B c94131d5d7f12c3d197af98f36105b34a92da8fd7b2120c8bfde7050087df654dbaca77d874bcf809eecfdd21f78768da2293d9ab400629e25b1e94aa1803ace SHA512 913f24aa84ce4a5034a62fce3dc19e27e39cf67f2e2b172adf4dd2ca36009c7ea60945a188bd8ea4b9fbd48c0ab8c3926207eba65d88d559c60bef49cbb96f68
25 DIST libressl-3.7.0.tar.gz.asc 833 BLAKE2B 8cbd34dc8cf41f79537a8189c60672696ce8a15ce49c26788f7943600b0c9888d420308f983d478750138adff76606ab3942e3a51791647be51ff7952ed1f116 SHA512 5df0cfb2078a3eed7fcf002e4563521d1b12cd4dd693b4d8d8dbe5d89876d9893e75c30248b67304aec7a41b1d556a5d55b33951945084838bfbe72423d059a3
26 +DIST libressl-3.7.1.tar.gz 4299952 BLAKE2B 91c88963c1cc6568f8c023ebec589af4ac29958fa201906d370575ff5035b0fef73ea837ea846c25304bc88a085ae77606e13491b98fe9aaff1c97b6abe30486 SHA512 94c0f2b82d5b16ef43e481ecc281cb9b33687d4214f77e1da9b67bbed7115d847ba1c61aa5399f4ccb5c658e29ab945f178ea2448e7ea70633397a6c71de5d79
27 +DIST libressl-3.7.1.tar.gz.asc 833 BLAKE2B d703f286dac1f6a259f6f46f0a9b53d4086e5a046ebd6af26605aa8a52c7d7a800ab6e246b98b6020fbac34a350f3e78ebb5fb394af8f4819c31114f034c37d6 SHA512 114453643228d88acaf24ebbfad6d276af425249a84f6cc77e22098591961f919d8ea10080898d254dc6727dd01ace4e872e001a5b3bec71f21b9ccf9bcf5882
28
29 diff --git a/dev-libs/libressl/libressl-3.7.1.ebuild b/dev-libs/libressl/libressl-3.7.1.ebuild
30 new file mode 100644
31 index 0000000..424a578
32 --- /dev/null
33 +++ b/dev-libs/libressl/libressl-3.7.1.ebuild
34 @@ -0,0 +1,52 @@
35 +# Copyright 1999-2023 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit autotools multilib-minimal verify-sig
41 +
42 +DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
43 +HOMEPAGE="https://www.libressl.org/"
44 +SRC_URI="
45 + https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz
46 + verify-sig? ( https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz.asc )
47 +"
48 +
49 +LICENSE="ISC openssl"
50 +# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
51 +# we'll try to use the max of either. However, if either change between
52 +# versions, we have to change the subslot to trigger rebuild of consumers.
53 +SLOT="0/54"
54 +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"
55 +IUSE="+asm static-libs test"
56 +RESTRICT="!test? ( test )"
57 +
58 +PDEPEND="app-misc/ca-certificates"
59 +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-libressl )"
60 +
61 +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libressl.asc
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${PN}-2.8.3-solaris10.patch
65 +)
66 +
67 +src_prepare() {
68 + default
69 +
70 + eautoreconf
71 +}
72 +
73 +multilib_src_configure() {
74 + local ECONF_SOURCE="${S}"
75 + local args=(
76 + $(use_enable asm)
77 + $(use_enable static-libs static)
78 + $(use_enable test tests)
79 + )
80 + econf "${args[@]}"
81 +}
82 +
83 +multilib_src_install_all() {
84 + einstalldocs
85 + find "${D}" -name '*.la' -exec rm -f {} + || die
86 +}