commit: 824d0647e08da946ec357e436038d795ac589fd4 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Fri Oct 16 04:07:31 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Fri Oct 16 04:10:36 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824d0647
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. profiles/base/make.defaults | 4 ++++ profiles/default/linux/uclibc/make.defaults | 2 +- profiles/default/linux/uclibc/packages.build | 2 -- profiles/hardened/linux/make.defaults | 2 +- profiles/hardened/linux/musl/make.defaults | 2 +- profiles/hardened/linux/musl/packages.build | 2 -- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index 2d9b97c..8775ecf 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 <[email protected]> (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 b8cec29..7acb59b 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 6f8a9d0..83b0ec5 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 0b68105..d17a41e 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 4c6b3d5..24ce96f 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 d62198d..5042e04 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
