From 4d7514f2f4c8410457985a74a122580c0ae44e01 Mon Sep 17 00:00:00 2001 From: Joachim Blaabjerg Date: Tue, 13 Aug 2002 12:48:33 +0000 Subject: New ebuild: sys-apps/tcb; first ebuild for the secure profile --- sys-apps/tcb/ChangeLog | 10 ++++++++++ sys-apps/tcb/files/digest-tcb-0.9.7.4 | 1 + sys-apps/tcb/tcb-0.9.7.4.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 sys-apps/tcb/ChangeLog create mode 100644 sys-apps/tcb/files/digest-tcb-0.9.7.4 create mode 100644 sys-apps/tcb/tcb-0.9.7.4.ebuild (limited to 'sys-apps/tcb') diff --git a/sys-apps/tcb/ChangeLog b/sys-apps/tcb/ChangeLog new file mode 100644 index 000000000000..cca7ed8ad3e5 --- /dev/null +++ b/sys-apps/tcb/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/tcb +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# /space/gentoo/cvsroot/gentoo-x86/skel.ChangeLog,v 1.2 2002/02/05 00:57:47 gbevin Exp + +*tcb-0.9.7.4 (13 Aug 2002) + + 13 Aug 2002; Joachim Blaabjerg tcb-0.9.7.4.ebuild : + + Initial ebuild release. Wrote this on 19 Apr 2002, but didn't get it + committed until now. Talk about lazyness :P diff --git a/sys-apps/tcb/files/digest-tcb-0.9.7.4 b/sys-apps/tcb/files/digest-tcb-0.9.7.4 new file mode 100644 index 000000000000..c2831cf253d0 --- /dev/null +++ b/sys-apps/tcb/files/digest-tcb-0.9.7.4 @@ -0,0 +1 @@ +MD5 d3cf3796b92df2d7857441894245e776 tcb-0.9.7.4.tar.bz2 30319 diff --git a/sys-apps/tcb/tcb-0.9.7.4.ebuild b/sys-apps/tcb/tcb-0.9.7.4.ebuild new file mode 100644 index 000000000000..ff1e0f048c46 --- /dev/null +++ b/sys-apps/tcb/tcb-0.9.7.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later + +S=${WORKDIR}/${P} + +DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme." +# This is a bad solution, but the original source archive is in the Owl cvs +SRC_URI="http://www.SuxOS.org/~styx/gentoo/${P}.tar.bz2" +HOMEPAGE="http://www.openwall.com" +LICENSE="GPL-2" + +DEPEND=">=sys-libs/pam-0.75" +RDEPEND="${DEPEND}" +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() { +# cd ${WORKDIR} + emake || die +} + +src_install () { + make FAKEROOT=${D} install || die + dodoc ChangeLog LICENSE +} -- cgit v1.2.3-65-gdbad