diff -Nru fstransform-0.9.3/debian/changelog fstransform-0.9.3/debian/changelog --- fstransform-0.9.3/debian/changelog 2016-04-29 09:34:32.000000000 +0000 +++ fstransform-0.9.3/debian/changelog 2019-04-04 06:50:30.000000000 +0000 @@ -1,3 +1,25 @@ +fstransform (0.9.3-4) unstable; urgency=medium + + * Backport upstream patch that properly fix a data corruption buf (closes: + #925957). + * Remove warning message, which is now useless. + + -- Giovanni Mascellani Thu, 04 Apr 2019 08:50:30 +0200 + +fstransform (0.9.3-3) unstable; urgency=medium + + [ Giovanni Mascellani ] + * Update Vcs-* after migration to salsa. + * Display a more explicit warning message about the risk of data corruption + when executing with little available memory (closes: #925957). + + [ Ondřej Nový ] + * d/copyright: Use https protocol in Format field + * d/control: Deprecating priority extra as per policy 4.0.1 + * d/watch: Use https protocol + + -- Giovanni Mascellani Sat, 30 Mar 2019 11:24:21 +0100 + fstransform (0.9.3-2) unstable; urgency=low * Bump debian/compat to 9 in order to correctly use default build flags diff -Nru fstransform-0.9.3/debian/control fstransform-0.9.3/debian/control --- fstransform-0.9.3/debian/control 2016-04-29 09:34:32.000000000 +0000 +++ fstransform-0.9.3/debian/control 2019-04-04 06:50:30.000000000 +0000 @@ -1,12 +1,12 @@ Source: fstransform Section: admin -Priority: extra +Priority: optional Maintainer: Giovanni Mascellani Build-Depends: debhelper (>= 9.0.0), autotools-dev Standards-Version: 3.9.8 Homepage: http://sourceforge.net/projects/fstransform/ -Vcs-Git: https://anonscm.debian.org/git/collab-maint/fstransform.git -Vcs-Browser: https://anonscm.debian.org/git/collab-maint/fstransform.git +Vcs-Browser: https://salsa.debian.org/debian/fstransform +Vcs-Git: https://salsa.debian.org/debian/fstransform.git Package: fstransform Architecture: any diff -Nru fstransform-0.9.3/debian/copyright fstransform-0.9.3/debian/copyright --- fstransform-0.9.3/debian/copyright 2016-04-29 09:34:32.000000000 +0000 +++ fstransform-0.9.3/debian/copyright 2019-04-04 06:50:30.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fstransform Upstream-Contact: Massimiliano Ghilardi Source: http://sourceforge.net/projects/fstransform/ diff -Nru fstransform-0.9.3/debian/patches/fix_corruption.patch fstransform-0.9.3/debian/patches/fix_corruption.patch --- fstransform-0.9.3/debian/patches/fix_corruption.patch 1970-01-01 00:00:00.000000000 +0000 +++ fstransform-0.9.3/debian/patches/fix_corruption.patch 2019-04-04 06:50:30.000000000 +0000 @@ -0,0 +1,28 @@ +From 0d36162e7f51251bc198a8b6b3b03dd9eedd6628 Mon Sep 17 00:00:00 2001 +From: Massimiliano Ghilardi +Date: Wed, 3 Apr 2019 19:53:29 +0200 +Subject: [PATCH] backport fix #13 to version 0.9.3: fix reproducible + filesystem corruption with too-low RAM buffer size: the loop copying + continuous segments larger than RAM buffer was bugged, it incremented only + one iteration variable instead of all three + +--- + fsremap/src/io/io_posix.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/fsremap/src/io/io_posix.cc b/fsremap/src/io/io_posix.cc +index 926b023..e56d602 100644 +--- a/fsremap/src/io/io_posix.cc ++++ b/fsremap/src/io/io_posix.cc +@@ -974,6 +974,8 @@ int fr_io_posix::flush_copy_bytes(fr_dir dir, fr_vector & request_vec) + || (err = flush_bytes()) != 0) + break; + ++ from_offset += (ft_uoff) buf_length; ++ to_offset += (ft_uoff) buf_length; + length -= (ft_uoff) buf_length; + } + if (err != 0) +-- +2.20.1 + diff -Nru fstransform-0.9.3/debian/patches/series fstransform-0.9.3/debian/patches/series --- fstransform-0.9.3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ fstransform-0.9.3/debian/patches/series 2019-04-04 06:50:30.000000000 +0000 @@ -0,0 +1 @@ +fix_corruption.patch diff -Nru fstransform-0.9.3/debian/watch fstransform-0.9.3/debian/watch --- fstransform-0.9.3/debian/watch 2016-04-29 09:34:32.000000000 +0000 +++ fstransform-0.9.3/debian/watch 2019-04-04 06:50:30.000000000 +0000 @@ -1,2 +1,2 @@ version=4 -http://sf.net/fstransform/fstransform-(.+)-src\.tar\.bz2 +https://sf.net/fstransform/fstransform-(.+)-src\.tar\.bz2