Package: usbutils
Version: 1:007-2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

update-usbids downloads a new /var/lib/usbutils/usb.ids file, therefore
changing its md5sum, causing debsums to fail on this file (see the end
of this mail body for an example). 

While I agree with #544503 that this file should be in volatile, as some
users (including me) probably do want the usb.ids file to be signed,
that bug report has been stale for five years now (sigh) so I'm
proposing to just remove the usb.ids file from md5sum generation.

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbutils depends on:
ii  libc6         2.19-11
ii  libusb-1.0-0  2:1.0.19-1
ii  zlib1g        1:1.2.8.dfsg-2

usbutils recommends no packages.

Versions of packages usbutils suggests:
ii  lynx-cur  2.8.9dev1-2
ii  wget      1.15-1+b1

- -- no debconf information

- -- debsums errors found:
debsums: changed file /var/lib/usbutils/usb.ids (from usbutils package)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVJ/I0/hx3EthBlqjAQgX8A/9GAiwpnXf9oKYOILqGuUWcOPzbbnWTqMK
xMeRNUOGLBrXHYK7a57fPwZv5vU+ejj+Vz3qRdn6ZAjb7XRAsMe8kRBwr8+rFk8a
23JmbQ7p1fdfTdSdgO8h0CK9K5k9VMeEFPih/sx8NqIuV40ACbGV1jQWVzSZi7ZZ
4aH+ad2buUq1iJxXd5V8qNFFa+fwdq33VKjk/Jg44bqrXRuwvnvvLQQyqtJShm0i
rJULhY1UPv9TFNUgg/dugC2TmrVSSOiAKL3QnHNE/KsCguoOWECQNdHEv9abc9hC
Ep3cIFHYCVHpFuLap86EN5cPb0rLvNkEFSMGt/OOdAogtB+BfVrCog64cYlSXm4V
KiqnW3wMYGIAqlQtbHpt/3uhGiLo57icQc0uFuUQsZT0FAXAMcB8F4B5jdw48Z3M
P3hNJBoWSha6tzWSVB2Nk7D2Klp8ZnKMaFVthDLMkx6+20XrCdlKTsXOylb/5rC2
GgofjNXHFtc3+2HV9kJuyI3qodn4A+TtfCw/K6HdkNpfjHXPjgazTuK6EwEeg/25
VWQTUX94TVsP/EC8xHIvpaSZA4wdkw6x7pZjaMduREnfhFM3kS6tqFmO8UWATKx4
Mk065aLk+GLOq6vmn4pO1I0gmrWdpnQr8mFtIE1y3EHJP+iOjpGAMw7O4jyMcVHf
V1YExcQq0y8=
=jqFy
-----END PGP SIGNATURE-----
>From d7cd9adc25a7f271f77c556b375f0791b38ee89b Mon Sep 17 00:00:00 2001
From: Sebastian Schmidt <y...@yath.de>
Date: Sun, 28 Dec 2014 10:00:29 +0100
Subject: [PATCH] Don't generate md5sum for usb.ids

usb.ids may updated by update-usbids, causing a wrong md5sum for
/var/lib/usbutils/usb.ids.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 4fe5abb..0a4366f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -126,7 +126,7 @@ binary-arch: build install
 #	dh_perl
 	dh_shlibdeps 
 	dh_gencontrol
-	dh_md5sums 
+	dh_md5sums -Xusb.ids
 	dh_builddeb -- -Zxz
 
 binary: binary-indep binary-arch
-- 
2.1.1

Reply via email to