dev-libs/wolfssl - 5.9.1 (feniksa)

Search

Install

Install this version:

emerge -a =dev-libs/wolfssl-5.9.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/wolfssl-5.9.1

Or alternatively:

emerge --autounmask-write -a =dev-libs/wolfssl-5.9.1

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.1 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
	examples
	openssl
	quic
	static-libs
	test
"

RESTRICT="!test? ( test )"

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

src_prepare() {
	default

	# GitHub release tarball may need autotools regeneration.
	eautoreconf
}

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

	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 (+)

Inherited Eclasses

Dependencies

BDEPEND

	virtual/pkgconfig

Manifest for 5.9.1

Type File Size Source URLs
DIST wolfssl-5.9.1.tar.gz 26716365 bytes https://github.com/wolfSSL/wolfssl/archive/refs/tags/v5.9.1-stable.tar.gz