From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B01BB158094 for ; Tue, 12 Jul 2022 06:33:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB5A3E104B; Tue, 12 Jul 2022 06:33:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88DAFE104A for ; Tue, 12 Jul 2022 06:33:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A703340FE6 for ; Tue, 12 Jul 2022 06:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B89DE534 for ; Tue, 12 Jul 2022 06:33:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657607600.01b19ca9629c02d46af23f97c4afe4903c8b201a.sam@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: README.md meson_options.txt X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 01b19ca9629c02d46af23f97c4afe4903c8b201a X-VCS-Branch: master Date: Tue, 12 Jul 2022 06:33:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2909ad5c-d23b-4478-95ab-a11d436d45ba X-Archives-Hash: bbbb70a0561d31efccf19d4da62883b2 commit: 01b19ca9629c02d46af23f97c4afe4903c8b201a Author: Arsen Arsenović aarsen me> AuthorDate: Sat Jun 25 17:15:00 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 12 06:33:20 2022 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=01b19ca9 Improve build-related documentation Signed-off-by: Arsen Arsenović aarsen.me> Signed-off-by: Sam James gentoo.org> README.md | 13 +++---------- meson_options.txt | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 49277e0..539f3cc 100644 --- a/README.md +++ b/README.md @@ -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' +)