summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-16 00:07:31 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-16 00:10:36 -0400
commit824d0647e08da946ec357e436038d795ac589fd4 (patch)
treef1780c950d44ba2332de67957b0b2e3fbc2d278e /profiles
parent6845bdefc6c9ffc008cbc5d4ea0c02127b8b3312 (diff)
downloadgentoo-824d0647e08da946ec357e436038d795ac589fd4.tar.gz
gentoo-824d0647e08da946ec357e436038d795ac589fd4.tar.xz
profiles: enable USE=xattr by default #506198 #556408
Extended attributes are needed to support filesystem caps, selinux, and the new PaX file markings (to move away from binutils ELF headers). We already assume it's enabled in our release media and documentation, so update the default profile to match.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/base/make.defaults4
-rw-r--r--profiles/default/linux/uclibc/make.defaults2
-rw-r--r--profiles/default/linux/uclibc/packages.build2
-rw-r--r--profiles/hardened/linux/make.defaults2
-rw-r--r--profiles/hardened/linux/musl/make.defaults2
-rw-r--r--profiles/hardened/linux/musl/packages.build2
6 files changed, 7 insertions, 7 deletions
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index 2d9b97caddf..8775ecff64c 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -111,6 +111,10 @@ RUBY_TARGETS="ruby20 ruby21"
# https://archives.gentoo.org/gentoo-dev/msg_a181cd0d36600067b599f4b996c6989f.xml
USE="${USE} cxx"
+# Enable extended filesystem attribute support by default.
+# https://archives.gentoo.org/gentoo-dev/message/ba0e3457e4b807e79816f0df03566af0
+USE="${USE} xattr"
+
# Tiziano Müller <dev-zero@gentoo.org> (24 Jan 2010)
# We usually don't want python to (re)write .py[co] files during phase runs
# since it could cause sandbox violations
diff --git a/profiles/default/linux/uclibc/make.defaults b/profiles/default/linux/uclibc/make.defaults
index b8cec29a5f0..7acb59b1c57 100644
--- a/profiles/default/linux/uclibc/make.defaults
+++ b/profiles/default/linux/uclibc/make.defaults
@@ -7,7 +7,7 @@ ELIBC=uclibc
FEATURES="sandbox sfperms strict"
-USE="nptl unicode xattr -berkdb"
+USE="nptl unicode -berkdb"
BOOTSTRAP_USE="${BOOTSTRAP_USE} nptl -berkdb"
SYMLINK_LIB="no"
diff --git a/profiles/default/linux/uclibc/packages.build b/profiles/default/linux/uclibc/packages.build
index 6f8a9d0461c..83b0ec5ca39 100644
--- a/profiles/default/linux/uclibc/packages.build
+++ b/profiles/default/linux/uclibc/packages.build
@@ -7,5 +7,3 @@
dev-util/pkgconfig
dev-libs/libiconv
-sys-apps/attr
-dev-python/pyxattr
diff --git a/profiles/hardened/linux/make.defaults b/profiles/hardened/linux/make.defaults
index 0b68105a9df..d17a41ee01c 100644
--- a/profiles/hardened/linux/make.defaults
+++ b/profiles/hardened/linux/make.defaults
@@ -6,7 +6,7 @@
# Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value
BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened pax_kernel pic xtpax -jit -orc"
-USE="hardened pax_kernel pic urandom xattr xtpax -fortran -jit -orc"
+USE="hardened pax_kernel pic urandom xtpax -fortran -jit -orc"
# Ian Stakenvicius, 2014-09-03
# Set a variable just to indicate that the current profile is a hardened one
diff --git a/profiles/hardened/linux/musl/make.defaults b/profiles/hardened/linux/musl/make.defaults
index 4c6b3d5ce19..24ce96fefe8 100644
--- a/profiles/hardened/linux/musl/make.defaults
+++ b/profiles/hardened/linux/musl/make.defaults
@@ -6,7 +6,7 @@ ELIBC="musl"
FEATURES="sandbox sfperms strict"
-USE="hardened nptl pax_kernel pic unicode xattr -berkdb -jit -orc"
+USE="hardened nptl pax_kernel pic unicode -berkdb -jit -orc"
BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened nptl pax_kernel pic -berkdb -jit -nls -orc"
SYMLINK_LIB="no"
diff --git a/profiles/hardened/linux/musl/packages.build b/profiles/hardened/linux/musl/packages.build
index d62198d2469..5042e0489b2 100644
--- a/profiles/hardened/linux/musl/packages.build
+++ b/profiles/hardened/linux/musl/packages.build
@@ -6,6 +6,4 @@
# a stage 1 based on this profile.
dev-util/pkgconf
-sys-apps/attr
sys-apps/sandbox
-dev-python/pyxattr