mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-libs/s2n: treeclean
Closes: https://bugs.gentoo.org/908097 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST s2n-1.0.0.tar.gz 6211951 BLAKE2B 3714f26ab0dbd53b878c73e0ae0abf9e8a4b85b16a62dd44a3e6264fba1afdfdd7bbffc3b38b494c5cc805b8a9dfe02009d109e308ff13b4752a56594299f374 SHA512 ab5ccc3e73e7f395ef86a5e637b9c2d18110c14b2913990d12e02286f6562497f7e9d45912e9076216e5f595d7932d58a31642e344a5e472259386983ad44bac
|
||||
@@ -1,22 +0,0 @@
|
||||
--- a/CMakeLists.txt 2020-12-14 17:24:27.577239622 +0100
|
||||
+++ b/CMakeLists.txt 2020-12-14 17:24:50.036240917 +0100
|
||||
@@ -193,7 +193,7 @@
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUGOPT "")
|
||||
|
||||
-target_compile_options(${PROJECT_NAME} PRIVATE -pedantic -std=gnu99 -Wall -Werror -Wimplicit -Wunused -Wcomment -Wchar-subscripts
|
||||
+target_compile_options(${PROJECT_NAME} PRIVATE -pedantic -std=gnu99 -Wall -Wimplicit -Wunused -Wcomment -Wchar-subscripts
|
||||
-Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wno-deprecated-declarations -Wno-unknown-pragmas -Wformat-security
|
||||
-Wno-missing-braces -fvisibility=hidden -DS2N_EXPORTS)
|
||||
|
||||
--- a/s2n.mk 2020-12-14 17:24:35.546240082 +0100
|
||||
+++ b/s2n.mk 2020-12-14 17:25:05.604241814 +0100
|
||||
@@ -42,7 +42,7 @@
|
||||
DEFAULT_CFLAGS = -std=c99 -Wcast-qual
|
||||
endif
|
||||
|
||||
-DEFAULT_CFLAGS += -pedantic -Wall -Werror -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \
|
||||
+DEFAULT_CFLAGS += -pedantic -Wall -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \
|
||||
-Wshadow -Wcast-align -Wwrite-strings -fPIC -Wno-missing-braces\
|
||||
-D_POSIX_C_SOURCE=200809L -O2 -I$(LIBCRYPTO_ROOT)/include/ \
|
||||
-I$(S2N_ROOT)/api/ -I$(S2N_ROOT) -Wno-deprecated-declarations -Wno-unknown-pragmas -Wformat-security \
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>sven.eden@prydeworx.com</email>
|
||||
<name>Sven Eden</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">aws/s2n-tls</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
s2n is a C99 implementation of the TLS/SSL protocols that is designed to be simple, small, fast, and with security as a
|
||||
priority. It is released and licensed under the Apache License 2.0.
|
||||
|
||||
The s2n I/O APIs are designed to be intuitive to developers familiar with the widely-used POSIX I/O APIs, and s2n
|
||||
supports blocking, non-blocking, and full-duplex I/O. Additionally there are no locks or mutexes within s2n.
|
||||
|
||||
s2n implements SSLv3, TLS1.0, TLS1.1, and TLS1.2. For encryption, s2n supports 128-bit and 256-bit AES, in the CBC and
|
||||
GCM modes, ChaCha20, 3DES, and RC4. For forward secrecy, s2n supports both DHE and ECDHE. s2n also supports the Server
|
||||
Name Indicator (SNI), Application-Layer Protocol Negotiation (ALPN) and the Online Certificate Status Protocol (OCSP)
|
||||
TLS extensions. SSLv3, RC4, 3DES and DHE are each disabled by default for security reasons.
|
||||
|
||||
As it can be difficult to keep track of which encryption algorithms and protocols are best to use, s2n features a
|
||||
simple API to use the latest "default" set of preferences. If you prefer to remain on a specific version for backwards
|
||||
compatibility, that is also supported.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Simple, small, fast and secure C99 implementation of the TLS/SSL protocols"
|
||||
HOMEPAGE="https://github.com/awslabs/s2n"
|
||||
SRC_URI="https://github.com/awslabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0=[static-libs=]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.10.21-remove_Werror.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-tls-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Fix
|
||||
# QA Notice: The following files contain writable and executable sections (...)
|
||||
sed \
|
||||
-e '$a\\n#if defined(__linux__) && defined(__ELF__)\n.section .note.GNU-stack,"",%progbits\n#endif' \
|
||||
-i "${S}"/pq-crypto/sike_r2/sikep434r2_fp_x64_asm.S || die "sed failed"
|
||||
|
||||
# Fix shared library building, needed for USE="test"
|
||||
# See: https://github.com/awslabs/s2n/issues/2401
|
||||
if use test; then
|
||||
sed -i -e 's, -fvisibility=hidden,,' "${S}"/CMakeLists.txt || die "sed failed"
|
||||
# Remove s2n_self_talk_nonblocking_test, it is broken.
|
||||
# See: https://github.com/awslabs/s2n/issues/2051#issuecomment-744543724
|
||||
rm "${S}"/tests/unit/s2n_self_talk_nonblocking_test.c || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=$(usex !static-libs)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -237,12 +237,11 @@ x11-misc/meteo
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2025-05-20)
|
||||
# Unaddressed pending version bumps for almost 2 years, stuck on EAPI-7.
|
||||
# Bugs #908094, #908095, #908096, #908097
|
||||
# Bugs #908094, #908095, #908096
|
||||
# Removal on 2025-06-19.
|
||||
dev-libs/aws-checksums
|
||||
dev-libs/aws-c-common
|
||||
dev-libs/aws-c-event-stream
|
||||
dev-libs/s2n
|
||||
|
||||
# Ulrich Müller <ulm@gentoo.org> (2025-05-18)
|
||||
# Pretest versions, masked for testing.
|
||||
|
||||
Reference in New Issue
Block a user