Package: ndiswrapper-source Version: 1.18-1 Severity: wishlist Tags: patch It'd be nice to make use of the now enhanced dh_installmodules rather than rely on the handcrafted postinst.modules.in (#301424)
Attached is the trivial change to make that happen, however I've omitted the changes to bump the dh_compat level to 5 and a versioned buid-dep on debhelper of >= 5.0.37. That is probably a decision that you'd need to make. Thanks, Kel. -- System Information: Debian Release: testing/unstable APT prefers experimental APT policy: (500, 'experimental'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-kel-3 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages ndiswrapper-source depends on: ii bzip2 1.0.3-2 high-quality block-sorting file co ii debhelper 5.0.37.2 helper programs for debian/rules ii gcc 4:4.1.1-1 The GNU C compiler ii module-assistant 0.10.4 tool to make module package creati ndiswrapper-source recommends no packages. -- no debconf information
diff -Nrup ndiswrapper-1.18/debian/postinst.modules.in ndiswrapper-1.18.dhinstallmodules/debian/postinst.modules.in --- ndiswrapper-1.18/debian/postinst.modules.in 2006-07-06 22:21:45.000000000 +1000 +++ ndiswrapper-1.18.dhinstallmodules/debian/postinst.modules.in 1970-01-01 10:00:00.000000000 +1000 @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -if [ "`uname -r`" = "_KVERS_" ]; then - /sbin/depmod -a -fi - -#DEBHELPER# - -exit 0 diff -Nrup ndiswrapper-1.18/debian/rules.modules ndiswrapper-1.18.dhinstallmodules/debian/rules.modules --- ndiswrapper-1.18/debian/rules.modules 2006-07-06 22:21:45.000000000 +1000 +++ ndiswrapper-1.18.dhinstallmodules/debian/rules.modules 2006-07-06 22:20:31.000000000 +1000 @@ -27,6 +27,7 @@ binary-modules: kdist_config dh_installchangelogs dh_compress dh_fixperms + dh_installmodules dh_installdeb dh_gencontrol -- -v$(VERSION) dh_md5sums