Hi, FYI :)
cheers, Holger ---------- Forwarded Message ---------- Subject: [patch] Make.rules: sort capabilities with LANG=C Date: Dienstag, 25. August 2015 From: Christian Boltz <appar...@cboltz.de> To: appar...@lists.ubuntu.com Hello, this patch changes Make.rules to sort capabilities using LANG=C. This is needed to make building apparmor.vim reproducable - otherwise the sorting depends on the locale. Found by the Debian reproducible project, https://reproducible.debian.net/rb-pkg/unstable/amd64/apparmor.html [ make-rules-sort-capabilities.diff ] === modified file 'common/Make.rules' --- common/Make.rules 2015-01-30 21:15:53 +0000 +++ common/Make.rules 2015-08-25 17:00:00 +0000 @@ -82,7 +82,7 @@ # ===================== # emits defined capabilities in a simple list, e.g. "CAP_NAME CAP_NAME2" -CAPABILITIES=$(shell echo "\#include <linux/capability.h>" | cpp -dM | LC_ALL=C sed -n -e '/CAP_EMPTY_SET/d' -e 's/^\#define[ \t]\+CAP_\([A- Z0-9_]\+\)[ \t]\+\([0-9xa-f]\+\)\(.*\)$$/CAP_\1/p' | sort) +CAPABILITIES=$(shell echo "\#include <linux/capability.h>" | cpp -dM | LC_ALL=C sed -n -e '/CAP_EMPTY_SET/d' -e 's/^\#define[ \t]\+CAP_\([A- Z0-9_]\+\)[ \t]\+\([0-9xa-f]\+\)\(.*\)$$/CAP_\1/p' | LANG=C sort) .PHONY: list_capabilities list_capabilities: /usr/include/linux/capability.h Regards, Christian Boltz -- > Ansonsten: Ich sage nur "Diwasserstoffmonoxid". Ja, ein äußerst schädliches Zeugs, vor allem wenn es in guten Malt gerät. [A. Schreiber und R. Döblitz] -------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds