| 1 | Description: Make the build reproducible |
| 2 | Author: Chris Lamb <[email protected]> |
| 3 | Last-Update: 2025-12-18 |
| 4 | |
| 5 | --- authselect-1.6.2.orig/profiles/Makefile.am |
| 6 | +++ authselect-1.6.2/profiles/Makefile.am |
| 7 | @@ -66,6 +66,6 @@ dist_profile_DATA = $(top_srcdir)/profil |
| 8 | $(NULL) |
| 9 | |
| 10 | install-data-hook: |
| 11 | - $(FIND) "$(DESTDIR)$(authselect_profile_dir)" -mindepth 2 -type f \ |
| 12 | - -printf "%P\n" -exec $(SHA256SUM) {} + | $(SHA256SUM) \ |
| 13 | + cd "$(DESTDIR)$(authselect_profile_dir)"; $(FIND) -mindepth 2 -type f \ |
| 14 | + -exec $(SHA256SUM) {} + | LC_ALL=C sort | $(SHA256SUM) \ |
| 15 | > "$(DESTDIR)$(authselect_profile_dir)/checksum" |