Install this version:
emerge -a =dev-libs/s2n-tls-1.7.9
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/s2n-tls-1.7.9
Or alternatively:
emerge --autounmask-write -a =dev-libs/s2n-tls-1.7.9
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.7.9 | 8 | ~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 | $(ver_cut 1) |
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="s2n-tls is a C99 implementation of the TLS/SSL protocols"
HOMEPAGE="https://github.com/aws/s2n-tls"
SRC_URI="https://github.com/aws/s2n-tls/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/openssl:="
RDEPEND="${DEPEND}"
src_prepare() {
cmake_src_prepare
# stop overwriting LDFLAGS
sed -i -e '/set(CMAKE_SHARED_LINKER_FLAGS/d' CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test ON OFF)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-libs/s2n-tls |
euse -E <flag> -p dev-libs/s2n-tls |
euse -D <flag> -p dev-libs/s2n-tls
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | s2n-tls-1.7.9.tar.gz | 4934186 bytes | https://github.com/aws/s2n-tls/archive/refs/tags/v1.7.9.tar.gz |