diff options
Diffstat (limited to 'sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild')
-rw-r--r-- | sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild b/sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild new file mode 100644 index 000000000..0508c73cb --- /dev/null +++ b/sys-auth/pam_chroot/pam_chroot-0.9.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs pam flag-o-matic + +DESCRIPTION="Linux-PAM module that allows a user to be chrooted in auth, account, or session." +HOMEPAGE="http://sourceforge.net/projects/pam-chroot" +SRC_URI="mirror://sourceforge/pam-chroot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="virtual/pam" +RDEPEND="${DEPEND}" + +src_compile() { + append-flags "-fPIC" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dopammod "${S}/pam_chroot.so" + dopamsecurity . chroot.conf + + dodoc CREDITS TROUBLESHOOTING options +} |