[arch-commits] CVS update of arch/build/base/filesystem (4 files)

Jan de Groot jgc at archlinux.org
Sun Apr 22 18:42:48 UTC 2007


    Date: Sunday, April 22, 2007 @ 14:42:48
  Author: jgc
    Path: /home/cvs-arch/arch/build/base/filesystem

Modified: PKGBUILD (1.77 -> 1.78) filesystem.install (1.12 -> 1.13)
          group (1.7 -> 1.8) gshadow (1.2 -> 1.3)

upgpkg: filesystem 0.8-3
Add games group (gid 50)


--------------------+
 PKGBUILD           |   14 +++++++++-----
 filesystem.install |   20 ++++++++++++--------
 group              |    1 +
 gshadow            |    1 +
 4 files changed, 23 insertions(+), 13 deletions(-)


Index: arch/build/base/filesystem/PKGBUILD
diff -u arch/build/base/filesystem/PKGBUILD:1.77 arch/build/base/filesystem/PKGBUILD:1.78
--- arch/build/base/filesystem/PKGBUILD:1.77	Mon Apr  9 14:47:44 2007
+++ arch/build/base/filesystem/PKGBUILD	Sun Apr 22 14:42:48 2007
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD,v 1.77 2007/04/09 18:47:44 tpowa Exp $
+# $Id: PKGBUILD,v 1.78 2007/04/22 18:42:48 jgc Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=filesystem
 pkgver=0.8
-pkgrel=2
+pkgrel=3
 pkgdesc="Base filesystem"
 arch=(i686 x86_64)
 url="http://www.archlinux.org"
@@ -19,7 +19,7 @@
 # Hint: new groups
 # By adding new groups to group add it to gshadow also 
 # else warnings will appear by shadow package
-md5sums=('f32d3d707768ee5975ea3b59a87c262c' '4d285380ab1dc6522efd517c1df295f2'\
+md5sums=('dbef652b041b5b492da0724e606f268c' '4d285380ab1dc6522efd517c1df295f2'\
          '775464ba7588b4976e0c2a02b83123f4' '655071da46d2ac03e0fb8a071bf193ea'\
          'f28150d4c0b22a017be51b9f7f9977ed' 'f9e1d9fbf084dcc29a82a74b9ed4be65'\
          '4eee5140437e09821e82d689f53439b3' 'c163cae617cbae36d1eb5546bdb59bcb'\
@@ -28,7 +28,7 @@
          '6f48288b6fcaf0065fcb7b0e525413e0' '22518e922891f9359f971f4f5b4e793c'\
          '264a0ea963adf181623c03109d27b3fa' 'c984f45a636386408ecc505a343907ab'\
          '7873d97db30d6c279ed37e3559e7c59d' '9451109f3fe09d6381cbf36de9fbf06f'\
-         'a40bd33a541d4c4650ad61220b65e0aa')
+         'ffdf350b692604518c3c37248e7009ff')
 
 build() {
   cd $startdir/pkg
@@ -39,7 +39,7 @@
   ln -s man3 $startdir/pkg/usr/man/man3x
   # fhs compliancy
   mkdir -p usr/local/{bin,games,include,lib,man,sbin,share,src}
-  mkdir -p var/{cache/man,lib/pacman,abs,local,lock,opt,run,spool/mail,tmp}
+  mkdir -p var/{cache/man,lib/pacman,abs,local,lock,opt,run,spool/mail,tmp,games}
   mkdir -p var/log/old
   mkdir -p etc/profile.d
   mkdir -p home/ftp lib/modules
@@ -52,6 +52,10 @@
   chmod 1777 var/spool/mail tmp var/tmp
   chmod 0750 root
 
+  #Allow setgid games to write scores:
+  chmod 775 ${startdir}/pkg/var/games
+  chown root:50 ${startdir}/pkg/var/games
+
   cd $startdir/src
   cp fstab crypttab group host.conf hosts issue ld.so.conf motd nsswitch.conf \
     passwd resolv.conf securetty shadow shells arch-release $startdir/pkg/etc/
Index: arch/build/base/filesystem/filesystem.install
diff -u arch/build/base/filesystem/filesystem.install:1.12 arch/build/base/filesystem/filesystem.install:1.13
--- arch/build/base/filesystem/filesystem.install:1.12	Wed Sep 27 06:51:12 2006
+++ arch/build/base/filesystem/filesystem.install	Sun Apr 22 14:42:48 2007
@@ -15,26 +15,30 @@
   post_install $1
   if [ ! "`grep ^optical: etc/group`" ]; then
     echo "adding new groups: audio optical"
-    usr/sbin/groupadd -g 92 audio   >/dev/null 2>&1
-    usr/sbin/groupadd -g 93 optical >/dev/null 2>&1
+    usr/sbin/groupadd -g 92 audio   >/dev/null
+    usr/sbin/groupadd -g 93 optical >/dev/null
   fi
   if [ ! "`grep ^video: etc/group`" ]; then
     echo "adding new groups: video floppy storage"
-    usr/sbin/groupadd -g 91 video   >/dev/null 2>&1
-    usr/sbin/groupadd -g 94 floppy  >/dev/null 2>&1
-    usr/sbin/groupadd -g 95 storage >/dev/null 2>&1
+    usr/sbin/groupadd -g 91 video   >/dev/null
+    usr/sbin/groupadd -g 94 floppy  >/dev/null
+    usr/sbin/groupadd -g 95 storage >/dev/null
   fi
   if [ ! "`grep ^log: etc/group`" ]; then
     echo "adding new group: log"
-    usr/sbin/groupadd -g 19 log     >/dev/null 2>&1
+    usr/sbin/groupadd -g 19 log     >/dev/null
   fi
   if [ ! "`grep ^power: etc/group`" ]; then
     echo "adding new group: power"
-    usr/sbin/groupadd -g 98 power   >/dev/null 2>&1
+    usr/sbin/groupadd -g 98 power   >/dev/null
   fi
   if [ ! "`grep ^network: etc/group`" ]; then
     echo "adding new group: network"
-    usr/sbin/groupadd -g 90 network >/dev/null 2>&1
+    usr/sbin/groupadd -g 90 network >/dev/null
+  fi
+  if [ ! "`grep ^games: etc/group`" ]; then
+    echo "adding new group: games"
+    usr/sbin/groupadd -g 50 games >/dev/null
   fi
 }
 
Index: arch/build/base/filesystem/group
diff -u arch/build/base/filesystem/group:1.7 arch/build/base/filesystem/group:1.8
--- arch/build/base/filesystem/group:1.7	Wed Sep 27 06:51:12 2006
+++ arch/build/base/filesystem/group	Sun Apr 22 14:42:48 2007
@@ -13,6 +13,7 @@
 mail::12:
 log::19:root
 smmsp::25:
+games::50:
 network:x:90:
 video:x:91:
 audio::92:
Index: arch/build/base/filesystem/gshadow
diff -u arch/build/base/filesystem/gshadow:1.2 arch/build/base/filesystem/gshadow:1.3
--- arch/build/base/filesystem/gshadow:1.2	Wed Sep 27 06:51:12 2006
+++ arch/build/base/filesystem/gshadow	Sun Apr 22 14:42:48 2007
@@ -13,6 +13,7 @@
 mail:::
 log:::root
 smmsp:::
+games:::
 network:x::
 video:x::
 audio:::




More information about the arch-commits mailing list