dev-libs/s2n: add 1.5.22

Signed-off-by: KotoishiHeart <trakrailysurely@danceylove.net>
This commit is contained in:
KotoishiHeart
2025-07-17 23:58:25 +09:00
parent 7bc107acf7
commit 9b6e4565c6
2 changed files with 33 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST s2n-1.5.21.tar.gz 5043323 BLAKE2B d1d424ee2ea615a985f3b158ab1fd0e212e46f9774a246b9f5b184df90bd0b65f1fb3fd0c5fb2b312d0eb3194f87105121267348698e7570e9b4095a2e69f523 SHA512 faed1a4765874b91da53d3e2c6430ad14701bca45cb3e7fa9a5d1cde957ed2d7e3cc21a713d09a848e341d09f483e769a0651e15d118d2f9b8a8aa76e873b3f2
DIST s2n-1.5.22.tar.gz 5044900 BLAKE2B d133e0475d2dd219642829f7a7340a20990caf12e2ce653e4e603b3407860de1c10ea3bbf41376c200aec086aff18d63d89d0faded272d245342749eb969116f SHA512 2de07830b13c4e8346f812799a6f51ebac728f6cb8ddd6d005579665f1038cd537a9eb82d6f68fff1c5da0ad49e688ba031cdf4c3a4cf1b8958e1ea606ce08c9

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/openssl:=
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-tls-${PV}"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF
)
cmake_src_configure
}