Bug#889622: stretch-pu: package fuse-zip/0.4.0-2+deb9u1

2018-02-04 Thread Matthew Harm Bekkema
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian@packages.debian.org
Usertags: pu

Hi,

I'd like to update fuse-zip in stretch to fix a bug which prevents it from
writing changes back to zip files. I took upstream's patch and applied it to the
version in stretch: https://bitbucket.org/agalanin/fuse-zip/commits/9b9c2f47cfe9

Changes:
 fuse-zip (0.4.0-2+deb9u1) stretch; urgency=medium
 .
   * Backport upstream commit 9b9c2f47cfe9 to fix writeback fail with libzip 1.0

Best regards,
Matthew
diff -Nru fuse-zip-0.4.0/debian/changelog fuse-zip-0.4.0/debian/changelog
--- fuse-zip-0.4.0/debian/changelog	2015-02-24 01:15:35.0 +1100
+++ fuse-zip-0.4.0/debian/changelog	2018-02-03 10:44:41.0 +1100
@@ -1,3 +1,9 @@
+fuse-zip (0.4.0-2+deb9u1) stretch; urgency=medium
+
+  * Backport upstream commit 9b9c2f47cfe9 to fix writeback fail with libzip 1.0
+
+ -- Matthew Harm Bekkema   Sat, 03 Feb 2018 10:44:41 +1100
+
 fuse-zip (0.4.0-2) unstable; urgency=low
 
   * Bump standards
diff -Nru fuse-zip-0.4.0/debian/control fuse-zip-0.4.0/debian/control
--- fuse-zip-0.4.0/debian/control	2015-02-24 01:14:52.0 +1100
+++ fuse-zip-0.4.0/debian/control	2018-02-03 10:44:41.0 +1100
@@ -1,7 +1,7 @@
 Source: fuse-zip
 Section: utils
 Priority: optional
-Maintainer: Matthew Bekkema 
+Maintainer: Matthew Harm Bekkema 
 Build-Depends: debhelper (>= 9),
  libfuse-dev,
  libzip-dev (>= 0.11.2),
diff -Nru fuse-zip-0.4.0/debian/patches/fix-zip-source-supports.patch fuse-zip-0.4.0/debian/patches/fix-zip-source-supports.patch
--- fuse-zip-0.4.0/debian/patches/fix-zip-source-supports.patch	1970-01-01 10:00:00.0 +1000
+++ fuse-zip-0.4.0/debian/patches/fix-zip-source-supports.patch	2018-02-03 10:44:41.0 +1100
@@ -0,0 +1,59 @@
+Author: Alexander Galanin 
+Description: Properly handle ZIP_SOURCE_SUPPORTS call introduced in libzip 1.0
+
+--- a/lib/bigBuffer.cpp
 b/lib/bigBuffer.cpp
+@@ -1,5 +1,5 @@
+ 
+-//  Copyright (C) 2008-2014 by Alexander Galanin  //
++//  Copyright (C) 2008-2016 by Alexander Galanin  //
+ //  a...@galanin.nnov.ru//
+ //  http://galanin.nnov.ru/~al//
+ ////
+@@ -282,9 +282,27 @@
+ delete b;
+ return 0;
+ }
+-default: {
++case ZIP_SOURCE_CLOSE:
+ return 0;
++case ZIP_SOURCE_ERROR: {
++// This code should not be called in normal case because none of
++// implemented functions raises error flag.
++int *errs = static_cast(data);
++#if LIBZIP_VERSION_MAJOR >= 1
++errs[0] = ZIP_ER_OPNOTSUPP;
++#else
++errs[0] = ZIP_ER_INVAL;
++#endif
++errs[1] = EINVAL;
++return 2 * sizeof(int);
+ }
++#if LIBZIP_VERSION_MAJOR >= 1
++case ZIP_SOURCE_SUPPORTS:
++return ZIP_SOURCE_SUPPORTS_READABLE;
++#endif
++default:
++// indicate unsupported operation
++return -1;
+ }
+ }
+ 
+--- a/lib/bigBuffer.h
 b/lib/bigBuffer.h
+@@ -1,5 +1,5 @@
+ 
+-//  Copyright (C) 2008-2014 by Alexander Galanin  //
++//  Copyright (C) 2008-2016 by Alexander Galanin  //
+ //  a...@galanin.nnov.ru//
+ //  http://galanin.nnov.ru/~al//
+ ////
+@@ -48,8 +48,6 @@
+ 
+ /**
+  * Callback for zip_source_function.
+- * ZIP_SOURCE_CLOSE is not needed to be handled, ZIP_SOURCE_ERROR is
+- * never called because read() always successfull.
+  * See zip_source_function(3) for details.
+  */
+ static zip_int64_t zipUserFunctionCallback(void *state, void *data,
diff -Nru fuse-zip-0.4.0/debian/patches/series fuse-zip-0.4.0/debian/patches/series
--- fuse-zip-0.4.0/debian/patches/series	1970-01-01 10:00:00.0 +1000
+++ fuse-zip-0.4.0/debian/patches/series	2018-02-03 10:44:41.0 +1100
@@ -0,0 +1 @@
+fix-zip-source-supports.patch


Bug#889604: nmu: ppl_1:1.2-2 logol_1.7.7-1

2018-02-04 Thread Andreas Beckmann
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: binnmu

nmu ppl_1:1.2-2 . ANY . unstable . -m "Rebuild against swi-prolog-nox 7.6.4"
nmu logol_1.7.7-1 . ANY . unstable . -m "Rebuild against swi-prolog-nox 7.6.4"

They have strict dependncies on the swi-prolog upstream version used
during build.


Andreas



Processed: affects 889298

2018-02-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> # For some reason that "+wcc" has been ignored in my previous mail
> affects 889298 + wcc
Bug #889298 [release.debian.org] wcc: Uninstallable since binutils 2.30-1, 
probably needs binNMU
Bug #889069 [release.debian.org] binutils related binNMUs
Added indication that 889298 affects wcc
Added indication that 889069 affects wcc
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
889069: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889069
889298: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889298
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: affects 889298

2018-02-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> # binNMUs don't affect source packages but binary packages
> affects 889298 - src:wcc +wcc
Bug #889298 [release.debian.org] wcc: Uninstallable since binutils 2.30-1, 
probably needs binNMU
Bug #889069 [release.debian.org] binutils related binNMUs
Removed indication that 889298 affects src:wcc
Removed indication that 889069 affects src:wcc
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
889069: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889069
889298: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889298
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Merge duplicates

2018-02-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 889298 release.debian.org
Bug #889298 [wcc] wcc: Uninstallable since binutils 2.30-1, probably needs 
binNMU
Bug reassigned from package 'wcc' to 'release.debian.org'.
No longer marked as found in versions wcc/0.0.2+dfsg-2.
Ignoring request to alter fixed versions of bug #889298 to the same values 
previously set
> forcemerge 889069 889298
Bug #889069 [release.debian.org] binutils related binNMUs
Bug #889298 [release.debian.org] wcc: Uninstallable since binutils 2.30-1, 
probably needs binNMU
Severity set to 'normal' from 'serious'
Merged 889069 889298
> affects 889069 src:wcc
Bug #889069 [release.debian.org] binutils related binNMUs
Bug #889298 [release.debian.org] wcc: Uninstallable since binutils 2.30-1, 
probably needs binNMU
Added indication that 889069 affects src:wcc
Added indication that 889298 affects src:wcc
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
889069: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889069
889298: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889298
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems