Please find attached the patch for the NMU I'm uploading in a minute.

Thanks,
--Jeroen

-- 
Jeroen van Wolffelaar
[EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl
diff -Nru /tmp/aUtNU0KhXf/usbmount-0.0.14/debian/changelog 
/tmp/deduWrsWep/usbmount-0.0.14/debian/changelog
--- /tmp/aUtNU0KhXf/usbmount-0.0.14/debian/changelog    2005-07-10 
22:17:00.000000000 +0200
+++ /tmp/deduWrsWep/usbmount-0.0.14/debian/changelog    2006-05-01 
02:16:55.000000000 +0200
@@ -1,3 +1,14 @@
+usbmount (0.0.14-0.1) unstable; urgency=low
+
+  * Non-Maintainer Upload
+  * Change path of vol_id of udev to the new location in /lib/udev. Thanks to
+    Eric Evans for the patch (Closes: #361351)
+    - Minimum udev dependency now 0.084-2, first version to ship vol_id in
+      that location
+  * Fix udev rule syntax, patch by Eric Evans (Closes: #365225)
+
+ -- Jeroen van Wolffelaar <[EMAIL PROTECTED]>  Sun, 30 Apr 2006 23:45:57 +0000
+
 usbmount (0.0.14) unstable; urgency=low
 
   * Upload sponsored by Rafael Laboissiere.
diff -Nru /tmp/aUtNU0KhXf/usbmount-0.0.14/debian/control 
/tmp/deduWrsWep/usbmount-0.0.14/debian/control
--- /tmp/aUtNU0KhXf/usbmount-0.0.14/debian/control      2005-07-05 
22:25:40.000000000 +0200
+++ /tmp/deduWrsWep/usbmount-0.0.14/debian/control      2006-05-01 
02:02:15.000000000 +0200
@@ -8,7 +8,7 @@
 
 Package: usbmount
 Architecture: all
-Depends: udev (>= 0.060-1), lockfile-progs
+Depends: udev (>= 0.084-2), lockfile-progs
 Description: automatically mount and unmount USB mass storage devices
  This package automatically mounts USB mass storage devices (typically
  USB pens) when they are plugged in, and unmounts them when they are
diff -Nru /tmp/aUtNU0KhXf/usbmount-0.0.14/usbmount 
/tmp/deduWrsWep/usbmount-0.0.14/usbmount
--- /tmp/aUtNU0KhXf/usbmount-0.0.14/usbmount    2005-07-08 18:51:02.000000000 
+0200
+++ /tmp/deduWrsWep/usbmount-0.0.14/usbmount    2006-05-01 01:48:06.000000000 
+0200
@@ -36,8 +36,8 @@
 }
 
 
-# Test if /sbin/vol_id is executable.
-test -x /sbin/vol_id || { log err "cannnot execute /sbin/vol_id"; exit 1; }
+# Test if /lib/udev/vol_id is executable.
+test -x /lib/udev/vol_id || { log err "cannnot execute /lib/udev/vol_id"; exit 
1; }
 
 # Default values for configuration variables.
 MOUNTPOINTS=""
@@ -85,10 +85,10 @@
     # Test if the device contains a filesystem.  If it doesn't, no
     # further action is required, but calling vol_id has the side effect
     # that the partition table is read and partition devices are created.
-    if /sbin/vol_id "$DEVNAME" | egrep -q 
'^ID_FS_USAGE=(filesystem|disklabel)$'; then
+    if /lib/udev/vol_id "$DEVNAME" | egrep -q 
'^ID_FS_USAGE=(filesystem|disklabel)$'; then
        log debug "$DEVNAME contains a filesystem or disklabel"
 
-       fstype="`/sbin/vol_id -t \"$DEVNAME\"`"
+       fstype="`/lib/udev/vol_id -t \"$DEVNAME\"`"
        log debug "$DEVNAME contains filesystem type $fstype"
 
        # Test if the filesystem type is in the list of filesystem
diff -Nru /tmp/aUtNU0KhXf/usbmount-0.0.14/usbmount.rules 
/tmp/deduWrsWep/usbmount-0.0.14/usbmount.rules
--- /tmp/aUtNU0KhXf/usbmount-0.0.14/usbmount.rules      2005-07-08 
19:08:16.000000000 +0200
+++ /tmp/deduWrsWep/usbmount-0.0.14/usbmount.rules      2006-05-01 
02:06:16.000000000 +0200
@@ -1,6 +1,6 @@
 # Rules for USBmount
 
-KERNEL="sd*", BUS=="usb", ACTION=="add",    RUN+="/usr/share/usbmount/usbmount 
add"
-KERNEL="ub*", BUS=="usb", ACTION=="add",    RUN+="/usr/share/usbmount/usbmount 
add"
-KERNEL="sd*",             ACTION=="remove", RUN+="/usr/share/usbmount/usbmount 
remove"
-KERNEL="ub*",             ACTION=="remove", RUN+="/usr/share/usbmount/usbmount 
remove"
+KERNEL=="sd*", BUS=="usb", ACTION=="add",    
RUN+="/usr/share/usbmount/usbmount add"
+KERNEL=="ub*", BUS=="usb", ACTION=="add",    
RUN+="/usr/share/usbmount/usbmount add"
+KERNEL=="sd*",             ACTION=="remove", 
RUN+="/usr/share/usbmount/usbmount remove"
+KERNEL=="ub*",             ACTION=="remove", 
RUN+="/usr/share/usbmount/usbmount remove"

Reply via email to