Date: Friday, April 8, 2011 @ 06:17:08
  Author: pierre
Revision: 118838

* Add utmp group (FS#23240)
* Add missing quotes in /etc/profile (FS#22970)
* Add /run directory

Modified:
  filesystem/trunk/PKGBUILD
  filesystem/trunk/filesystem.install
  filesystem/trunk/group
  filesystem/trunk/gshadow
  filesystem/trunk/profile

--------------------+
 PKGBUILD           |   10 +++++-----
 filesystem.install |    3 +++
 group              |    1 +
 gshadow            |    1 +
 profile            |    2 +-
 5 files changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-04-08 10:16:34 UTC (rev 118837)
+++ PKGBUILD    2011-04-08 10:17:08 UTC (rev 118838)
@@ -2,7 +2,7 @@
 # Maintainer: Pierre Schmitz <[email protected]>
 
 pkgname=filesystem
-pkgver=2010.12
+pkgver=2011.04
 pkgrel=1
 pkgdesc='Base filesystem'
 arch=('any')
@@ -17,7 +17,7 @@
 source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
         'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'resolv.conf' 
'shells'
         'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
-md5sums=('75c7e1770305e1f3b75c52785c137611'
+md5sums=('772fe869b921698cc3e6fde73c4ac85a'
          '1bdc5dba66947d74866a5df8ce9ef3b1'
          '13753e4e0964f3652b0cc60a28528bdf'
          '4c4540eeb748bf1f71d631b8c1dcf0b3'
@@ -31,8 +31,8 @@
          'd41d8cd98f00b204e9800998ecf8427e'
          '6f48288b6fcaf0065fcb7b0e525413e0'
          '40dac0de4c6b99c8ca97effbd7527c84'
-         '59768b5f4080b96b67bcde5f66984ad5'
-         '51ac5c337236235bf8fe85a9b07b6db1'
+         'd2dc4e39dbdea75b107f91789e3274ab'
+         'f3b6ae7db8adffaaa4bffc6099dcbd50'
          '8098ffd9fbf890468d3198277596b85a')
 
 package() {
@@ -41,7 +41,7 @@
        #
        # setup root filesystem
        #
-       for d in bin boot dev etc home lib/modules media mnt sbin usr var opt 
srv/http sys; do
+       for d in bin boot dev etc home lib/modules media mnt sbin usr var opt 
srv/http sys run; do
                install -d -m755 ${pkgdir}/${d}
        done
        install -d -m555 ${pkgdir}/proc

Modified: filesystem.install
===================================================================
--- filesystem.install  2011-04-08 10:16:34 UTC (rev 118837)
+++ filesystem.install  2011-04-08 10:17:08 UTC (rev 118838)
@@ -2,6 +2,8 @@
        [ -f var/log/lastlog ] ||  : >var/log/lastlog
        [ -f var/log/wtmp ]    ||  : >var/log/wtmp
        [ -f var/run/utmp ]    ||  : >var/run/utmp
+       chown root:20 var/run/utmp
+       chmod 664 var/run/utmp
        [ -f var/log/btmp ]    || (: >var/log/btmp && bin/chmod 600 
var/log/btmp)
        # workaround for bug #7194
        # readded due to bug #9465
@@ -32,6 +34,7 @@
        _addgroup floppy  -g 94
        _addgroup storage -g 95
        _addgroup log     -g 19
+       _addgroup utmp    -g 20
        _addgroup power   -g 98
        _addgroup network -g 90
        _addgroup games   -g 50

Modified: group
===================================================================
--- group       2011-04-08 10:16:34 UTC (rev 118837)
+++ group       2011-04-08 10:17:08 UTC (rev 118838)
@@ -13,6 +13,7 @@
 mail:x:12:
 uucp:x:14:
 log:x:19:root
+utmp:x:20:
 locate:x:21:
 rfkill:x:24:
 smmsp:x:25:

Modified: gshadow
===================================================================
--- gshadow     2011-04-08 10:16:34 UTC (rev 118837)
+++ gshadow     2011-04-08 10:17:08 UTC (rev 118838)
@@ -13,6 +13,7 @@
 mail:::
 uucp:::
 log:::root
+utmp:x::
 locate:::
 rfkill:x::
 smmsp:::

Modified: profile
===================================================================
--- profile     2011-04-08 10:16:34 UTC (rev 118837)
+++ profile     2011-04-08 10:17:08 UTC (rev 118838)
@@ -10,7 +10,7 @@
 # Load profiles from /etc/profile.d
 if test -d /etc/profile.d/; then
        for profile in /etc/profile.d/*.sh; do
-               test -r $profile && . $profile
+               test -r "$profile" && . "$profile"
        done
        unset profile
 fi

Reply via email to