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: Sun, 01 May 2022 00:19:36
Message-Id: 1651364241.95f0c290d47c0938c64866b78ad605e074ececf0.quentin@gentoo
1 commit: 95f0c290d47c0938c64866b78ad605e074ececf0
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Fri Apr 29 22:20:31 2022 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Sun May 1 00:17:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=95f0c290
7
8 dev-libs/libressl: Update ebuild
9
10 Signed-off-by: orbea <orbea <AT> riseup.net>
11 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
12
13 dev-libs/libressl/libressl-3.5.2.ebuild | 42 ++++++++++++---------------------
14 1 file changed, 15 insertions(+), 27 deletions(-)
15
16 diff --git a/dev-libs/libressl/libressl-3.5.2.ebuild b/dev-libs/libressl/libressl-3.5.2.ebuild
17 index a16ffe3..2cb7044 100644
18 --- a/dev-libs/libressl/libressl-3.5.2.ebuild
19 +++ b/dev-libs/libressl/libressl-3.5.2.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 +# Copyright 1999-2022 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=7
26 +EAPI=8
27
28 -inherit multilib-minimal libtool
29 +inherit autotools multilib-minimal
30
31 DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
32 HOMEPAGE="https://www.libressl.org/"
33 @@ -19,38 +19,26 @@ IUSE="+asm static-libs test"
34 RESTRICT="!test? ( test )"
35 REQUIRED_USE="test? ( static-libs )"
36
37 -DEPEND="${RDEPEND}"
38 PDEPEND="app-misc/ca-certificates"
39
40 -src_prepare() {
41 - touch crypto/Makefile.in
42 -
43 - sed -i \
44 - -e '/^[ \t]*CFLAGS=/s#-g ##' \
45 - -e '/^[ \t]*CFLAGS=/s#-g"#"#' \
46 - -e '/^[ \t]*CFLAGS=/s#-O2 ##' \
47 - -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
48 - -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
49 - -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
50 - configure || die "fixing CFLAGS failed"
51 -
52 - if ! use test ; then
53 - sed -i \
54 - -e '/^[ \t]*SUBDIRS =/s#tests##' \
55 - Makefile.in || die "Removing tests failed"
56 - fi
57 +PATCHES=(
58 + "${FILESDIR}"/${PN}-2.8.3-solaris10.patch
59 +)
60
61 - eapply "${FILESDIR}"/${PN}-2.8.3-solaris10.patch || die
62 -
63 - eapply_user
64 +src_prepare() {
65 + default
66
67 - elibtoolize # for Solaris
68 + eautoreconf
69 }
70
71 multilib_src_configure() {
72 - ECONF_SOURCE="${S}" econf \
73 - $(use_enable asm) \
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_test() {