Install this version:
emerge -a =dev-libs/lsbcrypt-1.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/lsbcrypt-1.0.0
Or alternatively:
emerge --autounmask-write -a =dev-libs/lsbcrypt-1.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
COMMIT="55ff64349dec3012cfbbb1c4f92d4dbd46920213"
DESCRIPTION="libcrypt wrapper for LiteSpeedTech"
HOMEPAGE="https://github.com/litespeedtech/libbcrypt/"
SRC_URI="https://github.com/litespeedtech/libbcrypt/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/libbcrypt-${COMMIT}"
LICENSE="CC0-1.0 public-domain"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}"/${PV}-fix-tests.patch
)
src_prepare() {
default
# fix hardcoded ar
sed -i "s/ar/$(tc-getAR)/" Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_test() {
emake test CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
./bcrypt_test || die "Tests failed!"
}
src_install() {
newlib.a bcrypt.a libbcrypt.a
newheader bcrypt.h libbcrypt.h
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | lsbcrypt-1.0.0.gh.tar.gz | 35444 bytes | https://github.com/litespeedtech/libbcrypt/archive/55ff64349dec3012cfbbb1c4f92d4dbd46920213.tar.gz |