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, 12 Apr 2017 15:14:34
Message-Id: 1492010065.5f4068c6178a335c6170717d0861f9098c398d94.blueness@gentoo
1 commit: 5f4068c6178a335c6170717d0861f9098c398d94
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 12 15:14:00 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 12 15:14:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4068c6
7
8 dev-libs/libressl: version bump to 2.5.3
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-libs/libressl/Manifest | 1 +
13 dev-libs/libressl/libressl-2.5.3.ebuild | 52 +++++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
17 index ea5faf97516..c4b69f9cd80 100644
18 --- a/dev-libs/libressl/Manifest
19 +++ b/dev-libs/libressl/Manifest
20 @@ -5,3 +5,4 @@ DIST libressl-2.4.5.tar.gz 3016462 SHA256 d300c4e358aee951af6dfd1684ef0c034758b4
21 DIST libressl-2.5.0.tar.gz 3012855 SHA256 8652bf6b55ab51fb37b686a3f604a2643e0e8fde2c56e6a936027d12afda6eae SHA512 6372b27f1696e957389646a05b0572ad6936443b34fee0e57153b063831e00318fa1b434e3e0369f0c3df872e15ad3bee2f85db0851021444612f2a6f266a332 WHIRLPOOL 9b145915734a1914f0d36df04a8b35aa2ce2c91f7d6b3a978c5c6845314c56c61718fce6c471ba1a03f3d1ff052246c3db767adee99bc3d38a6bd692b9086ad0
22 DIST libressl-2.5.1.tar.gz 3266271 SHA256 f71ae0a824b78fb1a47ffa23c9c26e9d96c5c9b29234eacedce6b4c7740287cd SHA512 44557c7c3e6bc9c0af9ae83b26765be9707d53708a32a5a945108a49ea20503afa4197919801830d27821c069b87e0e0edd284bd1b8a85340dbc0da2c162c2f9 WHIRLPOOL e31b487e9e88f372cd22db05e54e74900181120cf8c6105f5531658e7b467722680921f3630b8943ee0ec5f5777cb76a7ddc64e4d43f166903928aaa4f98509c
23 DIST libressl-2.5.2.tar.gz 3277320 SHA256 0ffa7d70809284a4ac96e965918a61c1d7930bca865457a7db0ff0afc8201c82 SHA512 2c42b8bab40dfb517231d83456073c92a61210a83654f23bec1b5148bd7e3c0590f50244970ebf966e5e9582ea98289fe48c6f246d1d79e5d9facea2041e4faa WHIRLPOOL fc1dba52049779bf55a39a88abff8db8cfa3ba0d437dfacefa372d64e9859d7904848ba146a54064f70b79d0febea666757981ff4268699ac22a6cd8b5f3bc73
24 +DIST libressl-2.5.3.tar.gz 3285151 SHA256 14e34cc586ec4ce5763f76046dcf366c45104b2cc71d77b63be5505608e68a30 SHA512 e5ba2abb8a0835a025d2777d9c0e8e95813777af8167e322d8e5ae20485c32b628ced77141b156fd3619b65a5afae1a5bc90a7252166a9a54f7e3d23388b3bd0 WHIRLPOOL 687d2b0f2f4294bbc16022056cae7e9f1dd70f168aa087e5d12e4e0eb498b8df05de48c262e5c6b094ea4cbff68a3c74255f369029f377a91e0f34f23e2daf4a
25
26 diff --git a/dev-libs/libressl/libressl-2.5.3.ebuild b/dev-libs/libressl/libressl-2.5.3.ebuild
27 new file mode 100644
28 index 00000000000..320352af000
29 --- /dev/null
30 +++ b/dev-libs/libressl/libressl-2.5.3.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit eutils multilib-minimal
38 +
39 +DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
40 +HOMEPAGE="http://www.libressl.org/"
41 +SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
42 +
43 +LICENSE="ISC openssl"
44 +# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
45 +# we'll try to use the max of either. However, if either change between
46 +# versions, we have to change the subslot to trigger rebuild of consumers.
47 +SLOT="0/43"
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
49 +IUSE="+asm static-libs"
50 +
51 +RDEPEND="!dev-libs/openssl:0"
52 +DEPEND="${RDEPEND}"
53 +PDEPEND="app-misc/ca-certificates"
54 +
55 +src_prepare() {
56 + touch crypto/Makefile.in
57 +
58 + sed -i \
59 + -e '/^[ \t]*CFLAGS=/s#-g ##' \
60 + -e '/^[ \t]*CFLAGS=/s#-g"#"#' \
61 + -e '/^[ \t]*CFLAGS=/s#-O2 ##' \
62 + -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
63 + -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
64 + -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
65 + configure || die "fixing CFLAGS failed"
66 +
67 + eapply_user
68 +}
69 +
70 +multilib_src_configure() {
71 + ECONF_SOURCE="${S}" econf \
72 + $(use_enable asm) \
73 + $(use_enable static-libs static)
74 +}
75 +
76 +multilib_src_test() {
77 + emake check
78 +}
79 +
80 +multilib_src_install_all() {
81 + einstalldocs
82 + prune_libtool_files
83 +}