Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-04-05 17:26:07 -0400
committerAllan McRae <allan@archlinux.org>2021-04-07 22:41:54 +1000
commit2535611d6c3cbf951408c50ab35953efaf32f686 (patch)
treeced97b08051b9d646f10105c81fa58933ec82eb6 /doc
parentd6f86594434729b77e9131880738290140086d40 (diff)
makepkg: add PACMAN_AUTH configurable setting for sudo elevation
If specified, this will be used no matter what. If not, then we check if sudo exists and use that, or else fall back on su. Implements FS#32621 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.conf.5.asciidoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/makepkg.conf.5.asciidoc b/doc/makepkg.conf.5.asciidoc
index 2c7a54db..76c27f6a 100644
--- a/doc/makepkg.conf.5.asciidoc
+++ b/doc/makepkg.conf.5.asciidoc
@@ -278,6 +278,14 @@ Options
`.tar.lzo`, `.tar.lrz`, `.tar.lz4`, `.tar.lz` and `.tar.Z`, or
simply `.tar` to disable compression entirely.
+**PACMAN_AUTH=()**::
+ Specify a command prefix for running pacman as root. If unset, makepkg will
+ check for the presence of sudo(8) and su(1) in turn, and try the first one
+ it finds.
+ +
+ If present, `%c` will be replaced with the shell-quoted form of the command
+ to run. Otherwise, the command to run is appended to the auth command.
+
See Also