1 |
commit: 809b3b19763fcd792a3c678e111998ddd5a01c4f |
2 |
Author: Stefan Strogin <steils <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 9 10:33:19 2020 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 9 10:38:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809b3b19 |
7 |
|
8 |
dev-libs/libressl: version bump to 3.1.0 |
9 |
|
10 |
Soname and sub-slot are updated. |
11 |
Mask for testing. |
12 |
|
13 |
Package-Manager: Portage-2.3.97, Repoman-2.3.22 |
14 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libressl/Manifest | 1 + |
17 |
dev-libs/libressl/libressl-3.1.0.ebuild | 63 +++++++++++++++++++++++++++++++++ |
18 |
profiles/package.mask | 4 +++ |
19 |
3 files changed, 68 insertions(+) |
20 |
|
21 |
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest |
22 |
index 184b83b56d4..ed88066ce36 100644 |
23 |
--- a/dev-libs/libressl/Manifest |
24 |
+++ b/dev-libs/libressl/Manifest |
25 |
@@ -5,3 +5,4 @@ DIST libressl-2.9.2.tar.gz 3607549 BLAKE2B 496e993e4f1c85167e0344afab61259d4e3f0 |
26 |
DIST libressl-3.0.0.tar.gz 3620475 BLAKE2B c1dc1709e60cfbfa9907c206340262b78e1bfb991d3956dfc0a5d8d80f80b61df41059e645f9f096185724470e8466a5b7a444a575f5f09d5a0f9eb35ff3ae7e SHA512 460fa390012218262b7c148a28e6ddfc0dc3d669c4bdd37b68bfa6f50a0cb2fb81a277fb46ae0ac22673aae5b5cc4476fe96e56471a6812176bf76e9c5e10838 |
27 |
DIST libressl-3.0.1.tar.gz 3668819 BLAKE2B 0e0e9db5018f7fd6c5d3f15dd911e375ae51885321fda2a6bef8f56620ca9d8b63d587f5acdf78afafabdd7ee1243c79bdf9b68a890dfc5f76fa45bbaf060563 SHA512 d2d665734d8aab2b998769492cbb1e7fddead52430ef503650c14786196241a6d1137f47b33ddf2037cc1ff13c240283f591dce83ec0da475619679a051d725f |
28 |
DIST libressl-3.0.2.tar.gz 3669468 BLAKE2B 84ad2c1fea8d2119f191ec8ab3f999fb0354636d48aabb76fa1786139c669c9d8ca105d79cc8416dd20683818eccc84490cdadc9ca94cb2b0e411644e923a3d6 SHA512 19226da3bc9776e1da40b8e94dfa53564d5e6acc80edee539ba12d7a75c1bb8c0603e7633f26a6ef8b12adc56bb677ccda448575aa6be2ad3df5447465a4b080 |
29 |
+DIST libressl-3.1.0.tar.gz 3758950 BLAKE2B 0ea1caa80ab54a5346f239dd1205f7fea56cf1a8a541766068c002647144ca6df0e32ff1bb451ebe42100eb27d08ce9afd4a13c2b2c5bab4ffcbcbeae7e4c94d SHA512 365ccf01d4802af048b2a03b6994b17cf051185fa4a0940ae72bd3ec3927467486501d334d2fa7904b07d9364093a97e1b90bb67d3bd8bb1d807643c20a0c677 |
30 |
|
31 |
diff --git a/dev-libs/libressl/libressl-3.1.0.ebuild b/dev-libs/libressl/libressl-3.1.0.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..48642f97b49 |
34 |
--- /dev/null |
35 |
+++ b/dev-libs/libressl/libressl-3.1.0.ebuild |
36 |
@@ -0,0 +1,63 @@ |
37 |
+# Copyright 1999-2020 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+inherit multilib-minimal libtool |
43 |
+ |
44 |
+DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" |
45 |
+HOMEPAGE="https://www.libressl.org/" |
46 |
+SRC_URI="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="ISC openssl" |
49 |
+# Reflects ABI of libcrypto.so and libssl.so. Since these can differ, |
50 |
+# we'll try to use the max of either. However, if either change between |
51 |
+# versions, we have to change the subslot to trigger rebuild of consumers. |
52 |
+SLOT="0/48" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="+asm static-libs test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+REQUIRED_USE="test? ( static-libs )" |
57 |
+ |
58 |
+RDEPEND="!dev-libs/openssl:0" |
59 |
+DEPEND="${RDEPEND}" |
60 |
+PDEPEND="app-misc/ca-certificates" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ touch crypto/Makefile.in |
64 |
+ |
65 |
+ sed -i \ |
66 |
+ -e '/^[ \t]*CFLAGS=/s#-g ##' \ |
67 |
+ -e '/^[ \t]*CFLAGS=/s#-g"#"#' \ |
68 |
+ -e '/^[ \t]*CFLAGS=/s#-O2 ##' \ |
69 |
+ -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \ |
70 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \ |
71 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \ |
72 |
+ configure || die "fixing CFLAGS failed" |
73 |
+ |
74 |
+ if ! use test ; then |
75 |
+ sed -i \ |
76 |
+ -e '/^[ \t]*SUBDIRS =/s#tests##' \ |
77 |
+ Makefile.in || die "Removing tests failed" |
78 |
+ fi |
79 |
+ |
80 |
+ eapply "${FILESDIR}"/${PN}-2.8.3-solaris10.patch |
81 |
+ eapply_user |
82 |
+ |
83 |
+ elibtoolize # for Solaris |
84 |
+} |
85 |
+ |
86 |
+multilib_src_configure() { |
87 |
+ ECONF_SOURCE="${S}" econf \ |
88 |
+ $(use_enable asm) \ |
89 |
+ $(use_enable static-libs static) |
90 |
+} |
91 |
+ |
92 |
+multilib_src_test() { |
93 |
+ emake check |
94 |
+} |
95 |
+ |
96 |
+multilib_src_install_all() { |
97 |
+ einstalldocs |
98 |
+ find "${D}" -name '*.la' -exec rm -f {} + || die |
99 |
+} |
100 |
|
101 |
diff --git a/profiles/package.mask b/profiles/package.mask |
102 |
index 9e1b47cc4b6..65164135bd8 100644 |
103 |
--- a/profiles/package.mask |
104 |
+++ b/profiles/package.mask |
105 |
@@ -32,6 +32,10 @@ |
106 |
|
107 |
#--- END OF EXAMPLES --- |
108 |
|
109 |
+# Stefan Strogin <steils@g.o> (2020-04-09) |
110 |
+# Masked for testing |
111 |
+>=dev-libs/libressl-3.1.0 |
112 |
+ |
113 |
# Marek Szuba <marecki@g.o> (2020-04-08) |
114 |
# Both of these block app-eselect/eselect-opencl in order to prevent |
115 |
# file collisions in /usr/include/CL and on /usr/lib/libOpenCL.so* . |