Bug#887559: jessie-pu: package nvidia-graphics-drivers/340.106-1

2018-01-17 Thread Andreas Beckmann
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@packages.debian.org
Usertags: pu

For meltdown/spectre mitigation, we need to update to a new upstream
version of the proprietary nvidia driver.
Packaging diff attached. This includes several improvements as well that
are needed to keep the packaging between the different driver versions
in sync.
As usual the Debian revision is -1 instead of -0+deb8u1 to avoid version
number explosion in nvidia-graphics-modules.

This driver version is available in sid in the
nvidia-graphics-drivers-legacy-340xx package (which will get a separate
update request for stretch).

A corresponding nvidia-graphics-drivers update for stretch is still
being prepared, since it involves several packages to be updated
because of a change of the major version: 375 -> 384.


Andreas
Index: debian/README.source
===
--- debian/README.source(.../tags/340.102-1)(revision 7819)
+++ debian/README.source(.../branches/340)  (revision 7819)
@@ -1,3 +1,17 @@
+Building "bleeding edge" from SVN for users
+
+As new upstream versions of the proprietary driver are released, upload
+might not happen immediately. This might be for various reasons, including
+waiting for new binary packages to clear the NEW queue.
+Users wishing to try to build new version locally can follow the
+instructions on the Debian wiki:
+
+
https://wiki.debian.org/NvidiaGraphicsDrivers#Building_newer_releases_from_SVN
+
+WARNING: these will most likely be work in progress, and the final upload
+may be different and may not support clean upgrades from/to the versions
+uploaded in the archive.
+
 Importing a New Upstream Release
 
 The *.orig.tar.gz file for nvidia-graphics-drivers contains just a
Index: debian/nvidia-kernel-source.README.Debian.in
===
--- debian/nvidia-kernel-source.README.Debian.in(.../tags/340.102-1)
(revision 7819)
+++ debian/nvidia-kernel-source.README.Debian.in(.../branches/340)  
(revision 7819)
@@ -178,7 +178,7 @@
 
 
 For any news on this package check
-http://bugs.debian.org/#NVIDIA#-kernel-source
+https://bugs.debian.org/#NVIDIA#-kernel-source
 
 
  -- Russ Allbery , Sat, 25 Sep 2010 23:30:28 -0700
Index: debian/build-module-packages.sh.in
===
--- debian/build-module-packages.sh.in  (.../tags/340.102-1)(revision 7819)
+++ debian/build-module-packages.sh.in  (.../branches/340)  (revision 7819)
@@ -4,16 +4,32 @@
 
 cd /usr/src
 
-kernels="$(ls -d1 /lib/modules/*/build 2>/dev/null | cut -d/ -f4)"
+kernels=
+slenrek=
+failed=
+for k in $(ls -dvr1 /lib/modules/*/build 2>/dev/null | cut -d/ -f4) ; do
+   case $k in
+   *)
+   kernels="$kernels $k"
+   slenrek="$k $slenrek"
+   ;;
+   esac
+done
 modules=#NVIDIA#-kernel
 
 module-assistant clean $modules
-module-assistant build --text-mode --force --kvers-list "$kernels" $modules
+for k in $kernels ; do
+   module-assistant build --text-mode --force --kvers-list "$k" $modules 
|| failed="$failed $k"
+done
 
-ls -l *.deb
+ls -l *.deb || true
 for m in $modules ; do
-   for k in $kernels ; do
+   for k in $slenrek ; do
echo "* ${m} ${k}:"
-   ls -l ${m}-${k}_*.deb
+   ls -l ${m}-${k}_*.deb || true
done
 done
+
+for k in $failed ; do
+   echo "$modules MODULE BUILD FAILED FOR $k"
+done
Index: debian/libnvidia-ml1.lintian-overrides
===
--- debian/libnvidia-ml1.lintian-overrides  (.../tags/340.102-1)
(revision 7819)
+++ debian/libnvidia-ml1.lintian-overrides  (.../branches/340)  
(revision 7819)
@@ -1,6 +1,7 @@
 # The NVIDIA license does not allow any form of modification.
 [i386 armhf]: binary-file-built-without-LFS-support
 [i386]: shlib-with-non-pic-code
+[amd64 i386]: spelling-error-in-binary
 hardening-no-bindnow
 hardening-no-fortify-functions
 hardening-no-relro
Index: debian/nvidia-libopencl1.lintian-overrides
===
--- debian/nvidia-libopencl1.lintian-overrides  (.../tags/340.102-1)
(revision 7819)
+++ debian/nvidia-libopencl1.lintian-overrides  (.../branches/340)  
(revision 7819)
@@ -11,7 +11,7 @@
 
 # The free libOpenCL.so.1 library is preferred.
 symbols-declares-dependency-on-other-package ocl-icd-libopencl1
-symbols-declares-dependency-on-other-package ocl-icd-libopencl1 (>= 1.0)
+symbols-declares-dependency-on-other-package ocl-icd-libopencl1 (>= *)
 
 # Package built with debhelper/jessie but checked with lintian/sid.
 maintscript-calls-ldconfig
Index: debian/copyright
===
--- debian

Bug#887559: jessie-pu: package nvidia-graphics-drivers/340.106-1

2018-04-17 Thread Andreas Beckmann
Followup-For: Bug #887559

Hi,

uploaded according to the new (O)PU instructions. Updated source debdiff
attached.


Andreas


ngd-340.106-1.diff.gz
Description: application/gzip


Bug#887559: jessie-pu: package nvidia-graphics-drivers/340.106-1

2018-04-30 Thread Adam D. Barratt
Control: tags -1 + pending

On Tue, 2018-04-17 at 13:19 +0200, Andreas Beckmann wrote:
> Followup-For: Bug #887559
> 
> Hi,
> 
> uploaded according to the new (O)PU instructions. Updated source
> debdiff
> attached.
> 

Flagged for acceptance.

Regards,

Adam