Package: strace
Version: 4.5.15-1
Severity: normal
Tags: patch

Debian policy recommends that all binary packages contain an 'md5sums'
control file. The following command shows that a package built from
this source package does not contain this file.

    $ lintian --info --display-info --check-part md5sums 
./strace_4.5.15-1_powerpc.deb
    I: strace: no-md5sums-control-file
    N:
    N:   This package does not contain an md5sums control file. This control
    N:   file listing the MD5 checksums of the contents of the package is not
    N:   required, but if present debsums can use it to verify that no files
    N:   shipped with your package have been modified. Providing it is
    N:   recommended.
    N:
    N:   If you are using debhelper to create your package, just add a call to
    N:   dh_md5sums at the end of your binary-indep or binary-arch target,
    N:   right before dh_builddeb.
    N:

The attached patch changes the 'debian/rules' file to generate the
'md5sums' file for this package, and causes the above command to run
cleanly (with no output).

If there is a specific reason for avoiding the recommended 'md5sums'
file and not applying this patch or something similar, could you
please explain in this bug entry.

-- 
 \      "The fact that a believer is happier than a skeptic is no more |
  `\   to the point than the fact that a drunken man is happier than a |
_o__)                                 sober one." —George Bernard Shaw |
Ben Finney <[EMAIL PROTECTED]>
=== modified file 'debian/rules'
--- old/debian/rules    2007-08-25 00:38:48 +0000
+++ new/debian/rules    2007-08-25 01:25:19 +0000
@@ -70,6 +70,7 @@
        #dh_strip
 
        dpkg-gencontrol -is -pstrace-udeb -fdebian/files~
+       dh_md5sums
        dpkg-deb --build debian/tmp ../$(UDEB)
        dpkg-distaddfile $(UDEB) debian-installer extra
 
@@ -97,6 +98,7 @@
        dpkg-shlibdeps build/strace $(patsubst yes,build64/strace,$(build64))
 
        dpkg-gencontrol -is -pstrace
+       dh_md5sums
        dpkg-deb --build debian/tmp ..
 
 checkroot:

Attachment: signature.asc
Description: Digital signature

Reply via email to