Re: [Reproducible-builds] Bug#803064: fte: please make the build reproducible

2015-10-26 Thread Reiner Herrmann
On Mon, Oct 26, 2015 at 03:51:56PM +0100, Reiner Herrmann wrote:
> - tar cf $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar 
> config
> + tar --sort=name -cf 
> $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar config

Lunar just reminded me that --sort=name requires tar >=1.28, so you
should also include this as an explicit Build-Dependency.
Or you could use the alternative way [1], which works with older tar
versions.

[1]: https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#803064: fte: please make the build reproducible

2015-10-26 Thread Santiago Vila
On Mon, Oct 26, 2015 at 04:20:00PM +0100, Axel Beckert wrote:
> Hi,
> 
> Reiner Herrmann wrote:
> > While working on the "reproducible builds" effort [1], we have noticed
> > that fte could not be built reproducibly.
> > The created tarball with example files is not sorted.
> > 
> > The attached patch fixes this by telling tar to sort the files.
> 
> Thanks. I'll likely apply the patch once
> https://ftp-master.debian.org/new/fte_0.50.2b6-7.html has been accepted.

Hello Axel.

I forgot to import version 0.50.2b6-7 into git (sorry), but this
report has served as a reminder, so I just went ahead and did that.

Thanks.

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: [Reproducible-builds] Bug#803064: fte: please make the build reproducible

2015-10-26 Thread Axel Beckert
Hi,

Reiner Herrmann wrote:
> While working on the "reproducible builds" effort [1], we have noticed
> that fte could not be built reproducibly.
> The created tarball with example files is not sorted.
> 
> The attached patch fixes this by telling tar to sort the files.

Thanks. I'll likely apply the patch once
https://ftp-master.debian.org/new/fte_0.50.2b6-7.html has been accepted.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


[Reproducible-builds] Bug#803064: fte: please make the build reproducible

2015-10-26 Thread Reiner Herrmann
Source: fte
Version: 0.50.2b6-6
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that fte could not be built reproducibly.
The created tarball with example files is not sorted.

The attached patch fixes this by telling tar to sort the files.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/debian/rules b/debian/rules
index 6232948..e6a63de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ override_dh_auto_clean:
 override_dh_install-indep:
 	cd config; $(CURDIR)/src/cfte main.fte $(CURDIR)/debian/fte/etc/fte/system.fterc
 	chmod -R go=rX config
-	tar cf $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar config
+	tar --sort=name -cf $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar config
 	gzip -9n $(CURDIR)/debian/fte-docs/usr/share/doc/fte/config-example.tar
 
 	dh_install -i


signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds