Commit graph

556 commits

Author SHA1 Message Date
Jung-uk Kim
980b1eb7b1 Fix mouse probing issues with HAL support:
- Do not probe /dev/psm0 as SysMouse if HAL support is enabled.
- Add /dev/ums0 as SysMouse if HAL support is disabled.
- Do not force sysmouse(4) mode unless device is /dev/sysmouse.  When
moused(8) is not running, current mode level is untouched.
- Correcly check if moused is actually running.  Checking pid file is
not enough because it may be /var/run/moused.<device>.pid when it is
invoked by devd(8) for USB mice.
- Do not attach device if it is opened by moused.
- Correctly add device path for HAL.

This patch is tested with many possible combinations of moused(8), HAL,
PS/2 mouse, USB mouse, and xorg.conf.

Tested by:	cokane, jkim, marcus,
		Matthew Seaman (m dot seaman at infracaninophile dot co dot uk)
2008-04-01 18:14:34 +00:00
Martin Wilke
cda30a295f - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
2008-03-25 22:44:48 +00:00
Florent Thoumie
fd311e0fcb Add inputproto and xtrans to USE_XORG.
Reported by:	marcus, erwin
2008-03-14 16:30:50 +00:00
Florent Thoumie
8d0edb5635 Add inputproto and xtrans to USE_XORG.
Reported by:	erwin
2008-03-14 16:29:57 +00:00
Florent Thoumie
db1fcc370a Add patch that fixes xmodmap use in .xinitrc.
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Obtained from:	fd.o xorg/xserver repository
Commit id:	27ad5d74c20f01516a1bff73be283f8982fcf0fe
2008-03-13 11:37:31 +00:00
Florent Thoumie
836aebde5b Remove support for XFree8-4.
From now on, X_WINDOW_SYSTEM != "xorg" is not supported anymore.

PR:		ports/119418
Submitted by:	flz
Approved by:	portmgr (pav)
2008-03-07 21:47:50 +00:00
Jung-uk Kim
ba4bc11dc8 - Check correct POSIX spec. date for clock_gettime(2) whether
CLOCK_MONOTONIC is available.
- If FreeBSD-specific CLOCK_MONOTONIC_FAST is available, use it
instead of precise but slow gettimeofday(2) or CLOCK_MONOTONIC.

Reviewed by:	stable, x11
2008-03-06 00:48:43 +00:00
Florent Thoumie
37a35b1d73 Fix xserver multiple vulnerabilities.
Security:	http://www.vuxml.org/freebsd/fe2b6597-c9a4-11dc-8da8-0008a18a9961.html
2008-01-23 12:18:47 +00:00
Florent Thoumie
ff3675ba98 - Add local patch to fix alpha build. [1]
- Add local patch to fix powerpc build. [2][3]
- Fix OPTIONS handling for SUID option. [4]

PR:		ports/113601 [1], ports/118850 [2],
		ports/118851 [3], ports/119012 [4]
Submitted by:	naddy [1], grehan [2][3],
		Dmitry Marakasov [4]
2008-01-02 12:58:05 +00:00
Florent Thoumie
4e06c5d4b8 - OPTIONS'ify.
- Fix build and register dependency when compiled with HAL support.
2007-12-12 18:38:28 +00:00
Florent Thoumie
1c8aae3467 - OPTIONS'ify (HAL, AIGLX, SUID).
- Fix CONFIGURE_ARGS. [1]

Submitted by:	alvest@earthlink.net [1]
2007-12-12 17:34:16 +00:00
Mark Linimon
c2fdd1f505 Fix plist for sparc64. Should be a no-op on other archs, but bump
portrevision for sparc64.  While here, pet portlint.

Tested on:	pointyhat
Submitted by:	flz
Approved by:	portmgr (self)
2007-11-19 17:17:39 +00:00
Florent Thoumie
88e6e25580 Add temporary fix for LEDs. Proper fix will be available in next
xorg-server release but this one has been deemed good enough for now.

Obtained from:	fd.o bugzilla
2007-10-29 14:04:27 +00:00
Florent Thoumie
085771cda4 Restore default optimization on RELENG_7.
PR:		ports/117445
Submitted by:	Ildar <dar.quonb@gmai.com>
2007-10-24 13:33:37 +00:00
Florent Thoumie
b8153ee40f - Explicit some configure arguments.
- Mark as IGNORE on alpha since it does work correctly.
2007-10-09 22:31:49 +00:00
Norikatsu Shigemura
d11d5d4447 Change to new x11-drivers category.
Repo copied by:	marcus (portmgr)
2007-10-06 13:57:12 +00:00
Marius Strobl
5be6d0491c Teach xorg-server that FreeBSD >= 700053 supports PCI domains and
how to deal with it. This affects !386 only and is based on the
respective Linux support code.

Approved by:	flz
2007-09-30 11:01:41 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Florent Thoumie
62df320cc3 - Update X.org ports to 7.3.
- Mark XFree86-4 as DEPRECATED with EXPIRATION_DATE set to 2007-12-25.
I hope that nobody will be bored enough on Christmas to remove them on
that day.

Tested by:	vehemens, Rene Ladan, Beech Rintoul, sarek on x11@
2007-09-13 19:45:08 +00:00
Alexey Dokuchaev
d3cbbefb7e - Consistencify descriptions
- Kill unnecessary attribution
- Trim EOL whitespace
2007-07-02 19:55:33 +00:00
Alexey Dokuchaev
d7e47ed397 Fix missing Xlibs dependency.
Reported by:	pav
2007-07-02 19:53:52 +00:00
Alexey Dokuchaev
c84a425296 - Fix the build with recent GCC [1]
- Pet portlint(1)
- Clean up Makefile

Reported by:	pointyhat (logs) [1]
2007-06-30 20:38:21 +00:00
Dejan Lesjak
07da6fb1ec Band-aid over memory hungry gcc 4.2 when compiling xf86ScanPci.c.
Submitted by:	Michiel Boland ( michiel at boland dot org )
2007-06-21 17:33:47 +00:00
Dejan Lesjak
d9236e3914 Clenup share/X11 directory upon deinstall.
Pointed out by:	kris
2007-05-30 23:59:32 +00:00
Florent Thoumie
19bec8f4c8 xorg-fontserver moved from x11-servers to x11-fonts (xfs).
Approved by:	portmgr (erwin)
2007-05-20 03:21:03 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Dejan Lesjak
b5cf96ec63 Fix loading modules on current by adding patch from devel/imake-6 since
local copy of imake is used at configuring. Since FreeBSD versions older
than 300004 are not supported, simplify patch to just return elf for
default.

PR:		ports/109091
Submitted by:	Szilveszter Adam (sziszi at bsd dot hu)
2007-02-22 21:18:01 +00:00
Dejan Lesjak
0b7bf38e90 Add vendor patch preventing overwiting of data on the stack or other
parts of server by dbe and render extensions.

PR:		ports/107733
Security:	CVE-2006-6101 CVE-2006-6102 CVE-2006-6103
2007-01-27 20:22:20 +00:00
Frank J. Laszlo
a959b841d6 Respect X11BASE.
Approved by:	flz (mentor)
Reported By:	pointyhat
2006-11-30 23:27:04 +00:00
Pav Lucistnik
d8f3214e5f - Fix install with Xorg 6.9.0, unbreak
- Support amd64

PR:		ports/104532
Submitted by:	Xavier Beaudouin <kiwi@oav.net>,
		Anish Mistry <amistry@am-productions.biz>
Approved by:	maintainer timeout (x11, 1 month)
2006-11-19 12:58:04 +00:00
Joe Marcus Clarke
0d32a85b88 Add some old internal FreeType definitions to fix the server runtime. These
definitions come from the old ftinternal.h.

Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Approved by:	portmgr (implicit)
2006-10-21 21:58:35 +00:00
Joe Marcus Clarke
0ba9dd00ff Remove the FreeType EXTRA_PATCHES now that they are in XFree86-4-libraries.
Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Approved by:	portmgr (implicit)
2006-10-17 20:04:48 +00:00
Joe Marcus Clarke
29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00
Kris Kennaway
3f155b6f66 BROKEN: Does not install 2006-09-17 01:21:21 +00:00
Kris Kennaway
9733f88971 NO_PACKAGE is not appropriate 2006-09-03 00:27:43 +00:00
Dejan Lesjak
b2688d4e3d Fix crash by bad pcf font.
Obtained from:	XFree86 CVS
Security:	CVE-2006-3467
2006-08-26 04:09:21 +00:00
Dejan Lesjak
f442f1beae Fix crash by bad pcf font.
Obtained from:	X.org bugzilla #7535
Security:	CVE-2006-3467
2006-08-25 21:52:49 +00:00
Marcus Alves Grando
bd42b811c7 - Add support to Intel 945GM
- portlint(1)

PR:		100673
Approved by:	x11 (No objection and maintainer timeout, 30 days)
2006-08-20 22:58:20 +00:00
Cheng-Lung Sung
e2f1a39106 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include www/ x11/ x11-clocks/ x11-servers/ x11-themes/ maintained
  by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 01:11:33 +00:00
Norikatsu Shigemura
47b4f76b50 Update to 0.14.6. 2006-08-13 01:49:26 +00:00
Erwin Lansing
42c443f7f5 Update to 1.7.2
PR:		99379
Submitted by:	Ports fury
2006-06-23 16:33:56 +00:00
Dejan Lesjak
ee1d6dba74 Add a better workaround for LP64 bug in ProcRenderCompositeGlyphs() in
Xrender from XFree86 that takes endianess into account. This should fix
the following errors on FreeBSD/sparc64:

'RenderBadGlyphSet (invalid GlyphSet parameter)'.
  (Details: serial 8980 error_code 178 request_code 153 minor_code 24)

Submitted by:	marius
2006-06-04 17:47:03 +00:00
Tilman Keskinoz
9342e6bb4a Update to 1.71
PR:		98026
Submitted by:	Kato Tsuguru
2006-05-28 18:27:43 +00:00
Edwin Groothuis
5b2fd8de70 Remove USE_REINPLACE from categories starting with X 2006-05-13 05:00:46 +00:00
Eric Anholt
27b683e979 Add my patch for buffer overflow in the Render extension's TriFan/TriStrip
requests.

Security:	CVE-2006-1526
Bugzilla:	https://bugs.freedesktop.org/show_bug.cgi?id=6642
2006-05-03 08:12:21 +00:00
Dejan Lesjak
a6d1a96740 Complete removal of cfb from sunffb driver as was done post release in
X.org CVS to avoid failure to load this driver because of unresolved
symbols.

Digged up and tested by:	Matthias Muthmann
PR:		sparc64/94886
Obtained from:	X.org CVS
2006-04-20 10:45:43 +00:00
Dejan Lesjak
6f9bc91b6d Add patch from X.Org, fixing privilege escalation.
Security:	http://www.vuxml.org/61534682-b8f4-11da-8e62-000e0c33c2dc
Security:	CVE-2006-0745
2006-03-21 17:06:39 +00:00
Norikatsu Shigemura
197f31b0aa Add a description of CorePointer, and Cosmetic change.
Discussed with:	ume
2006-03-19 10:22:19 +00:00
Norikatsu Shigemura
d8c0eb14b2 Oops, fix typo. 2006-03-19 02:03:24 +00:00
Norikatsu Shigemura
c50b912227 Fix up some parameters and messages. 2006-03-19 01:54:37 +00:00