[xorg-x11-drv-nvidia] Update to 384.90 release
by Leigh Scott
commit d2473045aa297ed1b9710fedbb7282258ff0c955
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Sep 22 00:04:19 2017 +0100
Update to 384.90 release
sources | 6 +++---
xorg-x11-drv-nvidia.spec | 7 +++++--
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/sources b/sources
index 17f7cb8..776a8eb 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-378d45f17c6af7165c5afbf0ab2a11c0 NVIDIA-Linux-armv7l-gnueabihf-384.59.run
-8d2a2049d0509875c5dc0d9a0275aee4 NVIDIA-Linux-x86-384.59.run
-0f42f6706da80d32574371c8a0894e60 NVIDIA-Linux-x86_64-384.59.run
+63c1a05869f138dace61e9fd7f493d61 NVIDIA-Linux-armv7l-gnueabihf-384.90.run
+9423e4bdef7745c7b57a75c24f853b53 NVIDIA-Linux-x86-384.90.run
+487f9702d76d9eebea5b73b33fe4d602 NVIDIA-Linux-x86_64-384.90.run
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index f7e3c37..cdb91af 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -36,8 +36,8 @@
Name: xorg-x11-drv-nvidia
Epoch: 2
-Version: 384.59
-Release: 5%{?dist}
+Version: 384.90
+Release: 1%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -634,6 +634,9 @@ fi ||:
%{_libdir}/libnvidia-encode.so
%changelog
+* Thu Sep 21 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 2:384.90-1
+- Update to 384.90 release
+
* Thu Aug 17 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 2:384.59-5
- Enable modeset by default for F27+
- Ensure the correct selinux context it set
7 years
[nvidia-persistenced] Initial import
by Nicolas Chauvet
commit 8b8d1f814602cf97d6a71ea268d45ecfdb98355a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Sep 21 21:44:48 2017 +0200
Initial import
.gitignore | 1 +
nvidia-persistenced.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 79 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8ae0e38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+nvidia-persistenced-*.tar.gz
diff --git a/nvidia-persistenced.spec b/nvidia-persistenced.spec
new file mode 100644
index 0000000..3dbd63e
--- /dev/null
+++ b/nvidia-persistenced.spec
@@ -0,0 +1,77 @@
+Name: nvidia-persistenced
+Version: 384.59
+Release: 1%{?dist}
+Summary: Daemon for maintaining persistent driver state
+
+License: MIT and GPLv2+
+URL: https://github.com/NVIDIA/nvidia-persistenced
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+ExclusiveArch: x86_64 i686 armv7hl aarch64 ppc64le
+
+BuildRequires: m4
+
+Buildrequires: systemd
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+A daemon for maintaining persistent driver state,
+specifically for use by the NVIDIA Linux driver.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS="%{optflags}"
+export LDFLAGS="%{?__global_ldflags}"
+%make_build \
+ NVDEBUG=1 \
+ NV_VERBOSE=1 \
+ STRIP_CMD=true NV_KEEP_UNSTRIPPED_BINARIES=1 \
+ X_LDFLAGS="-L%{_libdir}" \
+ CC_ONLY_CFLAGS="%{optflags}"
+(cd _out/Linux_*/ ; cp %{name}.unstripped %{name} ; cd -)
+
+
+%install
+%make_install NV_VERBOSE=1 PREFIX=%{_prefix}
+
+#Install the initscript
+mkdir -p %{buildroot}%{_unitdir}
+install -pm 0644 init/systemd/%{name}.service.template \
+ %{buildroot}%{_unitdir}/%{name}.service
+#Change the daemon running owner
+sed -i -e "s/__USER__/root/" %{buildroot}%{_unitdir}/%{name}.service
+
+#Fix perm
+chmod -x %{buildroot}%{_mandir}/man1/%{name}.1.*
+
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%postun
+%systemd_postun %{name}.service
+
+
+%files
+%doc README
+%license COPYING
+%{_unitdir}/%{name}.service
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.*
+
+
+%changelog
+* Thu Aug 03 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 384.59-1
+- Update to 384.59
+
+* Thu Jun 27 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 319.32-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..4951428 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+93f13c1a548d41df824c8e18de8c51a2 nvidia-persistenced-384.59.tar.gz
7 years
[VirtualBox-kmod/f27] (3 commits) ...Add fixes for kernel 4.14
by Sérgio M. Basto
Summary of changes:
ecac1f7... Tempory disable broken dep of buildsys-build-rpmfusion-kern (*)
f915f54... Reenable buildsys-build-rpmfusion-kerneldevpkgs-current (*)
c70cbdf... Add fixes for kernel 4.14 (*)
(*) This commit already existed in another branch; no separate mail sent
7 years
[VirtualBox-kmod] Add fixes for kernel 4.14
by Sérgio M. Basto
commit c70cbdf2940b00c291cdb09328a123ae5046df8c
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Sep 21 16:22:49 2017 +0100
Add fixes for kernel 4.14
VirtualBox-kmod.spec | 7 ++++++-
fixes_for_4.14.patch | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 0239156..f2e08d3 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -29,7 +29,7 @@
Name: VirtualBox-kmod
Version: 5.1.28
#Release: 1%%{?prerel:.%%{prerel}}%%{?dist}
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Kernel module for VirtualBox
Group: System Environment/Kernel
@@ -37,6 +37,7 @@ License: GPLv2 or CDDL
URL: http://www.virtualbox.org/wiki/VirtualBox
# This filters out the XEN kernel, since we don't run on XEN
Source1: VirtualBox-kmod-excludekernel-filter.txt
+Patch1: fixes_for_4.14.patch
%global AkmodsBuildRequires %{_bindir}/kmodtool, VirtualBox-kmodsrc >= %{version}%{vboxreltag}, xz, time
BuildRequires: %{AkmodsBuildRequires}
@@ -59,6 +60,7 @@ Kernel module for VirtualBox
%prep
%setup -T -c
tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{version}.tar.xz
+%patch1 -p1 -b .kernel_4.14
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
@@ -107,6 +109,9 @@ DIRS=$(ls %{name}-%{version} |wc -l)
%changelog
+* Thu Sep 21 2017 Sérgio Basto <sergio(a)serjux.com> - 5.1.28-4
+- Add fixes for kernel 4.14
+
* Sat Sep 16 2017 Sérgio Basto <sergio(a)serjux.com> - 5.1.28-3
- Reenable buildsys-build-rpmfusion-kerneldevpkgs-current
diff --git a/fixes_for_4.14.patch b/fixes_for_4.14.patch
new file mode 100644
index 0000000..e352bcb
--- /dev/null
+++ b/fixes_for_4.14.patch
@@ -0,0 +1,50 @@
+Index: VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+===================================================================
+--- ./VirtualBox-kmod-5.1.28/vboxpci/linux/VBoxPci-linux.c.orig
++++ ./VirtualBox-kmod-5.1.28/vboxpci/linux/VBoxPci-linux.c
+@@ -353,12 +353,17 @@ static void vboxPciFileClose(struct fil
+ static int vboxPciFileWrite(struct file* file, unsigned long long offset, unsigned char* data, unsigned int size)
+ {
+ int ret;
++# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
++
++ ret = kernel_write(file, data, size, &offset);
++#else
+ mm_segment_t fs_save;
+
+ fs_save = get_fs();
+ set_fs(get_ds());
+ ret = vfs_write(file, data, size, &offset);
+ set_fs(fs_save);
++#endif
+ if (ret < 0)
+ printk(KERN_DEBUG "vboxPciFileWrite: error %d\n", ret);
+
+Index: VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+===================================================================
+--- ./VirtualBox-kmod-5.1.28/vboxnetflt/linux/VBoxNetFlt-linux.c
++++ ./VirtualBox-kmod-5.1.28/vboxnetflt/linux/VBoxNetFlt-linux.c
+@@ -124,6 +124,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
+ # define bstats stats
+ # define qstats stats
+ # endif
++#endif
++
++# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
++#define SKB_GSO_UDP 0
+ #endif
+
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
+@@ -722,9 +726,11 @@ static struct sk_buff *vboxNetFltLinuxSk
+ case PDMNETWORKGSOTYPE_IPV4_TCP:
+ fGsoType = SKB_GSO_TCPV4;
+ break;
++# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
+ case PDMNETWORKGSOTYPE_IPV4_UDP:
+ fGsoType = SKB_GSO_UDP;
+ break;
++#endif
+ case PDMNETWORKGSOTYPE_IPV6_TCP:
+ fGsoType = SKB_GSO_TCPV6;
+ break;
+
7 years