diff options
Diffstat (limited to 'sys-apps/tcb/tcb-0.9.8.3.ebuild')
-rw-r--r-- | sys-apps/tcb/tcb-0.9.8.3.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/tcb/tcb-0.9.8.3.ebuild b/sys-apps/tcb/tcb-0.9.8.3.ebuild new file mode 100644 index 000000000000..8d32e197a4c3 --- /dev/null +++ b/sys-apps/tcb/tcb-0.9.8.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcb/tcb-0.9.8.3.ebuild,v 1.1 2002/12/18 14:53:59 styx Exp $ + +S=${WORKDIR}/${P} + +DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme." +SRC_URI="ftp://ftp.openwall.com/pub/projects/tcb/${P}.tar.gz" +HOMEPAGE="http://www.openwall.com" +LICENSE="GPL-2" + +DEPEND=">=sys-libs/pam-0.75" +SLOT="0" +KEYWORDS="~x86" + +pkg_preinst() { + # might want to add these into baselayout eventually... + for group in auth chkpwd shadow; do + if ! grep -q ^${group}: /etc/group ; then + groupadd ${group} || die "problem adding group $group" + fi + done +} + +src_compile () { + emake || die +} + +src_install () { + make FAKEROOT=${D} install || die + dodoc ChangeLog LICENSE +} |