diff options
author | Allan McRae <allan@archlinux.org> | 2014-03-08 11:46:21 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-12 04:13:49 +0100 |
commit | d8ee8d0c99c3820951e2e49dbdb71a5390bd1dc4 (patch) | |
tree | d86af5142452f6f7c069477a4196f1dadb854155 /doc | |
parent | 61ba5c961e4a3536c4bbf41edb348987a9993fdb (diff) | |
download | pacman-d8ee8d0c99c3820951e2e49dbdb71a5390bd1dc4.tar.gz pacman-d8ee8d0c99c3820951e2e49dbdb71a5390bd1dc4.tar.xz |
makepkg: enforce fakeroot usage
Packaging outside of fakeroot can result in incorrect permissions for
package files. It has been years since fakeroot issues during packaging
were common, so it is safe to enforce fakeroot usage. If using fakeroot
is impossible for some reason, a two line wrapper script will suffice to
fool makepkg.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/makepkg.conf.5.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index 9bb384eb..b15f026c 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -85,16 +85,13 @@ Options **DEBUG_CXXFLAGS=**"debug_cxxflags":: Debug flags used for the C++ compiler; see DEBUG_CFLAGS for more info. -**BUILDENV=(**fakeroot !distcc color !ccache check !sign**)**:: +**BUILDENV=(**!distcc color !ccache check !sign**)**:: This array contains options that affect the build environment; the defaults are shown here. All options should always be left in the array; to enable or disable an option, simply remove or add an ``!'' at the front of the option. If an option is specified multiple times, the final value takes precedence. Each option works as follows: - *fakeroot*;; - Allow building packages as a non-root user. This is highly recommended. - *distcc*;; Use the distributed C/C++/ObjC compiler to spread compilation among multiple machines. If this is enabled, `DISTCC_HOSTS` must be specified |