diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2022-06-25 19:15:00 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-12 07:33:20 +0100 |
commit | 01b19ca9629c02d46af23f97c4afe4903c8b201a (patch) | |
tree | cd4eb2273ca543c903f087b6d9f8035f39a83025 | |
parent | security.h: suppress unused argument warning on allow_forking (diff) | |
download | pax-utils-01b19ca9629c02d46af23f97c4afe4903c8b201a.tar.gz pax-utils-01b19ca9629c02d46af23f97c4afe4903c8b201a.tar.bz2 pax-utils-01b19ca9629c02d46af23f97c4afe4903c8b201a.zip |
Improve build-related documentation
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | meson_options.txt | 18 |
2 files changed, 16 insertions, 15 deletions
@@ -18,16 +18,9 @@ Originally focused only on [PaX](https://pax.grsecurity.net/), it has been expanded to be generally security focused. It still has a good number of PaX helpers for people interested in that. -## Building - -Just run `make`. This should work on any recent POSIX compliant system. - -Note: To rebuild the man-pages, you will need xmlto and the docbook-xml-dtd - packages installed on your system. - -## Installation - -`make install` +## Building and installing +pax-utils uses a bog-standard meson-based build system. See `meson_options.txt` +for configuration options. You don't need PaX to use the pax-utils. Infact the only thing they really have in common is that pax-utils was initially written to aid in diff --git a/meson_options.txt b/meson_options.txt index 62adc35..c96865d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,9 +1,17 @@ -option('lddtree_implementation', type : 'combo', choices : ['python', 'sh', 'none'], value : 'python') -option('use_libcap', type : 'feature', value : 'auto') +option('lddtree_implementation', type : 'combo', + choices : ['python', 'sh', 'none'], value : 'python', + description : 'Which lddtree implementation to install?') +option('use_libcap', type : 'feature', value : 'auto', + description : 'Enable listing capabilities in pspax output (requires libcap)' +) option('use_seccomp', type : 'boolean', value : 'true', - description : 'Enable seccomp filters at runtime (does *not* require libseccomp)' + description : 'Enable seccomp filters at runtime (does *not* require libseccomp, but does require kernel support)' ) option('build_manpages', type : 'feature', value : 'auto', description : 'Build manuals via DocBook (requires xmlto)') -option('tests', type : 'boolean', value : 'true') -option('use_fuzzing', type : 'boolean', description : 'Also build LibFuzzer fuzzers', value : 'true') +option('tests', type : 'boolean', value : 'true' + description : 'Enable testing (not guaranteed to work)' +) +option('use_fuzzing', type : 'boolean', value : 'true', + description : 'Also build LibFuzzer fuzzers as tests' +) |