From patchwork Thu Apr 23 12:34:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 21435 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 23AC127BBE4; Thu, 23 Apr 2020 13:36:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D9DD127BBE1 for ; Thu, 23 Apr 2020 13:36:30 +0100 (BST) Received: from localhost ([::1]:42458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRb5g-0000Nh-IW for patchwork@mira.cbaines.net; Thu, 23 Apr 2020 08:36:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57310) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRb5G-0008Up-PG for guix-patches@gnu.org; Thu, 23 Apr 2020 08:36:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRb5G-00056K-6P for guix-patches@gnu.org; Thu, 23 Apr 2020 08:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRb5F-000568-QX for guix-patches@gnu.org; Thu, 23 Apr 2020 08:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRb5F-0002Ly-Mq for guix-patches@gnu.org; Thu, 23 Apr 2020 08:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40683] [PATCH v2] gnu: Add wireguard-linux-module. References: <20200417155855.6210-1-brice@waegenei.re> In-Reply-To: <20200417155855.6210-1-brice@waegenei.re> Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Apr 2020 12:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40683 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40683@debbugs.gnu.org Cc: me@tobias.gr Received: via spool by 40683-submit@debbugs.gnu.org id=B40683.15876453178989 (code B ref 40683); Thu, 23 Apr 2020 12:36:01 +0000 Received: (at 40683) by debbugs.gnu.org; 23 Apr 2020 12:35:17 +0000 Received: from localhost ([127.0.0.1]:54208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRb4W-0002Kv-Qv for submit@debbugs.gnu.org; Thu, 23 Apr 2020 08:35:17 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:35323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRb4U-0002Kg-MD for 40683@debbugs.gnu.org; Thu, 23 Apr 2020 08:35:15 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPSA id AF7A1100013; Thu, 23 Apr 2020 12:35:07 +0000 (UTC) From: Brice Waegeneire Date: Thu, 23 Apr 2020 14:34:57 +0200 Message-Id: <20200423123457.23843-1-brice@waegenei.re> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vpn.scm (wireguard-linux-module): New variable. --- Rename wireguard-module to wireguard-linux-module and remove documentation from the description. gnu/packages/vpn.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 739522959c..be600524f5 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2019, 2020 Leo Famulari ;;; Copyright © 2019 Rutger Helling ;;; Copyright © 2019 Ricardo Wurmus +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,6 +35,7 @@ #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system linux-module) #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -496,6 +498,24 @@ The peer-to-peer VPN implements a Layer 2 (Ethernet) network between the peers kernel versions 3.10 through 5.5. WireGuard was added to Linux 5.6.") (license license:gpl2))) +(define-public wireguard-linux-module + (package + (inherit wireguard-linux-compat) + (name "wireguard-linux-module") + (build-system linux-module-build-system) + (arguments + `(#:tests? #f ; No test suite + #:phases + (modify-phases %standard-phases + (add-before 'build 'change-directory + (lambda _ + (chdir "./src") + #t))))) + (synopsis "WireGuard loadable kernel module for Linux 3.10 through 5.5") + (description "This is a loadable Linux kernel module for WireGuard +supporting kernel versions 3.10 through 5.5. WireGuard was added to Linux +5.6."))) + (define-public wireguard-tools (package (name "wireguard-tools")