My previous mail lacked the .debdiff attachment, so here it comes.

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

diff -Nru sbuild-0.78.1/debian/changelog sbuild-0.78.1/debian/changelog
--- sbuild-0.78.1/debian/changelog      2019-02-09 07:25:07.000000000 +0100
+++ sbuild-0.78.1/debian/changelog      2019-04-01 11:33:06.000000000 +0200
@@ -1,3 +1,12 @@
+sbuild (0.78.1-1.1~local) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches: Add support-gzip-in-wheezy.patch. The gzip command
+    in Debian wheezy lacks support for the --keep cmdline option, so
+    avoid using it.
+
+ -- Mike Gabriel <sunwea...@debian.org>  Mon, 01 Apr 2019 11:33:06 +0200
+
 sbuild (0.78.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru sbuild-0.78.1/debian/patches/series 
sbuild-0.78.1/debian/patches/series
--- sbuild-0.78.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ sbuild-0.78.1/debian/patches/series 2019-04-01 10:28:51.000000000 +0200
@@ -0,0 +1 @@
+support-gzip-in-wheezy.patch
diff -Nru sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch 
sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch
--- sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch   1970-01-01 
01:00:00.000000000 +0100
+++ sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch   2019-04-01 
11:33:06.000000000 +0200
@@ -0,0 +1,16 @@
+Description: gzip in wheezy lacks --keep option, so avoid using it.
+Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+
+--- a/lib/Sbuild/ResolverBase.pm
++++ b/lib/Sbuild/ResolverBase.pm
+@@ -1445,8 +1445,8 @@
+     closedir($dh);
+ }
+ 
+-system('gzip', '--keep', '--force', 'Packages') == 0 or die "gzip failed: 
$?\n";
+-system('gzip', '--keep', '--force', 'Sources') == 0 or die "gzip failed: 
$?\n";
++system('gzip -c --force Packages > Packages.gz') == 0 or die "gzip failed: 
$?\n";
++system('gzip -c --force Sources  > Sources.gz' ) == 0 or die "gzip failed: 
$?\n";
+ 
+ my $packages_md5 = hash_file('Packages', 'md5sum');
+ my $sources_md5 = hash_file('Sources', 'md5sum');

Attachment: pgpdGEGMNDYe9.pgp
Description: Digitale PGP-Signatur

Reply via email to