Commit graph

290 commits

Author SHA1 Message Date
Dejan Lesjak
4202ec0fbe Remove directory on deinstall. 2005-02-14 21:48:28 +00:00
Dejan Lesjak
8241a6c2c0 Properly fix the termios race rather than disabling copyTermios.
PR:		ports/74981
Submitted by:	Rong-En Fan, rafan at infor dotorg
Obtained from:	XFree86 Bugzilla #867
2005-01-14 23:42:45 +00:00
Dejan Lesjak
5870a4864c Bump PORTREVISION, since html manpages are no longer built/installed
and that changes packaging content.
2004-12-23 05:31:04 +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
55218f462e Grab changes to Xpm security patch from x11/xorg-libraries:
Using SIZE_MAX instead of [U]INT_MAX in several tests would result in the
tests being useless on 64-bit machines.

Submitted by:	nectar
Obtained from:	Matthieu Herrb (matthieu herrb at laas fr) by nectar
2004-10-31 22:44:23 +00:00
Eric Anholt
39947593b3 Apply fixes for CAN-2004-0687 and CAN-2004-0688 in libXpm (stack-based and
integer overflow security vulnerabilities).

Approved by:	portmgr
2004-09-16 02:14:09 +00:00
Dejan Lesjak
fa45acf58d Add conflicts to Mesa and xpm ports. Libraries that they install are
already included in this port.

Noticed by:	David Julien (david dot julien at gmail dot com)
PR:		ports/70004
Approved by:	anholt (mentor)
2004-08-21 05:01:17 +00:00
Joe Marcus Clarke
42c2cdc260 Update XFree86 clients to 4.4 release. Release notes are available at
http://www.xfree86.org/4.4.0/RELNOTES.html

PR:		ports/67733 imake
		ports/67508 libraries
		ports/67510 clients
		ports/67513 server
		ports/67776 100dpi fonts
		ports/67777 75dpi fonts
		ports/67778 cyrillic fonts
		ports/67779 default bitmap fonts
		ports/67781 font encodings
		ports/67783 scalable fonts
		ports/67784 font server
		ports/67785 XFree86 meta-port
		ports/67775 documents
		ports/67786 manpages
		ports/67787 nest server
		ports/67788 print server
		ports/67789 virtual framebuffer server
		ports/56487 (Upgrading Xfree86-clients from ports overwrites xdm config files)
		ports/44252 (XFree86-4-Server port removes/overwrites config files)
Submitted by:	Dejan Lesjak (dejan DOT lesjak AT ijs DOT si)
Additional changes by:	anholt
			Jung-uk Kim (jkim AT niksun DOT com)
			arved
Tested by:	pointyhat
		linimon
2004-08-10 01:29:22 +00:00
Eric Anholt
db26f1e721 Fix build after X.Org patch.
PR:		ports/69545
Submitted by:	Dejan Lesjak <dejan.lesjak@ijs.si>
2004-07-25 21:15:07 +00:00
Eric Anholt
4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00
Eric Anholt
d826c52421 Register CONFLICTS on new xorg ports. 2004-05-31 02:13:21 +00:00
Eric Anholt
02a1e62287 Register CONFLICTS for new xlibs ports. 2004-05-10 05:42:34 +00:00
Tilman Keskinoz
b59a14134b Install a shared version of libXau and libXRes.
They are necessary to compile GNOME 2.6(libgtop2 and libwnck)
on amd64 (and probably ia64). Bump PORTREVISION

Reviewed by:	x11 (earlier version)
2004-04-16 10:06:42 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Michael Nottebrock
02c02682a8 Declare CONFLICTS between libXt and XFree86-4-libraries 2004-03-28 12:46:25 +00:00
Michael Nottebrock
d5f131c7fd Declare CONFLICTS between freedesktop.org X extension/library ports and
XFree86-libraries.
2004-03-24 18:28:26 +00:00
Joe Marcus Clarke
cedbe303a3 Move the REINPLACE bits to Makefile.in so that all the XFree86 ports can
use them.  Without this, the patch was being applied to the other ports,
but the PTHREAD substitutions were not being done.

Reported by:	adamw
2004-02-06 04:41:48 +00:00
Joe Marcus Clarke
b4ed262399 Fix a copy/paste mistake on the previous commit.
Reported by:	adamw
2004-02-05 23:06:29 +00:00
Joe Marcus Clarke
85514ea713 Do a PTHREAD_{CFLAGS,LIBS} substitution to handle the new threading scheme
on -CURRENT.
2004-02-05 18:13:59 +00:00
Eric Anholt
e8881a8862 Bah. Some of the servers don't have the fonts/util/, causing failure due to
patches being shared by all the ports.  So, add them to clients only and use
EXTRA_PATCHES.  This should be done to more patches from XFree86-4-libraries.
2003-12-12 23:19:06 +00:00
Eric Anholt
d9b1664b18 Use #!/usr/bin/env perl instead of #!/usr/bin/perl to increase the chances
of success.
2003-12-12 22:55:31 +00:00
Peter Wemm
3ff34d5f5b Make this package on amd64 now that I've added two more files. 2003-12-05 01:57:05 +00:00
Peter Wemm
cd0bbf0b8d Second change to get kdebase3 to work on amd64. kdebase builds a plugin
called kxkb.so, which links against libxkbfile.  This is fatal on
amd64 because XFree86 does not normally provide libxkbfile.so, and it is
a guaranteed fatal error to link non-PIC code into a .so file.

I have only arranged for libxkbfile.so to be build on amd64 so as to
not risking distrubing dependencies on other platforms.
2003-12-05 01:46:18 +00:00
Jake Burkholder
a021c16641 Fix XFree86-4-FontServer build on sparc64.
Requested by:	kris
2003-11-25 08:56:30 +00:00
Eric Anholt
b7f4234b95 Switch MAINTAINER to x11@FreeBSD.org for group maintaining of these ports. 2003-11-12 01:04:37 +00:00
Eric Anholt
573ede432f Disable the patch from XFree86 bug 641 to copy the terminal's settings in
luit to its new pty.  This code doesn't work for some reason and produces
"Couldn't copy terminal settings" when luit is run manually or the symptom
of an xterm -lc flashing on screen and exiting.

Submitted by:	Guido Berhoerster <ich@guido-berhoerster.org>
2003-11-11 04:09:42 +00:00
Eric Anholt
4c54a5df65 Update luit (helper app that does locale translation for xterm) in
XFree86-4-clients from XFree86 CVS.  This allows luit to be used setuid, which
closes a security hole (tty left world-writable) that luit complains about on
startup if not setuid.  Setting WITH_SETUID_LUIT installs luit setuid.

PR:		ports/51632
Submitted by:	Guido Berhoerster <ich@guido-berhoerster.org>
Help from:	ITO Tsuyoshi <tsuyoshi@is.s.u-tokyo.ac.jp>
2003-11-09 04:44:30 +00:00
Mikhail Teterin
8a54ffccd9 Fix a bug in my last commit -- the second coma in -Wl,rpath,DIRECTORY
was missing.

Reported by:	Andy Fawcett (who watches the ports cluster logs)
		Uwe Laverenz
2003-11-05 19:09:58 +00:00
Mikhail Teterin
038bfd6832 Add a patch for Mesa's glheader.h to teach it about the Intel
compiler(s) (no __cdecl, INLINE means inline). Add a hunk to the
FreeBSD.cf patch to make always prepend -rpath with the -Wl, --
GCC understands it either way, but Intel's icc, for example,
does not -- and need not.

Approved by:		enholt (maintainer)
Also reviewed by:	netchild (icc guru)
2003-11-05 05:29:28 +00:00
Eric Anholt
02d69ca9fe Fix XFree86-4-clients build. It was failing depending on lib*.a which weren't
being built due to the split build.  Remove the dependencies on them, and it'll
pick them up from ${X11BASE}/lib.  I don't know why this broke now but worked
in the past.

Reported by:	everyone
Tested on:	ref5 (libraries,clients)
2003-10-14 00:45:30 +00:00
Eric Anholt
b19ea7a6ff Somehow the typo in the previous commit didn't make the build fail. Fix it. 2003-10-12 23:41:06 +00:00
Eric Anholt
b0c17c5aef Suppress warnings in system headers with gcc 3.x. 2003-10-12 23:12:43 +00:00
Eric Anholt
bf3c312523 Allow the patch directory to be overridden.
Approved by:	portmgr (will)
2003-09-17 02:38:44 +00:00
Eric Anholt
97b4e7a649 Fixes for potential integer overflows in font libraries.
Obtained from:	XFree86 CVS
2003-09-03 22:12:51 +00:00
Eric Anholt
abb67d14e8 Remove the disabling of MTRRs on amd64, as MTRR support has been added to
-current.  No PORTREVISION bump because the installed base is small enough.

Submitted by:	peter
2003-08-23 03:05:24 +00:00
Eric Anholt
f6c848659e [1] Fix xdmcp queries in the X servers (bug 277)
[2] Fix underlining in the freetype backend (bug 330)

PR:		[1] ports/52387
		[2] ports/55134
Submitted by:	[1] Joel Ray Holveck <joelh@piqnet.org>
		[2] Ariff Abdullah <skywizard@MyBSD.org.my>
2003-08-12 18:35:37 +00:00
Eric Anholt
085cfa9e04 Fix compile of XFree86-4-Server on -current and add amd64 patches.
Submitted by:	peter (amd64)
2003-07-16 21:06:13 +00:00
Eric Anholt
b19121dfab Removing -lc from the link line of libGL.so broke on -alpha. Revert the patch
until a solution can be found.

Reported by:	kris (bento)
2003-05-17 08:41:31 +00:00
Eric Anholt
2ccb4eaa88 Convert .for/.endfor to shell script to fix building of XFree86-4-Server,
which sets the variables involved after including this file.  No PORTREVISION
bump because the last XFree86-4-Server bump was for packaging and packaging
was broken in the last revision.

Reported by:	Kent Stewart <kstewart@owt.com>
2003-05-14 22:22:10 +00:00
Eric Anholt
346aa45573 [1] Make the HTML manpages get put into the packages again.
[2] Check that XFREE86_VERSION=4 is set when building, rather than setting it.
[3] Move many common Makefile bits to XFree86-4-libraries/Makefile.inc
[4] Make the XFree86-4-Server port not install libXfont.so.
[5] Move the xcursor.pc file to its proper location in ${X11BASE}/libdata/pkgconfig
[6] Don't explicitly link libGL.so against libc, for the sake of 4.x's pthreads.

Submitted by:	[5,6] Ports Fury
2003-05-14 07:02:07 +00:00
Eric Anholt
c5df92d1ee Add a patch to work around a gcc/gas problem on sparc64. No revision bump
necessary as this is a build fix.

Submitted by:	tmm
2003-05-07 22:34:43 +00:00
Eric Anholt
ff8b37ce7a Fix a small memory leak in XvQueryAdaptors()
PR:		ports/51579
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
2003-04-30 00:15:06 +00:00
Eric Anholt
e5aa7d1091 Fix a memory leak in libX11.
Obtained from:	RedHat
2003-04-26 08:00:21 +00:00
Eric Anholt
c53a3fe9fd Add a fix for a possible buffer overflow in _XlcLocaleDirName(). Privileged
binaries are not vulnerable.

Approved by:	portmgr (kris)
Obtained from:	XFree86 CVS xf-4_3-branch
2003-03-15 04:32:37 +00:00
Eric Anholt
3d8d694509 Re-add patch-xdm_session.c which was accidentally dropped in the 4.3.0 upgrade.
This fixes problems with environment not being set in xdm sessions.

Submitted by:	many
Approved by:	portmgr (kris)
2003-03-15 04:30:03 +00:00
Eric Anholt
62d3b1c1fc Update XFree86 ports, including linux_dri, to 4.3.0. Set IGNORE= in dri-devel
for being outdated.  Thank you to all the testers and people who submitted
patches for this update.

Approved by:	portmgr
2003-03-11 23:38:11 +00:00
Ade Lovett
3195b6f71c Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:36:20 +00:00
Eric Anholt
3d4a7aef38 Fix XFree86-4-libraries after Xft renaming removal:
Add `pkg-config xft --cflags` and --libs to Imakefiles of programs that use Xft
and remove a bit of code not needed for Xft2, remove xftcache program.

Reported by:	many
2003-02-19 08:06:54 +00:00
Eric Anholt
38805e871a Remove the renaming of Xft headers and library from the Xft (Xft2) port.
Remove installing of Xft1 from XFree86-4-libraries, and add dependencies
to the Xft port by all the ports that use it along with whatever patches are
necessary.

Approved by:	portmgr (kris), marcus
2003-02-18 04:51:34 +00:00
Eric Anholt
a0f7fe90a0 [1] Fix missing symbols in i810 driver
[2] Fix xdm on Alpha by using NetBSD's version of Wraphelp.c
[3] Report buttons 7 and when using sysmouse protocol
[4] Fix missing symbols in r128 driver.
[5] Reset /usr/X11R6/bin/X to Xwrapper-4 after install if Xwrapper-4 exists.

PR:		[1] i386/44203
		[2] ports/43664
		[3] ports/43232
2003-01-24 04:14:16 +00:00