summaryrefslogtreecommitdiffstats
path: root/etc/makepkg.conf.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-03-08 11:46:21 +0100
committerAllan McRae <allan@archlinux.org>2014-03-12 04:13:49 +0100
commitd8ee8d0c99c3820951e2e49dbdb71a5390bd1dc4 (patch)
treed86af5142452f6f7c069477a4196f1dadb854155 /etc/makepkg.conf.in
parent61ba5c961e4a3536c4bbf41edb348987a9993fdb (diff)
downloadpacman-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 'etc/makepkg.conf.in')
-rw-r--r--etc/makepkg.conf.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in
index 43a6cf25..712ca603 100644
--- a/etc/makepkg.conf.in
+++ b/etc/makepkg.conf.in
@@ -41,17 +41,16 @@ CHOST="@CHOST@"
# BUILD ENVIRONMENT
#########################################################################
#
-# Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
+# Defaults: BUILDENV=(!distcc color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
-#-- fakeroot: Allow building packages as a non-root user
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
-BUILDENV=(fakeroot !distcc color !ccache check !sign)
+BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.