diff options
-rw-r--r-- | packages/linux-kernel/Jenkinsfile | 4 | ||||
-rw-r--r-- | packages/linux-kernel/patches/wireguard-linux-compat/0001-Debian-build-wireguard-modules-package.patch (renamed from packages/linux-kernel/patches/wireguard-linux-compat/0001-Debian-build-WireGuard-module-package-instead-of-DKM.patch) | 32 |
2 files changed, 20 insertions, 16 deletions
diff --git a/packages/linux-kernel/Jenkinsfile b/packages/linux-kernel/Jenkinsfile index c2a89b48..1c660058 100644 --- a/packages/linux-kernel/Jenkinsfile +++ b/packages/linux-kernel/Jenkinsfile @@ -133,14 +133,14 @@ pipeline { checkout([$class: 'GitSCM', doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanCheckout']], - branches: [[name: 'debian/1.0.20200319-1_bpo10+1' ]], + branches: [[name: 'debian/1.0.20200513-1_bpo10+1' ]], userRemoteConfigs: [[credentialsId: 'GitHub-vyosbot', url: 'https://salsa.debian.org/debian/wireguard.git']]]) } dir(env.BASE_DIR + '/wireguard-linux-compat') { checkout([$class: 'GitSCM', doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanCheckout']], - branches: [[name: 'debian/1.0.20200429-2_bpo10+1' ]], + branches: [[name: 'debian/1.0.20200712-1_bpo10+1' ]], userRemoteConfigs: [[credentialsId: 'GitHub-vyosbot', url: 'https://salsa.debian.org/debian/wireguard-linux-compat.git']]]) } } diff --git a/packages/linux-kernel/patches/wireguard-linux-compat/0001-Debian-build-WireGuard-module-package-instead-of-DKM.patch b/packages/linux-kernel/patches/wireguard-linux-compat/0001-Debian-build-wireguard-modules-package.patch index 061d96c0..4b5e3b03 100644 --- a/packages/linux-kernel/patches/wireguard-linux-compat/0001-Debian-build-WireGuard-module-package-instead-of-DKM.patch +++ b/packages/linux-kernel/patches/wireguard-linux-compat/0001-Debian-build-wireguard-modules-package.patch @@ -1,21 +1,26 @@ -VyOS requires a pre build binary of the WireGuard package over a DKMS -build. Change the build rules to produce the binary over the source -package for DKMS. +From e5fa65c772eac4f577642038031da360f11e925c Mon Sep 17 00:00:00 2001 +From: Christian Poessinger <christian@poessinger.com> +Date: Sun, 30 Aug 2020 09:26:59 +0200 +Subject: [PATCH] Debian: build wireguard-modules package +VyOS requires a pre build binary of the WireGuard package over a DKMS build. +Change the build rules to produce the binary over the source package for DKMS. --- - debian/control | 8 ++------ - debian/rules | 9 ++++----- - 2 files changed, 6 insertions(+), 11 deletions(-) + debian/control | 10 +++------- + debian/rules | 9 ++++----- + 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/debian/control b/debian/control -index 7b2af41..ae02be3 100644 +index d65b8b5..e7be383 100644 --- a/debian/control +++ b/debian/control -@@ -6,14 +6,13 @@ Uploaders: +@@ -5,15 +5,14 @@ Maintainer: Daniel Kahn Gillmor <dkg@fifthhorseman.net> + Uploaders: Unit 193 <unit193@debian.org>, Build-Depends: - debhelper-compat (= 12), +- debhelper-compat (= 13), - dkms, ++ debhelper-compat (= 12) Standards-Version: 4.5.0 Homepage: https://www.wireguard.com Vcs-Git: https://salsa.debian.org/debian/wireguard-linux-compat.git -b debian/buster-backports @@ -27,16 +32,16 @@ index 7b2af41..ae02be3 100644 Architecture: all Section: kernel Depends: -@@ -23,7 +22,7 @@ Depends: +@@ -22,7 +21,7 @@ Depends: Recommends: wireguard (>= 0.0.20191219), wireguard-tools (>= 0.0.20191219), -Description: fast, modern, secure kernel VPN tunnel (DKMS version) -+Description: fast, modern, secure kernel VPN tunnel (Kernel Module) ++Description: fast, modern, secure kernel VPN tunnel (Kernel module) WireGuard is a novel VPN that runs inside the Linux Kernel and uses state-of-the-art cryptography (the "Noise" protocol). It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding -@@ -31,6 +30,3 @@ Description: fast, modern, secure kernel VPN tunnel (DKMS version) +@@ -30,6 +29,3 @@ Description: fast, modern, secure kernel VPN tunnel (DKMS version) than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. It runs over UDP. @@ -44,7 +49,7 @@ index 7b2af41..ae02be3 100644 - This package uses DKMS to automatically build the wireguard kernel - module. diff --git a/debian/rules b/debian/rules -index 4fbedc6..15ede39 100755 +index 4fbedc6..4d93243 100755 --- a/debian/rules +++ b/debian/rules @@ -6,12 +6,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -64,7 +69,6 @@ index 4fbedc6..15ede39 100755 - dh_dkms -p wireguard-dkms -- src/dkms.conf + $(MAKE) -C src module + echo "src/wireguard.ko /lib/modules/$(KERNEL_VERSION)/extra" > debian/wireguard-modules.install -\ No newline at end of file -- 2.20.1 |