Description: Make the build reproducible Author: Chris Lamb Last-Update: 2025-12-18 --- authselect-1.6.2.orig/profiles/Makefile.am +++ authselect-1.6.2/profiles/Makefile.am @@ -66,6 +66,6 @@ dist_profile_DATA = $(top_srcdir)/profil $(NULL) install-data-hook: - $(FIND) "$(DESTDIR)$(authselect_profile_dir)" -mindepth 2 -type f \ - -printf "%P\n" -exec $(SHA256SUM) {} + | $(SHA256SUM) \ + cd "$(DESTDIR)$(authselect_profile_dir)"; $(FIND) -mindepth 2 -type f \ + -exec $(SHA256SUM) {} + | LC_ALL=C sort | $(SHA256SUM) \ > "$(DESTDIR)$(authselect_profile_dir)/checksum"