Your message dated Sun, 14 Feb 2010 11:17:23 +0000
with message-id <[email protected]>
and subject line Bug#568589: fixed in dkms 2.1.1.1-2
has caused the Debian Bug report #568589,
regarding dkms: adding dh_dkms option to insert module version in dkms.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568589: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568589
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dkms
Version: 2.1.1.1-1
Severity: wishlist
Tags: patch

Here's a patch that adds a -V option to dh_dkms, so that one no longer
has to edit dkms.conf after each upstream release.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.6 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential              11.4        Informational list of build-essent
ii  dpkg-dev                     1.15.5.6    Debian package development tools
ii  gcc                          4:4.4.2-3   The GNU C compiler
ii  make                         3.81-7      An utility for Directing compilati
ii  module-init-tools            3.12~pre1-1 tools for managing Linux kernel mo

Versions of packages dkms recommends:
ii  fakeroot           1.14.4-1              Gives a fake root environment
ii  linux-headers-2.6- 2.6.32+23             Header files for Linux 2.6-686
ii  linux-headers-2.6. 2.6.29.6-10.00.Custom Header files related to Linux kern
ii  linux-headers-2.6. 2.6.31-2              Header files for Linux 2.6.31-1-68
ii  linux-headers-2.6. 2.6.32-5              Header files for Linux 2.6.32-trun
ii  linux-image-2.6.26 2.6.26.8-10.00.Custom Linux kernel binary image for vers
ii  linux-image-2.6.29 2.6.29.6-10.00.Custom Linux kernel binary image for vers
ii  lsb-release        3.2-23                Linux Standard Base version report
ii  menu               2.1.43                generates programs menu for all me
ii  patch              2.6-2                 Apply a diff file to an original
ii  sudo               1.7.2p1-1             Provide limited super user privile

dkms suggests no packages.

-- no debconf information
--- /usr/bin/dh_dkms    2010-01-27 04:05:35.000000000 -0500
+++ dh_dkms     2010-02-05 19:21:03.000000000 -0500
@@ -11,7 +11,7 @@
 
 =head1 SYNOPSIS
 
-B<dh_dkms> [S<I<debhelper options>>] [S<B<-l>>] [S<B<--> I<file>>]
+B<dh_dkms> [S<I<debhelper options>>] [S<B<-l>>] [S<B<-V>[I<version>]>] 
[S<B<--> I<file>>]
 
 =head1 DESCRIPTION
 
@@ -48,6 +48,11 @@
 
 Add code to also support DKMS versions < 2.1.0.0.
 
+=item B<-V>, B<-V>I<version>
+
+Replace all occurences of C<#MODULE_VERSION#> in the F<dkms.conf> file with
+I<version>, which defaults to the upstream version of this package.
+
 =item B<--> I<file>
 
 Don't look for debian/I<package>.dkms or debian/dkms, but install I<file> as 
dkms.conf.
@@ -124,6 +129,24 @@
                addsubstvar($package, "misc:Depends", "dkms", ">= 2.1.0.0");
        }
 
+       if ($dh{V_FLAG_SET}) {
+               $package_version = $dh{V_FLAG};
+               if ($package_version eq '') {
+                       # Call isnative because it sets $dh{VERSION}
+                       # as a side effect.
+                       isnative($package);
+                       $package_version = $dh{VERSION};
+                       # Remove the Debian revision
+                       $package_version =~ s/-[^-]+$//;
+               }
+
+               my $old_name = $name;
+               my $ext = pkgext($package);
+               $name = "debian/${ext}dkms.debhelper";
+               doit("cp", "-a", $old_name, $name);
+               doit("sed", "-i", "s/#MODULE_VERSION#/$package_version/g", 
$name);
+       }
+
        autoscript($package, "prerm", "prerm-dkms",
            
"s/#MODULE_NAME#/$package_name/;s/#MODULE_VERSION#/$package_version/");
        autoscript($package, "postinst", "postinst-dkms",

--- End Message ---
--- Begin Message ---
Source: dkms
Source-Version: 2.1.1.1-2

We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive:

dkms_2.1.1.1-2.diff.gz
  to main/d/dkms/dkms_2.1.1.1-2.diff.gz
dkms_2.1.1.1-2.dsc
  to main/d/dkms/dkms_2.1.1.1-2.dsc
dkms_2.1.1.1-2_all.deb
  to main/d/dkms/dkms_2.1.1.1-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giuseppe Iuculano <[email protected]> (supplier of updated dkms package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 14 Feb 2010 12:02:42 +0100
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.1.1.1-2
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team 
<[email protected]>
Changed-By: Giuseppe Iuculano <[email protected]>
Description: 
 dkms       - Dynamic Kernel Module Support Framework
Closes: 568580 568589 568591
Changes: 
 dkms (2.1.1.1-2) unstable; urgency=low
 .
   [ David Paleino ]
   * [d56bce9] Add -V flag to dh_dkms, thanks to Frédéric Brière
     <[email protected]> for the patch. (Closes: #568589)
   * [dc7e358] dh_dkms: don't return an error if there's nothing to do
     (Closes: #568580)
   * [ecfc1c7] debian/scripts/postinst-dkms: don't exit on success, only
     do it on errors (Closes: #568591)
 .
   [ Giuseppe Iuculano ]
   * [adb3042] Really remove obsolete conffiles
   * [3fe380c] Do not install /etc/header_postinst.d/dkms, at this moment
     Debian kernel doesn't support it
   * [ad6a1f2] Bump Standards-Version (no changes).
Checksums-Sha1: 
 a193d8c89b101b9c49b0a5fae41f8c5fd779816c 1264 dkms_2.1.1.1-2.dsc
 66f1eb4af49dc59d43df047351c9e646713c9ef9 12391 dkms_2.1.1.1-2.diff.gz
 cdd704efa6ae1b9a6e09f2f054e2afa000c33956 69244 dkms_2.1.1.1-2_all.deb
Checksums-Sha256: 
 f33f36ccd0d20408434cabbd43124d7fb97f7196b29335f6af0285e25f5dde89 1264 
dkms_2.1.1.1-2.dsc
 ddff9abe1f97def40912e5ae7e425518983de613f9f10e7d3d6cefb8babc0879 12391 
dkms_2.1.1.1-2.diff.gz
 9b8df9c40353b67b33bbe53c40c01f6ff1a019160ed4eb79bb62567a6ad0e677 69244 
dkms_2.1.1.1-2_all.deb
Files: 
 c68bc72996a1b0e8abad2585983d298a 1264 kernel optional dkms_2.1.1.1-2.dsc
 a44d4ccb6c7c8bf35f6be00e8d6a2a96 12391 kernel optional dkms_2.1.1.1-2.diff.gz
 a23fe9c7ee875105765dc8575407780f 69244 kernel optional dkms_2.1.1.1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkt32MUACgkQNxpp46476aqxfQCglv5p+n++p6dqQs9mz7JnemcR
cgoAnjKsRTH6h8kfh1bm1Hd873ThA3/i
=3peo
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-dkms-maint mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint

Reply via email to