summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2004-05-04 21:28:55 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2004-05-04 21:28:55 +0000
commit283d07b8ac812980277cfe51e39f6c1f5d3bfce1 (patch)
tree5ff79b8e77a582ede6d0ca395c5a114ad72c265f /sys-apps/shadow
parent~amd64 (Manifest recommit) (diff)
downloadgentoo-2-283d07b8ac812980277cfe51e39f6c1f5d3bfce1.tar.gz
gentoo-2-283d07b8ac812980277cfe51e39f6c1f5d3bfce1.tar.bz2
gentoo-2-283d07b8ac812980277cfe51e39f6c1f5d3bfce1.zip
hppa consoles added to securetty, sparc cleanup
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/ChangeLog5
-rw-r--r--sys-apps/shadow/shadow-4.0.3-r9.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/sys-apps/shadow/ChangeLog b/sys-apps/shadow/ChangeLog
index bb2c4eaed561..725207bc9a28 100644
--- a/sys-apps/shadow/ChangeLog
+++ b/sys-apps/shadow/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/shadow
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/ChangeLog,v 1.52 2004/04/22 11:22:43 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/ChangeLog,v 1.53 2004/05/04 21:28:55 gustavoz Exp $
+
+ 04 May 2004; Gustavo Zacarias <gustavoz@gentoo.org> shadow-4.0.3-r9.ebuild:
+ hppa consoles added to securetty, sparc cleanup
22 Apr 2004; Travis Tilley <lv@gentoo.org>
+files/shadow-4.0.3-gcc34-xmalloc.patch,
diff --git a/sys-apps/shadow/shadow-4.0.3-r9.ebuild b/sys-apps/shadow/shadow-4.0.3-r9.ebuild
index c33eee0a6ab1..e5286c6cc519 100644
--- a/sys-apps/shadow/shadow-4.0.3-r9.ebuild
+++ b/sys-apps/shadow/shadow-4.0.3-r9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.3-r9.ebuild,v 1.12 2004/04/22 11:22:43 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.3-r9.ebuild,v 1.13 2004/05/04 21:28:55 gustavoz Exp $
IUSE="pam selinux nls"
@@ -167,12 +167,21 @@ src_install() {
dodoc HOWTO LSM README.* *.txt
# Fix sparc serial console
- if [ "${ARCH}" = "sparc" -o "${ARCH}" = "" ]
+ if [ "${ARCH}" = "sparc" ]
then
# ttyS0 and its devfsd counterpart (Sparc serial port "A")
dosed 's:\(vc/1\)$:tts/0\n\1:' /etc/securetty
dosed 's:\(tty1\)$:ttyS0\n\1:' /etc/securetty
fi
+
+ # fix hppa serial console
+ if [ "${ARCH}" = "hppa" ]
+ then
+ # ttyB0 is the PDC software console
+ dosed 's:\(vc/1\)$:tts/0\n\1:' /etc/securetty
+ dosed 's:\(tty1\)$:ttyS0\n\1:' /etc/securetty
+ dosed 's:\(tty1\)$:ttyB0\n\1:' /etc/securetty
+ fi
}
pkg_postinst() {