summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-01-31 03:44:58 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-01-31 03:44:58 +0000
commit32d7dc9e39c71724c865d176aa1d1c1ce625f586 (patch)
tree4654c95956654a87687243c1ac4dc139f4abd57e
parentClean up. (diff)
downloadgentoo-2-32d7dc9e39c71724c865d176aa1d1c1ce625f586.tar.gz
gentoo-2-32d7dc9e39c71724c865d176aa1d1c1ce625f586.tar.bz2
gentoo-2-32d7dc9e39c71724c865d176aa1d1c1ce625f586.zip
Clean up.
(Portage version: 2.1.4)
-rw-r--r--x11-apps/xf86dga/ChangeLog6
-rw-r--r--x11-apps/xf86dga/files/digest-xf86dga-1.0.1-r13
-rw-r--r--x11-apps/xf86dga/files/xf86dga-1.0.1-setuid.diff27
-rw-r--r--x11-apps/xf86dga/xf86dga-1.0.1-r1.ebuild17
4 files changed, 5 insertions, 48 deletions
diff --git a/x11-apps/xf86dga/ChangeLog b/x11-apps/xf86dga/ChangeLog
index b15722869426..4d4e7e0b2e39 100644
--- a/x11-apps/xf86dga/ChangeLog
+++ b/x11-apps/xf86dga/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-apps/xf86dga
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xf86dga/ChangeLog,v 1.18 2008/01/21 14:26:09 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xf86dga/ChangeLog,v 1.19 2008/01/31 03:44:58 dberkholz Exp $
+
+ 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ -files/xf86dga-1.0.1-setuid.diff, -xf86dga-1.0.1-r1.ebuild:
+ Clean up.
21 Jan 2008; Samuli Suominen <drac@gentoo.org> xf86dga-1.0.2.ebuild:
amd64 stable.
diff --git a/x11-apps/xf86dga/files/digest-xf86dga-1.0.1-r1 b/x11-apps/xf86dga/files/digest-xf86dga-1.0.1-r1
deleted file mode 100644
index a1da0aab41b7..000000000000
--- a/x11-apps/xf86dga/files/digest-xf86dga-1.0.1-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0ee496f720bc98fee43108c88bb7f398 xf86dga-1.0.1.tar.bz2 75183
-RMD160 0689834c32f3bc20dafca299f135a3658bb79614 xf86dga-1.0.1.tar.bz2 75183
-SHA256 eded486132f243a7eed82859895bc23190e462b90d456d9580d649b771837245 xf86dga-1.0.1.tar.bz2 75183
diff --git a/x11-apps/xf86dga/files/xf86dga-1.0.1-setuid.diff b/x11-apps/xf86dga/files/xf86dga-1.0.1-setuid.diff
deleted file mode 100644
index f923cd92a5b9..000000000000
--- a/x11-apps/xf86dga/files/xf86dga-1.0.1-setuid.diff
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: dga.c
-===================================================================
-RCS file: /cvs/xorg/app/xf86dga/dga.c,v
-retrieving revision 1.2
-diff -u -r1.2 dga.c
---- dga.c 23 Apr 2004 19:54:47 -0000 1.2
-+++ dga.c 19 Jun 2006 21:31:33 -0000
-@@ -16,6 +16,7 @@
- #include <X11/Xmd.h>
- #include <X11/extensions/xf86dga.h>
- #include <ctype.h>
-+#include <errno.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <signal.h>
-@@ -141,7 +142,10 @@
-
- #ifndef __UNIXOS2__
- /* Give up root privs */
-- setuid(getuid());
-+ if (setuid(getuid()) == -1) {
-+ fprintf(stderr, "Unable to change uid: %s\n", strerror(errno));
-+ exit(2);
-+ }
- #endif
-
- XF86DGASetViewPort(dis, DefaultScreen(dis), 0, 0);
diff --git a/x11-apps/xf86dga/xf86dga-1.0.1-r1.ebuild b/x11-apps/xf86dga/xf86dga-1.0.1-r1.ebuild
deleted file mode 100644
index 9ecab0586110..000000000000
--- a/x11-apps/xf86dga/xf86dga-1.0.1-r1.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xf86dga/xf86dga-1.0.1-r1.ebuild,v 1.5 2008/01/13 09:36:13 vapier Exp $
-
-# Must be before x-modular eclass is inherited
-#SNAPSHOT="yes"
-
-inherit x-modular
-
-DESCRIPTION="test program for the XFree86-DGA extension"
-KEYWORDS="amd64 ~arm ~mips ~ppc64 ~s390 ~sh ~sparc ~x86"
-RDEPEND="x11-libs/libX11
- x11-libs/libXxf86dga"
-DEPEND="${RDEPEND}
- x11-proto/xf86dgaproto"
-
-PATCHES="${FILESDIR}/${P}-setuid.diff"