Bug#928967: unblock: needrestart/3.4-4

2019-05-24 Thread Patrick Matthäi
Am 14.05.2019 um 19:45 schrieb Jonathan Wiltshire:
> Control: tag -1 moreinfo
>
> On Tue, May 14, 2019 at 11:25:57AM +0200, Patrick Matthäi wrote:
>> +needrestart (3.4-3~bpo9+1) stretch-backports; urgency=medium
>> +
>> +  * Rebuild for stretch-backports.
>> +
>> + -- Patrick Matthäi   Wed, 24 Apr 2019 10:04:02 +0200
>> +
> This changelog entry should not be present; 3.4-3~bpo9+1 is not an
> ancestor of 3.4-4.
>
> Thanks,

Wow. For me it is important to have the whole history present in the
changelog. That this is a blocker...

So just for this I have uploaded now 3.4-5 which is more funnier, since
now the 3.4-3~bpo9+1 changelog entry is mentioned twice:

 needrestart (3.4-5) unstable; urgency=medium
 .
   * Remove 3.4-3~bpo9+1 changelog entry.

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/



Bug#928967: unblock: needrestart/3.4-4

2019-05-14 Thread Jonathan Wiltshire
Control: tag -1 moreinfo

On Tue, May 14, 2019 at 11:25:57AM +0200, Patrick Matthäi wrote:
> +needrestart (3.4-3~bpo9+1) stretch-backports; urgency=medium
> +
> +  * Rebuild for stretch-backports.
> +
> + -- Patrick Matthäi   Wed, 24 Apr 2019 10:04:02 +0200
> +

This changelog entry should not be present; 3.4-3~bpo9+1 is not an
ancestor of 3.4-4.

Thanks,

-- 
Jonathan Wiltshire  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51



Bug#928967: unblock: needrestart/3.4-4

2019-05-14 Thread Patrick Matthäi
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package needrestart

It fixes an upstream bug which leads to a false positive, see #928225



diff -Naur '--exclude=.svn' 3.4-3/debian/changelog 3.4-4/debian/changelog
--- 3.4-3/debian/changelog  2019-04-18 11:17:08.756032831 +0200
+++ 3.4-4/debian/changelog  2019-05-09 11:26:38.505949290 +0200
@@ -1,3 +1,18 @@
+needrestart (3.4-4) unstable; urgency=medium
+
+  * Add upstream patch 05-strip-leading-zeroes to remove leading zero before
+testing in map_files.
+Closes: #928225
+  * Merge 3.4-3~bpo9+1 changelog.
+
+ -- Patrick Matthäi   Thu, 09 May 2019 11:18:46 +0200
+
+needrestart (3.4-3~bpo9+1) stretch-backports; urgency=medium
+
+  * Rebuild for stretch-backports.
+
+ -- Patrick Matthäi   Wed, 24 Apr 2019 10:04:02 +0200
+
 needrestart (3.4-3) unstable; urgency=medium

   * Add upstream patch 04-restore-cwd to restore the cwd when skipping
diff -Naur '--exclude=.svn' 3.4-3/debian/patches/05-strip-leading-zeroes.diff 
3.4-4/debian/patches/05-strip-leading-zeroes.diff
--- 3.4-3/debian/patches/05-strip-leading-zeroes.diff   1970-01-01 
01:00:00.0 +0100
+++ 3.4-4/debian/patches/05-strip-leading-zeroes.diff   2019-05-09 
11:26:38.541949067 +0200
@@ -0,0 +1,23 @@
+From 017c9a11d9a3961477ed79200b2bce8963483575 Mon Sep 17 00:00:00 2001
+From: Thomas Liske 
+Date: Fri, 3 May 2019 22:28:21 +0200
+Subject: [PATCH] [Core] Remove leading zero before testing in map_files
+ (Debian Bug#928225 by Alexander Galanin ).
+
+---
+ needrestart | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/needrestart b/needrestart
+index 2fc3379..ed18920 100755
+--- a/needrestart
 b/needrestart
+@@ -504,6 +504,8 @@ if(defined($opt_l)) {
+
+   # check for outdated lib mappings
+   unless($nrconf{skip_mapfiles} == 1) {
++  $maddr =~ s/^0+([^-])/$1/;
++  $maddr =~ s/-0+(.)/-$1/;
+   my @paths = ("/proc/$pid/map_files/$maddr", 
"/proc/$pid/root/$path");
+   my ($testp) = grep { -e $_; } @paths;
+   unless($testp) {
diff -Naur '--exclude=.svn' 3.4-3/debian/patches/series 
3.4-4/debian/patches/series
--- 3.4-3/debian/patches/series 2019-04-18 11:17:08.756032831 +0200
+++ 3.4-4/debian/patches/series 2019-05-09 11:26:38.517949215 +0200
@@ -2,3 +2,4 @@
 02-ignore-networking.diff
 03-typo-env-var.diff
 04-restore-cwd.diff
+05-strip-leading-zeroes.diff



unblock needrestart/3.4-4

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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