diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-08-12 05:46:25 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-07 05:43:37 +0200 |
commit | de6249ce221aae4062ea131d4f676f7e3d44af28 (patch) | |
tree | 42c10fed40bc0fe591c8e38fb136afd433e00bf5 /meson_options.txt | |
parent | 2a792ac7bb1ceda42767c696e2664819b47ffc3b (diff) | |
download | pacman-de6249ce221aae4062ea131d4f676f7e3d44af28.tar.gz pacman-de6249ce221aae4062ea131d4f676f7e3d44af28.tar.xz |
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 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 2d640e87..2b92ca1a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -52,5 +52,8 @@ option('i18n', type : 'boolean', value : true, description : 'enable localization of pacman, libalpm and scripts') # tools +option('file-seccomp', type: 'feature', value: 'auto', + description: 'determine whether file is seccomp-enabled') + option('sedinplaceflags', type : 'string', value : 'auto', description : 'flags to pass to sed to edit a file in-place') |