diff options
author | Britney Fransen <brfransen@gmail.com> | 2020-05-24 05:47:20 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2020-05-24 05:47:20 (GMT) |
commit | df75a2a3ca20d4c96f7a042fff9b7a4e80a80eec (patch) | |
tree | 5cfed26c4363f9d54ae9e700354f72a72b2a1082 /abs/core/pacman/makepkg-fix-one-more-file-seccomp-issue.patch | |
parent | 9d7e4a5dbcba225a08e908cbf2e1617ce63d0745 (diff) | |
download | linhes_pkgbuild-df75a2a3ca20d4c96f7a042fff9b7a4e80a80eec.zip linhes_pkgbuild-df75a2a3ca20d4c96f7a042fff9b7a4e80a80eec.tar.gz linhes_pkgbuild-df75a2a3ca20d4c96f7a042fff9b7a4e80a80eec.tar.bz2 |
pacman: update to 5.2.1
Diffstat (limited to 'abs/core/pacman/makepkg-fix-one-more-file-seccomp-issue.patch')
-rw-r--r-- | abs/core/pacman/makepkg-fix-one-more-file-seccomp-issue.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/pacman/makepkg-fix-one-more-file-seccomp-issue.patch b/abs/core/pacman/makepkg-fix-one-more-file-seccomp-issue.patch new file mode 100644 index 0000000..7b077ad --- /dev/null +++ b/abs/core/pacman/makepkg-fix-one-more-file-seccomp-issue.patch @@ -0,0 +1,30 @@ +From 00cfc6c5c9700b597c384743c2f057a2ba7125e2 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwartz@archlinux.org> +Date: Thu, 9 Jan 2020 20:49:17 -0500 +Subject: [pacman-dev] [PATCH] makepkg: fix one more file-seccomp issue + +When file is called via fakeroot, it doesn't matter whether you use -z +or not, it is still incompatible with seccomp. Fix by configuring it +with FILECMD when used in the fakeroot 'tidy' run. + +Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> +--- + scripts/libmakepkg/tidy/strip.sh.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/libmakepkg/tidy/strip.sh.in b/scripts/libmakepkg/tidy/strip.sh.in +index 1bd810f0..876f00f0 100644 +--- a/scripts/libmakepkg/tidy/strip.sh.in ++++ b/scripts/libmakepkg/tidy/strip.sh.in +@@ -111,7 +111,7 @@ tidy_strip() { + + local binary strip_flags + find . -type f -perm -u+w -print0 2>/dev/null | while IFS= read -rd '' binary ; do +- case "$(file -bi "$binary")" in ++ case "$(@FILECMD@ -bi "$binary")" in + *application/x-sharedlib*) # Libraries (.so) + strip_flags="$STRIP_SHARED";; + *application/x-archive*) # Libraries (.a) +-- +2.24.1 + |