Package: rsync
Version: 3.1.2-2.1
Severity: normal
Tags: patch
Justification: Policy §4.3
User: debian-ri...@lists.debian.org
Usertags: riscv64

Hi,

We are in the process of bootstrapping a Debian port for the                  
riscv64 architecture (https://wiki.debian.org/RISC-V). It happens that
the config.guess/sub included in rsync is too old to recognize this
system. The solution is to update those files from autotools-dev, as
recommended by Debian Policy §4.3. This is what the patch below
does.

Thanks,
Aurelien

diff -Nru rsync-3.1.2/debian/control rsync-3.1.2/debian/control
--- rsync-3.1.2/debian/control  2017-12-13 06:34:49.000000000 +0000
+++ rsync-3.1.2/debian/control  2018-03-14 22:31:44.000000000 +0000
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Paul Slootman <p...@debian.org>
-Build-Depends: libpopt-dev,libacl1-dev,libattr1-dev
+Build-Depends: libpopt-dev,libacl1-dev,libattr1-dev,autotools-dev
 Standards-Version: 3.9.8
 Homepage: http://rsync.samba.org/
 
diff -Nru rsync-3.1.2/debian/rules rsync-3.1.2/debian/rules
--- rsync-3.1.2/debian/rules    2017-12-13 06:34:49.000000000 +0000
+++ rsync-3.1.2/debian/rules    2018-03-14 22:37:02.000000000 +0000
@@ -60,6 +60,8 @@
        mkdir debian/buildtree
        cp -p * debian/buildtree || true
        cp -pr lib m4 popt support testsuite zlib debian/buildtree
+       # update config.guess/sub
+       cp /usr/share/misc/config.guess /usr/share/misc/config.sub 
debian/buildtree
        # work around newer autoconf stuff (runstatedir)
        touch debian/buildtree/aclocal.m4
        @echo applying misc Debian patches

Reply via email to