summaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-08-11 23:46:25 -0400
committerAllan McRae <allan@archlinux.org>2019-10-07 13:43:37 +1000
commitde6249ce221aae4062ea131d4f676f7e3d44af28 (patch)
tree42c10fed40bc0fe591c8e38fb136afd433e00bf5 /build-aux
parent2a792ac7bb1ceda42767c696e2664819b47ffc3b (diff)
downloadpacman-de6249ce221aae4062ea131d4f676f7e3d44af28.tar.gz
pacman-de6249ce221aae4062ea131d4f676f7e3d44af28.zip
Support file with seccomp enabled
Not all compression types can be detected in the seccomp sandbox, so we need to disable it. This requires either configuring makepkg to know the sandbox is available, or checking for file >= 5.38 in which the sandbox option is a no-op even when seccomp is disabled. - Requires autoconf-archive for autotools version compare macro. - meson version comparison could be made a lot simpler using meson-git. Fixes FS#58626 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/edit-script.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/edit-script.sh.in b/build-aux/edit-script.sh.in
index d5495057..640d32f8 100644
--- a/build-aux/edit-script.sh.in
+++ b/build-aux/edit-script.sh.in
@@ -19,6 +19,7 @@ mode=$3
-e "s|@TEMPLATE_DIR[@]|@TEMPLATE_DIR@|g" \
-e "s|@DEBUGSUFFIX[@]|@DEBUGSUFFIX@|g" \
-e "s|@INODECMD[@]|@INODECMD@|g" \
+ -e "s|@FILECMD[@]|@FILECMD@|g" \
-e "s|@SEDINPLACEFLAGS[@]|@SEDINPLACEFLAGS@|g" \
-e "s|@SEDPATH[@]|@SEDPATH@|g" \
-e "s|@configure_input[@]|Generated from ${input##*/}; do not edit by hand.|g" \