dev-libs/wolfssl - 5.9.4 (feniksa)

Search

Install

Install this version:

emerge -a =dev-libs/wolfssl-5.9.4

Package Information

Description:
Lightweight SSL/TLS library for embedded and general-purpose systems
Homepage:
https://www.wolfssl.com/ https://github.com/wolfSSL/wolfssl
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
5.9.4 8 amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Lightweight SSL/TLS library for embedded and general-purpose systems"
HOMEPAGE="https://www.wolfssl.com/ https://github.com/wolfSSL/wolfssl"
SRC_URI="https://github.com/wolfSSL/wolfssl/archive/refs/tags/v${PV}-stable.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${PV}-stable"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~x86"

IUSE="
	+asm
	debug
	+dtls
	+dtls13
	+dtlscid
	examples
	openssl
	+psk
	quic
	+scrypt
	static-libs
	test
"

RESTRICT="!test? ( test )"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="
	virtual/pkgconfig
"

REQUIRED_USE="
	dtls13? ( dtls )
	dtlscid? ( dtls )
"

src_prepare() {
	default

	# GitHub release tarball may need autotools regeneration.
	eautoreconf
}

src_configure() {
	local myeconfargs=(
		$(use_enable asm)
		$(use_enable debug)
		$(use_enable dtls)
		$(use_enable dtls13)
		$(use_enable dtlscid)
		$(use_enable examples)
		$(use_enable openssl opensslextra)
		$(use_enable psk)
		$(use_enable quic)
		$(use_enable scrypt)
		$(use_enable static-libs static)
		--enable-shared
		--enable-tls13
	)

	econf "${myeconfargs[@]}"
}

src_test() {
	emake check
}

src_install() {
	default

	if ! use static-libs; then
		find "${ED}" -name '*.la' -delete || die
	fi

	dodoc README.md
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/wolfssl | euse -E <flag> -p dev-libs/wolfssl | euse -D <flag> -p dev-libs/wolfssl

Global/Standard Flags

asm
❓ Default: Enabled (+)
dtls
❓ Default: Enabled (+)
dtls13
❓ Default: Enabled (+)
dtlscid
❓ Default: Enabled (+)
psk
❓ Default: Enabled (+)
scrypt
❓ Default: Enabled (+)

Inherited Eclasses

Dependencies

BDEPEND

	virtual/pkgconfig

Manifest for 5.9.4

Type File Size Source URLs
DIST wolfssl-5.9.4.tar.gz 34782887 bytes https://github.com/wolfSSL/wolfssl/archive/refs/tags/v5.9.4-stable.tar.gz