From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:60767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h69H8-00015o-Lu for guix-patches@gnu.org; Tue, 19 Mar 2019 03:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h69H6-0007ck-Sw for guix-patches@gnu.org; Tue, 19 Mar 2019 03:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h69H4-0007X0-1b for guix-patches@gnu.org; Tue, 19 Mar 2019 03:35:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h69H3-00007u-S5 for guix-patches@gnu.org; Tue, 19 Mar 2019 03:35:01 -0400 Subject: [bug#34912] [PATCH] gnu: Add xl2tpd. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:60507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h69GM-0000x0-P3 for guix-patches@gnu.org; Tue, 19 Mar 2019 03:34:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h69GM-00054Y-Jk for guix-patches@gnu.org; Tue, 19 Mar 2019 03:34:18 -0400 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Date: Tue, 19 Mar 2019 08:34:10 +0100 Message-Id: <20190319073410.4117-1-sleep_walker@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34912@debbugs.gnu.org * gnu/packages/vpn.scm (xl2tpd): New variable. --- gnu/packages/vpn.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 6475a738d..88fd9e142 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -35,6 +35,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages base) #:use-module (gnu packages check) #:use-module (gnu packages autotools) @@ -517,3 +518,29 @@ retrieving configuration of WireGuard network tunnel interfaces, and a patch that can be applied to a Linux kernel source tree in order to build it with WireGuard support.") (license license:gpl2))) + +(define-public xl2tpd + (package + (name "xl2tpd") + (version "1.3.13") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/xelerance/xl2tpd/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "0xycsxwslvwxpiw994s8prp7riybxs1kcax4ci9jh3jd65zwcsp7")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "DESTDIR=" %output) + "CC=gcc") + #:phases (modify-phases %standard-phases + (delete 'configure)) + #:tests? #f)) ;; no tests provided + (inputs `(("libpcap" ,libpcap))) + (home-page "https://www.xelerance.com/software/xl2tpd/") + (synopsis "Layer 2 Tunnelling Protocol Daemon (RFC 2661)") + (description + "xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). +L2TP allows you to tunnel PPP over UDP.") + (license license:gpl2))) -- 2.21.0