1 |
commit: 9b51f5b3c7365c176f619c771451cf8012b8bae6 |
2 |
Author: itZzenXX <github.letting <AT> aleeas <DOT> com> |
3 |
AuthorDate: Wed May 5 21:29:21 2021 +0000 |
4 |
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
5 |
CommitDate: Wed May 5 23:53:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=9b51f5b3 |
7 |
|
8 |
Bump dev-libs/libressl to 3.3.3 |
9 |
|
10 |
Closes: https://github.com/gentoo/libressl/pull/338 |
11 |
|
12 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
13 |
|
14 |
dev-libs/libressl/Manifest | 1 + |
15 |
dev-libs/libressl/libressl-3.3.3.ebuild | 63 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 64 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest |
19 |
index 3962877..9807a88 100644 |
20 |
--- a/dev-libs/libressl/Manifest |
21 |
+++ b/dev-libs/libressl/Manifest |
22 |
@@ -10,3 +10,4 @@ DIST libressl-3.2.5.tar.gz 3842149 BLAKE2B a8d70ebd3a22e24206320a5f15857cc170e77 |
23 |
DIST libressl-3.3.0.tar.gz 3837684 BLAKE2B 0b2947fa00f86829b574beedc462ed7e602b417f057c8bcf966508952e10c17709a4ea484e4b8699eee2cee228e00518a25c9eedd96534273c56a467cdc0c39b SHA512 3ea1339719b85234e4db8753eb11b760b9969bf0917d2556126bb048fc41022def628995587e438781092dcc49233109641b174f156cc4ec451fe8a217372cec |
24 |
DIST libressl-3.3.1.tar.gz 3838592 BLAKE2B 67c5bd72c1d1085c13fd3bf2e3829a6b83d61c3c9af5f5e65dca7548abe967f0ec8ebe3c46c6af576c54304b432069aab9d940bded90925cb44fffa7a8f35c29 SHA512 a0a6c10af71c6932a63381f33b2d0fe38b28d1c3c62c0c2de770695152f6eb3c558fdedd2fb6cdf34bd9a2dd3887aec615b652cbc3c1eed6c3c973c787a0c294 |
25 |
DIST libressl-3.3.2.tar.gz 3847969 BLAKE2B 6a7af3c36dd78ed60c5fbc9f96efa7c69a01599d76ebd25a701186b4c6471255918ab7e2696c9d277454ca2b99f4a17c536c31336b462903601e779518a73d6e SHA512 16a06771a38d7f88e755878875ec38e814a9bdfe5ec5d0b9b4a7a7ce3ee4a9c3d395f82cee2803ebc418c9ea27c0ac3aa5c34197e048ea91cd8d9a707da56f77 |
26 |
+DIST libressl-3.3.3.tar.gz 3848064 BLAKE2B c3023da19994426fbedbebbf7d37cb088b9f3725aa9455c6b69f4e07fb1db586f320c19cabfc9ebc64cfdfdc5fa93d2aed55c1c6f5784ea95f70b80c180fe557 SHA512 2d0b5f4cfe37d573bc64d5967abb77f536dbe581fbad9637d925332bcdfd185fe6810335b2af80a89f92d7e6edaa8ea3ba2492c60a117e47ea1b2d6aacf01f0f |
27 |
|
28 |
diff --git a/dev-libs/libressl/libressl-3.3.3.ebuild b/dev-libs/libressl/libressl-3.3.3.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..b92c362 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/libressl/libressl-3.3.3.ebuild |
33 |
@@ -0,0 +1,63 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit multilib-minimal libtool |
40 |
+ |
41 |
+DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" |
42 |
+HOMEPAGE="https://www.libressl.org/" |
43 |
+SRC_URI="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="ISC openssl" |
46 |
+# Reflects ABI of libcrypto.so and libssl.so. Since these can differ, |
47 |
+# we'll try to use the max of either. However, if either change between |
48 |
+# versions, we have to change the subslot to trigger rebuild of consumers. |
49 |
+SLOT="0/48" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
51 |
+IUSE="+asm static-libs test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+REQUIRED_USE="test? ( static-libs )" |
54 |
+ |
55 |
+DEPEND="${RDEPEND}" |
56 |
+PDEPEND="app-misc/ca-certificates" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ touch crypto/Makefile.in |
60 |
+ |
61 |
+ sed -i \ |
62 |
+ -e '/^[ \t]*CFLAGS=/s#-g ##' \ |
63 |
+ -e '/^[ \t]*CFLAGS=/s#-g"#"#' \ |
64 |
+ -e '/^[ \t]*CFLAGS=/s#-O2 ##' \ |
65 |
+ -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \ |
66 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \ |
67 |
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \ |
68 |
+ configure || die "fixing CFLAGS failed" |
69 |
+ |
70 |
+ if ! use test ; then |
71 |
+ sed -i \ |
72 |
+ -e '/^[ \t]*SUBDIRS =/s#tests##' \ |
73 |
+ Makefile.in || die "Removing tests failed" |
74 |
+ fi |
75 |
+ |
76 |
+ eapply "${FILESDIR}"/${PN}-2.8.3-solaris10.patch |
77 |
+ #eapply "${FILESDIR}"/${PN}-3.2.2-build.patch |
78 |
+ eapply_user |
79 |
+ |
80 |
+ elibtoolize # for Solaris |
81 |
+} |
82 |
+ |
83 |
+multilib_src_configure() { |
84 |
+ ECONF_SOURCE="${S}" econf \ |
85 |
+ $(use_enable asm) \ |
86 |
+ $(use_enable static-libs static) |
87 |
+} |
88 |
+ |
89 |
+multilib_src_test() { |
90 |
+ emake check |
91 |
+} |
92 |
+ |
93 |
+multilib_src_install_all() { |
94 |
+ einstalldocs |
95 |
+ find "${D}" -name '*.la' -exec rm -f {} + || die |
96 |
+} |