diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-16 05:51:11 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-16 05:51:11 +0000 |
commit | 508453b1ab9359cd195ee08017fe7e7b01f68873 (patch) | |
tree | 665bebb5ad5be6813d5176d0c2c4b80f27100643 /sys-apps/pam-login | |
parent | fix keywords, sparc please check (diff) | |
download | gentoo-2-508453b1ab9359cd195ee08017fe7e7b01f68873.tar.gz gentoo-2-508453b1ab9359cd195ee08017fe7e7b01f68873.tar.bz2 gentoo-2-508453b1ab9359cd195ee08017fe7e7b01f68873.zip |
more ppc keywords
Diffstat (limited to 'sys-apps/pam-login')
-rw-r--r-- | sys-apps/pam-login/files/digest-pam-login-3.6 | 1 | ||||
-rw-r--r-- | sys-apps/pam-login/pam-login-3.6-r2.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/pam-login/pam-login-3.6.ebuild | 76 |
3 files changed, 2 insertions, 79 deletions
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.6 b/sys-apps/pam-login/files/digest-pam-login-3.6 deleted file mode 100644 index c1e818eeeceb..000000000000 --- a/sys-apps/pam-login/files/digest-pam-login-3.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 80e7f5d92f24b77007dc87104c118ff3 pam_login-3.6.tar.bz2 149061 diff --git a/sys-apps/pam-login/pam-login-3.6-r2.ebuild b/sys-apps/pam-login/pam-login-3.6-r2.ebuild index eebe4fddb6a6..23ffa9d357f0 100644 --- a/sys-apps/pam-login/pam-login-3.6-r2.ebuild +++ b/sys-apps/pam-login/pam-login-3.6-r2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.6-r2.ebuild,v 1.3 2002/07/14 19:20:18 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.6-r2.ebuild,v 1.4 2002/07/16 05:51:02 seemant Exp $ MY_PN="${PN/pam-/pam_}" S="${WORKDIR}/${MY_PN}-${PV}" DESCRIPTION="Based on the sources from util-linux, with added pam and shadow features" SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/pam/${MY_PN}/${MY_PN}-${PV}.tar.bz2" HOMEPAGE="http://www.thkukuk.de/pam/pam_login/" -KEYWORDS="x86" +KEYWORDS="x86 ppc" LICENSE="GPL-2" DEPEND="virtual/glibc diff --git a/sys-apps/pam-login/pam-login-3.6.ebuild b/sys-apps/pam-login/pam-login-3.6.ebuild deleted file mode 100644 index 36acb7bfe741..000000000000 --- a/sys-apps/pam-login/pam-login-3.6.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.6.ebuild,v 1.4 2002/07/14 19:20:18 aliz Exp $ - -MY_PN="${PN/pam-/pam_}" -S="${WORKDIR}/${MY_PN}-${PV}" -DESCRIPTION="Based on the sources from util-linux, with added pam and shadow features" -SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/pam/${MY_PN}/${MY_PN}-${PV}.tar.bz2" -HOMEPAGE="http://www.thkukuk.de/pam/pam_login/" -KEYWORDS="x86" -LICENSE="GPL-2" - -DEPEND="virtual/glibc - sys-libs/pam - >=sys-apps/shadow-4.0.2-r5" - -SLOT="0" - -src_compile() { - - local myconf - use nls || myconf="--disable-nls" - - ./configure --host=${CHOST} \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --sysconfdir=/etc \ - ${myconf} || die - - emake || die -} - -src_install() { - - make prefix=${D}/usr \ - rootexecbindir=${D}/bin \ - mandir=${D}/usr/share/man \ - sysconfdir=${D}/etc \ - install || die - - insinto /etc - insopts -m0644 - newins ${FILESDIR}/login.defs login.defs.new - - dodoc AUTHORS COPYING ChangeLog NEWS README THANKS -} - -pkg_preinst() { - - rm -f ${ROOT}/etc/login.defs.new -} - -pkg_postinst() { - - echo - echo "************************************************************" - echo " Due to a compadibility issue, ${ROOT}etc/login.defs " - echo " is being updated automatically. Your old login.defs" - echo " will be backed up as: ${ROOT}etc/login.defs.bak" - echo "************************************************************" - echo - local CHECK1=`md5sum ${ROOT}/etc/login.defs | cut -d ' ' -f 1` - local CHECK2=`md5sum ${ROOT}/etc/login.defs.new | cut -d ' ' -f 1` - - if [ "$CHECK1" != "$CHECK2" ]; - then - cp -a ${ROOT}/etc/login.defs ${ROOT}/etc/login.defs.bak; - mv -f ${ROOT}/etc/login.defs.new ${ROOT}/etc/login.defs - elif [ ! -f ${ROOT}/etc/login.defs ] - then - mv -f ${ROOT}/etc/login.defs.new ${ROOT}/etc/login.defs - else - rm -f ${ROOT}/etc/login.defs.new - fi -} - |