summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-12 21:02:57 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-12 21:02:57 +0000
commit06fe930555ab1fcf5910613a929396f4542bb10c (patch)
tree8c197f7cfb8ce0b0da8bfb45389275d3847d95d4 /sys-apps/pam-login
parentVersion bump for the binfmt_elf security vulnerability, bug #70681. (Manifest... (diff)
downloadgentoo-2-06fe930555ab1fcf5910613a929396f4542bb10c.tar.gz
gentoo-2-06fe930555ab1fcf5910613a929396f4542bb10c.tar.bz2
gentoo-2-06fe930555ab1fcf5910613a929396f4542bb10c.zip
sh KEYWORDS
Diffstat (limited to 'sys-apps/pam-login')
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.101
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.111
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.11-r11
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.121
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.12-r11
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.6-r11
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.6-r21
-rw-r--r--sys-apps/pam-login/files/digest-pam-login-3.71
-rw-r--r--sys-apps/pam-login/files/pam-login-3.6-SUPATH.patch10
-rw-r--r--sys-apps/pam-login/pam-login-3.10.ebuild73
-rw-r--r--sys-apps/pam-login/pam-login-3.11-r1.ebuild90
-rw-r--r--sys-apps/pam-login/pam-login-3.11.ebuild81
-rw-r--r--sys-apps/pam-login/pam-login-3.12-r1.ebuild94
-rw-r--r--sys-apps/pam-login/pam-login-3.12.ebuild93
-rw-r--r--sys-apps/pam-login/pam-login-3.14.ebuild4
-rw-r--r--sys-apps/pam-login/pam-login-3.6-r1.ebuild73
-rw-r--r--sys-apps/pam-login/pam-login-3.6-r2.ebuild80
-rw-r--r--sys-apps/pam-login/pam-login-3.7.ebuild73
18 files changed, 2 insertions, 677 deletions
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.10 b/sys-apps/pam-login/files/digest-pam-login-3.10
deleted file mode 100644
index 2ddf577a8842..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6dc1978d748dc6519933743b0337f718 pam_login-3.10.tar.bz2 131130
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.11 b/sys-apps/pam-login/files/digest-pam-login-3.11
deleted file mode 100644
index ff30d88cbdeb..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 be12757a47d056352e94af7de4e52d30 pam_login-3.11.tar.bz2 131529
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.11-r1 b/sys-apps/pam-login/files/digest-pam-login-3.11-r1
deleted file mode 100644
index ff30d88cbdeb..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.11-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 be12757a47d056352e94af7de4e52d30 pam_login-3.11.tar.bz2 131529
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.12 b/sys-apps/pam-login/files/digest-pam-login-3.12
deleted file mode 100644
index 1b6eb21d2573..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 125b2dec1043a8e7f867514282ff2588 pam_login-3.12.tar.bz2 138742
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.12-r1 b/sys-apps/pam-login/files/digest-pam-login-3.12-r1
deleted file mode 100644
index 1b6eb21d2573..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.12-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 125b2dec1043a8e7f867514282ff2588 pam_login-3.12.tar.bz2 138742
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.6-r1 b/sys-apps/pam-login/files/digest-pam-login-3.6-r1
deleted file mode 100644
index c1e818eeeceb..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.6-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 80e7f5d92f24b77007dc87104c118ff3 pam_login-3.6.tar.bz2 149061
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.6-r2 b/sys-apps/pam-login/files/digest-pam-login-3.6-r2
deleted file mode 100644
index c1e818eeeceb..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.6-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 80e7f5d92f24b77007dc87104c118ff3 pam_login-3.6.tar.bz2 149061
diff --git a/sys-apps/pam-login/files/digest-pam-login-3.7 b/sys-apps/pam-login/files/digest-pam-login-3.7
deleted file mode 100644
index 1005dc97e68b..000000000000
--- a/sys-apps/pam-login/files/digest-pam-login-3.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 13562e5aa75f9beced90b4c26c1534d2 pam_login-3.7.tar.bz2 127829
diff --git a/sys-apps/pam-login/files/pam-login-3.6-SUPATH.patch b/sys-apps/pam-login/files/pam-login-3.6-SUPATH.patch
deleted file mode 100644
index 78d7cf037c67..000000000000
--- a/sys-apps/pam-login/files/pam-login-3.6-SUPATH.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- pam_login-3.6/src/getdef.c.orig Mon Jun 17 21:19:47 2002
-+++ pam_login-3.6/src/getdef.c Mon Jun 17 21:21:49 2002
-@@ -56,6 +56,7 @@
- { "DEFAULT_HOME", "yes" },
- { "ENV_PATH", _PATH_DEFPATH },
- { "ENV_ROOTPATH", "/sbin:/bin:/usr/sbin:/usr/bin" },
-+ { "ENV_SUPATH", "/sbin:/bin:/usr/sbin:/usr/bin" },
- { "FAILLOG_ENAB", "yes" },
- { "FAIL_DELAY", NULL },
- { "FTMP_FILE", NULL },
diff --git a/sys-apps/pam-login/pam-login-3.10.ebuild b/sys-apps/pam-login/pam-login-3.10.ebuild
deleted file mode 100644
index 94f61338b253..000000000000
--- a/sys-apps/pam-login/pam-login-3.10.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.10.ebuild,v 1.12 2004/06/30 22:20:02 agriffis Exp $
-
-# Do we want to backup an old login.defs, and forcefully
-# install a new version?
-FORCE_LOGIN_DEFS="no"
-
-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 amd64 ppc sparc ~alpha ~mips ~hppa"
-IUSE="nls"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-src_compile() {
- local myconf=""
- use nls ||myconf="--disable-nls"
-
- econf ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- einstall rootexecbindir=${D}/bin || die
-
- insinto /etc
- insopts -m0644
-
- doins ${FILESDIR}/login.defs
- # Also install another one that we can use to check if
- # we need to update it if FORCE_LOGIN_DEFS = "yes"
- [ "${FORCE_LOGIN_DEFS}" = "yes" ] \
- && 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() {
- [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0
-
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.11-r1.ebuild b/sys-apps/pam-login/pam-login-3.11-r1.ebuild
deleted file mode 100644
index eac6c2882830..000000000000
--- a/sys-apps/pam-login/pam-login-3.11-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.11-r1.ebuild,v 1.9 2004/06/30 22:20:02 agriffis Exp $
-
-inherit gnuconfig eutils
-
-IUSE="nls"
-
-# Do we want to backup an old login.defs, and forcefully
-# install a new version?
-FORCE_LOGIN_DEFS="no"
-
-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 amd64 ~ppc ~sparc ~alpha ~mips ~hppa"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # Do not warn on inlining for gcc-3.3, bug #21213
- epatch ${FILESDIR}/${P}-gcc33.patch
-}
-
-src_compile() {
-
- # Fix configure scripts to recognize linux-mips
- # (imports updated config.sub and config.guess)
- gnuconfig_update
-
- local myconf=
- use nls ||myconf="--disable-nls"
-
- econf ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- einstall rootexecbindir=${D}/bin || die
-
- insinto /etc
- insopts -m0644
-
- doins ${FILESDIR}/login.defs
- # Also install another one that we can use to check if
- # we need to update it if FORCE_LOGIN_DEFS = "yes"
- [ "${FORCE_LOGIN_DEFS}" = "yes" ] \
- && 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() {
- [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0
-
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.11.ebuild b/sys-apps/pam-login/pam-login-3.11.ebuild
deleted file mode 100644
index fecda6710786..000000000000
--- a/sys-apps/pam-login/pam-login-3.11.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.11.ebuild,v 1.16 2004/06/30 22:20:02 agriffis Exp $
-
-inherit gnuconfig
-
-IUSE="nls"
-
-# Do we want to backup an old login.defs, and forcefully
-# install a new version?
-FORCE_LOGIN_DEFS="no"
-
-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 ppc sparc mips alpha arm hppa"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-src_compile() {
-
- # Fix configure scripts to recognize linux-mips
- # (imports updated config.sub and config.guess)
- gnuconfig_update
-
- local myconf=""
- use nls ||myconf="--disable-nls"
-
- econf ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- einstall rootexecbindir=${D}/bin || die
-
- insinto /etc
- insopts -m0644
-
- doins ${FILESDIR}/login.defs
- # Also install another one that we can use to check if
- # we need to update it if FORCE_LOGIN_DEFS = "yes"
- [ "${FORCE_LOGIN_DEFS}" = "yes" ] \
- && 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() {
- [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0
-
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.12-r1.ebuild b/sys-apps/pam-login/pam-login-3.12-r1.ebuild
deleted file mode 100644
index 89e3e74177b1..000000000000
--- a/sys-apps/pam-login/pam-login-3.12-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.12-r1.ebuild,v 1.6 2004/06/30 22:20:02 agriffis Exp $
-
-inherit gnuconfig eutils
-
-# Do we want to backup an old login.defs, and forcefully
-# install a new version?
-FORCE_LOGIN_DEFS="no"
-
-MY_PN="${PN/pam-/pam_}"
-S="${WORKDIR}/${MY_PN}-${PV}"
-DESCRIPTION="Based on the sources from util-linux, with added pam and shadow features"
-HOMEPAGE="http://www.thkukuk.de/pam/pam_login/"
-SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/pam/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha arm ~hppa ~amd64"
-IUSE="nls"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # Do not warn on inlining for gcc-3.3, bug #21213
- epatch ${FILESDIR}/${PN}-3.11-gcc33.patch
-
- epatch ${FILESDIR}/pam-login-3.11-lastlog-fix.patch
-}
-
-src_compile() {
-
- # Fix configure scripts to recognize linux-mips
- # (imports updated config.sub and config.guess)
- gnuconfig_update
-
- local myconf=
- use nls ||myconf="--disable-nls"
-
- econf ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- einstall rootexecbindir=${D}/bin || die
-
- # We use the one from shadow
- rm -rf ${D}/etc/pam.d
-
- insinto /etc
- insopts -m0644
-
- doins ${FILESDIR}/login.defs
- # Also install another one that we can use to check if
- # we need to update it if FORCE_LOGIN_DEFS = "yes"
- [ "${FORCE_LOGIN_DEFS}" = "yes" ] \
- && 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() {
- [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0
-
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.12.ebuild b/sys-apps/pam-login/pam-login-3.12.ebuild
deleted file mode 100644
index 0f5015d15ede..000000000000
--- a/sys-apps/pam-login/pam-login-3.12.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.12.ebuild,v 1.7 2004/06/30 22:20:02 agriffis Exp $
-
-inherit gnuconfig eutils
-
-IUSE="nls"
-
-# Do we want to backup an old login.defs, and forcefully
-# install a new version?
-FORCE_LOGIN_DEFS="no"
-
-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 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa"
-KEYWORDS="-*"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # Do not warn on inlining for gcc-3.3, bug #21213
- epatch ${FILESDIR}/${PN}-3.11-gcc33.patch
-
- epatch ${FILESDIR}/pam-login-3.11-lastlog-fix.patch
-}
-
-src_compile() {
-
- # Fix configure scripts to recognize linux-mips
- # (imports updated config.sub and config.guess)
- gnuconfig_update
-
- local myconf=
- use nls ||myconf="--disable-nls"
-
- econf ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- einstall rootexecbindir=${D}/bin || die
-
- insinto /etc
- insopts -m0644
-
- doins ${FILESDIR}/login.defs
- # Also install another one that we can use to check if
- # we need to update it if FORCE_LOGIN_DEFS = "yes"
- [ "${FORCE_LOGIN_DEFS}" = "yes" ] \
- && 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() {
- [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0
-
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.14.ebuild b/sys-apps/pam-login/pam-login-3.14.ebuild
index d2f9cdc54204..2438a1a071f8 100644
--- a/sys-apps/pam-login/pam-login-3.14.ebuild
+++ b/sys-apps/pam-login/pam-login-3.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.14.ebuild,v 1.18 2004/10/02 02:24:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.14.ebuild,v 1.19 2004/11/12 21:00:10 vapier Exp $
inherit gnuconfig eutils
@@ -16,7 +16,7 @@ SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/pam/${MY_PN}/${MY_PN}-${PV}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 amd64 ppc sparc alpha mips hppa ppc64 s390 ia64"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE="livecd nls selinux"
DEPEND="virtual/libc
diff --git a/sys-apps/pam-login/pam-login-3.6-r1.ebuild b/sys-apps/pam-login/pam-login-3.6-r1.ebuild
deleted file mode 100644
index c5263aeaa119..000000000000
--- a/sys-apps/pam-login/pam-login-3.6-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.6-r1.ebuild,v 1.15 2004/06/30 22:20:02 agriffis 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 amd64 ppc"
-IUSE="nls"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-SLOT="0"
-
-src_compile() {
- local myconf=""
- use nls || {
- myconf="--disable-nls"
- touch ${S}/intl/libintl.h
- }
-
- ./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() {
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.6-r2.ebuild b/sys-apps/pam-login/pam-login-3.6-r2.ebuild
deleted file mode 100644
index c3823ef708fc..000000000000
--- a/sys-apps/pam-login/pam-login-3.6-r2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.6-r2.ebuild,v 1.18 2004/06/30 22:20:02 agriffis 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 amd64 ppc sparc alpha"
-IUSE="nls"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-SLOT="0"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- patch -p1 <${FILESDIR}/${P}-SUPATH.patch || die
-}
-
-src_compile() {
- local myconf=""
- use nls || {
- myconf="--disable-nls"
- touch ${S}/intl/libintl.h
- }
-
- ./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() {
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}
diff --git a/sys-apps/pam-login/pam-login-3.7.ebuild b/sys-apps/pam-login/pam-login-3.7.ebuild
deleted file mode 100644
index be60c502bf3c..000000000000
--- a/sys-apps/pam-login/pam-login-3.7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.7.ebuild,v 1.18 2004/06/30 22:20:02 agriffis Exp $
-
-# Do we want to backup an old login.defs, and forcefully
-# install a new version?
-FORCE_LOGIN_DEFS="no"
-
-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 amd64 ppc sparc alpha mips hppa ia64"
-IUSE="nls"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/libc
- sys-libs/pam
- >=sys-apps/shadow-4.0.2-r5"
-
-src_compile() {
- local myconf=""
- use nls ||myconf="--disable-nls"
-
- econf ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- einstall rootexecbindir=${D}/bin || die
-
- insinto /etc
- insopts -m0644
-
- doins ${FILESDIR}/login.defs
- # Also install another one that we can use to check if
- # we need to update it if FORCE_LOGIN_DEFS = "yes"
- [ "${FORCE_LOGIN_DEFS}" = "yes" ] \
- && 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() {
- [ "${FORCE_LOGIN_DEFS}" != "yes" ] && return 0
-
- ewarn "Due to a compatibility issue, ${ROOT}etc/login.defs "
- ewarn "is being updated automatically. Your old login.defs"
- ewarn "will be backed up as: ${ROOT}etc/login.defs.bak"
- 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
-}