summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-06-15 03:56:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-06-15 05:56:44 +0000
commit2ecfd9abbaa316e93cf494811b62ac5a5a653ded (patch)
tree41f2d5189386163e9976ef249e5414c50a28b05e
parentAdding upstream version 340.102. (diff)
downloadnvidia-legacy-340xx-kernel-modules-2ecfd9abbaa316e93cf494811b62ac5a5a653ded.zip
nvidia-legacy-340xx-kernel-modules-2ecfd9abbaa316e93cf494811b62ac5a5a653ded.tar.xz
Adding progress-linux version 340.102+4.9.0-3+0dschinn1.HEADprogress-linux/340.102+4.9.0-3+0dschinn1progress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control180
-rw-r--r--debian/control.binary.in33
-rw-r--r--debian/control.source.in14
-rw-r--r--debian/copyright25
-rwxr-xr-xdebian/rules80
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/local-options1
9 files changed, 340 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e6184e6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nvidia-legacy-340xx-kernel-modules (340.102+4.9.0-3+0dschinn1) dschinn-extras; urgency=low
+
+ * Initial upload to dschinn-extras.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 15 Jun 2017 05:55:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c160219
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,180 @@
+Source: nvidia-legacy-340xx-kernel-modules
+Section: restricted/kernel
+Priority: optional
+Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
+XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org>
+Bugs: mailto:maintainers@lists.progress-linux.org
+Build-Depends:
+ debhelper (>= 10),
+ linux-headers-4.9.0-3-all-amd64 [amd64],
+ linux-headers-4.9.0-3-all-i386 [i386],
+ nvidia-legacy-340xx-kernel-dkms (>= 340.102),
+Standards-Version: 3.9.8
+Homepage: https://www.nvidia.com
+Vcs-Browser: https://sources.progress-linux.org/distributions/dschinn-extras/packages/nvidia-legacy-340xx-kernel-modules
+Vcs-Git: https://sources.progress-linux.org/distributions/dschinn-extras/packages/nvidia-legacy-340xx-kernel-modules
+
+Package: nvidia-legacy-340xx-kernel-modules-amd64
+Section: restricted/kernel
+Architecture: amd64
+Depends:
+ nvidia-legacy-340xx-kernel-modules-4.9.0-3-amd64,
+ ${misc:Depends},
+Description: NVIDIA binary kernel module - amd64 kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package depends on the current version of the modules for the
+ amd64 kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-4.9.0-3-amd64
+Section: restricted/kernel
+Architecture: amd64
+Depends:
+ linux-image-4.9.0-3-amd64,
+ ${misc:Depends},
+Provides:
+ nvidia-legacy-340xx-kernel-340.102,
+Enhances:
+ xserver-xorg-video-nvidia-legacy-340xx,
+Built-Using:
+ ${built-using},
+Description: NVIDIA binary kernel module - amd64 kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package contains the modules for the amd64 kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-rt-amd64
+Section: restricted/kernel
+Architecture: amd64
+Depends:
+ nvidia-legacy-340xx-kernel-modules-4.9.0-3-rt-amd64,
+ ${misc:Depends},
+Description: NVIDIA binary kernel module - rt-amd64 kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package depends on the current version of the modules for the
+ rt-amd64 kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-4.9.0-3-rt-amd64
+Section: restricted/kernel
+Architecture: amd64
+Depends:
+ linux-image-4.9.0-3-rt-amd64,
+ ${misc:Depends},
+Provides:
+ nvidia-legacy-340xx-kernel-340.102,
+Enhances:
+ xserver-xorg-video-nvidia-legacy-340xx,
+Built-Using:
+ ${built-using},
+Description: NVIDIA binary kernel module - rt-amd64 kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package contains the modules for the rt-amd64 kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-686
+Section: restricted/kernel
+Architecture: i386
+Depends:
+ nvidia-legacy-340xx-kernel-modules-4.9.0-3-686,
+ ${misc:Depends},
+Description: NVIDIA binary kernel module - 686 kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package depends on the current version of the modules for the
+ 686 kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-4.9.0-3-686
+Section: restricted/kernel
+Architecture: i386
+Depends:
+ linux-image-4.9.0-3-686,
+ ${misc:Depends},
+Provides:
+ nvidia-legacy-340xx-kernel-340.102,
+Enhances:
+ xserver-xorg-video-nvidia-legacy-340xx,
+Built-Using:
+ ${built-using},
+Description: NVIDIA binary kernel module - 686 kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package contains the modules for the 686 kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-686-pae
+Section: restricted/kernel
+Architecture: i386
+Depends:
+ nvidia-legacy-340xx-kernel-modules-4.9.0-3-686-pae,
+ ${misc:Depends},
+Description: NVIDIA binary kernel module - 686-pae kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package depends on the current version of the modules for the
+ 686-pae kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-4.9.0-3-686-pae
+Section: restricted/kernel
+Architecture: i386
+Depends:
+ linux-image-4.9.0-3-686-pae,
+ ${misc:Depends},
+Provides:
+ nvidia-legacy-340xx-kernel-340.102,
+Enhances:
+ xserver-xorg-video-nvidia-legacy-340xx,
+Built-Using:
+ ${built-using},
+Description: NVIDIA binary kernel module - 686-pae kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package contains the modules for the 686-pae kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-rt-686-pae
+Section: restricted/kernel
+Architecture: i386
+Depends:
+ nvidia-legacy-340xx-kernel-modules-4.9.0-3-rt-686-pae,
+ ${misc:Depends},
+Description: NVIDIA binary kernel module - rt-686-pae kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package depends on the current version of the modules for the
+ rt-686-pae kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-4.9.0-3-rt-686-pae
+Section: restricted/kernel
+Architecture: i386
+Depends:
+ linux-image-4.9.0-3-rt-686-pae,
+ ${misc:Depends},
+Provides:
+ nvidia-legacy-340xx-kernel-340.102,
+Enhances:
+ xserver-xorg-video-nvidia-legacy-340xx,
+Built-Using:
+ ${built-using},
+Description: NVIDIA binary kernel module - rt-686-pae kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package contains the modules for the rt-686-pae kernel flavour.
diff --git a/debian/control.binary.in b/debian/control.binary.in
new file mode 100644
index 0000000..0d7f9cd
--- /dev/null
+++ b/debian/control.binary.in
@@ -0,0 +1,33 @@
+
+Package: nvidia-legacy-340xx-kernel-modules-@LINUX_IMAGE_FLAVOUR@
+Section: restricted/kernel
+Architecture: @ARCHITECTURE@
+Depends:
+ nvidia-legacy-340xx-kernel-modules-@LINUX_IMAGE_ABI@-@LINUX_IMAGE_FLAVOUR@,
+ ${misc:Depends},
+Description: NVIDIA binary kernel module - @LINUX_IMAGE_FLAVOUR@ kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package depends on the current version of the modules for the
+ @LINUX_IMAGE_FLAVOUR@ kernel flavour.
+
+Package: nvidia-legacy-340xx-kernel-modules-@LINUX_IMAGE_ABI@-@LINUX_IMAGE_FLAVOUR@
+Section: restricted/kernel
+Architecture: @ARCHITECTURE@
+Depends:
+ linux-image-@LINUX_IMAGE_ABI@-@LINUX_IMAGE_FLAVOUR@,
+ ${misc:Depends},
+Provides:
+ nvidia-legacy-340xx-kernel-@MODULE_VERSION@,
+Enhances:
+ xserver-xorg-video-nvidia-legacy-340xx,
+Built-Using:
+ ${built-using},
+Description: NVIDIA binary kernel module - @LINUX_IMAGE_FLAVOUR@ kernel modules
+ The NVIDIA binary driver provides optimized hardware acceleration of
+ OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
+ for graphics cards using NVIDIA chip sets.
+ .
+ This package contains the modules for the @LINUX_IMAGE_FLAVOUR@ kernel flavour.
diff --git a/debian/control.source.in b/debian/control.source.in
new file mode 100644
index 0000000..3db169c
--- /dev/null
+++ b/debian/control.source.in
@@ -0,0 +1,14 @@
+Source: nvidia-legacy-340xx-kernel-modules
+Section: restricted/kernel
+Priority: optional
+Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
+XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org>
+Bugs: mailto:maintainers@lists.progress-linux.org
+Build-Depends:
+ debhelper (>= 10),
+ @LINUX_HEADERS@,
+ nvidia-legacy-340xx-kernel-dkms (>= @MODULE_VERSION@),
+Standards-Version: 3.9.8
+Homepage: https://www.nvidia.com
+Vcs-Browser: https://sources.progress-linux.org/distributions/dschinn-extras/packages/nvidia-legacy-340xx-kernel-modules
+Vcs-Git: https://sources.progress-linux.org/distributions/dschinn-extras/packages/nvidia-legacy-340xx-kernel-modules
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7bb9a4c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: NVIDIA legacy 340xx Kernel Modules
+Upstream-Contact: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
+Source: https://archive-master.progress-linux.org/files/distributions/dschinn-extras/packages/nvidia-legacy-340xx-kernel-modules
+
+Files: debian/*
+Copyright: 2010-2017 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-3 file.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4544a64
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+SHELL := sh -e
+
+# nvidia-legacy-340xx-kernel
+MODULE_PACKAGE := nvidia-legacy-340xx-kernel
+MODULE_DKMS := /usr/src/nvidia-legacy-340xx-340.102
+MODULE_VERSION := 340.102
+
+# linux
+ARCHITECTURES := amd64 i386
+LINUX_IMAGE_ABI := 4.9.0-3
+LINUX_IMAGE_FLAVOURS_AMD64 := amd64 rt-amd64
+LINUX_IMAGE_FLAVOURS_I386 := 686 686-pae rt-686-pae
+LINUX_HEADERS := $(foreach ARCHITECTURE,$(ARCHITECTURES),linux-headers-$(LINUX_IMAGE_ABI)-all-$(ARCHITECTURE) [$(ARCHITECTURE)],)
+
+ifeq ($(DEB_BUILD_ARCH),amd64)
+ LINUX_IMAGE_FLAVOURS=$(LINUX_IMAGE_FLAVOURS_AMD64)
+endif
+ifeq ($(DEB_BUILD_ARCH),i386)
+ LINUX_IMAGE_FLAVOURS=$(LINUX_IMAGE_FLAVOURS_I386)
+endif
+
+debian/control: debian/control.*.in
+ sed -e "s|@LINUX_HEADERS@|$(LINUX_HEADERS)|g" \
+ -e "s|@MODULE_VERSION@|$(MODULE_VERSION)|g" \
+ -e "s|], |],\n |g" \
+ -e "s|],,|],|g" \
+ debian/control.source.in > debian/control
+
+ for ARCHITECTURE in $(ARCHITECTURES); \
+ do \
+ case "$${ARCHITECTURE}" in \
+ amd64) LINUX_IMAGE_FLAVOURS="$(LINUX_IMAGE_FLAVOURS_AMD64)" ;; \
+ i386) LINUX_IMAGE_FLAVOURS="$(LINUX_IMAGE_FLAVOURS_I386)" ;; \
+ esac; \
+ for LINUX_IMAGE_FLAVOUR in $${LINUX_IMAGE_FLAVOURS}; \
+ do \
+ sed -e "s|@ARCHITECTURE@|$${ARCHITECTURE}|g" \
+ -e "s|@LINUX_IMAGE_FLAVOUR@|$${LINUX_IMAGE_FLAVOUR}|g" \
+ -e "s|@LINUX_IMAGE_ABI@|$(LINUX_IMAGE_ABI)|g" \
+ -e "s|@MODULE_VERSION@|$(MODULE_VERSION)|g" \
+ debian/control.binary.in >> debian/control; \
+ done; \
+ done
+
+%:
+ dh ${@}
+
+override_dh_auto_build:
+ for LINUX_IMAGE_FLAVOUR in $(LINUX_IMAGE_FLAVOURS); \
+ do \
+ mkdir -p build; \
+ cp -a $(MODULE_DKMS) build/$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR}; \
+ cd $(CURDIR)/build/$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR} && \
+ unset ARCH; env CCACHE_DISABLE=1 NV_VERBOSE=1 make modules KERNEL_UNAME=$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR}; \
+ unset ARCH; env CCACHE_DISABLE=1 NV_VERBOSE=1 make -C uvm modules KERNEL_UNAME=$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR} KKBUILD_EXTMOD=$(CURDIR)/build/$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR}/uvm; \
+ cd -; \
+ done
+
+override_dh_auto_clean:
+ dh_auto_clean
+
+ rm -rf build
+
+override_dh_auto_install:
+ for LINUX_IMAGE_FLAVOUR in $(LINUX_IMAGE_FLAVOURS); \
+ do \
+ cd $(CURDIR)/build/$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR} && \
+ $(MAKE) -C /lib/modules/$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR}/build M=$(CURDIR)/build/$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR} modules_install INSTALL_MOD_PATH=$(CURDIR)/debian/$(MODULE_PACKAGE)-modules-$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR} INSTALL_MOD_DIR=extra/$(MODULE_PACKAGE); \
+ for MODULE in $$(find $(CURDIR)/debian/$(MODULE_PACKAGE)-modules-$(LINUX_IMAGE_ABI)-$${LINUX_IMAGE_FLAVOUR} -name "*.ko"); \
+ do \
+ mv $${MODULE} $$(dirname $${MODULE})/$$(basename $${MODULE} | sed -e 's|nvidia|nvidia-legacy-340xx|'); \
+ done; \
+ done
+
+override_dh_gencontrol:
+ dh_gencontrol -- -Vbuilt-using="linux-headers-$(LINUX_IMAGE_ABI)-all-$(DEB_BUILD_ARCH) (= $$(dpkg-query --show --showformat='$${source:Version}' linux-headers-$(LINUX_IMAGE_ABI)-all-$(DEB_BUILD_ARCH))), $(MODULE_PACKAGE)-dkms (= $$(dpkg-query --show --showformat='$${source:Version}' $(MODULE_PACKAGE)-dkms))"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..2ee6f0f
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+abort-on-upstream-changes