Commit graph

151 commits

Author SHA1 Message Date
Alexey Dokuchaev
f4de7e7414 Update NVidia drivers vulnerable to GPU driver ARGB cursor buffer overflow
in "NoScanout" mode.

Security:	CVE-2013-0131
Approved by:	portmgr (bapt)
2013-04-08 13:41:57 +00:00
Alexey Dokuchaev
11ad8e8aa4 - Convert recent patches against -CURRENT to sed(1) invocations that work for
all driver ports, including legacy ones, with correct OSVERSION checks
- Retouch some comments while here

PR:		ports/177459
Submitted by:	bf
Approved by:	portmgr (miwi)
2013-04-07 15:21:50 +00:00
Sean Bruno
794fdc1d52 Resolve current build breakage on head for the nvidia driver via this nice
handy patch from dhw@ :-)

Shoveled in via src commit bit, after some discussions in #bsdports

PR:		ports/176980
Submitted by:	dhw@
Reviewed by:	miwi@
Approved by:	nobody in particular
Obtained from:	dogfood
MFC after:	2 weeks
2013-03-16 07:29:53 +00:00
Alexey Dokuchaev
b1c0b5f73f Update the commentary. 2013-02-16 15:12:56 +00:00
Alexey Dokuchaev
e156014580 - Update mainstream driver version to 310.32, the latest to date
- Unbreak the build on recent -CURRENT (after SVN r246085) [*]
- Move 304.xx driver version to yet another legacy port

PR:		ports/176146 [*]
Submitted by:	bf
2013-02-16 14:09:17 +00:00
Alexey Dokuchaev
a3db6a2df7 Update to version 304.64. While as of yesterday this version is technically
legacy per nVidia, retain it for a while until the dust settles and new long
lived branch version 310.19 can be declared stable.

Feature safe:	yes
2012-11-16 18:11:43 +00:00
Alexey Dokuchaev
07d3a11c93 Update mainstream driver to version 304.60.
Feature safe:	yes
2012-10-29 02:47:21 +00:00
Alexey Dokuchaev
39c1c6f78c - Update long lived branch driver to version 304.51
- Mention DOCS option in OPTIONS_DEFINE
2012-09-29 04:18:01 +00:00
Alexey Dokuchaev
278e8e6785 Trim Makefile header for NVidia drivers, and move advisory comment about
legacy drivers to the top, where is suits better.
2012-09-27 16:50:19 +00:00
Alexey Dokuchaev
195d110c64 Fix the problem that PKGVERSION for 173.14.xx legacy driver went backwards
when it was updated to .35 on the 12th.  That moment, it kept PORTREVISION
1 from the master port.  When the master port was updated and PORTREVISION
removed on the 22nd, PKGVERSION of nvidia-driver-173 went backwards as its
PORTREVISION dropped from 1 to 0.  While I am at it, provide a comments in
all makefiles that keeping PORTREVISION setting (even when it is seemingly
zero) is important.

Reported by:	erwin
2012-09-25 15:23:14 +00:00
Alexey Dokuchaev
4f1027b6be - Update 96.43.xx legacy driver to version 96.43.23, which brings support
for X.Org xserver versions 1.11 and 1.12
- Fix one occurrence of LINUX option check (was broken in r304591) [1]

Noticed by:	bland [1]
2012-09-23 14:04:51 +00:00
Alexey Dokuchaev
e1f9709bbe - Drop useless quotes when assigning PREFIX (values with spaces are handled
correctly nonetheless)
- Fix SVN properties to have FreeBSD keyword expanded
2012-09-23 12:37:34 +00:00
Alexey Dokuchaev
4e01b9dd5e - After conversion to new OPTIONS framework, adjust pkg-message accordingly
- Check for DOCS in PORT_OPTIONS instead of NOPORTDOCS while here
2012-09-23 11:48:06 +00:00
Alexey Dokuchaev
17201c47f8 Update mainstream driver to version 304.43. 2012-09-22 17:01:58 +00:00
Eitan Adler
34df9e45d9 Convert to OptionsNG
Approved by:	danfe (maintainer)
2012-09-20 19:13:15 +00:00
Alexey Dokuchaev
e6d16fe34c - Revert patch for CVE-2012-0946 to its original form and apply both CVE
patches when needed, for clarity's sake
- Touch some comments in Makefile while here (purely cosmetic)
2012-09-16 09:24:14 +00:00
Alexey Dokuchaev
4b376e2c92 - Update legacy 173.14.xx series driver to version 173.14.35 and provide a
patch for CVE-2012-4225 for this version
- Augment security patch for CVE-2012-0946 to cover CVE-2012-4225 as well
  for the benefit of really old legacy drivers
2012-09-12 07:14:34 +00:00
Alexey Dokuchaev
0edc8aa613 Unbreak installation of legacy drivers. 2012-09-12 05:04:20 +00:00
Koop Mast
04a589dee4 Solve libGL.so and libglx.so conflict situation between libGL, xorg-server and
the nvidia-driver. Install the libraries in port specific directories.
Use pkg-install and pkg-deinstall scripts to update the hardlinks to the
default locations of these files.

While here clean up some @dirrmtry lines in xorg-server plist for directories
that aren.t created by xorg-server.

Motivator:	pkgng
Inspiration:	irc, freebsd-x11@ mailinglist discussion (sorry can't find it
		anymore to give credit the people)
Reviewed by:	danfe@ (for nvidia parts), bapt@
Approved by:	danfe@ (for nvidia parts)
With hat:	x11@
2012-08-31 15:44:41 +00:00
Alexey Dokuchaev
696f22416b Update nVidia driver to the latest long lived branch version, 295.71
Security:	http://nvidia.custhelp.com/app/answers/detail/a_id/3140
2012-08-08 12:13:18 +00:00
Alexey Dokuchaev
87a52efaf4 - Update the driver to the latest long lived branch version, 295.59
- Replace deprecated PATCHDIR reference with more appropriate FILESDIR
- Remove old comment about inconsistencies in nVidia release numbers

PR:	ports/169186 (version update)
2012-06-28 03:36:52 +00:00
Alexey Dokuchaev
dbacad32ae Provide home-made patch for legacy nVidia drivers against recent arbitrary
memory access vulnerability.  While affected underlying code is very similar
in all released drivers, and they all are technically exploitable the same
way, the exploit relies on hardware that is not present in GPUs older than
NV50/G80, hence versions starting from 100.14.03 must be patched.

That said, while the patch does apply to all legacy versions, port revision
bump makes sense only for 173.14.xx series (as 96.43.xx and 71.86.xx do not
hardware exploit relies upon).

Discussed with:	Christian Zander
Security:	CVE-2012-0946
2012-05-10 11:22:00 +00:00
Alexey Dokuchaev
122ea7d170 Update to version 295.49, which had:
- Added support for GeForce GTX 690 GPU
- Fixed a problem where starting, stopping, and moving OpenGL application
  windows was very slow on Quadro FX 4600, Quadro FX 5600, GeForce 8800 GTX,
  GeForce 8800 GTS, and GeForce 8800 Ultra
- Fixed an OpenGL performance regression which affected Geforce 6 and Geforce
  7 series integrated GPUs

PR:	ports/167619
2012-05-10 03:15:38 +00:00
Alexey Dokuchaev
164d168dbc - Update to version 295.40
- Touch some comments

Security:	CVE-2012-0946
2012-04-22 15:04:57 +00:00
Alexey Dokuchaev
dd04f6bf09 Unbreak on 7.X where sed(1) does not support "addr1,+N" ranges yet (was added
by brian@ in SVN r192732 on 2009-05-25).

Reported by:	erwinmail
Pointy hat to:	danfe (for not running 7.X tinderbuild)
2012-02-11 09:11:02 +00:00
Alexey Dokuchaev
546e878c52 PAE kernels are incompatible with legacy drivers only (for a while now), so
adjust pkg-message accordingly.

Discussed with:	Christian Zander from nVidia
2012-02-02 18:30:28 +00:00
Alexey Dokuchaev
10557f2321 X11BASE has been deprecated for a long time now, and is going to be dropped
from `Mk/bsd.port.mk' soon.  Account for it and pass it to make environment
locally as nVidia driver code still uses it.

PR:		ports/161558
Submitted by:	eadler (PR), crees (nvidia-driver patch)
Feature safe:	yes
2011-12-02 02:29:08 +00:00
Alexey Dokuchaev
f273d6785e Unbreak legacy (pre-195.22) drivers build on 9.X after SVN r225617 by kmacy@.
PR:		ports/161839
Submitted by:	Barry Tigner
2011-11-08 06:22:02 +00:00
Alexey Dokuchaev
a8416cc8ea Update to version 285.05.09, which should remedy system hangs people were
reporting with 280.13.
2011-10-11 14:59:02 +00:00
Alexey Dokuchaev
a3a84e2385 - Update NVidia drivers to their corresponding latest versions
- Apply a workaround to fix the build on recent -CURRENT after fget(9) KPI
  was changed in r224778 (affects the driver since version 195.22)
2011-08-31 12:30:24 +00:00
Alexey Dokuchaev
86560de87a - Fix the build against Clang (also GCC with -Wformat-security, see PR
ports/157255)
- Drop long gone ports from CONFLICTS line and refine some comments
  while I'm here

Submitted by:	Garrett Cooper (modified)
2011-07-06 09:59:58 +00:00
Alexey Dokuchaev
176c86edee Unbreak on -CURRENT after r221320.
Reported by:	several
Submitted by:	Pan Tsu
2011-05-23 07:14:50 +00:00
Alexey Dokuchaev
8bb1cc999d - Update corresponding NVidia drivers to versions 270.41.19 and 173.14.30
- Turn formal requirement for X server into explicit dependency and bump
  port revisions in nvidia-driver-96 and nvidia-driver-71 accordingly
- Remove NO_PACKAGE; along with previous change, this enables us to build
  nvidia-driver packages
- Try to rely a little less on the assumption that PREFIX == LOCALBASE and
  explicitly create ${PREFIX}/${MODULESDIR}/extensions directory
- Fix pkg-plist issue when both lib/xorg/modules/extensions/libglx.so and
  lib/libGL.so.1 handling worked for installation from the port, but was
  insufficient for the package

Special thanks to ale@ for proposing pkg-plist fix and patiently waiting
for me to realize it is indeed correct.

PR:	ports/152400
2011-05-21 14:04:48 +00:00
Alexey Dokuchaev
cf70c31620 Add license information.
PR:	ports/152400 (part of)
2011-04-07 08:14:57 +00:00
Alexey Dokuchaev
b6cfa67b9e Now that PKG_INFO macro expands correctly on all supported versions of
FreeBSD, use it as advised by common sense and XXX statement.

PR:		ports/125996
Submitted by:	edwin
2011-03-14 07:09:10 +00:00
Martin Wilke
add49d66c8 - Bump nvidia drivers after xorg update 2011-02-25 16:59:49 +00:00
Alexey Dokuchaev
9a99803f30 - Update legacy drivers (new versions: 96.43.19 and 173.14.28)
- Remove MD5 hashes from distinfo (hooray!)
2010-12-08 07:37:22 +00:00
Alexey Dokuchaev
ad548da6c9 Non-functional changes (mostly cleanups). 2010-12-08 03:28:28 +00:00
Alexey Dokuchaev
3d7d8825e8 Update nVidia drivers to their most recent versions. 2010-10-09 09:27:09 +00:00
Alexey Dokuchaev
4dbad60965 Convert patch which does not apply in every case now to inplace editing, and
thus unbreak legacy drivers build.  Do some minor cleanups while here.
2010-10-09 08:20:49 +00:00
Max Brazhnikov
1570b91ba5 - Don't install vdpau library and headers, they are now provided by
multimedia/libvdpau. [1]
- Explicitly set PORTREVISION to zero for slaves ports (legacy drivers),
  they are not affected by the changes.

PR:		ports/150369 [1]
Submitted by:	Anonymous <swell.k at gmail.com>
Reviewed by:	danfe (maintainer)
2010-09-24 19:11:01 +00:00
Alexey Dokuchaev
7f365b7d07 Restore correct MASTER_SITE_SUBDIR for legacy driver versions that was
mistakenly dropped in rev. 1.97 and add a comment explaining why do we
set it not in PORTNAME section, but later (when NVVERSION is defined).

PR:	ports/146566
2010-05-24 03:01:56 +00:00
Alexey Dokuchaev
92d58bfe50 - Update nVidia BETA drivers to version 195.36.15
- Add missing symlink `libglx.so' to pkg-plist to unbreak installation
  from binary package (accidentally dropped in rev. 1.23)
- Provide symlinks for VDPAU headers in /usr/local/include/vdpau [1]

Discussed with:	decke, czander@nVidia [1]
2010-04-10 13:40:07 +00:00
Alexey Dokuchaev
53d4b141a7 Add OSVERSION check in order to apply d_mmap() fix only when required.
Feature safe:	yes
2010-02-19 17:38:17 +00:00
Alexey Dokuchaev
d0d11ca5b3 - Update legacy drivers to their most recent versions
- Patch for updated d_mmap() in recent -CURRENT where applicable
- Adjust FreeBSD version requirement (legacy drivers work on older releases,
  contrary to 195.22 beta)

Feature safe:	yes
2010-02-16 15:30:21 +00:00
Alexey Dokuchaev
69e7885f35 Update to version 195.22. These are BETA drivers, and normally update would
not occur, but now it is special: it features long-awaited x86-64 (amd64)
support.  In order to use this driver release, your system will need to have
either FreeBSD 7-STABLE after 702106 or FreeBSD 8.0 and above.

Both the FreeBSD/x86 and FreeBSD/x86-64 driver packages include 32-bit Linux
ABI compatibility libraries; 64-bit Linux libraries may be included with a
future release (when support for Linux/x86-64 compatibility is added to
FreeBSD/amd64).  The FreeBSD/x86-64 package does not include the FreeBSD/x86
OpenGL libraries; however, the libraries shipped with the FreeBSD/x86 driver
package have been tested on FreeBSD/x86-64.

Port was updated to serve both versions seamlessly.  No need to specify
anything to distinguish between architectures.

I would like to thank everyone involved to make this happen.

Reviewed on:	-ports@
2009-12-15 00:08:09 +00:00
Alexey Dokuchaev
c0c6c67f7f Remove piece of information that is no longer accurate.
Feature safe:	yes
2009-09-29 13:26:39 +00:00
Alexey Dokuchaev
7f02e3caac - Update to the latest release from NVidia, 185.18.36 [1]
- Register CONFLICTS with number of Linux DRI ports [2]
- Improve grammar in comment while here

PRs:		ports/138598 [1], ports/135322 [2]
Reviewed by:	bsam [2]
Feature safe:	yes
2009-09-29 13:25:25 +00:00
Alexey Dokuchaev
603ca9adcf - Use accurate NVVERSION for checking libcuda compat library presence
- Now that no version of drivers installs nvidia_drv.o, remove the check
  and clean up pkg-plist
2009-08-04 08:27:43 +00:00
Alexey Dokuchaev
2de2f64d2c Update NVidia drivers to most recent versions. 2009-08-03 17:36:41 +00:00