diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-20 00:31:02 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-20 00:31:02 +0000 |
commit | 9711a23b1cfeb664f58552d7c00a1436bda794e3 (patch) | |
tree | 61ca5b5a24390ca28b6a99f8fd565976337203db /sys-libs | |
parent | new package clockspeed-0.62 (diff) | |
download | gentoo-2-9711a23b1cfeb664f58552d7c00a1436bda794e3.tar.gz gentoo-2-9711a23b1cfeb664f58552d7c00a1436bda794e3.tar.bz2 gentoo-2-9711a23b1cfeb664f58552d7c00a1436bda794e3.zip |
Update
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/pam/files/digest-pam-0.75 | 1 | ||||
-rw-r--r-- | sys-libs/pam/pam-0.75.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/sys-libs/pam/files/digest-pam-0.75 b/sys-libs/pam/files/digest-pam-0.75 new file mode 100644 index 000000000000..51b1d9959063 --- /dev/null +++ b/sys-libs/pam/files/digest-pam-0.75 @@ -0,0 +1 @@ +MD5 513088e0374c235e3b109119862e6bd4 Linux-PAM-0.75.tar.gz diff --git a/sys-libs/pam/pam-0.75.ebuild b/sys-libs/pam/pam-0.75.ebuild new file mode 100644 index 000000000000..17679582d411 --- /dev/null +++ b/sys-libs/pam/pam-0.75.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75.ebuild,v 1.1 2001/04/20 00:31:02 achim Exp $ + +P=pam-${PV} +A=Linux-PAM-${PV}.tar.gz +S=${WORKDIR}/Linux-PAM-${PV} +DESCRIPTION="PAM" +SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/${A}" +HOMEPAGE="http://www.redhat.com/linux-info/pam/" + +DEPEND=">=sys-libs/cracklib-2.7-r2 + >=sys-libs/pwdb-0.61-r3 + berkdb? ( =sys-libs/db-1.85-r1 )" + +src_unpack() { + unpack ${A} + cd ${S} + #patch -p0 < ${FILESDIR}/pam-0.73-pam_issue.diff +} + +src_compile() { + + try ./configure --prefix= --host=${CHOST} \ + --sbindir=/usr/sbin --mandir=/usr/share/man \ + --enable-fakeroot=${D} \ + --enable-read-both-confs + + + cp Makefile Makefile.orig + sed -e "s:libpam_misc doc examples:libpam_misc:" \ + Makefile.orig > Makefile + + cp Make.Rules Make.orig + sed -e "s:/usr/bin/install:/bin/install:" \ + -e "s:-Wpointer-arith::" \ + -e "s:^CFLAGS=:CFLAGS=${CFLAGS} :" Make.orig > Make.Rules + + if [ -z "`use berkdb`" ] + then + cp Make.Rules Make.orig + sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" Make.orig > Make.Rules + fi + + try make + +} + +src_install() { + + try make install MANDIR=\"/usr/share/man\" + dodoc CHANGELOG Copyright README + docinto modules + dodoc modules/README + cd modules + for i in pam_* + do + if [ -f $i/README ] + then + docinto modules/$i + dodoc $i/README + fi + done + + dosym libpam.so.0.73 /lib/libpam.so + dosym libpamc.so.0.73 /lib/libpamc.so + dosym libpam_misc.so.0.73 /lib/libpam_misc.so + dosym libpam.so.0.73 /lib/libpam.so.0 + dosym libpamc.so.0.73 /lib/libpamc.so.0 + dosym libpam_misc.so.0.73 /lib/libpam_misc.so.0 + +} + + + |