diff options
author | greenbagels | 2016-04-18 23:26:12 -0400 |
---|---|---|
committer | greenbagels | 2016-04-18 23:26:12 -0400 |
commit | 18579d313aa377b88fb2c42508ca0ee7bcfc71cc (patch) | |
tree | d6f8fe0d7b5d41d9e26a7f836e14487a0f073405 | |
parent | 720bb44cc457808d89551eeccc57d599e7bc306a (diff) | |
download | aur-18579d313aa377b88fb2c42508ca0ee7bcfc71cc.tar.gz |
Update for driver version 364.16
Some notable remarks:
>Still uses patch version 364.12 (since we're lucky to even have the
PaX team helping out like that, I'm not complaining).
>Temporarily changed the source locations for the driver (see the
nvidia-utils PKGBUILD for more info on that)
>Changed some variable definitions to hard-coded strings (patch mismatch)
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 24 insertions, 17 deletions
@@ -1,5 +1,5 @@ pkgbase = nvidia-grsec - pkgver = 364.12 + pkgver = 364.16 pkgrel = 1 url = http://www.nvidia.com/ install = nvidia-grsec.install @@ -7,27 +7,27 @@ pkgbase = nvidia-grsec arch = x86_64 license = custom makedepends = nvidia-libgl - makedepends = nvidia-utils=364.12 + makedepends = nvidia-utils=364.16 makedepends = linux-grsec makedepends = linux-grsec-headers>=4.4 makedepends = linux-grsec-headers<4.5 options = !strip source = https://www.grsecurity.net/~paxguy1/nvidia-drivers-364.12-pax.patch - source_i686 = http://us.download.nvidia.com/XFree86/Linux-x86/364.12/NVIDIA-Linux-x86-364.12.run - source_x86_64 = http://us.download.nvidia.com/XFree86/Linux-x86_64/364.12/NVIDIA-Linux-x86_64-364,12-no-compat32.run + source_i686 = NVIDIA-Linux-x86-${pkgver}.run::https://developer.nvidia.com/linux32bit + source_x86_64 = NVIDIA-Linux-x86_64-${pkgver}.run::https://developer.nvidia.com/linux64bit sha512sums = a83c264564850d5e31d5673ec332f5a55f95ebdd07415a72bd702e635bca1d4b5a5d30531be89376e2846fee46e273620e0001dd4381cc3b41127e4764901f27 - sha512sums_i686 = 649950ec37ec02bc18d4a976d97b7a2b803cbddd31ff34fd3b6e3540e50267b27e1873133fce78634a9b6e86b4378a7230d19a9d5f9df4cd64a026d11b48bb3f - sha512sums_x86_64 = 6577ce8846a79b4b667b82473923dfd0ac20269662c7885bae4dd042128f4eaa3daeaf8ffecea8eda346e36d8b10b1308ba266f9cf69fb82ff3b154f6c6d2769 + sha512sums_i686 = 6878c7552eda31c0ea8092dfd5050611f15c1d94a778e945fdc1190860ad13878308323bf6b0f420002b5322adb7d5b545bf69c5336c9cacf16030b799e0ca67 + sha512sums_x86_64 = a937f736f90e3bf9f9b1539be58445d2b7957a7bad2ab6babf9c04bf550e81990d1358e0b0bda3de537500584073500d260da9dfb909701bdffb268ca3db62da pkgname = nvidia-grsec pkgdesc = NVIDIA drivers for linux-grsec kernel depends = linux>=4.4 depends = linux<4.5 - depends = nvidia-utils=364.12 + depends = nvidia-utils=364.16 depends = libgl pkgname = nvidia-grsec-dkms pkgdesc = NVIDIA driver sources for linux-grsec kernel depends = dkms - depends = nvidia-utils=364.12 + depends = nvidia-utils=364.16 depends = libgl @@ -6,7 +6,7 @@ pkgbase=nvidia-grsec pkgname=(nvidia-grsec nvidia-grsec-dkms) -pkgver=364.12 +pkgver=364.16 _extramodules=extramodules-4.4.6-grsec pkgrel=1 pkgdesc="NVIDIA drivers for linux-grsec kernel" @@ -15,21 +15,28 @@ url="http://www.nvidia.com/" makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux-grsec' 'linux-grsec-headers>=4.4' 'linux-grsec-headers<4.5') license=('custom') options=(!strip) -source=("https://www.grsecurity.net/~paxguy1/nvidia-drivers-${pkgver}-pax.patch") -source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run") -source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") -sha512sums=('83c264564850d5e31d5673ec332f5a55f95ebdd07415a72bd702e635bca1d4b5a5d30531be89376e2846fee46e273620e0001dd4381cc3b41127e4764901f27') -sha512sums_i686=('649950ec37ec02bc18d4a976d97b7a2b803cbddd31ff34fd3b6e3540e50267b27e1873133fce78634a9b6e86b4378a7230d19a9d5f9df4cd64a026d11b48bb3f') -sha512sums_x86_64=('6577ce8846a79b4b667b82473923dfd0ac20269662c7885bae4dd042128f4eaa3daeaf8ffecea8eda346e36d8b10b1308ba266f9cf69fb82ff3b154f6c6d2769') +#source=("https://www.grsecurity.net/~paxguy1/nvidia-drivers-${pkgver}-pax.patch") +#364.16 patch not on the website, and no errors reported (as of this change) with this patch +source=("https://www.grsecurity.net/~paxguy1/nvidia-drivers-364.12-pax.patch") +# Temporarily changed as the scripts aren't in the main FTP yet, see package nvidia-utils for more details +#source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run") +#source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") +source_i686=("NVIDIA-Linux-x86-${pkgver}.run::https://developer.nvidia.com/linux32bit") +source_x86_64=("NVIDIA-Linux-x86_64-${pkgver}.run::https://developer.nvidia.com/linux64bit") +sha512sums=('a83c264564850d5e31d5673ec332f5a55f95ebdd07415a72bd702e635bca1d4b5a5d30531be89376e2846fee46e273620e0001dd4381cc3b41127e4764901f27') +sha512sums_i686=('6878c7552eda31c0ea8092dfd5050611f15c1d94a778e945fdc1190860ad13878308323bf6b0f420002b5322adb7d5b545bf69c5336c9cacf16030b799e0ca67') +sha512sums_x86_64=('a937f736f90e3bf9f9b1539be58445d2b7957a7bad2ab6babf9c04bf550e81990d1358e0b0bda3de537500584073500d260da9dfb909701bdffb268ca3db62da') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" -[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}" prepare() { sh "${_pkg}.run" --extract-only cd "${_pkg}" # patches here - patch -Np1 -i "../nvidia-drivers-${pkgver}-pax.patch" + # change this when the patch comes back to the same version as the driver + # patch -Np1 -i "../nvidia-drivers-${pkgver}-pax.patch" + patch -Np1 -i "../nvidia-drivers-364.12-pax.patch" cp -a kernel kernel-dkms cd kernel-dkms |