[Pkg-dkms-maint] dkms 2.0.21.1-1
Ben Hutchings
ben at decadent.org.uk
Sat May 2 22:45:47 UTC 2009
On Mon, 2009-04-20 at 00:15 +0200, Giuseppe Iuculano wrote:
> Hi Ben,
>
> Finally dkms was accepted :)
>
> Could you review and upload dkms 2.0.21.1-1 please?
Sorry for the delay; I've reviewed your changes now.
> dkms (2.0.21.1-1) unstable; urgency=low
>
> * [bcda131] Imported Upstream version 2.0.21.1
> * [487ad26] debian/patches/13-template.patch:
> Updated template-dkms-mkdeb Changes:
> - Bump to debhelper 7 compatibility levels
> - Updated to standards version 3.8.0
[...]
It actually claims version 3.8.1 now.
Also I think the postinst addition needs some changes:
> if dpkg --compare-versions "$2" lt-nl "2.0.21.1-1" ; then
To allow for backporting, it might be better to add a "~" on the end of
the version you compare with.
> if [ -e "/etc/modprobe.d/dkms" ]; then
> if [ "`md5sum \"/etc/modprobe.d/dkms\" | sed -e \"s/ .*//\"`" = \
> "`dpkg-query -W -f='${Conffiles}' dkms | sed -n -e \"\\\\' /etc/modprobe.d/dkms's/.* //p\"`" ]
Using backticks here means you have to do a lot of escaping and the
result is really hard to understand. It would be more readable if you
used $() and variables, as in the examples at
<http://wiki.debian.org/DpkgConffileHandling>.
> then
> rm -f "/etc/modprobe.d/dkms"
> fi
> else
> echo "Moving /etc/modprobe.d/dkms to /etc/modprobe.d/dkms.conf"
> grep -v '^#' /etc/modprobe.d/dkms >> /etc/modprobe.d/dkms.conf
Why remove comments?
> rm -f "/etc/modprobe.d/dkms"
> fi
> fi
Ben.
--
Ben Hutchings
No political challenge can be met by shopping. - George Monbiot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20090502/deefd440/attachment.pgp>
More information about the Pkg-dkms-maint
mailing list