1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
Commit Graph

685 Commits

Author SHA1 Message Date
Dmitry Marakasov
6d4b3ed0c9 - Remove useless MASTER_SITE_SUBDIR
- Drop @dirrm* from plist
- Add empty directory to plist
2015-03-03 02:55:08 +00:00
Koop Mast
e8e22ed74d Fix CVE-2015-0255.
Information leak in the XkbSetGeometry request of X servers.

Submitted by:	http://lists.freedesktop.org/archives/xorg/2015-February/057158.html
Obtained from:	upstream
MFH:		2015Q1
2015-02-12 19:58:41 +00:00
Baptiste Daroussin
67d3ddc0ee Cleanup plist 2015-02-05 16:03:32 +00:00
Alex Kozlov
b7088112c0 - Fix AutoAddDevices option when config/devd backend is used
Reported by:	Jonathan Chen <jonc@chen.org.nz>, lightside@gmx.com, many others
Approved by:	x11 (dumbbell, kwm)
2014-12-23 20:40:58 +00:00
Jean-Sébastien Pédron
3c9a1d11c2 Final removal of WITH_NEW_XORG
This knob was turned on for all version of FreeBSD in r369875
(2014-10-03) and officially deprecated. Since then, it was gradually
removed from many ports when they needed an update.

x11-servers/xorg-server was the last major user of this knob. The port
was updated to xserver 1.14 in r374982 (2014-12-19). The update got rid
of the knob, clearing the path to the final removal.

This commit changes ports who were checking for WITH_NEW_XORG and remove
its handling from bsd.port.mk.

While here, two sanity checks are added to warn user about WITH_KMS and
WITH_NEW_XORG which have no effect now.

Differential Revision:	https://reviews.freebsd.org/D1351
Reviewed by:	antoine, bapt, kwm
Approved by:	portmgr (antoine, bapt), kwm
2014-12-22 23:04:17 +00:00
Jean-Sébastien Pédron
91293a3505 x11-servers/xorg-server: Update to 1.14
The X.Org server has been updated to 1.14. The changes it brings are described
in a post on the Graphics team blog:
http://blogs.freebsdish.org/graphics/2014/11/19/xserver-1-14-update-ready/

The most noticable change is the DEVD input device autodetection backend
which is enabled by default, replacing the HAL backend. The keyboard
layout configuration must be migrated from HAL's .fdi files to X.Org
files. The procedure is explained in the post mentionned above.

Several ports were removed with this update, mainly because they are not
compatible with the X.Org server anymore:
    o  nvidia-driver-71
    o  nvidia-driver-96
    o  xf86-input-egalax
    o  xf86-video-newport
    o  xf86-video-tga

PR:		155696, 181660, 183478 (partially fixed), 188640, 191331
Differential Revision:	https://reviews.freebsd.org/D1337
Submitted by:	ak (most of the work on the DEVD backend), dumbbell, kwm,
		zeising
Tested by:	Many people on freebsd-x11@ and IRC
Reviewed by:	kwm, portmgr (antoine)
Approved by:	kwm, portmgr (antoine)
2014-12-19 23:03:54 +00:00
Koop Mast
1ef33079b3 Fix multiple xserver security advisories in the 1.12.4 xserver.
The patches where not ported to 1.7.7 so mark it forbidden. This version
is not default anymore and will be removed in the 1.14 update that currently
being tested.

Obtained from:	xserver upstream
MFH:		2014Q4
Security:	27b9b2f0-8081-11e4-b4ca-bcaec565249c
2014-12-10 21:35:13 +00:00
Kurt Jaeger
d01cf92f87 x11-servers/Xfstt: 1.6 -> 1.9.1
new master site and:

1.9.1 (2014-09-27)

        Bump gettext dependency to 0.18.2.
        Bump automake version to 1.11.
        Switch from gzip to xz for distribution tarballs.
        Update upstream project URLs to the new site.

1.9 (2012-05-02)

        Fix file descriptor leaks.
        Fix directory resource leaks and segfaults on opening errors.
        Reset the umask before creating the temporary directory.
        Rewrite showttf to use XCB instead of X11.

1.8 (2010-11-09)

        Remove the obsolete --multi option.
        Bump gettext dependency to 0.18.
          Use --previous in msgmerge to help translators.
        Blank unused fields of the fsError struct when sending an error.
        Fix segfaults on font open errors (thanks to Edward Welbourne).
        Handle mmap failures which might end up as segfaults otherwise.
        Fix crashes with fortify support when:
	  Listing fonts (thanks to Erik Devriendt).
	  Setting info file magic and type fields (thanks to Niall Creech).
	Fix segfault on fonts with unknown cmap format.
	Add SIGHUP handler to re-sync fonts cache.
	Do not hardcode any path component in the man page.
	Code cleanup:
	  Fixed several compiler warnings.
	  Constify types.
	  Refactor client state into a new struct.
	  Refactor font protocol error reply handling.
	  Remove unused or duped includes.
	  Switch more C 'char *' strings to C++ strings.
	  Use C++ algorithm instead of custom code.
	  Always include "config.h" first.
	  Use <stdint.h> instead of our own types.
	Build system cleanup:
	  Detect system endianness at build time.
	  Enable silent rules by default if support is available.
	  Do not use AM_MAINTAINER_MODE.
	  Make X11 usage selectable at configure time (new '--with-x11').
	  Always build (but not install) extra tools.
	  Use pkg-config to get fontsproto and x11 module flags.
	  Fix 'make distcheck'.

1.7 (2005-11-30)

	Made gettext external.
	Use autoreconf instead of 'autogen.sh'.
	Changed mail address.
	Generate the manpage at build time, to use variable paths and version.
	Remove win32 obsolete code.
	Use new error, warning and info functions.
	Changed some data types names.
	Fix hyphen used as minus sign in manpage.
	Fix build failure on Irix with gcc 3.2 (thanks to Dirk Tilger).
	Add IPv6 support.
	Update FSF's address.

PR:		194968
Submitted by:	C.Hutchinson <portmaster@bsdforge.com>
2014-11-24 19:40:37 +00:00
Alex Kozlov
43a22bb0dd - Fix various distinfo errors
- Remove unused USE_* knobs
- Fix typos in USE_* knobs
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D911
2014-10-16 08:55:30 +00:00
Sean Bruno
d7a36e69db Add some bits to the armv6 build to get a successful build/run on the RPi.
Not bumping the PORTREVISION as this is only applied to ARM builds.

Phabric:        https://reviews.freebsd.org/D756
PR:             181318
Submitted by:   mikael.urankar@gmail.com
Reviewed by:    kwm@
Approved by:    bdrewery (mentor)
2014-09-15 23:27:13 +00:00
Gerald Pfeifer
0abc164359 Fix the PORTREVISION bump for the lang/gcc update that went badly for
ports (x11-drivers plus graphics/libGL plus x11-servers/xorg-server)
that handle PORTREVISION in a creative manner hardly lending itself
to any form of automated bumping.

PR:		192025
Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
2014-09-12 00:01:23 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Baptiste Daroussin
9b179c3549 Update to 1.14.7
- changes:
* Do not make it a slave of xorg-server anymore so it doesn't change depending
  on NEW_XORG
* Update to the highest version able to deal with dependencies of the oldest
  xorg supported
2014-09-08 16:10:24 +00:00
Baptiste Daroussin
94b7c21eb0 Readd PORTEPOCH removed by accident 2014-09-08 16:00:06 +00:00
Baptiste Daroussin
0c40a887bd Prefer explicit activation of xvfb 2014-09-08 15:58:51 +00:00
Baptiste Daroussin
35185537aa Update to 1.14.7
- Changes:
* Do not make it a slave of xorg-server anymore so it doesn't change depending on NEW_XORG
* Update to the highest version able to deal with dependencies of the oldest xorg supported
2014-09-08 15:54:43 +00:00
Baptiste Daroussin
d01121cca9 Cleanup plist 2014-09-03 06:17:49 +00:00
Baptiste Daroussin
ac725ce224 Properly reset ownership
remove now useless @exec
2014-09-03 06:16:29 +00:00
Adam Weinberger
c9bf57300d Because this is a slave port, it cannot load bsd.port.pre.mk before defining
the do-install target. This means that the test for .if defined(WITH_NEW_XORG)
will always be false unless it's actually set in make.conf. WITH_NEW_XORG is
automatically set for OSVERSION > 100704, but the port can't access that.

Apply a really inelegant kludge that simply tries to install the manpage
from both possible places. One will fail, and one will succeed.
2014-08-16 16:15:19 +00:00
Jimmy Olgeni
dbc81c7d5b Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Category X.

CR:		D511
Approved by:	portmgr (bapt)
2014-08-08 08:42:44 +00:00
Nathan Whitehorn
8ac3b545c9 Bump XORG_REVISION to reflect changed behavior on PowerPC.
Approved by:	kwm
2014-07-29 23:07:27 +00:00
Nathan Whitehorn
c3246c7f70 mmap() /dev/mem instead of /dev/console on PowerPC. Mostly this was already
being done in libpciaccess, so this is functionally a no-op in most cases
and unifies behavior. Besides aesthetic appeal, the ability to directly mmap()
all of physical memory through /dev/console on PowerPC is about to go away
on -CURRENT, which means everything should converge on /dev/mem.

Approved by:	kwm
2014-07-29 23:00:10 +00:00
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Adam Weinberger
e50d4e40ac Remove NOPORTDOCS. 2014-07-04 23:20:13 +00:00
Baptiste Daroussin
dddc7102e2 Use MAKE_CMD 2014-06-25 05:39:37 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Koop Mast
eeabcd7024 x11-drivers/xf86-video-ati:
On other ARCH then i386/amd64 keep the old version. Since 7.x is KMS which
 is not available on the other ARCHS.

x11-drivers/xf86-video-nv:
 Fix nv driver on ppc.

x11-servers/xorg-server:
 In the powerpc case of NEW_XORG don't overwrite EXTRA_PATCHES.
 Patch update:
   < nathanw> it works around the change in behavior in libpciaccess that
                the PR mentions
   < nathanw> by porting the relevant code from the Linux backend

PR:		ports/188278
Submitted by:	jmmv@, nwhitehorn@
2014-05-29 19:32:08 +00:00
Koop Mast
f4fc5055dc Revert accident commit in -r351411. This should stop the option dialog
from spamming the user.

Submitted by:	marino@
2014-05-15 21:26:23 +00:00
Pawel Pekala
a6056cb104 Restore PORTREVISION mistakenly removed in last commit
PR:		ports/188276
Submitted by:	Matthew D.Fuller <fullermd@over-yonder.net>
Pointy hat to:	me
2014-05-01 10:44:16 +00:00
Koop Mast
62378ea793 Fix BadImplemented errors that happen with gdk 3.12.x and GNOME 3. [1]
Use INSTALL_TARGET=install-strip for stripping.
Allow user to package xorg-server again.

Obtained from:	debian [1]
2014-04-24 11:43:11 +00:00
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Baptiste Daroussin
53b48fd609 Support stage 2014-03-02 01:58:17 +00:00
Steve Wills
05dc3f8dfe X11rdp is an X server for xrdp.
WWW: http://www.xrdp.org/

PR:		ports/185793
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
2014-02-11 21:56:02 +00:00
Martin Wilke
500665890f - Stage support 2014-02-03 13:38:57 +00:00
Baptiste Daroussin
f7ee036117 Fix packaging on FreeBSD 11 when WITH_NEW_XORG is defined by bsd.port.mk 2014-01-25 22:05:25 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Koop Mast
171e2bd11b Remove extra bsd.port.options.mk, it already defined in the master port.
PR:		ports/184952
Submitted by:	marino@
2013-12-31 13:22:14 +00:00
Koop Mast
f396dfff5b Remove extra bsd.port.options.mk, it already defined in the master port.
Fix typo in vfbserver port.

Obtained from:	xorg-dev repo
2013-12-31 12:58:50 +00:00
Boris Samorodov
6e0bf304bd Fix PLIST_SUB (add a space after @comment) for non-default option.
Reported and tested by:	Andrea Venturoli <ml@netfence.it>
Approved by:		x11 (kwm)
2013-12-30 11:41:18 +00:00
Pawel Pekala
491ba8c3a6 - Support CC/CFLAGS properly
- Update MASTER_SITES
- Port supports staging

PR:		ports/184875
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-20 18:41:56 +00:00
Niclas Zeising
bac69bee7d Fix whitespace, no functional changes. 2013-12-16 13:52:48 +00:00
Niclas Zeising
47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00
Koop Mast
61f7258c32 Fix typo.
Submitted by:	Herbert J. Skuhra <h.skuhra@gmail.com>
2013-10-24 19:50:23 +00:00
Koop Mast
785722b1cf Document xorg-server use after free CVE.
Reviewed by:	zeising@
2013-10-24 13:05:10 +00:00
Niclas Zeising
6456a79045 Fix patches. Remove two unneeded ones, and add new patches to fix sparc64.
This was missed in the mesa update.

This syncs x11-server/xorg-server with the xorg development repo

Bump portrevision again in case.
Apologies for the churn!

Obtained from:	xorg development repo
2013-09-29 23:46:47 +00:00
Niclas Zeising
23f2e96944 Fix perl dependency.
Submitted by: Barbara Guida <bar@FreeBSD.org>
2013-09-29 23:32:01 +00:00
Niclas Zeising
5a4c543c2b The FreeBSD graphics/x11 team proudly presents
a kwm, zeising production:

MESA 9.1.6

Starring:
Mesa 9.1.6, including libGL, libGLU and dri (new xorg only)
Addition of libEGL and libglesv2
KMS support for ATI graphics cards in 10-current (new xorg only)
Improved sparc64 support for new xorg. [1]
pixman 0.30.2, including shlib bump and portrevision bumps
libX11 1.6.2
Make absolute pointing devices work with x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver)

Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
When updating MESA related ports (libGL, dri) you need to remove old versions
first.  See UPDATING for details.

PR:		ports/181962 [2]
Submitted by:	marius [1]
		zeising [2]
Exp-run by:	bdrewery
Approved by:	portmgr (bdrewery)

Thanks to all who helped testing!
2013-09-29 17:01:41 +00:00
Baptiste Daroussin
eea5b447da Add NO_STAGE all over the place in preparation for the staging support (cat: x11-servers) 2013-09-20 23:52:24 +00:00
Niclas Zeising
c17dedd527 Plug two more use before initialized with the new x server.
Noted by:	clang
Obtained from:	xorg development repo
2013-08-14 11:58:48 +00:00