From 2bcdbc6a87c12c0d0e6faafcfd1aea16e6820d8d Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sat, 14 Dec 2024 02:19:57 -0500 Subject: [PATCH] makepkg: Use sorted inputs for source tarballs too --- scripts/makepkg.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e133a1f7..bfbb8b34 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -730,7 +730,8 @@ create_srcpackage() { # TODO: Maybe this can be set globally for robustness shopt -s -o pipefail - LANG=C bsdtar --no-fflags @BSDTAR_NO_READ_SPARSE@ -cLf - ${pkgbase} | compress_as "$SRCEXT" > "${pkg_file}" || ret=$? + list_package_files | LANG=C bsdtar --no-fflags @BSDTAR_NO_READ_SPARSE@ -cnLf - --null --files-from - | + compress_as "$SRCEXT" > "${pkg_file}" || ret=$? shopt -u -o pipefail