[Pkg-dkms-maint] Bug#829123: dkms: dh_dkms name and version parsing can fail silently
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Jun 30 18:16:17 UTC 2016
Package: dkms
Version: 2.2.0.3-4
Severity: normal
Tags: patch
In some cases, the dkms file is mis-written, or the dh_dkms file
parsing is too brittle to find the package name or version.
This pair of patches should:
(a) make dh_dkms fail explicitly when the file is unparseable, and
(b) make the parsing slightly less brittle in cases where
PACKAGE_VERSION and PACKAGE_NAME are unquoted.
Thanks for dh_dkms!
Regards,
--dkg
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dkms depends on:
ii build-essential 11.7
ii coreutils 8.25-2
ii dpkg-dev 1.18.7
ii gcc 4:5.3.1-3
ii kmod 22-1.1
ii make 4.1-9
ii patch 2.7.5-1
Versions of packages dkms recommends:
ii fakeroot 1.20.2-2
ii linux-headers-amd64 4.6+74
pn linux-image <none>
ii menu 2.1.47
dkms suggests no packages.
-- debconf-show failed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_dkms-should-fail-cleanly-with-unknown-package-ver.patch
Type: text/x-diff
Size: 1578 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20160630/2cd5704f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-handle-dkms-conf-files-where-PACKAGE_VERSION-or-PACK.patch
Type: text/x-diff
Size: 1128 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20160630/2cd5704f/attachment-0001.patch>
More information about the Pkg-dkms-maint
mailing list