aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy340-driver
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-02-17 23:08:10 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-17 23:08:34 +0000
commit4ddf4ff73f025074acc4e0c5c397f746e1d261a8 (patch)
tree86fff0b8a5e1b05eb9af5fc17049917f87a22081 /system/nvidia-legacy340-driver
parent43f71d957fb40ab190e97e5bc9ff8661cb2ce909 (diff)
system/nvidia-legacy340-driver: Updated for version 340.102.
(* Security fix *) Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy340-driver')
-rw-r--r--system/nvidia-legacy340-driver/changelog.txt1
-rw-r--r--system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild14
-rw-r--r--system/nvidia-legacy340-driver/nvidia-legacy340-driver.info42
-rw-r--r--system/nvidia-legacy340-driver/nvidia-switch2
4 files changed, 29 insertions, 30 deletions
diff --git a/system/nvidia-legacy340-driver/changelog.txt b/system/nvidia-legacy340-driver/changelog.txt
index a8b0918a5062b..b471607a21f5f 100644
--- a/system/nvidia-legacy340-driver/changelog.txt
+++ b/system/nvidia-legacy340-driver/changelog.txt
@@ -22,3 +22,4 @@
4.1 05-SEP-2015 version update LLB
4.2 13-DEC-2015 version update, X.Org 1.18 support
4.3 19-MAR-2016 remove nvidia-installer (doesn't compile on 14.2RC1)
+5.0 15-FEB-2017 version update, security fixes. \ No newline at end of file
diff --git a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
index a6ca6cdb299cc..b5ac5495dfc1f 100644
--- a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
+++ b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for nvidia-driver
# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2012-2015 Edward W. Koenig, Vancouver, WA, USA
+# Copyright 2012-2017 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
# See changelog.txt
PRGNAM=nvidia-legacy340-driver
-VERSION=${VERSION:-340.96}
+VERSION=${VERSION:-340.102}
MVERS=340
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,7 +34,7 @@ CPROXY=${CPROXY:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
TARGET="x86"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -114,13 +114,11 @@ install -m 755 libnvidia-ml.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-opencl.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/tls/
install -m 755 libOpenCL.so.1.0.0 $PKG/usr/lib$LIBDIRSUFFIX/
+install -m 755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
# For 8-series GPU if libwfb.so is missing (ie older X servers).
install -m 755 libnvidia-wfb.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/libnvidia-wfb.so.$VERSION-nvidia
-# Don't forget separate libvdpau package on SBo.
-install -m 755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
-
install -m 644 nvidia.icd $PKG/etc/OpenCL/vendors/
# Add optional 32-bit support
diff --git a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.info b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.info
index 3a5d232efd45c..9d3c006b77802 100644
--- a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.info
+++ b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.info
@@ -1,26 +1,26 @@
PRGNAM="nvidia-legacy340-driver"
-VERSION="340.96"
+VERSION="340.102"
HOMEPAGE="http://www.nvidia.com"
-DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/340.96/NVIDIA-Linux-x86-340.96.run \
- ftp://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-340.96.tar.bz2 \
- ftp://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-340.96.tar.bz2 \
- ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-340.96.tar.bz2 \
- ftp://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-340.96.tar.bz2"
-MD5SUM="cb64b165b638671bcdc75bcf297b8d90 \
- 36e7509064a3900139c3dbda05e04283 \
- 7174be57b82be6a875e5cb21b0d1fe92 \
- ea8a4563ffb751141037c82958d19c43 \
- c4456cffe24d88ecde5782f981b540ee"
-DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/340.96/NVIDIA-Linux-x86_64-340.96.run \
- ftp://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-340.96.tar.bz2 \
- ftp://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-340.96.tar.bz2 \
- ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-340.96.tar.bz2 \
- ftp://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-340.96.tar.bz2"
-MD5SUM_x86_64="f66b4f01a1edab6ce7d7b90d9b209cd1 \
- 36e7509064a3900139c3dbda05e04283 \
- 7174be57b82be6a875e5cb21b0d1fe92 \
- ea8a4563ffb751141037c82958d19c43 \
- c4456cffe24d88ecde5782f981b540ee"
+DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/340.102/NVIDIA-Linux-x86-340.102.run \
+ ftp://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-340.102.tar.bz2 \
+ ftp://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-340.102.tar.bz2 \
+ ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-340.102.tar.bz2 \
+ ftp://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-340.102.tar.bz2"
+MD5SUM="61aad6a98238bc61466e6a9e392cfd08 \
+ 6c1cafa3e8f0cd4a350d13b67392fffa \
+ 030bb550f916da315a02c7c58e0d1780 \
+ bf40ea349b4590534b640bf870e880bb \
+ f171106040b42fcbcdb3096e9352c799"
+DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/340.102/NVIDIA-Linux-x86_64-340.102.run \
+ ftp://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-340.102.tar.bz2 \
+ ftp://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-340.102.tar.bz2 \
+ ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-340.102.tar.bz2 \
+ ftp://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-340.102.tar.bz2"
+MD5SUM_x86_64="088934d412a8faab4592b352e1535857 \
+ 6c1cafa3e8f0cd4a350d13b67392fffa \
+ 030bb550f916da315a02c7c58e0d1780 \
+ bf40ea349b4590534b640bf870e880bb \
+ f171106040b42fcbcdb3096e9352c799"
REQUIRES="nvidia-legacy340-kernel"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"
diff --git a/system/nvidia-legacy340-driver/nvidia-switch b/system/nvidia-legacy340-driver/nvidia-switch
index 02698af1dd458..9226a103bdffd 100644
--- a/system/nvidia-legacy340-driver/nvidia-switch
+++ b/system/nvidia-legacy340-driver/nvidia-switch
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2012-2015 Edward W. Koenig, Vancouver, WA, USA
+# Copyright 2012-2017 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is