Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libressl/
Date: Wed, 31 Oct 2018 13:26:03
Message-Id: 1540992351.1c92f4c78ec588a7e6718fb8bb02b403b471ecca.blueness@gentoo
1 commit: 1c92f4c78ec588a7e6718fb8bb02b403b471ecca
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 31 13:25:14 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 31 13:25:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c92f4c7
7
8 dev-libs/libressl: version bump to 2.8.2
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 dev-libs/libressl/Manifest | 1 +
14 dev-libs/libressl/libressl-2.8.2.ebuild | 53 +++++++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
18 index b2d45f30e38..455b8db6538 100644
19 --- a/dev-libs/libressl/Manifest
20 +++ b/dev-libs/libressl/Manifest
21 @@ -4,3 +4,4 @@ DIST libressl-2.7.3.tar.gz 3364724 BLAKE2B e245cd0e3c4819e12f3f05898429c10894959
22 DIST libressl-2.7.4.tar.gz 3359012 BLAKE2B 07b98fdc6bcdf9d888fb1b1d301c95ab6f998fb7ff2c6dfd2ecf4558768e200dfa96c394e5b321bc27ba390e92646c319ef5be5915872a7c086de8017ff8f855 SHA512 1cd82a1bff4f655251b5feb0c850f4164e0fd548e4b404407370f74dcc75c205f42efc7787a157eecac84cbbe46af48cb63f46b3fef75f4a0a9ea19a5863a691
23 DIST libressl-2.8.0.tar.gz 3377310 BLAKE2B 2a2027d86e99a09a349f3f123223a8544f49410ae53dbf4b97f898895758d00b1e8f73889f0b0ad8cec6f7ba5e85f033080d0e4af92b0fd10d048136337a0213 SHA512 3004cd78a9d52dece9f24272389778d6afca549de245852004ddd57b01a0c3a6fa1cee2d56980d067d23b3ead7f7a4aa6bcf4e0c57a56f5f7d9fd3f8d23f3ca2
24 DIST libressl-2.8.1.tar.gz 3375642 BLAKE2B 39b550e09cfe286e92c6b1168525bac927b37ed7c03db159e456e71abba1d411a78c7a3ad9084b28d41a3f132a959ea82e877ed159daa2c69fa59fef67fec1b8 SHA512 57af2c7a1a8522dca25c4e6371cb44f5ab074be1aded153e6e5fca4fa0844518710f7ce834d4dd309086686c492f10fca83f4d45c084eb49607cb5861f07ac99
25 +DIST libressl-2.8.2.tar.gz 3373599 BLAKE2B 61b774129ef93081b4a7c94a66fe696520a3f2922d58950e907ad9f047c9fa6495d7753c71d0bb3aec6aa266f16b75fd1d8d485fc3988b97d3d67893dd3db319 SHA512 bfcc55904efbb591c9edd56169d611e735108dfc6a49f771a64ad1ddd028d3a658f5593116c379911edc77f95eba475daec9c0adea0549e8b4b94d1072adf733
26
27 diff --git a/dev-libs/libressl/libressl-2.8.2.ebuild b/dev-libs/libressl/libressl-2.8.2.ebuild
28 new file mode 100644
29 index 00000000000..4ca27fb26c1
30 --- /dev/null
31 +++ b/dev-libs/libressl/libressl-2.8.2.ebuild
32 @@ -0,0 +1,53 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit multilib-minimal
39 +
40 +DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
41 +HOMEPAGE="https://www.libressl.org/"
42 +SRC_URI="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
43 +
44 +LICENSE="ISC openssl"
45 +# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
46 +# we'll try to use the max of either. However, if either change between
47 +# versions, we have to change the subslot to trigger rebuild of consumers.
48 +SLOT="0/46"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
50 +IUSE="+asm static-libs test"
51 +REQUIRED_USE="test? ( static-libs )"
52 +
53 +RDEPEND="!dev-libs/openssl:0"
54 +DEPEND="${RDEPEND}"
55 +PDEPEND="app-misc/ca-certificates"
56 +
57 +src_prepare() {
58 + touch crypto/Makefile.in
59 +
60 + sed -i \
61 + -e '/^[ \t]*CFLAGS=/s#-g ##' \
62 + -e '/^[ \t]*CFLAGS=/s#-g"#"#' \
63 + -e '/^[ \t]*CFLAGS=/s#-O2 ##' \
64 + -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
65 + -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
66 + -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
67 + configure || die "fixing CFLAGS failed"
68 +
69 + eapply_user
70 +}
71 +
72 +multilib_src_configure() {
73 + ECONF_SOURCE="${S}" econf \
74 + $(use_enable asm) \
75 + $(use_enable static-libs static)
76 +}
77 +
78 +multilib_src_test() {
79 + emake check
80 +}
81 +
82 +multilib_src_install_all() {
83 + einstalldocs
84 + find "${D}" -name '*.la' -exec rm -f {} + || die
85 +}