Source: dh-lua
Version: 23
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: toolchain fileordering
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that dh-lua inserts a Lua-Versions field into the control file, with
unsorted version numbers.

The attached patch fixes this by sorting the list of files used for
determining the versions.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/make/dh-lua.Makefile.multiple b/make/dh-lua.Makefile.multiple
index 156d00e..260c8b7 100644
--- a/make/dh-lua.Makefile.multiple
+++ b/make/dh-lua.Makefile.multiple
@@ -2,7 +2,7 @@
 # License: MIT/X
 # vim: ft=make
 
-MODULES=$(wildcard debian/*dh-lua.conf)
+MODULES=$(sort $(wildcard debian/*dh-lua.conf))
 LUA_SINGLE_MAKEFILE=/usr/share/dh-lua/make/dh-lua.Makefile.single
 H=@
 

Attachment: signature.asc
Description: PGP signature

Reply via email to