[Frugalware-darcs] frugalware-current: udev-071-1-i686

VMiklos vmiklos at frugalware.org
Sun Oct 23 14:50:44 CEST 2005


Sun Oct 23 14:27:48 CEST 2005  VMiklos <vmiklos at frugalware.org>
  * udev-071-1-i686
  version bump
  use cdrom_id instead of cdsymlinks.sh
diff -rN -u old-frugalware-current/source/base/udev/FrugalBuild new-frugalware-current-1/source/base/udev/FrugalBuild
--- old-frugalware-current/source/base/udev/FrugalBuild	2005-10-23 14:49:52.000000000 +0200
+++ new-frugalware-current-1/source/base/udev/FrugalBuild	2005-10-23 14:31:12.000000000 +0200
@@ -1,11 +1,11 @@
-# Last Modified: Sat, 01 Oct 2005 20:41:12 +0200
-# Compiling Time: ~0.03 SBU
+# Last Modified: Sun, 23 Oct 2005 14:18:02 +0200
+# Compiling Time: 0.04 SBU
 # Maintainer: VMiklos <vmiklos at frugalware.org>
 # Modified by Laszlo Dvornik <dvornik at gnome.hu>
 
 pkgname=udev
-pkgver=068
-pkgrel=3
+pkgver=071
+pkgrel=1
 pkgdesc="A userspace implementation of devfs"
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/"
 backup=(etc/udev/{udev.conf,rules.d/50-udev.rules,cdsymlinks.conf} \
@@ -17,12 +17,12 @@
 up2date="lynx -dump \"$url?C=M;O=D\"|grep 'udev-.*tar.bz2 '|sed -n 's/.*-\(.*\)\.t.*/\1/;1 p'"
 source=($url/$pkgname-$pkgver.tar.gz rc.udev udev \
 	$pkgname-$pkgver-symlinks.diff $pkgname-$pkgver-cdperms.diff \
-	$pkgname-068-media-groups.diff)
-sha1sums=('347ba6f96d1098e5a65e802cfda3ebaf5eb5ec07' \
+	$pkgname-$pkgver-media-groups.diff)
+sha1sums=('b610db17627f0991acf42b068c6e35824beddcc0' \
 	  '109d8c887726a3c18f7bd8df5c097c189566f0c3' \
 	  'dcf0c074a1665cae1857fda5545f6fedff671246' \
-	  'f21eb5df9bc991f164f841743dd0dc5953698a5c' \
-	  '05fd5109005103bfcf403f4f3e045d3c16a9fada' \
+	  '2905adb61cbb8c63caf3d62b11a19ea184d2374d' \
+	  '53cc98a64cbef94d7d954f49c9ca962e76cb1bbf' \
 	  'd4ce70a5953af38402dfe780b04f6016afb7557d')
 
 build()
@@ -32,12 +32,11 @@
 	Fsed '\(udevdir =\t${prefix}\)/udev' '\1/dev' Makefile
 	Fsed '$(OPTIMIZATION)' "" Makefile
 	
-	Fmake
+	make EXTRAS="extras/cdrom_id"
 	Fmakeinstall
 	
 	Fmkdir /etc/dev.d/default
-	Fexerel extras/cdsymlinks.sh /etc/udev/scripts/cdsymlinks.sh
-	Ffilerel extras/cdsymlinks.conf /etc/udev/
+	Fexerel extras/cdrom_id/cdrom_id /sbin/cdrom_id
 	Ffilerel etc/udev/frugalware/udev.rules /etc/udev/rules.d/50-udev.rules
 	Fln /sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
 	Fexe /etc/rc.d/rc.udev
diff -rN -u old-frugalware-current/source/base/udev/udev-068-cdperms.diff new-frugalware-current-1/source/base/udev/udev-068-cdperms.diff
--- old-frugalware-current/source/base/udev/udev-068-cdperms.diff	2005-10-23 14:49:52.000000000 +0200
+++ new-frugalware-current-1/source/base/udev/udev-068-cdperms.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-diff -Naur udev-068.orig/etc/udev/frugalware/udev.rules udev-068/etc/udev/frugalware/udev.rules
---- udev-068.orig/etc/udev/frugalware/udev.rules	2005-08-18 22:14:14.000000000 +0200
-+++ udev-068/etc/udev/frugalware/udev.rules	2005-08-18 22:37:00.000000000 +0200
-@@ -8,6 +8,12 @@
- BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
- BUS="scsi", KERNEL="scd[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
- 
-+# permissions for IDE CD devices
-+BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", GROUP="cdrom", MODE="0660"
-+
-+# permissions for SCSI cd/sg/tape devices
-+BUS="scsi", KERNEL="s[grt][0-9]*", SYSFS_type="5", NAME="%k", GROUP="cdrom", MODE="0660"
-+
- # create a symlink named after the device map name
- # note devmap_name comes with extras/multipath
- KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c"
diff -rN -u old-frugalware-current/source/base/udev/udev-068-media-groups.diff new-frugalware-current-1/source/base/udev/udev-068-media-groups.diff
--- old-frugalware-current/source/base/udev/udev-068-media-groups.diff	2005-10-03 11:25:08.000000000 +0200
+++ new-frugalware-current-1/source/base/udev/udev-068-media-groups.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,78 +0,0 @@
-diff -Naur udev-070.orig/etc/udev/frugalware/udev.rules udev-070/etc/udev/frugalware/udev.rules
---- udev-070.orig/etc/udev/frugalware/udev.rules	2005-08-18 19:04:49.000000000 +0200
-+++ udev-070/etc/udev/frugalware/udev.rules	2005-09-30 16:51:32.000000000 +0200
-@@ -28,7 +28,7 @@
- # permissions
- KERNEL="pl2303",        NAME="%k", OWNER="500",  GROUP="500",  MODE="0666"
- KERNEL="visor",         NAME="%k", OWNER="root", GROUP="uucp", MODE="0666"
--KERNEL="camera*"        NAME="%k", OWNER="500",  GROUP="500",  MODE="0666"
-+KERNEL="camera*"        NAME="%k", OWNER="root",  GROUP="camera",  MODE="0666"
- 
- # console devices
- KERNEL="console"        NAME="%k", OWNER="root", GROUP="tty",  MODE="0600"
-@@ -47,27 +47,27 @@
- KERNEL="cu[abiu]*"      NAME="%k", OWNER="root", GROUP="uucp",  MODE="0660"
- 
- # sound devices
--KERNEL="audio*"         NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="beep"           NAME="%k", OWNER="root", GROUP="root", MODE="0644"
--KERNEL="dsp*"           NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="midi*"          NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="mixer*"         NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="music"          NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="sequencer*"     NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="controlC[0-9]*", NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="hw[CD0-9]*",     NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="midiC[D0-9]*",   NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="timer",          NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="seq",            NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="sndstat"        NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="speaker"        NAME="%k", OWNER="root", GROUP="root", MODE="0644"
--KERNEL="sound/*"        NAME="%k", OWNER="root", GROUP="root", MODE="0666"
--KERNEL="admmidi*"       NAME="%k", OWNER="root", GROUP="root", MODE="0666"
--KERNEL="adsp*"          NAME="%k", OWNER="root", GROUP="root", MODE="0666"
--KERNEL="aload*"         NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
--KERNEL="amidi*"         NAME="%k", OWNER="root", GROUP="root", MODE="0666"
--KERNEL="amixer*"        NAME="%k", OWNER="root", GROUP="root", MODE="0666"
-+KERNEL="audio*"         NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="beep"           NAME="%k", OWNER="root", GROUP="audio", MODE="0644"
-+KERNEL="dsp*"           NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="midi*"          NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="mixer*"         NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="music"          NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="sequencer*"     NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="controlC[0-9]*", NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="hw[CD0-9]*",     NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="midiC[D0-9]*",   NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="timer",          NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="seq",            NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="sndstat"        NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="speaker"        NAME="%k", OWNER="root", GROUP="audio", MODE="0644"
-+KERNEL="sound/*"        NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
-+KERNEL="admmidi*"       NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
-+KERNEL="adsp*"          NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
-+KERNEL="aload*"         NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
-+KERNEL="amidi*"         NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
-+KERNEL="amixer*"        NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
- 
- # input devices (mouse, joystick, etc)
- KERNEL="mice",		NAME="input/%k", OWNER="root", GROUP="root", MODE="0644"
-@@ -94,11 +94,11 @@
- KERNEL="parport*"        NAME="%k", OWNER="root", GROUP="root", MODE="0660"
- 
- # video devices
--KERNEL="card*"        NAME="dri/card%n", OWNER="root", GROUP="root", MODE="0666"
--KERNEL="fb[0-9]"         NAME="%k", OWNER="root", GROUP="tty",  MODE="0660"
--KERNEL="agpgart"         NAME="%k", OWNER="root", GROUP="root", MODE="0660"
--KERNEL="nvidia*"         NAME="%k", OWNER="root", GROUP="root", MODE="0666"
--KERNEL="video*"          NAME="%k", OWNER="root", GROUP="sys",  MODE="0660"
-+KERNEL="card*"        NAME="dri/card%n", OWNER="root", GROUP="video", MODE="0666"
-+KERNEL="fb[0-9]"         NAME="%k", OWNER="root", GROUP="video",  MODE="0660"
-+KERNEL="agpgart"         NAME="%k", OWNER="root", GROUP="video", MODE="0660"
-+KERNEL="nvidia*"         NAME="%k", OWNER="root", GROUP="video", MODE="0666"
-+KERNEL="video*"          NAME="%k", OWNER="root", GROUP="video",  MODE="0660"
- 
- # DISK devices
- KERNEL="ed[ab]*"         NAME="%k", OWNER="root", GROUP="disk", MODE="0640"
diff -rN -u old-frugalware-current/source/base/udev/udev-068-symlinks.diff new-frugalware-current-1/source/base/udev/udev-068-symlinks.diff
--- old-frugalware-current/source/base/udev/udev-068-symlinks.diff	2005-10-23 14:49:52.000000000 +0200
+++ new-frugalware-current-1/source/base/udev/udev-068-symlinks.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-diff -Naur udev-064.orig/etc/udev/frugalware/udev.rules udev-064/etc/udev/frugalware/udev.rules
---- udev-064.orig/etc/udev/frugalware/udev.rules	2005-07-23 18:27:02.000000000 +0200
-+++ udev-064/etc/udev/frugalware/udev.rules	2005-07-30 12:16:18.000000000 +0200
-@@ -4,8 +4,9 @@
- # See the udev.rules.examples file for more examples of how to create rules
- #
- 
--# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
--# BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
-+BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
-+BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
-+BUS="scsi", KERNEL="scd[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
- 
- # create a symlink named after the device map name
- # note devmap_name comes with extras/multipath
-@@ -112,6 +113,7 @@
- 
- # floppy devices
- KERNEL="fd[0-3]*"        NAME="%k", OWNER="root", GROUP="floppy", MODE="0660"
-+KERNEL="fd0"             SYMLINK="floppy"
- 
- # IDE devices (hd, cdrom)
- KERNEL="hd*"             NAME="%k", OWNER="root", GROUP="disk",   MODE="0660"
diff -rN -u old-frugalware-current/source/base/udev/udev-071-cdperms.diff new-frugalware-current-1/source/base/udev/udev-071-cdperms.diff
--- old-frugalware-current/source/base/udev/udev-071-cdperms.diff	1970-01-01 01:00:00.000000000 +0100
+++ new-frugalware-current-1/source/base/udev/udev-071-cdperms.diff	2005-10-23 14:31:12.000000000 +0200
@@ -0,0 +1,16 @@
+diff -Naur udev-068.orig/etc/udev/frugalware/udev.rules udev-068/etc/udev/frugalware/udev.rules
+--- udev-068.orig/etc/udev/frugalware/udev.rules	2005-08-18 22:14:14.000000000 +0200
++++ udev-068/etc/udev/frugalware/udev.rules	2005-08-18 22:37:00.000000000 +0200
+@@ -8,6 +8,12 @@
+ ENV{ID_CDROM_DVD}=="?*",        SYMLINK+="dvd%e"
+ ENV{ID_CDROM_DVD_R}=="?*",      SYMLINK+="dvdrw%e"
+ 
++# permissions for IDE CD devices
++BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", GROUP="cdrom", MODE="0660"
++
++# permissions for SCSI cd/sg/tape devices
++BUS="scsi", KERNEL="s[grt][0-9]*", SYSFS_type="5", NAME="%k", GROUP="cdrom", MODE="0660"
++
+ # create a symlink named after the device map name
+ # note devmap_name comes with extras/multipath
+ KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c"
diff -rN -u old-frugalware-current/source/base/udev/udev-071-media-groups.diff new-frugalware-current-1/source/base/udev/udev-071-media-groups.diff
--- old-frugalware-current/source/base/udev/udev-071-media-groups.diff	1970-01-01 01:00:00.000000000 +0100
+++ new-frugalware-current-1/source/base/udev/udev-071-media-groups.diff	2005-10-03 11:25:08.000000000 +0200
@@ -0,0 +1,78 @@
+diff -Naur udev-070.orig/etc/udev/frugalware/udev.rules udev-070/etc/udev/frugalware/udev.rules
+--- udev-070.orig/etc/udev/frugalware/udev.rules	2005-08-18 19:04:49.000000000 +0200
++++ udev-070/etc/udev/frugalware/udev.rules	2005-09-30 16:51:32.000000000 +0200
+@@ -28,7 +28,7 @@
+ # permissions
+ KERNEL="pl2303",        NAME="%k", OWNER="500",  GROUP="500",  MODE="0666"
+ KERNEL="visor",         NAME="%k", OWNER="root", GROUP="uucp", MODE="0666"
+-KERNEL="camera*"        NAME="%k", OWNER="500",  GROUP="500",  MODE="0666"
++KERNEL="camera*"        NAME="%k", OWNER="root",  GROUP="camera",  MODE="0666"
+ 
+ # console devices
+ KERNEL="console"        NAME="%k", OWNER="root", GROUP="tty",  MODE="0600"
+@@ -47,27 +47,27 @@
+ KERNEL="cu[abiu]*"      NAME="%k", OWNER="root", GROUP="uucp",  MODE="0660"
+ 
+ # sound devices
+-KERNEL="audio*"         NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="beep"           NAME="%k", OWNER="root", GROUP="root", MODE="0644"
+-KERNEL="dsp*"           NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="midi*"          NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="mixer*"         NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="music"          NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="sequencer*"     NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="controlC[0-9]*", NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="hw[CD0-9]*",     NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="midiC[D0-9]*",   NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="timer",          NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="seq",            NAME="snd/%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="sndstat"        NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="speaker"        NAME="%k", OWNER="root", GROUP="root", MODE="0644"
+-KERNEL="sound/*"        NAME="%k", OWNER="root", GROUP="root", MODE="0666"
+-KERNEL="admmidi*"       NAME="%k", OWNER="root", GROUP="root", MODE="0666"
+-KERNEL="adsp*"          NAME="%k", OWNER="root", GROUP="root", MODE="0666"
+-KERNEL="aload*"         NAME="%k", OWNER="root", GROUP="sys",  MODE="0666"
+-KERNEL="amidi*"         NAME="%k", OWNER="root", GROUP="root", MODE="0666"
+-KERNEL="amixer*"        NAME="%k", OWNER="root", GROUP="root", MODE="0666"
++KERNEL="audio*"         NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="beep"           NAME="%k", OWNER="root", GROUP="audio", MODE="0644"
++KERNEL="dsp*"           NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="midi*"          NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="mixer*"         NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="music"          NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="sequencer*"     NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="controlC[0-9]*", NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="hw[CD0-9]*",     NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="midiC[D0-9]*",   NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="timer",          NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="seq",            NAME="snd/%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="sndstat"        NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="speaker"        NAME="%k", OWNER="root", GROUP="audio", MODE="0644"
++KERNEL="sound/*"        NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
++KERNEL="admmidi*"       NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
++KERNEL="adsp*"          NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
++KERNEL="aload*"         NAME="%k", OWNER="root", GROUP="audio",  MODE="0666"
++KERNEL="amidi*"         NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
++KERNEL="amixer*"        NAME="%k", OWNER="root", GROUP="audio", MODE="0666"
+ 
+ # input devices (mouse, joystick, etc)
+ KERNEL="mice",		NAME="input/%k", OWNER="root", GROUP="root", MODE="0644"
+@@ -94,11 +94,11 @@
+ KERNEL="parport*"        NAME="%k", OWNER="root", GROUP="root", MODE="0660"
+ 
+ # video devices
+-KERNEL="card*"        NAME="dri/card%n", OWNER="root", GROUP="root", MODE="0666"
+-KERNEL="fb[0-9]"         NAME="%k", OWNER="root", GROUP="tty",  MODE="0660"
+-KERNEL="agpgart"         NAME="%k", OWNER="root", GROUP="root", MODE="0660"
+-KERNEL="nvidia*"         NAME="%k", OWNER="root", GROUP="root", MODE="0666"
+-KERNEL="video*"          NAME="%k", OWNER="root", GROUP="sys",  MODE="0660"
++KERNEL="card*"        NAME="dri/card%n", OWNER="root", GROUP="video", MODE="0666"
++KERNEL="fb[0-9]"         NAME="%k", OWNER="root", GROUP="video",  MODE="0660"
++KERNEL="agpgart"         NAME="%k", OWNER="root", GROUP="video", MODE="0660"
++KERNEL="nvidia*"         NAME="%k", OWNER="root", GROUP="video", MODE="0666"
++KERNEL="video*"          NAME="%k", OWNER="root", GROUP="video",  MODE="0660"
+ 
+ # DISK devices
+ KERNEL="ed[ab]*"         NAME="%k", OWNER="root", GROUP="disk", MODE="0640"
diff -rN -u old-frugalware-current/source/base/udev/udev-071-symlinks.diff new-frugalware-current-1/source/base/udev/udev-071-symlinks.diff
--- old-frugalware-current/source/base/udev/udev-071-symlinks.diff	1970-01-01 01:00:00.000000000 +0100
+++ new-frugalware-current-1/source/base/udev/udev-071-symlinks.diff	2005-10-23 14:31:12.000000000 +0200
@@ -0,0 +1,27 @@
+diff -Naur udev-064.orig/etc/udev/frugalware/udev.rules udev-064/etc/udev/frugalware/udev.rules
+--- udev-064.orig/etc/udev/frugalware/udev.rules	2005-07-23 18:27:02.000000000 +0200
++++ udev-064/etc/udev/frugalware/udev.rules	2005-07-30 12:16:18.000000000 +0200
+@@ -4,8 +4,13 @@
+ # See the udev.rules.examples file for more examples of how to create rules
+ #
+ 
+-# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
+-# BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
++BUS=="ide",     KERNEL=="hd[a-z]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode"
++BUS=="scsi",    KERNEL="sr[0-9]*", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode"
++BUS=="scsi",    KERNEL="scd[a-z]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode"
++ENV{ID_CDROM}=="?*",            SYMLINK+="cdrom%e"
++ENV{ID_CDROM_CD_RW}=="?*",      SYMLINK+="cdrw%e"
++ENV{ID_CDROM_DVD}=="?*",        SYMLINK+="dvd%e"
++ENV{ID_CDROM_DVD_R}=="?*",      SYMLINK+="dvdrw%e"
+ 
+ # create a symlink named after the device map name
+ # note devmap_name comes with extras/multipath
+@@ -112,6 +113,7 @@
+ 
+ # floppy devices
+ KERNEL="fd[0-3]*"        NAME="%k", OWNER="root", GROUP="floppy", MODE="0660"
++KERNEL="fd0"             SYMLINK="floppy"
+ 
+ # IDE devices (hd, cdrom)
+ KERNEL="hd*"             NAME="%k", OWNER="root", GROUP="disk",   MODE="0660"



More information about the Frugalware-darcs mailing list