Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/s2n/
Date: Wed, 01 Feb 2023 19:27:21
Message-Id: 1675279596.a22d60dd6dfc4166e6905501b7e3574842776aae.asturm@gentoo
1 commit: a22d60dd6dfc4166e6905501b7e3574842776aae
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 27 20:50:56 2023 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 19:26:36 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22d60dd
7
8 dev-libs/s2n: drop 0.10.21-r1
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-libs/s2n/Manifest | 1 -
13 dev-libs/s2n/s2n-0.10.21-r1.ebuild | 53 --------------------------------------
14 2 files changed, 54 deletions(-)
15
16 diff --git a/dev-libs/s2n/Manifest b/dev-libs/s2n/Manifest
17 index 6527ab4efec5..53a015784dda 100644
18 --- a/dev-libs/s2n/Manifest
19 +++ b/dev-libs/s2n/Manifest
20 @@ -1,2 +1 @@
21 -DIST s2n-0.10.21.tar.gz 6150129 BLAKE2B cf598ef02b4aa9a2a69f11a47b2a691055575b7398ba0a833081da704ebc7564d30abda5f2ad9ff9858ec2f553b1f332e913494b9e195e2a754f008bab5c11d2 SHA512 26957edf36af088af2cb355dad9281fefd9d54ce8c3c2c26f5682aee8d64338a3677aa81f3a07563b27a938cad2c57e0a86a478c9619cc93552674451d501909
22 DIST s2n-1.0.0.tar.gz 6211951 BLAKE2B 3714f26ab0dbd53b878c73e0ae0abf9e8a4b85b16a62dd44a3e6264fba1afdfdd7bbffc3b38b494c5cc805b8a9dfe02009d109e308ff13b4752a56594299f374 SHA512 ab5ccc3e73e7f395ef86a5e637b9c2d18110c14b2913990d12e02286f6562497f7e9d45912e9076216e5f595d7932d58a31642e344a5e472259386983ad44bac
23
24 diff --git a/dev-libs/s2n/s2n-0.10.21-r1.ebuild b/dev-libs/s2n/s2n-0.10.21-r1.ebuild
25 deleted file mode 100644
26 index 90d26fa86c8c..000000000000
27 --- a/dev-libs/s2n/s2n-0.10.21-r1.ebuild
28 +++ /dev/null
29 @@ -1,53 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit cmake
36 -
37 -DESCRIPTION="simple, small, fast and secure C99 implementation of the TLS/SSL protocols"
38 -HOMEPAGE="https://github.com/awslabs/s2n"
39 -SRC_URI="https://github.com/awslabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="Apache-2.0"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~x86"
44 -IUSE="static-libs test"
45 -
46 -RESTRICT="!test? ( test )"
47 -
48 -RDEPEND="
49 - dev-libs/openssl:0=[static-libs=]
50 -"
51 -DEPEND="${RDEPEND}"
52 -
53 -PATCHES=(
54 - "${FILESDIR}"/${P}-remove_Werror.patch
55 -)
56 -
57 -src_prepare() {
58 - cmake_src_prepare
59 -
60 - # Fix
61 - # QA Notice: The following files contain writable and executable sections (...)
62 - sed \
63 - -e '$a\\n#if defined(__linux__) && defined(__ELF__)\n.section .note.GNU-stack,"",%progbits\n#endif' \
64 - -i "${S}"/pq-crypto/sike_r2/fp_x64_asm.S || die "sed failed"
65 -
66 - # Fix shared library building, needed for USE="test"
67 - # See: https://github.com/awslabs/s2n/issues/2401
68 - if use test; then
69 - sed -i -e 's, -fvisibility=hidden,,' "${S}"/CMakeLists.txt || die "sed failed"
70 - # Remove s2n_self_talk_nonblocking_test, it is broken.
71 - # See: https://github.com/awslabs/s2n/issues/2051#issuecomment-744543724
72 - rm "${S}"/tests/unit/s2n_self_talk_nonblocking_test.c
73 - fi
74 -}
75 -
76 -src_configure() {
77 - local mycmakeargs=(
78 - -DBUILD_SHARED_LIBS=$(usex !static-libs)
79 - -DBUILD_TESTING=$(usex test)
80 - )
81 - cmake_src_configure
82 -}