dev-libs/libtls-bearssl - 0.5 (lanodanOverlay)

Search

Install

Install this version:

emerge -a =dev-libs/libtls-bearssl-0.5

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

autounmask =dev-libs/libtls-bearssl-0.5

Or alternatively:

emerge --autounmask-write -a =dev-libs/libtls-bearssl-0.5

Package Information

Description:
libtls implemented with bearssl
Homepage:
https://sr.ht/~mcf/libtls-bearssl
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
0.5 8 ~amd64 0/20.3
View Raw Ebuild
# Copyright 2024-2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="libtls implemented with bearssl"
HOMEPAGE="https://sr.ht/~mcf/libtls-bearssl"
SRC_URI="https://git.sr.ht/~mcf/libtls-bearssl/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
# See shlib_version
SLOT="0/20.3"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-libs/bearssl-0.6_p20241009:=
	!dev-libs/libretls
"
DEPEND="${RDEPEND}"

src_configure() {
	export PREFIX=/usr
	export LIBDIR="${EPREFIX}/usr/$(get_libdir)/"

	tc-export CC AR

	export CFLAGS="$CFLAGS $(pkg-config --cflags bearssl)"
	export LDLIBS="$(pkg-config --libs bearssl) -l pthread"

	sed -i 's;Libs.private: -lbearssl;Requires: bearssl;' libtls.pc.in || die
}

Inherited Eclasses

Dependencies

DEPEND

	>=dev-libs/bearssl-0.6_p20241009:=
	!dev-libs/libretls

RDEPEND

	>=dev-libs/bearssl-0.6_p20241009:=
	!dev-libs/libretls

Manifest for 0.5

Type File Size Source URLs
DIST libtls-bearssl-0.5.tar.gz 40522 bytes https://git.sr.ht/~mcf/libtls-bearssl/archive/0.5.tar.gz