[arch-commits] Commit in udev/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon Jul 12 01:13:37 EDT 2010


    Date: Monday, July 12, 2010 @ 01:13:37
  Author: tpowa
Revision: 85315

upgpkg: udev 160-1
bump to latest version

Modified:
  udev/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++--------------------------
 1 file changed, 19 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-11 19:29:52 UTC (rev 85314)
+++ PKGBUILD	2010-07-12 05:13:37 UTC (rev 85315)
@@ -5,7 +5,7 @@
 
 pkgbase="udev"
 pkgname=('udev' 'udev-compat')
-pkgver=159
+pkgver=160
 pkgrel=1
 arch=(i686 x86_64)
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
@@ -18,7 +18,7 @@
         81-arch.rules load-modules.sh cdsymlinks.sh root-link.sh
         arch-udev-rules.patch
         logitech-rules.patch)
-md5sums=('acf231bd41ffddd64818e6aa0b5e6fb6'
+md5sums=('65459a1f090082c0471bf4e5112208d7'
          '6393ee81993f8b9beb776ca904005864'
          'f91fddc67609b45b244a624977c4247b'
          '2e808ee78d237c478b57af2a68d43769'
@@ -34,7 +34,7 @@
                           --includedir=/usr/include\
                           --libexecdir=/lib/udev\
                           --datarootdir=/usr/share
-  make || return 1
+  make
 }
   
 package_udev() {
@@ -66,7 +66,7 @@
   sed -i -e 's|udev_log="err"|udev_log="0"|g' $pkgdir/etc/udev/udev.conf
   # fix standard udev rules to fit to arch
   cd $pkgdir/lib/udev/rules.d/
-  patch -Np1 -i $srcdir/arch-udev-rules.patch || return 1
+  patch -Np1 -i $srcdir/arch-udev-rules.patch
   # remove .orig files
   rm -f $pkgdir/lib/udev/rules.d/*.orig
   # disable persistent cdromsymlinks and network by default 
@@ -86,35 +86,35 @@
   mkdir ${pkgdir}/lib/udev/devices/pts
   mkdir ${pkgdir}/lib/udev/devices/shm
 
-  mknod -m 0600 ${pkgdir}/lib/udev/devices/console c 5 1 || return 1
-  mknod -m 0666 ${pkgdir}/lib/udev/devices/null c 1 3 || return 1
-  mknod -m 0660 ${pkgdir}/lib/udev/devices/zero c 1 5 || return 1
-  mknod -m 0666 ${pkgdir}/lib/udev/devices/kmsg c 1 11 || return 1
+  mknod -m 0600 ${pkgdir}/lib/udev/devices/console c 5 1
+  mknod -m 0666 ${pkgdir}/lib/udev/devices/null c 1 3
+  mknod -m 0660 ${pkgdir}/lib/udev/devices/zero c 1 5
+  mknod -m 0666 ${pkgdir}/lib/udev/devices/kmsg c 1 11
 
-  ln -snf /proc/self/fd ${pkgdir}/lib/udev/devices/fd || return 1
-  ln -snf /proc/self/fd/0 ${pkgdir}/lib/udev/devices/stdin || return 1
-  ln -snf /proc/self/fd/1 ${pkgdir}/lib/udev/devices/stdout || return 1
-  ln -snf /proc/self/fd/2 ${pkgdir}/lib/udev/devices/stderr || return 1
-  ln -snf /proc/kcore ${pkgdir}/lib/udev/devices/core || return 1
+  ln -snf /proc/self/fd ${pkgdir}/lib/udev/devices/fd
+  ln -snf /proc/self/fd/0 ${pkgdir}/lib/udev/devices/stdin
+  ln -snf /proc/self/fd/1 ${pkgdir}/lib/udev/devices/stdout
+  ln -snf /proc/self/fd/2 ${pkgdir}/lib/udev/devices/stderr
+  ln -snf /proc/kcore ${pkgdir}/lib/udev/devices/core
 
   # these static devices are created for convenience, to autoload the modules if necessary
   # /dev/loop0
-  mknod -m 0660 ${pkgdir}/lib/udev/devices/loop0 b 7 0 || return 1
-  chgrp disk ${pkgdir}/lib/udev/devices/loop0 || return 1
+  mknod -m 0660 ${pkgdir}/lib/udev/devices/loop0 b 7 0
+  chgrp disk ${pkgdir}/lib/udev/devices/loop0
   # /dev/net/tun
   mkdir ${pkgdir}/lib/udev/devices/net
-  mknod -m 0666 ${pkgdir}/lib/udev/devices/net/tun c 10 200 || return 1
+  mknod -m 0666 ${pkgdir}/lib/udev/devices/net/tun c 10 200
   # /dev/fuse
-  mknod -m 0666 ${pkgdir}/lib/udev/devices/fuse c 10 229 || return 1
+  mknod -m 0666 ${pkgdir}/lib/udev/devices/fuse c 10 229 
   # /dev/ppp
-  mknod -m 0600 ${pkgdir}/lib/udev/devices/ppp c 108 0 || return 1
+  mknod -m 0600 ${pkgdir}/lib/udev/devices/ppp c 108 0
 
   # Replace dialout group in rules with uucp group
   for i in $pkgdir/lib/udev/rules.d/*.rules; do
     sed -i -e 's#GROUP="dialout"#GROUP="uucp"#g' $i
   done
 
-  mv "${pkgdir}/lib/girepository-1.0" "${pkgdir}/usr/lib/" || return 1
+  mv "${pkgdir}/lib/girepository-1.0" "${pkgdir}/usr/lib/"
 }
 
 package_udev-compat() {
@@ -125,10 +125,3 @@
   install -d -m755 ${pkgdir}/lib/${pkgname}/rules.d
   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/rules/misc/30-kernel-compat.rules ${pkgdir}/lib/udev/rules.d/30-kernel-compat.rules
 }
-md5sums=('acf231bd41ffddd64818e6aa0b5e6fb6'
-         '6393ee81993f8b9beb776ca904005864'
-         'f91fddc67609b45b244a624977c4247b'
-         '2e808ee78d237c478b57af2a68d43769'
-         '2d6dc6842464f107bccc68cd505a6c31'
-         '70198227b7bbe3852e1cd2299693af66'
-         '817537bdcfc1a4fa79e853fd38df4528')



More information about the arch-commits mailing list