sys-apps/tcb - 1.2 (lanodanOverlay)

Search

Install

Install this version:

emerge -a =sys-apps/tcb-1.2

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

autounmask =sys-apps/tcb-1.2

Or alternatively:

emerge --autounmask-write -a =sys-apps/tcb-1.2

Package Information

Description:
Libraries and tools implementing the tcb password shadowing scheme
Homepage:
http://www.openwall.com/tcb/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.2 7 ~amd64 0
View Raw Ebuild
# Copyright 2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme"
HOMEPAGE="http://www.openwall.com/tcb/"
SRC_URI="https://www.openwall.com/tcb/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pam static-libs"

DEPEND="
	acct-group/chkpwd
	acct-group/shadow
	sys-libs/libxcrypt:=
"
RDEPEND="${DEPEND}"

src_prepare() {
	sed -i 's;CC =;#&;' "${S}/Make.defs" || die "Failed un-forcing CC"

	if use !pam; then
		sed -i '/pam_tcb/d' Makefile \
			|| die "Failed disabling pam_tcb"
	fi

	default
}

src_install() {
	einstalldocs
	emake install DESTDIR="${D}" \
		SLIBDIR=/$(get_libdir) LIBDIR=/usr/$(get_libdir) MANDIR=/usr/share/man

	use static-libs || find "${D}" -name '*.a' -delete
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-apps/tcb | euse -E <flag> -p sys-apps/tcb | euse -D <flag> -p sys-apps/tcb

Global/Standard Flags

pam

Dependencies

DEPEND

	acct-group/chkpwd
	acct-group/shadow
	sys-libs/libxcrypt:=

RDEPEND

	acct-group/chkpwd
	acct-group/shadow
	sys-libs/libxcrypt:=

Manifest for 1.2

Type File Size Source URLs
DIST tcb-1.2.tar.gz 41004 bytes https://www.openwall.com/tcb/tcb-1.2.tar.gz