Bug#688904: dkms remove on kernels with major > 9

2012-10-01 Thread Christoph Egger
slightly better: --- a/dkms 2012-10-01 15:44:50.0 -0700 +++ b/dkms 2012-10-01 15:44:25.981366657 -0700 @@ -19,6 +19,7 @@ #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +shopt -s extglob # All of the variables we will accept from dkms.conf.

Bug#688904: dkms remove on kernels with major > 9

2012-10-01 Thread Christoph Egger
tag 688904 +patch kthxbye Indeed it seems to be the problem indeed. In line 1833 replacing for directory in "$dkms_tree/$1/$2/"${3:-[0-9].*}/${4:-*}; do with for directory in "$dkms_tree/$1/$2/"${3:-[0-9]?.*}/${4:-*}; do did the trick for me though I admit *this* way of fixing the glob is

Bug#688904: dkms remove

2012-10-01 Thread Christoph Egger
Hi! I'm not really a bash developer but it seems the regexes in module_status_built are not expanded properly: > ++ module_status_built fuse4bsd 0.3.9~pre1.20080208 > ++ local ret=1 directory ka k a state 'oifs= > ' IFS= > ++ for directory in '"$dkms_tree/$1/$2/"${3:-[0-9].*}/${4:-*}' > ++ IFS=

Bug#688904: dkms remove no-op bash -x trace

2012-09-26 Thread Christoph Egger
+ readonly 'dkms_conf_variables=CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME PACKAGE_VERSION POST_ADD POST_INSTALL POST_REMOVE PRE_BUILD PRE_INSTALL BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF modules_conf_array P

Bug#688904: dkms remove no-op

2012-09-26 Thread Christoph Egger
Hi! Just for the record: the patch in #659672 does *not* work Regards Christoph -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#688904: dkms: remove non-functional, breaks dh_dkms maintscript

2012-09-26 Thread Christoph Egger
Package: dkms Version: 2.2.0.3-1.1 Severity: serious X-Debbugs-Cc: debian-...@lists.debian.org Hi! I just noticed updating fuse4bsd-dkms fails on my kfreebsd-amd64. It seems the `dkms remove` command used in the prerm script is a no-op at least on kfreebsd = % sudo dkms status cuse4bsd, S