profiles: enable USE=xattr by default #506198 #556408
authorMike Frysinger <vapier@gentoo.org>
Fri, 16 Oct 2015 04:07:31 +0000 (00:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 16 Oct 2015 04:10:36 +0000 (00:10 -0400)
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
profiles/default/linux/uclibc/make.defaults
profiles/default/linux/uclibc/packages.build
profiles/hardened/linux/make.defaults
profiles/hardened/linux/musl/make.defaults
profiles/hardened/linux/musl/packages.build

index 2d9b97caddf0f554b8d03ccc5e2848e9fc0d0616..8775ecff64c1df705bfcca7e30c6caeb2774aeda 100644 (file)
@@ -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
index b8cec29a5f0609ce2f62b75e36de1ce8727fc629..7acb59b1c57d982b4c0cca44e675e85c0400a602 100644 (file)
@@ -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"
index 6f8a9d0461c2bb465a22db0d5e98c77705a2f336..83b0ec5ca395028fde63ef3d9a3d01915c2c84fc 100644 (file)
@@ -7,5 +7,3 @@
 
 dev-util/pkgconfig
 dev-libs/libiconv
-sys-apps/attr
-dev-python/pyxattr
index 0b68105a9df8c5e674a8aa7d03b747536aae912a..d17a41ee01ce3fd90dc2c6b394551df44ca09f0f 100644 (file)
@@ -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
index 4c6b3d5ce1977cec5268c62088ddb35f5664426d..24ce96fefe87ac6f80aec4563de4b1cf335e0ead 100644 (file)
@@ -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"
index d62198d24693114545a7fdedde88b7a2a32a14f6..5042e0489b2973b7b78692fdbf46aaaff9196bab 100644 (file)
@@ -6,6 +6,4 @@
 # a stage 1 based on this profile.
 
 dev-util/pkgconf
-sys-apps/attr
 sys-apps/sandbox
-dev-python/pyxattr