Commit graph

61 commits

Author SHA1 Message Date
Florent Thoumie
340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00
Florent Thoumie
f6f6dbd0e4 Update x11-servers/xorg-server to 1.4.2 (security update). 2008-06-15 12:24:20 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Florent Thoumie
808deb28b3 Add upstream patch (don't free not-allocated dbus socket).
PR:		ports/124081
Submitted by:	deischen
Obtained from:	fd.o git repository
2008-05-29 11:02:54 +00:00
Florent Thoumie
96a7a8ca6a Disable dtrace support for now as userland tracing isn't supported yet.
Suggested by:	jb
2008-05-27 15:37:15 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Jung-uk Kim
d25360c7a5 - Auto-detect and use native extended PS/2 protocols with the latest psm(4).
Since psm has gained write(2) support, it can be directly driven by X.org
input drivers without help of moused(8) or SysMouse protocol.
- Fix regressions without moused running.

PR:	ports/122363, ports/122405
2008-04-15 18:01:15 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Dejan Lesjak
627b13b9fb Upgrade to X.Org 6.9.0 release.
Remove separate mtree file for X_WINDOW_SYSTEM=XOrg case. Both X11
distributions now use the one from /etc/mtree again.
2006-01-21 18:55:08 +00:00
Eric Anholt
4e4688a5ea Fix one of the hangs on new GeForce cards using a patch from X.Org CVS.
PR:		ports/87160
Submitted by:	Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
2005-11-30 07:52:59 +00:00
Dejan Lesjak
b8b6f22af1 If port belongs to X11 distribution different than ${X_WINDOW_SYSTEM} one,
point to The X Window System and Virtual Consoles chapter of FAQ.

Add SHA256.
2005-11-11 22:16:17 +00:00
Dejan Lesjak
806dcfcff4 Fix the fix for CAN-2005-2495.
Among other, this shoud fix problems with wine - thanks to
Robert Backhaus (robbak at gmail.com) for testing.

Obtained from:	Xorg CVS
2005-09-18 16:34:24 +00:00
Dejan Lesjak
4c1f989fdc Fix integer overflow when allocating large pixmaps.
(Freedesktop.org bug #594)

Obtained from:	Red Hat via simon
Security:	CAN-2005-2495
2005-09-12 14:21:40 +00:00
Eric Anholt
29d6c8b436 Fix a use-after-free in the cursor code that's easily triggered with -AJ malloc
opts and running current gdm.

Approved by:	portmgr (marcus)
Obtained from:	X.Org CVS
2005-08-26 19:03:26 +00:00
Dejan Lesjak
ef196a5a0f Grab a patch for keyboard on sparc64 from Xorg CVS. This makes 'kbd' driver
work properly this time on FreeBSD/sparc64 so stop using workaround that
defaults to old 'keyboard' one and remove erroneous patch by me.

Pointed out by:	Matthias Muthmann (mmuthmann at gmx.net)
Tested by:	Matthias Muthmann (Ultra10/type5c), me (Ultra5/type5)
Obtained from:	Xorg CVS
2005-07-31 23:42:48 +00:00
Eric Anholt
0cf7952879 [1] Fix the Chipset lines written by xorgcfg for 3dfx cards.
[2] Add the PCI ID for Radeon X600, 0x5B62 to a place that was missed.

PR:		[1] ports/32121
Submitted by:	[1] alane
		[2] Vladimir Kushnir <vkushnir@i.kiev.ua>
2005-06-22 23:12:58 +00:00
Dejan Lesjak
531f2e7795 - Correct the ranges of the bus resource windows on sparc64.
This makes PCI video cards work that hang off directly from
  the Host-to-PCI bridge in machines like the Blade 100. [1]
- Default to old 'keyboard' driver for sparc64. Patches for 'kbd'
  one were not enough so until new driver is fixed, this change
  makes Xorg work with sparc64 keyboards. Knob WITH_SPARC_KBD is
  provided to ease efforts of fixing 'kbd'.

Submitted by:	marius [1]
2005-05-17 23:37:59 +00:00
Dejan Lesjak
e0be73b4de Bump max number of buttons supported by mouse driver to 16 so Logitech
MediaPlay mouse works.
(Xorg Bugzilla #2389)

PR:		ports/80744
Submitted by:	cy
2005-05-09 07:22:57 +00:00
Eric Anholt
e2f679668f Add Peter Grehan's patches to port xorg-server to PowerPC.
PR:		ports/78345, ports/78346, ports/78348, ports/78352,
		ports/78353, ports/78354, ports/78355, ports/78356,
		ports/78358, ports/78359
Submitted by:	grehan
2005-03-19 04:32:37 +00:00
Dejan Lesjak
ac39221672 Upgrade X.Org ports to 6.8.2.
Release notes are available at
http://www.x.org/X11R6.8.2/doc/RELNOTES.html

Thanks to kris and krion for running several cluster test builds,
maintainers of GNOME for prompt responses, portmgr for postponing ports
freeze for this update, testers on FreeBSD-X11@ list and others that I
might have mised here.

Also included:
- fix for ATI Mobility on Dell Inspiron 7500 (obtained from Marc Aurele La
  France; obtained and tested by julian)
- fix for kbd driver on Sparc64 (tested by Aaron Dudek, Michael G. Jung and
  Matthias Muthmann), which still appears to have problems with some
  keyboards - so
- fix for kbd driver on PC98 (reported and tested by NAKAJI Hiroyuki; PR
  ports/77217)
- fix for i810 on HP D530 (obtained from Egbert Eich; obtained and tested
  by Anders Nor Berle; PR ports/74757)
2005-03-17 23:22:13 +00:00
Eric Anholt
31179eebc6 [1] Add i810 driver to AMD64 package.
[2] Put the manpages from section 4 under 4x.  For example, you can do
    "man 4x vga" to get the X vga(4x) manpage, still do man 4 cirrus to get
    cirrus(4x), and man -a vga to get both vga manpages.
[3] Apply several important-looking fixes to ATI drivers from the stable branch:
    - Fix mode setting with Mach64 on some laptops.
    - Don't crash with mach64 for some PCI configurations
    - Improve hang detection on r128s. (may improve speed in DRI, too)
    - Avoid a hang on server regen on r128 with DRI.
    - Fix the DynamicClocks support, which could have caused hangs with DRI on
      original Radeons.

PR:		[2] ports/25576
Submitted by:	[2] fanf
Requested by:	[1] peter
Obtained from:	[3] XORG-6_8-branch
2005-01-13 22:52:24 +00:00
Eric Anholt
08ae21589b [1] Fix a crash on startup with i830+ systems due to failure to follow an API
change that occurred.
[2] Install the xorg.conf referred to by xorg.conf(5).  Installation was
disabled during the XF86 name avoidance phase, but could still be of use.
[3] Add a section about the Composite extension to xorg.conf.
[4] Add MakeDllModules YES to the WITH_DEBUG flag's options.  While it won't
package correctly, you can't actually debug modules (where crashes almost always
happen) without it.
[5] Merge fixes from XORG-6_8-branch for i810 driver crashes in on CloseScreen,
ringbuffer lockups, and various warnings.
[6] Recognize R_ALPHA_SREL32 relocation type in elfloader.

PR:		[1] ports/75425
		[2] ports/73915
		[6] ports/73257
Submitted by:	[1] Marc Silver, marcs at draenor dot org
		[2] Frank J. Laszlo, laszlof at vonostingroup dot com
		[6] Ken Stailey kstailey at yahoo dot com
		[6] r1.4 of X.Org CVS.
Approved by:	portmgr
2005-01-02 00:32:07 +00:00
Pav Lucistnik
2afbeab87a - Rewrap to fit on 80 columns console
Approved by:	anholt (x11 hat)
2004-12-29 02:29:31 +00:00
Eric Anholt
c90ee83f03 Update X.Org ports to 6.8.1, and the DRI port to use Mesa 6.2. Because Mesa 6.2
DRI drivers are incompatible with the old libGL in XFree86, they have been
repocopied to graphics/xfree86-dri.  Also note that with this commit the html
manpages are going away, and with it the runtime dependency on perl for the
imake port.

Release notes at: http://www.x.org/X11R6.8.1/RELNOTES.txt

Props to:	kris (multiple cluster runs and sorting through logs)
		lesi (fixing all the issues in those logs, and more)
2004-12-23 01:35:49 +00:00
Dejan Lesjak
8d307e831d Fix behaviour of keyboard under pc98 where keycodes differ from i386.
Submitted by:	Satoshi Kimura
Approved by:	portmgr (linimon), mentor (anholt)
2004-09-26 14:18:42 +00:00
Dejan Lesjak
4985aab58d Fix behaviour of keyboard under sparc64, where keycodes were off by one
(i.e., when pressing 'd' on keyboard, server would get code for 'f').

Submitted by:	marius
Approved by:	portmgr (linimon), anholt (mentor)
2004-09-12 20:35:08 +00:00
Dejan Lesjak
ab67e24779 Fix problem with XVideo (insufficient resources for operation). [1]
Use correct prototype for sysarch(2). [2]

PR:		ports/70317 [1],  ports/71037 [2]
Submitted by:	Andrew Elmore (aelmore at interwoven.com) [2]
Approved by:	anholt (mentor)
Obtained from:	Free Desktop.Org Bugzilla #474 [1]
2004-09-02 21:46:08 +00:00
Dejan Lesjak
e411d635e5 Use MASTER_SITE_XORG.
Approved by:	anholt (mentor)
2004-09-02 01:57:53 +00:00
Dejan Lesjak
832fe3dcd8 Fix missing symbol with SiS driver [1].
Fix package list (partly [2]).

PR:		ports/69790 [1], ports/70376 [2]
Submitted by:	Andreas Kohn (andreas AT syndrom23.de) [1]
		John R. Makosky (jrm-spam1 AT crackpot.org) [2]
Approved by:	anholt (mentor)
2004-08-31 00:18:27 +00:00
Pav Lucistnik
b73a79a29d - Extend IGNORE message, point users to instructions how to switch
from XFree86-4 to X.Org.

Approved by:	anholt (x11 hat)
2004-07-23 23:46:02 +00:00