summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Alirzaev <zl29ah@gmail.com>2017-06-13 18:22:02 +0300
committerMatt Turner <mattst88@gentoo.org>2017-07-04 21:44:56 -0700
commit699465bbdc06e330eda66fe9ac6c7c43da325760 (patch)
tree1d11e3d2fe83bf3476c607b0712fa32739da7de6 /x11-base
parentdev-ruby/selenium-webdriver: add 3.4.3 (diff)
downloadgentoo-699465bbdc06e330eda66fe9ac6c7c43da325760.tar.gz
gentoo-699465bbdc06e330eda66fe9ac6c7c43da325760.tar.bz2
gentoo-699465bbdc06e330eda66fe9ac6c7c43da325760.zip
x11-base/xorg-server: Add xcsecurity USE flag
To be able to use XSecurity extension, say, with firejail --x11=xorg Closes: https://github.com/gentoo/gentoo/pull/4924
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-server/metadata.xml1
-rw-r--r--x11-base/xorg-server/xorg-server-1.19.3.ebuild3
-rw-r--r--x11-base/xorg-server/xorg-server-9999.ebuild3
3 files changed, 5 insertions, 2 deletions
diff --git a/x11-base/xorg-server/metadata.xml b/x11-base/xorg-server/metadata.xml
index dae89ec21570..8c8c243082ed 100644
--- a/x11-base/xorg-server/metadata.xml
+++ b/x11-base/xorg-server/metadata.xml
@@ -11,6 +11,7 @@
<flag name="kdrive">Build the kdrive X servers</flag>
<flag name="tslib">Build with tslib support for touchscreen devices</flag>
<flag name="unwind">Enable libunwind usage for backtraces</flag>
+ <flag name="xcsecurity">Build Security extension</flag>
<flag name="xnest">Build the Xnest server</flag>
<flag name="xephyr">Build the Xephyr server</flag>
<flag name="xorg">Build the Xorg X server (HIGHLY RECOMMENDED)</flag>
diff --git a/x11-base/xorg-server/xorg-server-1.19.3.ebuild b/x11-base/xorg-server/xorg-server-1.19.3.ebuild
index c2db8ad36bbb..95eac302d9d4 100644
--- a/x11-base/xorg-server/xorg-server-1.19.3.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.19.3.ebuild
@@ -12,7 +12,7 @@ SLOT="0/${PV}"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
-IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind"
+IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind xcsecurity"
CDEPEND=">=app-eselect/eselect-opengl-1.3.0
!libressl? ( dev-libs/openssl:0= )
@@ -184,6 +184,7 @@ src_configure() {
$(use_enable !minimal dri)
$(use_enable !minimal dri2)
$(use_enable !minimal glx)
+ $(use_enable xcsecurity)
$(use_enable xephyr)
$(use_enable xnest)
$(use_enable xorg)
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
index 9ab33a38ecb5..2f7f97b9cc36 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -12,7 +12,7 @@ SLOT="0/${PV}"
KEYWORDS=""
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
-IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd +udev unwind"
+IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd +udev unwind xcsecurity"
CDEPEND=">=app-eselect/eselect-opengl-1.3.0
!libressl? ( dev-libs/openssl:0= )
@@ -178,6 +178,7 @@ src_configure() {
$(use_enable !minimal dri)
$(use_enable !minimal dri2)
$(use_enable !minimal glx)
+ $(use_enable xcsecurity)
$(use_enable xephyr)
$(use_enable xnest)
$(use_enable xorg)