[arch-commits] Commit in wireguard-dkms/repos/extra-x86_64 (3 files)

Jan Steffens heftig at archlinux.org
Tue Nov 10 15:14:54 UTC 2020


    Date: Tuesday, November 10, 2020 @ 15:14:54
  Author: heftig
Revision: 400069

archrelease: copy trunk to extra-x86_64

Added:
  wireguard-dkms/repos/extra-x86_64/PKGBUILD
    (from rev 400068, wireguard-dkms/trunk/PKGBUILD)
  wireguard-dkms/repos/extra-x86_64/lts.diff
    (from rev 400068, wireguard-dkms/trunk/lts.diff)
Deleted:
  wireguard-dkms/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   61 ++++++++++++++++++++++++++++++++++++-------------------------
 lts.diff |   12 ++++++++++++
 2 files changed, 48 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 15:14:39 UTC (rev 400068)
+++ PKGBUILD	2020-11-10 15:14:54 UTC (rev 400069)
@@ -1,25 +0,0 @@
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
-
-pkgname=wireguard-dkms
-pkgver=1.0.20200908
-pkgrel=1
-pkgdesc='next generation secure network tunnel - module sources'
-arch=('x86_64')
-url='https://www.wireguard.com/'
-license=('GPL')
-depends=('dkms')
-provides=('WIREGUARD-MODULE')
-validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <Jason at zx2c4.com>
-source=("https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${pkgver}.tar"{.xz,.asc})
-sha256sums=('ad33b2d2267a37e0f65c97e65e7d4d926d5aef7d530c251b63fbf919048eead9'
-            'SKIP')
-
-package() {
-	cd wireguard-linux-compat-${pkgver}/
-
-	make -C src/ \
-		DESTDIR="${pkgdir}/" \
-		DKMSDIR="/usr/src/wireguard-${pkgver}/" \
-		dkms-install
-}

Copied: wireguard-dkms/repos/extra-x86_64/PKGBUILD (from rev 400068, wireguard-dkms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-10 15:14:54 UTC (rev 400069)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
+
+pkgname=wireguard-dkms
+pkgver=1.0.20200908
+pkgrel=2
+pkgdesc='next generation secure network tunnel - module sources'
+arch=('x86_64')
+url='https://www.wireguard.com/'
+license=('GPL')
+depends=('dkms')
+provides=('WIREGUARD-MODULE')
+validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <Jason at zx2c4.com>
+source=("https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${pkgver}.tar"{.xz,.asc}
+        lts.diff)
+sha256sums=('ad33b2d2267a37e0f65c97e65e7d4d926d5aef7d530c251b63fbf919048eead9'
+            'SKIP'
+            '40512118e30e26486b94026caac3d4a35dd55cbd244472ec1adb91878f4c12b3')
+
+prepare() {
+	cd wireguard-linux-compat-${pkgver}/
+
+	# Fix build against linux-lts 5.4.76
+	patch -Np1 -i ../lts.diff
+}
+
+package() {
+	cd wireguard-linux-compat-${pkgver}/
+
+	make -C src/ \
+		DESTDIR="${pkgdir}/" \
+		DKMSDIR="/usr/src/wireguard-${pkgver}/" \
+		dkms-install
+}
+
+# vim:set noet sw=0:

Copied: wireguard-dkms/repos/extra-x86_64/lts.diff (from rev 400068, wireguard-dkms/trunk/lts.diff)
===================================================================
--- lts.diff	                        (rev 0)
+++ lts.diff	2020-11-10 15:14:54 UTC (rev 400069)
@@ -0,0 +1,12 @@
+diff -u -r wireguard-linux-compat-1.0.20200908/src/compat/compat-asm.h wireguard-linux-compat-1.0.20200908-lts/src/compat/compat-asm.h
+--- wireguard-linux-compat-1.0.20200908/src/compat/compat-asm.h	2020-09-08 16:22:40.000000000 +0000
++++ wireguard-linux-compat-1.0.20200908-lts/src/compat/compat-asm.h	2020-11-10 15:05:43.720093522 +0000
+@@ -40,7 +40,7 @@
+ #undef pull
+ #endif
+ 
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 76)
+ #define SYM_FUNC_START ENTRY
+ #define SYM_FUNC_END ENDPROC
+ #endif



More information about the arch-commits mailing list