add ttyS0 to the default securetty file for everyone (serial console)
authorMike Frysinger <vapier@gentoo.org>
Sun, 10 Oct 2004 05:59:10 +0000 (05:59 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 10 Oct 2004 05:59:10 +0000 (05:59 +0000)
sys-apps/apcupsd/Manifest
sys-apps/shadow/Manifest
sys-apps/shadow/files/securetty
sys-apps/shadow/shadow-4.0.4.1-r4.ebuild

index b41093abe0c3fd6c592fd6af3a724dd5b51d1e47..a2f45183f25dc59bad321ec055c5c4bb1539fa79 100644 (file)
@@ -5,7 +5,7 @@ MD5 cf529b70f0ab88d9bfbe5a5b67566d1f ChangeLog 7757
 MD5 c753e254f6a1309067cb4818fad9f252 apcupsd-3.10.9.ebuild 2506
 MD5 75aabfa81bcbc6f11075686a60f496d1 apcupsd-3.10.10.ebuild 2507
 MD5 abe963c7a8ded2e71901565743cfbf89 apcupsd-3.10.10-r1.ebuild 2552
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 27ae5add10fc42e77804f1ecd768df87 metadata.xml 226
 MD5 cc3d878af983ec3f02b91c470ca46041 apcupsd-3.10.8.ebuild 2506
 MD5 068f5a1ef86a7730a50988b9cdbd69b6 apcupsd-3.10.10-r2.ebuild 2684
 MD5 2efa2a59694894eafd70880618ae6d1a apcupsd-3.10.13.ebuild 2510
@@ -41,7 +41,7 @@ MD5 ac24c9a1e199dfd66650ca55ce1e33f4 files/3.10.15/ucd-snmp.patch 425
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFBX9JrHTu7gpaalycRAvriAJ9BizGYCew5eVOyBD3rtfg7CNTcBwCdGeIb
-ckFX3gomt5br8cHgks1MwVA=
-=D0iV
+iD8DBQFBaNB9HTu7gpaalycRAjBTAJ92tv5j1zXwzC0mCTjOHCnI4LxImgCeMVvb
+oCIYkkgbIIkLw+lilYWeOd4=
+=+azk
 -----END PGP SIGNATURE-----
index 699680c30c4e3e598ff88a845f5057e5ce53d618..8ce3dbd49fc46b0d61dc8c9701d75e9fa200b752 100644 (file)
@@ -3,10 +3,10 @@ Hash: SHA1
 
 MD5 62663b6dddc4851b00a465fb615490a8 ChangeLog 13610
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 5255499982264a91087d63f30d9b9cb3 shadow-4.0.4.1-r4.ebuild 6006
+MD5 7c968e223f77e36cf1d697b4ebfb1c00 shadow-4.0.4.1-r4.ebuild 5647
 MD5 5e8918c1ffa5fc209873b54e7ac7bc44 shadow-4.0.4.1-r3.ebuild 5944
 MD5 cef6788bc7c8c5468c1b1f68df77ed9e files/digest-shadow-4.0.4.1-r4 67
-MD5 e70a5f61d37c3c67a4b860d8a6191dbc files/securetty 230
+MD5 2d2faa6b9a837f9319de52a780485743 files/securetty 243
 MD5 058f760e522ab65e270293003805fe61 files/shadow-4.0.4.1-userdel-missing-brackets.patch 380
 MD5 aaf16ddabef285df169e37254b13561c files/shadow-4.0.4.1-selinux.diff 4296
 MD5 201f1321262da41ccd1a0283216ae9a7 files/shadow-4.0.4.1-su-pam_open_session.patch 4886
@@ -25,7 +25,7 @@ MD5 1baa646400c4a596290e9d4b9e1c09b2 files/pam.d/system-auth-1.1 491
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFBaKyvHTu7gpaalycRAhBeAKDBPOejuJ7dJBjIgg/nZia2EDgrzACg2ove
-x54JEo/JEb5ZzO9GiW50Vb4=
-=3GVn
+iD8DBQFBaM/GHTu7gpaalycRAmTmAKDkdu7Cg3Y9Tq3tpmUB6lncjHiQNgCfREHH
+V0bX+og2/Hauf0ZB8Rhlbgc=
+=gRpx
 -----END PGP SIGNATURE-----
index 1875081b5cbc0166d9abd1af1c4a8b83f3dead6d..d2deb25f6995ef56f8a1e56d5a3d58e801f109f0 100644 (file)
@@ -24,3 +24,6 @@ tty9
 tty10
 tty11
 tty12
+
+tts/0
+ttyS0
index d3622021bdfc46a59eed83b7272c592a1066be6f..1a2a310ce457959722a820d6e681ee1d46d7fa90 100644 (file)
@@ -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/shadow/shadow-4.0.4.1-r4.ebuild,v 1.3 2004/10/10 03:29:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild,v 1.4 2004/10/10 05:59:10 vapier Exp $
 
 inherit eutils libtool gnuconfig flag-o-matic
 
@@ -162,21 +162,10 @@ src_install() {
        docinto txt
        dodoc HOWTO LSM README.* *.txt
 
-       # Fix sparc serial console
-       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
+       # ttyB0 is the PDC software 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
+               echo "ttyB0" >> ${D}/etc/securetty
        fi
 }