1 |
commit: 5e3b5d6a12abc2f1ed5eeea1cfa2c318abdb9f8d |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 4 10:28:52 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 4 10:28:52 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e3b5d6a |
7 |
|
8 |
dev-libs/libressl: version bump to 2.3.1, ABI version 36. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-libs/libressl/Manifest | 1 + |
13 |
dev-libs/libressl/libressl-2.3.1.ebuild | 48 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest |
17 |
index b6de318..000ae30 100644 |
18 |
--- a/dev-libs/libressl/Manifest |
19 |
+++ b/dev-libs/libressl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libressl-2.2.4.tar.gz 2966157 SHA256 6b409859be8654afc3862549494e097017e64c8d167f12584383586306ef9a7e SHA512 390fbf4f531976c873a0a1163fd57f33097686c6956ec4d3eb69e8271a4e40abfec76d65172b34ae50af8936dd8b5c3ca5fefee9d8686ca468a5577d432c3fe5 WHIRLPOOL 44d36b582efad0cff8015e507ea7c95befd5a44f2beaf69b534454cee4288681d55390a9d4c41ded8a535f0ad6c210348f365534fe3d82725e6b918a89b99e43 |
22 |
+DIST libressl-2.3.1.tar.gz 3014881 SHA256 410b58db4ebbcab43c3357612e591094f64fb9339269caa2e68728e36f8d589e SHA512 ac70d2f09035d63765bb980422c6c6b55ef07f6af4a93fce54748ff3621cf08ef87acfd438797d562dc21ab9b4862992876792deef9310aafdb927e20e27d453 WHIRLPOOL 52f46016cf07e598b7117de1cc90617982de0ad020b55c4a2b402de317d8b52f8a381c9ebdff787421dccd3e47294305863ceb9f2c1c2a9080818fec16e7e177 |
23 |
|
24 |
diff --git a/dev-libs/libressl/libressl-2.3.1.ebuild b/dev-libs/libressl/libressl-2.3.1.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..62c06a3 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libressl/libressl-2.3.1.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit eutils multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" |
39 |
+HOMEPAGE="http://www.libressl.org/" |
40 |
+SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="ISC openssl" |
43 |
+SLOT="0/36" # reflects ABI of libcrypto.so and libssl.so |
44 |
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86" |
45 |
+IUSE="+asm static-libs" |
46 |
+ |
47 |
+RDEPEND="!dev-libs/openssl:0" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+PDEPEND="app-misc/ca-certificates" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ touch crypto/Makefile.in |
53 |
+ |
54 |
+ sed -i \ |
55 |
+ -e '/^[ \t]*CFLAGS=/s#-g ##' \ |
56 |
+ -e '/^[ \t]*CFLAGS=/s#-g"#"#' \ |
57 |
+ -e '/^[ \t]*CFLAGS=/s#-O2 ##' \ |
58 |
+ -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \ |
59 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \ |
60 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \ |
61 |
+ configure || die "fixing CFLAGS failed" |
62 |
+} |
63 |
+ |
64 |
+multilib_src_configure() { |
65 |
+ ECONF_SOURCE="${S}" econf \ |
66 |
+ $(use_enable asm) \ |
67 |
+ $(use_enable static-libs static) |
68 |
+} |
69 |
+ |
70 |
+multilib_src_test() { |
71 |
+ emake check |
72 |
+} |
73 |
+ |
74 |
+multilib_src_install_all() { |
75 |
+ einstalldocs |
76 |
+ prune_libtool_files |
77 |
+} |