On May 21, Justin B Rye wrote: > This bug's been sitting here unacknowledged for a year now. It > looks like I'm going to have to inflate the severity - it is, after > all, a Debian Policy 10.7.2 "must", of a type specifically mentioned > in "http://release.debian.org/etch_rc_policy.txt" (section 3).
Oops, scared off the maintainer - "http://bugs.debian.org/369067". I suppose I'd better get the bug's status as clear as possible for the benefit of anyone who might want to adopt it. > It may well be fixable with a one-line patch to asmounter.c Here's my attempt, which does little more than that. Please note that I Am Not A Programmer; although this seems to build and run for me, on my Testing machine, it might easily be completely the wrong approach for a build-system like asmounter's, and the output .deb still makes Lintian cry. -- JBR Ankh kak! (Ancient Egyptian blessing)
diff -ruN asmounter-0.3.pristine/asmounter.c asmounter-0.3/asmounter.c --- asmounter-0.3.pristine/asmounter.c 1999-03-27 16:42:07.000000000 +0000 +++ asmounter-0.3/asmounter.c 2006-05-31 12:46:37.000000000 +0100 @@ -44,7 +44,7 @@ #define NAME "asmounter" #define CLASS "ASMounter" #define BACKCLR "#282828" -#define SYS_RC_FILE "/usr/lib/asmounter/sys.asmounter" +#define SYS_RC_FILE "/etc/asmounter.conf" #define USER_RC_FILE ".asmounter" #define MOUNTS "/proc/mounts" #define MAX_TICS 50 diff -ruN asmounter-0.3.pristine/asmounter.man asmounter-0.3/asmounter.man --- asmounter-0.3.pristine/asmounter.man 1999-03-27 16:59:35.000000000 +0000 +++ asmounter-0.3/asmounter.man 2006-05-31 12:48:20.000000000 +0100 @@ -26,7 +26,7 @@ The left mouse button is used to cycle through the mount points, which are established in the resource file (either ~/.asmounter or -/usr/lib/asmounter/sys.asmounter). The right mouse button is used to toggle +/etc/asmounter.conf). The right mouse button is used to toggle the mount point (mount/unmount). The middle mouse button is used to execute a command related to the mount points (in future versions this will be mount point specific). diff -ruN asmounter-0.3.pristine/INSTALL asmounter-0.3/INSTALL --- asmounter-0.3.pristine/INSTALL 1999-03-27 16:44:22.000000000 +0000 +++ asmounter-0.3/INSTALL 2006-05-31 12:48:52.000000000 +0100 @@ -20,7 +20,7 @@ needs, and then placing it in the appropriate directory. Asmounter looks for the following resource files: - /usr/lib/asmounter/sys.asmounter ... system-wide resource file + /etc/asmounter.conf ... system-wide resource file ~/.asmounter ... user-specific resource file Asmounter first looks for the user-specific resource file. If that is not diff -ruN asmounter-0.3.pristine/SUGGESTIONS asmounter-0.3/SUGGESTIONS --- asmounter-0.3.pristine/SUGGESTIONS 1999-03-27 16:44:10.000000000 +0000 +++ asmounter-0.3/SUGGESTIONS 2006-05-31 12:49:16.000000000 +0100 @@ -15,7 +15,7 @@ Suggestion 1: ------------- "Perhaps you can code it so that according to an option in the config file -(.asmounter or sys.asmounter), some devices can't be unmounted. You could +(.asmounter or /etc/asmounter.conf), some devices can't be unmounted. You could even take it a step farther and have an option that the third mouse button could also "lock" the device so that one cannot mount or unmount the device without "un-locking" it."

