Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu

Hello,

could I upload this package for the next jessie-pu? It fixes #794630
Thanks :)

Full diff:

diff -Naur '--exclude=.svn' tags/1.0.0-2/debian/changelog 
branches/jessie/debian/changelog
--- tags/1.0.0-2/debian/changelog       2014-10-29 09:32:46.208286390 +0100
+++ branches/jessie/debian/changelog    2015-09-22 10:18:16.324279386 +0200
@@ -1,3 +1,11 @@
+apt-dater-host (1.0.0-2+deb8u1) stable; urgency=low
+
+  * Add patch 01-jessie-kernel-detection to fix Linux Kernel status detection
+    with newer Jessie images. Thanks to Robert Bihlmeyer.
+    Closes: #794630
+
+ -- Patrick Matthäi <pmatth...@debian.org>  Tue, 22 Sep 2015 10:17:50 +0200
+
 apt-dater-host (1.0.0-2) unstable; urgency=low

   * Move needrestart from depends to recommends.
diff -Naur '--exclude=.svn' 
tags/1.0.0-2/debian/patches/01-jessie-kernel-detection.diff 
branches/jessie/debian/patches/01-jessie-kernel-detection.diff
--- tags/1.0.0-2/debian/patches/01-jessie-kernel-detection.diff 1970-01-01 
01:00:00.000000000 +0100
+++ branches/jessie/debian/patches/01-jessie-kernel-detection.diff      
2015-09-22 10:15:08.152818869 +0200
@@ -0,0 +1,24 @@
+# Fix Linux Kernel status detection with newer Debian jessie kernel images.
+# Closes: #794630
+
+diff -Naur apt-dater-host-1.0.0.orig/dpkg/apt-dater-host 
apt-dater-host-1.0.0/dpkg/apt-dater-host
+--- apt-dater-host-1.0.0.orig/dpkg/apt-dater-host      2014-09-24 
23:05:00.000000000 +0200
++++ apt-dater-host-1.0.0/dpkg/apt-dater-host   2015-09-22 09:54:39.688185200 
+0200
+@@ -368,7 +368,7 @@
+     else {
+       my $vstr = `cat $verfile`;
+       unless($vstr =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/ ||
+-             $vstr =~ /^\S+ \S+ \S+ \(debian-kernel\@lists\.debian\.org\) .+ 
Debian (\S+)$/) {
++             $vstr =~ /^\S+ \S+ \S+ \(debian-kernel\@lists\.debian\.org\) .+ 
Debian (\S+)(?: \(\d{4}-\d\d-\d\d\))?$/) {
+           print "$infostr 2 $version\n";
+           return;
+       }
+@@ -376,7 +376,7 @@
+     }
+
+     my $reboot = 0;
+-    unless(open(HDPKG, "dpkg-query -W -f='\${Version} \${Status;20} 
\${Maintainer} \${Provides}\n' 'linux-image*'|grep -E 'install ok installed 
(Debian|Ubuntu) Kernel Team'|grep linux-image|")) {
++      unless(open(HDPKG, "dpkg-query -W -f='\${Version} \${Status;20} 
\${Maintainer} \${Provides}\n' 'linux-image*'|")) {
+       print "$infostr 9 $version\n";
+       return;
+     }
diff -Naur '--exclude=.svn' tags/1.0.0-2/debian/patches/series 
branches/jessie/debian/patches/series
--- tags/1.0.0-2/debian/patches/series  1970-01-01 01:00:00.000000000 +0100
+++ branches/jessie/debian/patches/series       2015-09-22 10:15:08.152818869 
+0200
@@ -0,0 +1 @@
+01-jessie-kernel-detection.diff


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Reply via email to