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