diff options
author | 2012-03-09 02:17:18 +0200 | |
---|---|---|
committer | 2012-03-09 02:17:18 +0200 | |
commit | df665ca51eebd771c1fd3f0b69d822776c900bc3 (patch) | |
tree | 53bd30ab17b728d07fb151a8507280cf97d38afe | |
parent | Remove older xorg-server-1.9.x versions (diff) | |
download | loongson-df665ca51eebd771c1fd3f0b69d822776c900bc3.tar.gz loongson-df665ca51eebd771c1fd3f0b69d822776c900bc3.tar.bz2 loongson-df665ca51eebd771c1fd3f0b69d822776c900bc3.zip |
xorg-server: Sync 1.9 with portage until we can move to 1.10 and beyond
This version bumps to 1.9.5 from portage, and includes the security fix in portage -r1.
The immediate benefits are the syncing the USE flags, so that virtualx.eclass based
test USE dependencies can be met, and the version bump to 1.9.5 itself with the security fix.
For upgrading to the 1.10 and 1.11 series need to first test the loongson patches
-rw-r--r-- | x11-base/xorg-server/Manifest | 7 | ||||
-rw-r--r-- | x11-base/xorg-server/files/xorg-cve-2011-4028+4029.patch | 22 | ||||
-rw-r--r-- | x11-base/xorg-server/files/xorg-server-1.9.5-loongson.patch (renamed from x11-base/xorg-server/files/xorg-server-1.9.4-loongson.patch) | 0 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-1.9.5-r1.ebuild (renamed from x11-base/xorg-server/xorg-server-1.9.4.ebuild) | 13 |
4 files changed, 33 insertions, 9 deletions
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest index 908871f..79e0d21 100644 --- a/x11-base/xorg-server/Manifest +++ b/x11-base/xorg-server/Manifest @@ -1,13 +1,14 @@ AUX xdm-setup.initd-1 346 RMD160 e68512e71adbf15743f789bb6b5587b07a9812a3 SHA1 f25303b8bcef0c5d2eb61517d5347b4b88736cd4 SHA256 942ce5e8d1a0770543b683dcc388bae7619a24eb9741c1cd678ed3df97c01406 AUX xdm.confd-3 853 RMD160 363cd18f760650923e16579bf55f661e93dad63b SHA1 0027b98f2aeb5c43219fa4f9b7d81a05101bec6f SHA256 00af0d957ff1b4f31c1aa4701d93a54080408548792deafac5414cbfa13b89ec AUX xdm.initd-3 5396 RMD160 eb1741ec3a80f83948150610a595115ff96d4833 SHA1 788097c7b72ae7c3df2348b2b503405b50046156 SHA256 10181710766bac1dc33093ee2775d63f58a43d2d9ffcc709d0b9181749912b70 +AUX xorg-cve-2011-4028+4029.patch 671 RMD160 f9c607b5bfe20259f2adb320b6a1a0819f59f7ab SHA1 84797b66434aa05acc9f6881050d1b46487caf77 SHA256 76b9bb4a928fa7179eb52ab3b2bd2ef6d7db83e0543ba80de37cdab05efa601c AUX xorg-server-1.9-nouveau-default.patch 916 RMD160 0ebdf0fb76364b7fd0c520c3a2f7cc2cc1a83446 SHA1 daddde0f4f4276e12b87354d2e6825ed5c74c6eb SHA256 a7ff421dd928e3025194279f9afb7cc033a896b3417abe339741e9c6ed4b54ea -AUX xorg-server-1.9.4-loongson.patch 1899 RMD160 5705d24c037697d7c8f4eed53e6fd0c6b0962040 SHA1 27b6440970ffcceec5bb45c09de16a8ee8a6ef1e SHA256 fa2b1769ff6d5b1879053d64328bd1a08f9ead1b676ceda06a897d1f7c509552 +AUX xorg-server-1.9.5-loongson.patch 1899 RMD160 5705d24c037697d7c8f4eed53e6fd0c6b0962040 SHA1 27b6440970ffcceec5bb45c09de16a8ee8a6ef1e SHA256 fa2b1769ff6d5b1879053d64328bd1a08f9ead1b676ceda06a897d1f7c509552 AUX xorg-server-9999-loongson.patch 4107 RMD160 19aed186ec0163a4a1a81574040592ab8d8e1a06 SHA1 a39df02932f9d24693e79bbcbb80e7e6a5c74fa0 SHA256 a19a28c5f4930348e7e4ed471d3d0e53f9d936e7a4c756281ada480b63ecc039 AUX xorg-server-disable-acpi.patch 663 RMD160 7074ca5276369b746ea7606a0795232aafe07c90 SHA1 d300a37dd2e0a8aa3965948c13f6995e6767841d SHA256 5b3cc7c8bea18fe3ba81851d2846d19ffd8fab9cdf5d8f3a274846847e734200 AUX xorg-server-loongson-fix-smi-16bpp.patch 478 RMD160 bc4383c3ce55e051e255cd972d496542ac9a5eb5 SHA1 e020301ec281e8fdd4bf9d05f8d62448ae4ac20a SHA256 39d65416a4a8f8db3c73165109c265c92c7977b4b54f9092cf2551a855e392ca AUX xorg-sets.conf 199 RMD160 33815115b6e8b8360af4f0778b0e2c5fb1a9aaee SHA1 b5a2fd01a97558fa909c67f510d8a59b55e20f57 SHA256 1201d0337ac69d9715f4454a86dfb8a7bd1ae6f4c2578042fc08f283a997597c -DIST xorg-server-1.9.4.tar.bz2 5191944 RMD160 1a5531de1eba9939b012e0c7f5628f2ffa553273 SHA1 e8d5776fe973f15c0e907fd827106f8d296acf7e SHA256 ad11047ebba58f2e37b03c70c986db3ea0cc0f1a19d2d3612713ab77b8ec2458 -EBUILD xorg-server-1.9.4.ebuild 7969 RMD160 dcc813a298974013c0fcc41643cbbdcca89fb54e SHA1 1d735aad993099fd3b813335882345c4343d0846 SHA256 1784ccb94d1596190e2d9ffc47788c2de10db989d870d4316472c982f3abbf0d +DIST xorg-server-1.9.5.tar.bz2 5172054 RMD160 6383b126ed313943fc5cb0939fdae4a737aabb70 SHA1 03be24d6906f3ed3237057a5a7df2b02723c9749 SHA256 3fc775097c4f0e8f731447d0183ee709ae37c44c0c286ba00a4b028274e029dc +EBUILD xorg-server-1.9.5-r1.ebuild 8011 RMD160 4db5d07629aa985fa58f7274985a669ed437ef3d SHA1 32207cbd09f746e7e87d2483ef416002fcfa8b3e SHA256 9eb896d532a72a4962cc085ada9889f63fceb5f34c1df351ed5e9f229b224839 MISC ChangeLog 46548 RMD160 fd66dad1dc5b8181e294f00b2d867e273f375fed SHA1 c1c264afd91f7d13bd8c4cd5d8d03cc9327e1e14 SHA256 ae56c39d52f287b2e1e0c5be5bffe5207fbc60e0cbf906a15f50f7f849bd69d7 MISC metadata.xml 156 RMD160 c1274bdccf57603d580de0075ba07a35b7509560 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055 diff --git a/x11-base/xorg-server/files/xorg-cve-2011-4028+4029.patch b/x11-base/xorg-server/files/xorg-cve-2011-4028+4029.patch new file mode 100644 index 0000000..66e77f6 --- /dev/null +++ b/x11-base/xorg-server/files/xorg-cve-2011-4028+4029.patch @@ -0,0 +1,22 @@ +diff --git a/os/utils.c b/os/utils.c +index e8ecb71..18ff1ca 100644 +--- a/os/utils.c ++++ b/os/utils.c +@@ -297,7 +297,7 @@ LockServer(void) + FatalError("Could not create lock file in %s\n", tmp); + (void) sprintf(pid_str, "%10ld\n", (long)getpid()); + (void) write(lfd, pid_str, 11); +- (void) chmod(tmp, 0444); ++ (void) fchmod(lfd, 0444); + (void) close(lfd); + + /* +@@ -318,7 +318,7 @@ LockServer(void) + /* + * Read the pid from the existing file + */ +- lfd = open(LockFile, O_RDONLY); ++ lfd = open(LockFile, O_RDONLY|O_NOFOLLOW); + if (lfd < 0) { + unlink(tmp); + FatalError("Can't read lock file %s\n", LockFile); diff --git a/x11-base/xorg-server/files/xorg-server-1.9.4-loongson.patch b/x11-base/xorg-server/files/xorg-server-1.9.5-loongson.patch index 4351f28..4351f28 100644 --- a/x11-base/xorg-server/files/xorg-server-1.9.4-loongson.patch +++ b/x11-base/xorg-server/files/xorg-server-1.9.5-loongson.patch diff --git a/x11-base/xorg-server/xorg-server-1.9.4.ebuild b/x11-base/xorg-server/xorg-server-1.9.5-r1.ebuild index 308a237..275dfd2 100644 --- a/x11-base/xorg-server/xorg-server-1.9.4.ebuild +++ b/x11-base/xorg-server/xorg-server-1.9.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.9.4.ebuild,v 1.6 2011/03/01 10:07:11 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.9.5-r1.ebuild,v 1.4 2011/10/22 16:57:28 xarthisius Exp $ EAPI=3 inherit xorg-2 multilib versionator @@ -10,9 +10,9 @@ EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver" OPENGL_DIR="xorg-x11" DESCRIPTION="X.Org X servers" -KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE_SERVERS="dmx kdrive xorg" +IUSE_SERVERS="dmx kdrive xnest xorg xvfb" IUSE="${IUSE_SERVERS} doc ipv6 minimal nptl tslib +udev" RDEPEND=">=app-admin/eselect-opengl-1.0.8 dev-libs/openssl @@ -105,6 +105,7 @@ PATCHES=( "${UPSTREAMED_PATCHES[@]}" "${FILESDIR}"/${PN}-disable-acpi.patch "${FILESDIR}"/${PN}-1.9-nouveau-default.patch + "${FILESDIR}"/xorg-cve-2011-4028+4029.patch # A workaround for http://bugs.freedesktop.org/show_bug.cgi?id=21622 "${FILESDIR}/xorg-server-loongson-fix-smi-16bpp.patch" "${FILESDIR}/${P}-loongson.patch" @@ -121,7 +122,7 @@ pkg_setup() { # --enable-install-setuid needed because sparcs default off # NOTE: fop is used for doc generating ; and i have no idea if gentoo # package it somewhere - CONFIGURE_OPTIONS=" + XORG_CONFIGURE_OPTIONS=" $(use_enable ipv6) $(use_enable dmx) $(use_enable kdrive) @@ -130,15 +131,15 @@ pkg_setup() { $(use_enable kdrive kdrive-evdev) $(use_enable tslib) $(use_enable tslib xcalibrate) - $(use_enable !minimal xvfb) - $(use_enable !minimal xnest) $(use_enable !minimal record) $(use_enable !minimal xfree86-utils) $(use_enable !minimal install-libxf86config) $(use_enable !minimal dri) $(use_enable !minimal dri2) $(use_enable !minimal glx) + $(use_enable xnest) $(use_enable xorg) + $(use_enable xvfb) $(use_enable nptl glx-tls) $(use_enable udev config-udev) $(use_with doc doxygen) |