1 |
commit: 67af98328e08ad9e53a857d1b51c9ecea8716ead |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 31 01:44:14 2017 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 31 01:44:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67af9832 |
7 |
|
8 |
x11-base/xorg-server: Drop vulnerable versions |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/623972 |
11 |
Gentoo-Bug: https://bugs.gentoo.org/633910 |
12 |
Gentoo-Bug: https://bugs.gentoo.org/635974 |
13 |
|
14 |
x11-base/xorg-server/Manifest | 3 - |
15 |
x11-base/xorg-server/xorg-server-1.19.2.ebuild | 251 ------------------------- |
16 |
x11-base/xorg-server/xorg-server-1.19.3.ebuild | 251 ------------------------- |
17 |
x11-base/xorg-server/xorg-server-1.19.4.ebuild | 251 ------------------------- |
18 |
4 files changed, 756 deletions(-) |
19 |
|
20 |
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest |
21 |
index a5e86d57c25..76e64eb035d 100644 |
22 |
--- a/x11-base/xorg-server/Manifest |
23 |
+++ b/x11-base/xorg-server/Manifest |
24 |
@@ -2,7 +2,4 @@ DIST xorg-server-1.12-cve-2014-8091..8103.patches.tar.xz 14832 SHA256 a98fd1589e |
25 |
DIST xorg-server-1.12.4.tar.bz2 5444761 SHA256 8ac07c35306ba3fb3c0972722dd4e919303039eca1d40ac7862560e0b2c94cf7 SHA512 70997e8ba4f948829c158e52924753c5691a783dd14e5a86fdce4fc601638dd4e0b281590876b0315a303bf8d5195bdf43ede7113d1d569415a41ab03d938d85 WHIRLPOOL bfee61329ca85ecedb991ca933de6e3a1e94e34a04d9a723a0e9c90a36e067824701c38e8a0034498ed28dfca82eb653d1e1ab5c0223020f5da69cbbf80bbf98 |
26 |
DIST xorg-server-1.15.2.tar.bz2 5551426 SHA256 3c0585607c654ded836da43a45a75492fc13454ff4149704fb08dac39f051163 SHA512 5fcbf0012af309f80e1db206e05d7861796146d765cd17f3963fde6da7f43f0e57d63dbbdbf2c554612a557aa4dee623ef62f7ca7d007834aafd7a46ca7bb1d6 WHIRLPOOL 22cdbad68462f9bac32b13be958df496411ca72fe47435ec7e3ebb470b121ba4b4a0e023913f31a92113c5a56bc4be660dfec5086bc1fb72a617d2cdeaa8adf1 |
27 |
DIST xorg-server-1.16-cve-2014-8091..8103.patches.tar.xz 27892 SHA256 47d8c9bb79c829389e7599aef1110d43afbc5bf744dbcf73d8f3cf01796d287a SHA512 f8b55c009166883b3e6ec2c8c7a2ff4ed61df6970afcc4f0efb9efa36741af194456a368d4b1c7ba9345ef973fb139a48eb50cb5a7ebc144b43749b9ffdb1f7b WHIRLPOOL 2f8b26c018f4ad4cf780ed7dcb0b844de64e7a612adc30c622d1956dfcee710086ffcc837ff0a64cdcc14d47720d82d8797374488bf0b52d77ca63adf6806885 |
28 |
-DIST xorg-server-1.19.2.tar.bz2 5969543 SHA256 4f8ab9f4a1a885fe7550080555381b34b82858582559e8e3c4da96e3a85884bb SHA512 258c5d615efda28170bf0fd4a19e24fd2cefe086d5ef1aada7a407b8dc2ddaa7d74ad0245e0b13155a3e6d30c65fedf054326e191b6dfe800aae881664d63f16 WHIRLPOOL 6ffca7dc695d9551efecbf9061e40862a187f16afba113467640a506c7becdb2e37d7fe042cbfe08af8ba9f2e8f538fd50460ef46a34452796436de15fa463fd |
29 |
-DIST xorg-server-1.19.3.tar.bz2 6050221 SHA256 677a8166e03474719238dfe396ce673c4234735464d6dadf2959b600d20e5a98 SHA512 b988897418399e1361fdcca9465a781f55f8f6fbfdc5a59edfaee9046a0c6ad7a76f348d88b6004ce3d3fb3966b4c5af0b854f6549c32b2b8d7a43758809f669 WHIRLPOOL acbac6db7ba0aff8d0b906e52a783b38b1ce43a342159becb2fc696e34274c98e546e9712d59cf3360ad745555416e6be89575523285e1ca3954f9e60a5cf079 |
30 |
-DIST xorg-server-1.19.4.tar.bz2 5962834 SHA256 aa758acea91deaf1f95069ddc5ea3818e13675fb14fef40ad1b3d0b2bf03c9a8 SHA512 ff80934e42a7dd2d437e947fe02c74c3b25bdbb3002b7005191d52272d5eae8cb3a83377fa32f40000011be88405830e796f6bd3b914bd7fc163ea8ece76226b WHIRLPOOL 75d82daf7fa87b70182ed5d81fe785b4909b82f838530c0318444bc05ccb2a4073f4bebb2a8dd0d283dfbb5d1498dc98a9098176eff16c7a31b801bd179e3c00 |
31 |
DIST xorg-server-1.19.5.tar.bz2 5965044 SHA256 18fffa8eb93d06d2800d06321fc0df4d357684d8d714315a66d8dfa7df251447 SHA512 928dea5850b98cd815004cfa133eca23cfa9521920c934c68a92787f2cae13cca1534eee772a4fb74b8ae8cb92662b5d68b95b834c8aa8ec57cd57cb4e5dd45c WHIRLPOOL 01039d524a876ba6bd72713993b1d4d6e21f8ba53536ee3189dce9cc7186010e143754fa708d2ccf10905dd272bc68b14c63f4322548e041dfc23cf00e4c364e |
32 |
|
33 |
diff --git a/x11-base/xorg-server/xorg-server-1.19.2.ebuild b/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
34 |
deleted file mode 100644 |
35 |
index f9fdfce1f60..00000000000 |
36 |
--- a/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,251 +0,0 @@ |
39 |
-# Copyright 1999-2017 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=5 |
43 |
- |
44 |
-XORG_EAUTORECONF=true |
45 |
-XORG_DOC=doc |
46 |
-inherit xorg-2 multilib versionator flag-o-matic |
47 |
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git" |
48 |
- |
49 |
-DESCRIPTION="X.Org X servers" |
50 |
-SLOT="0/${PV}" |
51 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
52 |
- |
53 |
-IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" |
54 |
-IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind" |
55 |
- |
56 |
-CDEPEND=">=app-eselect/eselect-opengl-1.3.0 |
57 |
- !libressl? ( dev-libs/openssl:0= ) |
58 |
- libressl? ( dev-libs/libressl ) |
59 |
- >=x11-apps/iceauth-1.0.2 |
60 |
- >=x11-apps/rgb-1.0.3 |
61 |
- >=x11-apps/xauth-1.0.3 |
62 |
- x11-apps/xkbcomp |
63 |
- >=x11-libs/libdrm-2.4.46 |
64 |
- >=x11-libs/libpciaccess-0.12.901 |
65 |
- >=x11-libs/libXau-1.0.4 |
66 |
- >=x11-libs/libXdmcp-1.0.2 |
67 |
- >=x11-libs/libXfont2-2.0.1 |
68 |
- >=x11-libs/libxkbfile-1.0.4 |
69 |
- >=x11-libs/libxshmfence-1.1 |
70 |
- >=x11-libs/pixman-0.27.2 |
71 |
- >=x11-libs/xtrans-1.3.5 |
72 |
- >=x11-misc/xbitmaps-1.0.1 |
73 |
- >=x11-misc/xkeyboard-config-2.4.1-r3 |
74 |
- dmx? ( |
75 |
- x11-libs/libXt |
76 |
- >=x11-libs/libdmx-1.0.99.1 |
77 |
- >=x11-libs/libX11-1.1.5 |
78 |
- >=x11-libs/libXaw-1.0.4 |
79 |
- >=x11-libs/libXext-1.0.99.4 |
80 |
- >=x11-libs/libXfixes-5.0 |
81 |
- >=x11-libs/libXi-1.2.99.1 |
82 |
- >=x11-libs/libXmu-1.0.3 |
83 |
- x11-libs/libXrender |
84 |
- >=x11-libs/libXres-1.0.3 |
85 |
- >=x11-libs/libXtst-1.0.99.2 |
86 |
- ) |
87 |
- glamor? ( |
88 |
- media-libs/libepoxy[X] |
89 |
- >=media-libs/mesa-10.3.4-r1[egl,gbm] |
90 |
- !x11-libs/glamor |
91 |
- ) |
92 |
- kdrive? ( |
93 |
- >=x11-libs/libXext-1.0.5 |
94 |
- x11-libs/libXv |
95 |
- ) |
96 |
- xephyr? ( |
97 |
- x11-libs/libxcb[xkb] |
98 |
- x11-libs/xcb-util |
99 |
- x11-libs/xcb-util-image |
100 |
- x11-libs/xcb-util-keysyms |
101 |
- x11-libs/xcb-util-renderutil |
102 |
- x11-libs/xcb-util-wm |
103 |
- ) |
104 |
- !minimal? ( |
105 |
- >=x11-libs/libX11-1.1.5 |
106 |
- >=x11-libs/libXext-1.0.5 |
107 |
- >=media-libs/mesa-10.3.4-r1 |
108 |
- ) |
109 |
- tslib? ( >=x11-libs/tslib-1.0 ) |
110 |
- udev? ( >=virtual/udev-150 ) |
111 |
- unwind? ( sys-libs/libunwind ) |
112 |
- wayland? ( |
113 |
- >=dev-libs/wayland-1.3.0 |
114 |
- media-libs/libepoxy |
115 |
- >=dev-libs/wayland-protocols-1.1 |
116 |
- ) |
117 |
- >=x11-apps/xinit-1.3.3-r1 |
118 |
- systemd? ( |
119 |
- sys-apps/dbus |
120 |
- sys-apps/systemd |
121 |
- )" |
122 |
- |
123 |
-DEPEND="${CDEPEND} |
124 |
- sys-devel/flex |
125 |
- >=x11-proto/bigreqsproto-1.1.0 |
126 |
- >=x11-proto/compositeproto-0.4 |
127 |
- >=x11-proto/damageproto-1.1 |
128 |
- >=x11-proto/fixesproto-5.0 |
129 |
- >=x11-proto/fontsproto-2.1.3 |
130 |
- >=x11-proto/glproto-1.4.17-r1 |
131 |
- >=x11-proto/inputproto-2.3 |
132 |
- >=x11-proto/kbproto-1.0.3 |
133 |
- >=x11-proto/randrproto-1.5.0 |
134 |
- >=x11-proto/recordproto-1.13.99.1 |
135 |
- >=x11-proto/renderproto-0.11 |
136 |
- >=x11-proto/resourceproto-1.2.0 |
137 |
- >=x11-proto/scrnsaverproto-1.1 |
138 |
- >=x11-proto/trapproto-3.4.3 |
139 |
- >=x11-proto/videoproto-2.2.2 |
140 |
- >=x11-proto/xcmiscproto-1.2.0 |
141 |
- >=x11-proto/xextproto-7.2.99.901 |
142 |
- >=x11-proto/xf86dgaproto-2.0.99.1 |
143 |
- >=x11-proto/xf86rushproto-1.1.2 |
144 |
- >=x11-proto/xf86vidmodeproto-2.2.99.1 |
145 |
- >=x11-proto/xineramaproto-1.1.3 |
146 |
- >=x11-proto/xproto-7.0.31 |
147 |
- >=x11-proto/presentproto-1.0 |
148 |
- >=x11-proto/dri2proto-2.8 |
149 |
- >=x11-proto/dri3proto-1.0 |
150 |
- dmx? ( |
151 |
- >=x11-proto/dmxproto-2.2.99.1 |
152 |
- doc? ( |
153 |
- || ( |
154 |
- www-client/links |
155 |
- www-client/lynx |
156 |
- www-client/w3m |
157 |
- ) |
158 |
- ) |
159 |
- ) |
160 |
- !minimal? ( |
161 |
- >=x11-proto/xf86driproto-2.1.0 |
162 |
- )" |
163 |
- |
164 |
-RDEPEND="${CDEPEND} |
165 |
- selinux? ( sec-policy/selinux-xserver ) |
166 |
- !x11-drivers/xf86-video-modesetting |
167 |
-" |
168 |
- |
169 |
-PDEPEND=" |
170 |
- xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
171 |
- |
172 |
-REQUIRED_USE="!minimal? ( |
173 |
- || ( ${IUSE_SERVERS} ) |
174 |
- ) |
175 |
- xephyr? ( kdrive )" |
176 |
- |
177 |
-#UPSTREAMED_PATCHES=( |
178 |
-# "${WORKDIR}/patches/" |
179 |
-#) |
180 |
- |
181 |
-PATCHES=( |
182 |
- "${UPSTREAMED_PATCHES[@]}" |
183 |
- "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch |
184 |
- # needed for new eselect-opengl, bug #541232 |
185 |
- "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch |
186 |
- "${FILESDIR}"/${PN}-1.18-sysmacros.patch #580044 |
187 |
-) |
188 |
- |
189 |
-pkg_pretend() { |
190 |
- # older gcc is not supported |
191 |
- [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \ |
192 |
- die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
193 |
-} |
194 |
- |
195 |
-pkg_setup() { |
196 |
- if use wayland && ! use glamor; then |
197 |
- ewarn "glamor is necessary for acceleration under Xwayland." |
198 |
- ewarn "Performance may be unacceptable without it." |
199 |
- fi |
200 |
-} |
201 |
- |
202 |
-src_configure() { |
203 |
- # localstatedir is used for the log location; we need to override the default |
204 |
- # from ebuild.sh |
205 |
- # sysconfdir is used for the xorg.conf location; same applies |
206 |
- # NOTE: fop is used for doc generating; and I have no idea if Gentoo |
207 |
- # package it somewhere |
208 |
- XORG_CONFIGURE_OPTIONS=( |
209 |
- $(use_enable ipv6) |
210 |
- $(use_enable debug) |
211 |
- $(use_enable dmx) |
212 |
- $(use_enable glamor) |
213 |
- $(use_enable kdrive) |
214 |
- $(use_enable kdrive kdrive-kbd) |
215 |
- $(use_enable kdrive kdrive-mouse) |
216 |
- $(use_enable kdrive kdrive-evdev) |
217 |
- $(use_enable suid install-setuid) |
218 |
- $(use_enable tslib) |
219 |
- $(use_enable unwind libunwind) |
220 |
- $(use_enable wayland xwayland) |
221 |
- $(use_enable !minimal record) |
222 |
- $(use_enable !minimal xfree86-utils) |
223 |
- $(use_enable !minimal dri) |
224 |
- $(use_enable !minimal dri2) |
225 |
- $(use_enable !minimal glx) |
226 |
- $(use_enable xephyr) |
227 |
- $(use_enable xnest) |
228 |
- $(use_enable xorg) |
229 |
- $(use_enable xvfb) |
230 |
- $(use_enable udev config-udev) |
231 |
- $(use_with doc doxygen) |
232 |
- $(use_with doc xmlto) |
233 |
- $(use_with systemd systemd-daemon) |
234 |
- $(use_enable systemd systemd-logind) |
235 |
- --enable-libdrm |
236 |
- --sysconfdir="${EPREFIX}"/etc/X11 |
237 |
- --localstatedir="${EPREFIX}"/var |
238 |
- --with-fontrootdir="${EPREFIX}"/usr/share/fonts |
239 |
- --with-xkb-output="${EPREFIX}"/var/lib/xkb |
240 |
- --disable-config-hal |
241 |
- --disable-linux-acpi |
242 |
- --without-dtrace |
243 |
- --without-fop |
244 |
- --with-os-vendor=Gentoo |
245 |
- --with-sha1=libcrypto |
246 |
- ) |
247 |
- |
248 |
- xorg-2_src_configure |
249 |
-} |
250 |
- |
251 |
-src_install() { |
252 |
- xorg-2_src_install |
253 |
- |
254 |
- server_based_install |
255 |
- |
256 |
- if ! use minimal && use xorg; then |
257 |
- # Install xorg.conf.example into docs |
258 |
- dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
259 |
- fi |
260 |
- |
261 |
- newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
262 |
- newinitd "${FILESDIR}"/xdm.initd-11 xdm |
263 |
- newconfd "${FILESDIR}"/xdm.confd-4 xdm |
264 |
- |
265 |
- # install the @x11-module-rebuild set for Portage |
266 |
- insinto /usr/share/portage/config/sets |
267 |
- newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
268 |
-} |
269 |
- |
270 |
-pkg_postinst() { |
271 |
- # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
272 |
- eselect opengl set xorg-x11 --use-old |
273 |
-} |
274 |
- |
275 |
-pkg_postrm() { |
276 |
- # Get rid of module dir to ensure opengl-update works properly |
277 |
- if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
278 |
- rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules |
279 |
- fi |
280 |
-} |
281 |
- |
282 |
-server_based_install() { |
283 |
- if ! use xorg; then |
284 |
- rm "${ED}"/usr/share/man/man1/Xserver.1x \ |
285 |
- "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
286 |
- "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
287 |
- "${ED}"/usr/share/man/man1/Xserver.1x |
288 |
- fi |
289 |
-} |
290 |
|
291 |
diff --git a/x11-base/xorg-server/xorg-server-1.19.3.ebuild b/x11-base/xorg-server/xorg-server-1.19.3.ebuild |
292 |
deleted file mode 100644 |
293 |
index 7f680f37c96..00000000000 |
294 |
--- a/x11-base/xorg-server/xorg-server-1.19.3.ebuild |
295 |
+++ /dev/null |
296 |
@@ -1,251 +0,0 @@ |
297 |
-# Copyright 1999-2017 Gentoo Foundation |
298 |
-# Distributed under the terms of the GNU General Public License v2 |
299 |
- |
300 |
-EAPI=5 |
301 |
- |
302 |
-XORG_DOC=doc |
303 |
-inherit xorg-2 multilib versionator flag-o-matic |
304 |
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git" |
305 |
- |
306 |
-DESCRIPTION="X.Org X servers" |
307 |
-SLOT="0/${PV}" |
308 |
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
309 |
- |
310 |
-IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" |
311 |
-IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind xcsecurity" |
312 |
- |
313 |
-CDEPEND=">=app-eselect/eselect-opengl-1.3.0 |
314 |
- !libressl? ( dev-libs/openssl:0= ) |
315 |
- libressl? ( dev-libs/libressl ) |
316 |
- >=x11-apps/iceauth-1.0.2 |
317 |
- >=x11-apps/rgb-1.0.3 |
318 |
- >=x11-apps/xauth-1.0.3 |
319 |
- x11-apps/xkbcomp |
320 |
- >=x11-libs/libdrm-2.4.46 |
321 |
- >=x11-libs/libpciaccess-0.12.901 |
322 |
- >=x11-libs/libXau-1.0.4 |
323 |
- >=x11-libs/libXdmcp-1.0.2 |
324 |
- >=x11-libs/libXfont2-2.0.1 |
325 |
- >=x11-libs/libxkbfile-1.0.4 |
326 |
- >=x11-libs/libxshmfence-1.1 |
327 |
- >=x11-libs/pixman-0.27.2 |
328 |
- >=x11-libs/xtrans-1.3.5 |
329 |
- >=x11-misc/xbitmaps-1.0.1 |
330 |
- >=x11-misc/xkeyboard-config-2.4.1-r3 |
331 |
- dmx? ( |
332 |
- x11-libs/libXt |
333 |
- >=x11-libs/libdmx-1.0.99.1 |
334 |
- >=x11-libs/libX11-1.1.5 |
335 |
- >=x11-libs/libXaw-1.0.4 |
336 |
- >=x11-libs/libXext-1.0.99.4 |
337 |
- >=x11-libs/libXfixes-5.0 |
338 |
- >=x11-libs/libXi-1.2.99.1 |
339 |
- >=x11-libs/libXmu-1.0.3 |
340 |
- x11-libs/libXrender |
341 |
- >=x11-libs/libXres-1.0.3 |
342 |
- >=x11-libs/libXtst-1.0.99.2 |
343 |
- ) |
344 |
- glamor? ( |
345 |
- media-libs/libepoxy[X] |
346 |
- >=media-libs/mesa-10.3.4-r1[egl,gbm] |
347 |
- !x11-libs/glamor |
348 |
- ) |
349 |
- kdrive? ( |
350 |
- >=x11-libs/libXext-1.0.5 |
351 |
- x11-libs/libXv |
352 |
- ) |
353 |
- xephyr? ( |
354 |
- x11-libs/libxcb[xkb] |
355 |
- x11-libs/xcb-util |
356 |
- x11-libs/xcb-util-image |
357 |
- x11-libs/xcb-util-keysyms |
358 |
- x11-libs/xcb-util-renderutil |
359 |
- x11-libs/xcb-util-wm |
360 |
- ) |
361 |
- !minimal? ( |
362 |
- >=x11-libs/libX11-1.1.5 |
363 |
- >=x11-libs/libXext-1.0.5 |
364 |
- >=media-libs/mesa-10.3.4-r1 |
365 |
- ) |
366 |
- tslib? ( >=x11-libs/tslib-1.0 ) |
367 |
- udev? ( >=virtual/udev-150 ) |
368 |
- unwind? ( sys-libs/libunwind ) |
369 |
- wayland? ( |
370 |
- >=dev-libs/wayland-1.3.0 |
371 |
- media-libs/libepoxy |
372 |
- >=dev-libs/wayland-protocols-1.1 |
373 |
- ) |
374 |
- >=x11-apps/xinit-1.3.3-r1 |
375 |
- systemd? ( |
376 |
- sys-apps/dbus |
377 |
- sys-apps/systemd |
378 |
- )" |
379 |
- |
380 |
-DEPEND="${CDEPEND} |
381 |
- sys-devel/flex |
382 |
- >=x11-proto/bigreqsproto-1.1.0 |
383 |
- >=x11-proto/compositeproto-0.4 |
384 |
- >=x11-proto/damageproto-1.1 |
385 |
- >=x11-proto/fixesproto-5.0 |
386 |
- >=x11-proto/fontsproto-2.1.3 |
387 |
- >=x11-proto/glproto-1.4.17-r1 |
388 |
- >=x11-proto/inputproto-2.3 |
389 |
- >=x11-proto/kbproto-1.0.3 |
390 |
- >=x11-proto/randrproto-1.5.0 |
391 |
- >=x11-proto/recordproto-1.13.99.1 |
392 |
- >=x11-proto/renderproto-0.11 |
393 |
- >=x11-proto/resourceproto-1.2.0 |
394 |
- >=x11-proto/scrnsaverproto-1.1 |
395 |
- >=x11-proto/trapproto-3.4.3 |
396 |
- >=x11-proto/videoproto-2.2.2 |
397 |
- >=x11-proto/xcmiscproto-1.2.0 |
398 |
- >=x11-proto/xextproto-7.2.99.901 |
399 |
- >=x11-proto/xf86dgaproto-2.0.99.1 |
400 |
- >=x11-proto/xf86rushproto-1.1.2 |
401 |
- >=x11-proto/xf86vidmodeproto-2.2.99.1 |
402 |
- >=x11-proto/xineramaproto-1.1.3 |
403 |
- >=x11-proto/xproto-7.0.31 |
404 |
- >=x11-proto/presentproto-1.0 |
405 |
- >=x11-proto/dri2proto-2.8 |
406 |
- >=x11-proto/dri3proto-1.0 |
407 |
- dmx? ( |
408 |
- >=x11-proto/dmxproto-2.2.99.1 |
409 |
- doc? ( |
410 |
- || ( |
411 |
- www-client/links |
412 |
- www-client/lynx |
413 |
- www-client/w3m |
414 |
- ) |
415 |
- ) |
416 |
- ) |
417 |
- !minimal? ( |
418 |
- >=x11-proto/xf86driproto-2.1.0 |
419 |
- )" |
420 |
- |
421 |
-RDEPEND="${CDEPEND} |
422 |
- selinux? ( sec-policy/selinux-xserver ) |
423 |
- !x11-drivers/xf86-video-modesetting |
424 |
-" |
425 |
- |
426 |
-PDEPEND=" |
427 |
- xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
428 |
- |
429 |
-REQUIRED_USE="!minimal? ( |
430 |
- || ( ${IUSE_SERVERS} ) |
431 |
- ) |
432 |
- xephyr? ( kdrive )" |
433 |
- |
434 |
-#UPSTREAMED_PATCHES=( |
435 |
-# "${WORKDIR}/patches/" |
436 |
-#) |
437 |
- |
438 |
-PATCHES=( |
439 |
- "${UPSTREAMED_PATCHES[@]}" |
440 |
- "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch |
441 |
- # needed for new eselect-opengl, bug #541232 |
442 |
- "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch |
443 |
- "${FILESDIR}"/${PN}-1.18-sysmacros.patch #580044 |
444 |
-) |
445 |
- |
446 |
-pkg_pretend() { |
447 |
- # older gcc is not supported |
448 |
- [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \ |
449 |
- die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
450 |
-} |
451 |
- |
452 |
-pkg_setup() { |
453 |
- if use wayland && ! use glamor; then |
454 |
- ewarn "glamor is necessary for acceleration under Xwayland." |
455 |
- ewarn "Performance may be unacceptable without it." |
456 |
- fi |
457 |
-} |
458 |
- |
459 |
-src_configure() { |
460 |
- # localstatedir is used for the log location; we need to override the default |
461 |
- # from ebuild.sh |
462 |
- # sysconfdir is used for the xorg.conf location; same applies |
463 |
- # NOTE: fop is used for doc generating; and I have no idea if Gentoo |
464 |
- # package it somewhere |
465 |
- XORG_CONFIGURE_OPTIONS=( |
466 |
- $(use_enable ipv6) |
467 |
- $(use_enable debug) |
468 |
- $(use_enable dmx) |
469 |
- $(use_enable glamor) |
470 |
- $(use_enable kdrive) |
471 |
- $(use_enable kdrive kdrive-kbd) |
472 |
- $(use_enable kdrive kdrive-mouse) |
473 |
- $(use_enable kdrive kdrive-evdev) |
474 |
- $(use_enable suid install-setuid) |
475 |
- $(use_enable tslib) |
476 |
- $(use_enable unwind libunwind) |
477 |
- $(use_enable wayland xwayland) |
478 |
- $(use_enable !minimal record) |
479 |
- $(use_enable !minimal xfree86-utils) |
480 |
- $(use_enable !minimal dri) |
481 |
- $(use_enable !minimal dri2) |
482 |
- $(use_enable !minimal glx) |
483 |
- $(use_enable xcsecurity) |
484 |
- $(use_enable xephyr) |
485 |
- $(use_enable xnest) |
486 |
- $(use_enable xorg) |
487 |
- $(use_enable xvfb) |
488 |
- $(use_enable udev config-udev) |
489 |
- $(use_with doc doxygen) |
490 |
- $(use_with doc xmlto) |
491 |
- $(use_with systemd systemd-daemon) |
492 |
- $(use_enable systemd systemd-logind) |
493 |
- --enable-libdrm |
494 |
- --sysconfdir="${EPREFIX}"/etc/X11 |
495 |
- --localstatedir="${EPREFIX}"/var |
496 |
- --with-fontrootdir="${EPREFIX}"/usr/share/fonts |
497 |
- --with-xkb-output="${EPREFIX}"/var/lib/xkb |
498 |
- --disable-config-hal |
499 |
- --disable-linux-acpi |
500 |
- --without-dtrace |
501 |
- --without-fop |
502 |
- --with-os-vendor=Gentoo |
503 |
- --with-sha1=libcrypto |
504 |
- ) |
505 |
- |
506 |
- xorg-2_src_configure |
507 |
-} |
508 |
- |
509 |
-src_install() { |
510 |
- xorg-2_src_install |
511 |
- |
512 |
- server_based_install |
513 |
- |
514 |
- if ! use minimal && use xorg; then |
515 |
- # Install xorg.conf.example into docs |
516 |
- dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
517 |
- fi |
518 |
- |
519 |
- newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
520 |
- newinitd "${FILESDIR}"/xdm.initd-11 xdm |
521 |
- newconfd "${FILESDIR}"/xdm.confd-4 xdm |
522 |
- |
523 |
- # install the @x11-module-rebuild set for Portage |
524 |
- insinto /usr/share/portage/config/sets |
525 |
- newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
526 |
-} |
527 |
- |
528 |
-pkg_postinst() { |
529 |
- # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
530 |
- eselect opengl set xorg-x11 --use-old |
531 |
-} |
532 |
- |
533 |
-pkg_postrm() { |
534 |
- # Get rid of module dir to ensure opengl-update works properly |
535 |
- if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
536 |
- rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules |
537 |
- fi |
538 |
-} |
539 |
- |
540 |
-server_based_install() { |
541 |
- if ! use xorg; then |
542 |
- rm "${ED}"/usr/share/man/man1/Xserver.1x \ |
543 |
- "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
544 |
- "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
545 |
- "${ED}"/usr/share/man/man1/Xserver.1x |
546 |
- fi |
547 |
-} |
548 |
|
549 |
diff --git a/x11-base/xorg-server/xorg-server-1.19.4.ebuild b/x11-base/xorg-server/xorg-server-1.19.4.ebuild |
550 |
deleted file mode 100644 |
551 |
index edeee84e852..00000000000 |
552 |
--- a/x11-base/xorg-server/xorg-server-1.19.4.ebuild |
553 |
+++ /dev/null |
554 |
@@ -1,251 +0,0 @@ |
555 |
-# Copyright 1999-2017 Gentoo Foundation |
556 |
-# Distributed under the terms of the GNU General Public License v2 |
557 |
- |
558 |
-EAPI=5 |
559 |
- |
560 |
-XORG_DOC=doc |
561 |
-inherit xorg-2 multilib versionator flag-o-matic |
562 |
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git" |
563 |
- |
564 |
-DESCRIPTION="X.Org X servers" |
565 |
-SLOT="0/${PV}" |
566 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
567 |
- |
568 |
-IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" |
569 |
-IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind xcsecurity" |
570 |
- |
571 |
-CDEPEND=">=app-eselect/eselect-opengl-1.3.0 |
572 |
- !libressl? ( dev-libs/openssl:0= ) |
573 |
- libressl? ( dev-libs/libressl ) |
574 |
- >=x11-apps/iceauth-1.0.2 |
575 |
- >=x11-apps/rgb-1.0.3 |
576 |
- >=x11-apps/xauth-1.0.3 |
577 |
- x11-apps/xkbcomp |
578 |
- >=x11-libs/libdrm-2.4.46 |
579 |
- >=x11-libs/libpciaccess-0.12.901 |
580 |
- >=x11-libs/libXau-1.0.4 |
581 |
- >=x11-libs/libXdmcp-1.0.2 |
582 |
- >=x11-libs/libXfont2-2.0.1 |
583 |
- >=x11-libs/libxkbfile-1.0.4 |
584 |
- >=x11-libs/libxshmfence-1.1 |
585 |
- >=x11-libs/pixman-0.27.2 |
586 |
- >=x11-libs/xtrans-1.3.5 |
587 |
- >=x11-misc/xbitmaps-1.0.1 |
588 |
- >=x11-misc/xkeyboard-config-2.4.1-r3 |
589 |
- dmx? ( |
590 |
- x11-libs/libXt |
591 |
- >=x11-libs/libdmx-1.0.99.1 |
592 |
- >=x11-libs/libX11-1.1.5 |
593 |
- >=x11-libs/libXaw-1.0.4 |
594 |
- >=x11-libs/libXext-1.0.99.4 |
595 |
- >=x11-libs/libXfixes-5.0 |
596 |
- >=x11-libs/libXi-1.2.99.1 |
597 |
- >=x11-libs/libXmu-1.0.3 |
598 |
- x11-libs/libXrender |
599 |
- >=x11-libs/libXres-1.0.3 |
600 |
- >=x11-libs/libXtst-1.0.99.2 |
601 |
- ) |
602 |
- glamor? ( |
603 |
- media-libs/libepoxy[X] |
604 |
- >=media-libs/mesa-10.3.4-r1[egl,gbm] |
605 |
- !x11-libs/glamor |
606 |
- ) |
607 |
- kdrive? ( |
608 |
- >=x11-libs/libXext-1.0.5 |
609 |
- x11-libs/libXv |
610 |
- ) |
611 |
- xephyr? ( |
612 |
- x11-libs/libxcb[xkb] |
613 |
- x11-libs/xcb-util |
614 |
- x11-libs/xcb-util-image |
615 |
- x11-libs/xcb-util-keysyms |
616 |
- x11-libs/xcb-util-renderutil |
617 |
- x11-libs/xcb-util-wm |
618 |
- ) |
619 |
- !minimal? ( |
620 |
- >=x11-libs/libX11-1.1.5 |
621 |
- >=x11-libs/libXext-1.0.5 |
622 |
- >=media-libs/mesa-10.3.4-r1 |
623 |
- ) |
624 |
- tslib? ( >=x11-libs/tslib-1.0 ) |
625 |
- udev? ( >=virtual/udev-150 ) |
626 |
- unwind? ( sys-libs/libunwind ) |
627 |
- wayland? ( |
628 |
- >=dev-libs/wayland-1.3.0 |
629 |
- media-libs/libepoxy |
630 |
- >=dev-libs/wayland-protocols-1.1 |
631 |
- ) |
632 |
- >=x11-apps/xinit-1.3.3-r1 |
633 |
- systemd? ( |
634 |
- sys-apps/dbus |
635 |
- sys-apps/systemd |
636 |
- )" |
637 |
- |
638 |
-DEPEND="${CDEPEND} |
639 |
- sys-devel/flex |
640 |
- >=x11-proto/bigreqsproto-1.1.0 |
641 |
- >=x11-proto/compositeproto-0.4 |
642 |
- >=x11-proto/damageproto-1.1 |
643 |
- >=x11-proto/fixesproto-5.0 |
644 |
- >=x11-proto/fontsproto-2.1.3 |
645 |
- >=x11-proto/glproto-1.4.17-r1 |
646 |
- >=x11-proto/inputproto-2.3 |
647 |
- >=x11-proto/kbproto-1.0.3 |
648 |
- >=x11-proto/randrproto-1.5.0 |
649 |
- >=x11-proto/recordproto-1.13.99.1 |
650 |
- >=x11-proto/renderproto-0.11 |
651 |
- >=x11-proto/resourceproto-1.2.0 |
652 |
- >=x11-proto/scrnsaverproto-1.1 |
653 |
- >=x11-proto/trapproto-3.4.3 |
654 |
- >=x11-proto/videoproto-2.2.2 |
655 |
- >=x11-proto/xcmiscproto-1.2.0 |
656 |
- >=x11-proto/xextproto-7.2.99.901 |
657 |
- >=x11-proto/xf86dgaproto-2.0.99.1 |
658 |
- >=x11-proto/xf86rushproto-1.1.2 |
659 |
- >=x11-proto/xf86vidmodeproto-2.2.99.1 |
660 |
- >=x11-proto/xineramaproto-1.1.3 |
661 |
- >=x11-proto/xproto-7.0.31 |
662 |
- >=x11-proto/presentproto-1.0 |
663 |
- >=x11-proto/dri2proto-2.8 |
664 |
- >=x11-proto/dri3proto-1.0 |
665 |
- dmx? ( |
666 |
- >=x11-proto/dmxproto-2.2.99.1 |
667 |
- doc? ( |
668 |
- || ( |
669 |
- www-client/links |
670 |
- www-client/lynx |
671 |
- www-client/w3m |
672 |
- ) |
673 |
- ) |
674 |
- ) |
675 |
- !minimal? ( |
676 |
- >=x11-proto/xf86driproto-2.1.0 |
677 |
- )" |
678 |
- |
679 |
-RDEPEND="${CDEPEND} |
680 |
- selinux? ( sec-policy/selinux-xserver ) |
681 |
- !x11-drivers/xf86-video-modesetting |
682 |
-" |
683 |
- |
684 |
-PDEPEND=" |
685 |
- xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
686 |
- |
687 |
-REQUIRED_USE="!minimal? ( |
688 |
- || ( ${IUSE_SERVERS} ) |
689 |
- ) |
690 |
- xephyr? ( kdrive )" |
691 |
- |
692 |
-#UPSTREAMED_PATCHES=( |
693 |
-# "${WORKDIR}/patches/" |
694 |
-#) |
695 |
- |
696 |
-PATCHES=( |
697 |
- "${UPSTREAMED_PATCHES[@]}" |
698 |
- "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch |
699 |
- # needed for new eselect-opengl, bug #541232 |
700 |
- "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch |
701 |
- "${FILESDIR}"/${P}-sysmacros.patch #633530 |
702 |
-) |
703 |
- |
704 |
-pkg_pretend() { |
705 |
- # older gcc is not supported |
706 |
- [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \ |
707 |
- die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
708 |
-} |
709 |
- |
710 |
-pkg_setup() { |
711 |
- if use wayland && ! use glamor; then |
712 |
- ewarn "glamor is necessary for acceleration under Xwayland." |
713 |
- ewarn "Performance may be unacceptable without it." |
714 |
- fi |
715 |
-} |
716 |
- |
717 |
-src_configure() { |
718 |
- # localstatedir is used for the log location; we need to override the default |
719 |
- # from ebuild.sh |
720 |
- # sysconfdir is used for the xorg.conf location; same applies |
721 |
- # NOTE: fop is used for doc generating; and I have no idea if Gentoo |
722 |
- # package it somewhere |
723 |
- XORG_CONFIGURE_OPTIONS=( |
724 |
- $(use_enable ipv6) |
725 |
- $(use_enable debug) |
726 |
- $(use_enable dmx) |
727 |
- $(use_enable glamor) |
728 |
- $(use_enable kdrive) |
729 |
- $(use_enable kdrive kdrive-kbd) |
730 |
- $(use_enable kdrive kdrive-mouse) |
731 |
- $(use_enable kdrive kdrive-evdev) |
732 |
- $(use_enable suid install-setuid) |
733 |
- $(use_enable tslib) |
734 |
- $(use_enable unwind libunwind) |
735 |
- $(use_enable wayland xwayland) |
736 |
- $(use_enable !minimal record) |
737 |
- $(use_enable !minimal xfree86-utils) |
738 |
- $(use_enable !minimal dri) |
739 |
- $(use_enable !minimal dri2) |
740 |
- $(use_enable !minimal glx) |
741 |
- $(use_enable xcsecurity) |
742 |
- $(use_enable xephyr) |
743 |
- $(use_enable xnest) |
744 |
- $(use_enable xorg) |
745 |
- $(use_enable xvfb) |
746 |
- $(use_enable udev config-udev) |
747 |
- $(use_with doc doxygen) |
748 |
- $(use_with doc xmlto) |
749 |
- $(use_with systemd systemd-daemon) |
750 |
- $(use_enable systemd systemd-logind) |
751 |
- --enable-libdrm |
752 |
- --sysconfdir="${EPREFIX}"/etc/X11 |
753 |
- --localstatedir="${EPREFIX}"/var |
754 |
- --with-fontrootdir="${EPREFIX}"/usr/share/fonts |
755 |
- --with-xkb-output="${EPREFIX}"/var/lib/xkb |
756 |
- --disable-config-hal |
757 |
- --disable-linux-acpi |
758 |
- --without-dtrace |
759 |
- --without-fop |
760 |
- --with-os-vendor=Gentoo |
761 |
- --with-sha1=libcrypto |
762 |
- ) |
763 |
- |
764 |
- xorg-2_src_configure |
765 |
-} |
766 |
- |
767 |
-src_install() { |
768 |
- xorg-2_src_install |
769 |
- |
770 |
- server_based_install |
771 |
- |
772 |
- if ! use minimal && use xorg; then |
773 |
- # Install xorg.conf.example into docs |
774 |
- dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
775 |
- fi |
776 |
- |
777 |
- newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
778 |
- newinitd "${FILESDIR}"/xdm.initd-11 xdm |
779 |
- newconfd "${FILESDIR}"/xdm.confd-4 xdm |
780 |
- |
781 |
- # install the @x11-module-rebuild set for Portage |
782 |
- insinto /usr/share/portage/config/sets |
783 |
- newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
784 |
-} |
785 |
- |
786 |
-pkg_postinst() { |
787 |
- # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
788 |
- eselect opengl set xorg-x11 --use-old |
789 |
-} |
790 |
- |
791 |
-pkg_postrm() { |
792 |
- # Get rid of module dir to ensure opengl-update works properly |
793 |
- if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
794 |
- rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules |
795 |
- fi |
796 |
-} |
797 |
- |
798 |
-server_based_install() { |
799 |
- if ! use xorg; then |
800 |
- rm "${ED}"/usr/share/man/man1/Xserver.1x \ |
801 |
- "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
802 |
- "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
803 |
- "${ED}"/usr/share/man/man1/Xserver.1x |
804 |
- fi |
805 |
-} |