1 |
commit: 2df86a9c95f8af23586e213684e6518e166ff5b9 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 22 07:12:00 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 22 07:12:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df86a9c |
7 |
|
8 |
dev-libs/libressl: version bump to 2.7.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/libressl/Manifest | 1 + |
13 |
dev-libs/libressl/libressl-2.7.0.ebuild | 52 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest |
17 |
index 81b98a301f5..48b71a61cce 100644 |
18 |
--- a/dev-libs/libressl/Manifest |
19 |
+++ b/dev-libs/libressl/Manifest |
20 |
@@ -8,3 +8,4 @@ DIST libressl-2.6.1.tar.gz 3219005 BLAKE2B ca5c1b2f1c824f9faf26cf335a533b98a9af4 |
21 |
DIST libressl-2.6.2.tar.gz 3229140 BLAKE2B 65ee69ac9d5754a153ed8e9ca20240cf6d584093731a0fc53fc847f6c2a6516fa709f347ef58059a3dfde7a6013cef0188d6632a15ace172f6a371f1fcdb7756 SHA512 2896d52185b84edfb23eae73949f5a537966b42e659f00b0b2e0635e69daf546fc41e0e7b97cb52a85e73b2d27ead221a3225977f6b5ee998aefdabf0908a9e4 |
22 |
DIST libressl-2.6.3.tar.gz 3228661 BLAKE2B 01d1e09a5c4541e1d6b35d0a1cd9246671a7cda404c9818885cce55897dd405585a656b748ca6c959224b7d6155c20700fb4a92c37af42429959162a7ad8fb87 SHA512 5c0a0f86ecad1226c2d9a3a8a2e6f412ac0941d402c213ae1d293cd90c6a684198410db8c5250f83b8e2b00968a089afc39e90e053669fc27f82a4eb7c65f5c9 |
23 |
DIST libressl-2.6.4.tar.gz 3227935 BLAKE2B 48e865448a9e5b0b604b06060091073276aebd376506de73773a5eb9cb0bb4c5b93aa16353b4892abaee97ec933ad77e89775c3f52263d77bb17c68e481b4f70 SHA512 181761da573ff392aaee17dd3dde416d7cbb299ab3e07b49c97e279ceb3f619e78d1dc9ec4c59b0af024f0a8270ff31fe37f8282d0392be34c3143c9647cd246 |
24 |
+DIST libressl-2.7.0.tar.gz 3286436 BLAKE2B 883f24f70dc39c0547d63b852274ce12e03910d5b8eced70dbcffb062d236ad03b3e7dc0c265277f33666616f682b454130be18fb2f8112d42aabcaab8882a69 SHA512 d0e51fa7143f71266e9193fbda151c6e65ba403fa93b4030edcfd4909f5905b03586cc5605e58a62a190d46e9caf7191b6572106b8e92bc5400b2e1b6b7e025e |
25 |
|
26 |
diff --git a/dev-libs/libressl/libressl-2.7.0.ebuild b/dev-libs/libressl/libressl-2.7.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8884f50f75c |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libressl/libressl-2.7.0.ebuild |
31 |
@@ -0,0 +1,52 @@ |
32 |
+# Copyright 1999-2018 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/45" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~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 |
+} |