x11-base/xorg-server: Add xcsecurity USE flag
authorSergey Alirzaev <zl29ah@gmail.com>
Tue, 13 Jun 2017 15:22:02 +0000 (18:22 +0300)
committerMatt Turner <mattst88@gentoo.org>
Wed, 5 Jul 2017 04:44:56 +0000 (21:44 -0700)
To be able to use XSecurity extension, say, with firejail --x11=xorg

Closes: https://github.com/gentoo/gentoo/pull/4924

x11-base/xorg-server/metadata.xml
x11-base/xorg-server/xorg-server-1.19.3.ebuild
x11-base/xorg-server/xorg-server-9999.ebuild

index dae89ec215700631ad1c66990dfc80bd3d38dc37..8c8c243082ed27c0142c0c9510d4b88b2d3a6d51 100644 (file)
@@ -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>
index c2db8ad36bbbe8e2198381de77fb9098c416f556..95eac302d9d40b1c0f7f4d7b44a21646df43dcab 100644 (file)
@@ -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)
index 9ab33a38ecb54e72f573cd6cc3cb06047c34570c..2f7f97b9cc363512380ef52d8f2e330a4f08ec6e 100644 (file)
@@ -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)