Package: fakeroot Version: 1.21-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: environment
Hi! While working on the "reproducible builds" effort [1], we have noticed that fakeroot could not be built reproducibly. The attached patch fix the shebang shell used in fakeroot.in to /bin/sh. Once applied, fakeroot can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp fakeroot-1.21.orig/debian/patches/fix-shell-in-fakeroot fakeroot-1.21/debian/patches/reproducible-build --- fakeroot-1.21.orig/debian/patches/fix-shell-in-fakeroot 1969-12-31 21:00:00.000000000 -0300 +++ fakeroot-1.21/debian/patches/fix-shell-in-fakeroot 2016-06-27 16:51:57.038058143 -0300 @@ -0,0 +1,13 @@ +Description: Fix shell in fakeroot.in + Use /bin/sh instead of @SHELL@ in fakeroot.in +Author: Juan Picca <jumap...@gmail.com> +Last-Update: 2016-06-27 +--- +--- a/scripts/fakeroot.in ++++ b/scripts/fakeroot.in +@@ -1,4 +1,4 @@ +-#!@SHELL@ ++#!/bin/sh + + # This script first starts faked (the daemon), and then it will run + # the requested program with fake root privileges. diff -urNp fakeroot-1.21.orig/debian/patches/series fakeroot-1.21/debian/patches/series --- fakeroot-1.21.orig/debian/patches/series 2016-06-26 19:07:15.000000000 -0300 +++ fakeroot-1.21/debian/patches/series 2016-06-27 16:48:01.489470826 -0300 @@ -1,2 +1,3 @@ eglibc-fts-without-LFS glibc-xattr-types +fix-shell-in-fakeroot