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, 03 May 2017 21:34:26
Message-Id: 1493847257.a95db5b6f242dc70a60c3aa611c6b3712971148f.blueness@gentoo
1 commit: a95db5b6f242dc70a60c3aa611c6b3712971148f
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 21:33:53 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 21:34:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a95db5b6
7
8 dev-libs/libressl: version bump to 2.5.4
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.4.ebuild | 52 +++++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
17 index c4b69f9cd80..e4f72433d39 100644
18 --- a/dev-libs/libressl/Manifest
19 +++ b/dev-libs/libressl/Manifest
20 @@ -6,3 +6,4 @@ DIST libressl-2.5.0.tar.gz 3012855 SHA256 8652bf6b55ab51fb37b686a3f604a2643e0e8f
21 DIST libressl-2.5.1.tar.gz 3266271 SHA256 f71ae0a824b78fb1a47ffa23c9c26e9d96c5c9b29234eacedce6b4c7740287cd SHA512 44557c7c3e6bc9c0af9ae83b26765be9707d53708a32a5a945108a49ea20503afa4197919801830d27821c069b87e0e0edd284bd1b8a85340dbc0da2c162c2f9 WHIRLPOOL e31b487e9e88f372cd22db05e54e74900181120cf8c6105f5531658e7b467722680921f3630b8943ee0ec5f5777cb76a7ddc64e4d43f166903928aaa4f98509c
22 DIST libressl-2.5.2.tar.gz 3277320 SHA256 0ffa7d70809284a4ac96e965918a61c1d7930bca865457a7db0ff0afc8201c82 SHA512 2c42b8bab40dfb517231d83456073c92a61210a83654f23bec1b5148bd7e3c0590f50244970ebf966e5e9582ea98289fe48c6f246d1d79e5d9facea2041e4faa WHIRLPOOL fc1dba52049779bf55a39a88abff8db8cfa3ba0d437dfacefa372d64e9859d7904848ba146a54064f70b79d0febea666757981ff4268699ac22a6cd8b5f3bc73
23 DIST libressl-2.5.3.tar.gz 3285151 SHA256 14e34cc586ec4ce5763f76046dcf366c45104b2cc71d77b63be5505608e68a30 SHA512 e5ba2abb8a0835a025d2777d9c0e8e95813777af8167e322d8e5ae20485c32b628ced77141b156fd3619b65a5afae1a5bc90a7252166a9a54f7e3d23388b3bd0 WHIRLPOOL 687d2b0f2f4294bbc16022056cae7e9f1dd70f168aa087e5d12e4e0eb498b8df05de48c262e5c6b094ea4cbff68a3c74255f369029f377a91e0f34f23e2daf4a
24 +DIST libressl-2.5.4.tar.gz 3286042 SHA256 107a5b522fbb8318d4c3be668075e5e607296f0a9255d71674caa94571336efa SHA512 8ca86c14af0020c90bef4651892799864938dab9d898172269cb78bad5963314e064f2b4c46e6a04e0b85d1eddbd1840b734803c11ceec8fd6bb1290e0fe204c WHIRLPOOL f1cfb1b126759275172616eadbc40e20ae8bbc615bfa4e49e68b3c5a9f66e6503007531a2ff59df482ebf6902008b431ca5891d73e6c8887862f11e00f76b423
25
26 diff --git a/dev-libs/libressl/libressl-2.5.4.ebuild b/dev-libs/libressl/libressl-2.5.4.ebuild
27 new file mode 100644
28 index 00000000000..320352af000
29 --- /dev/null
30 +++ b/dev-libs/libressl/libressl-2.5.4.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 +}