all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34912] [PATCH] gnu: Add xl2tpd.
@ 2019-03-19  7:34 Tomáš Čech
  2019-03-22 21:44 ` bug#34912: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Tomáš Čech @ 2019-03-19  7:34 UTC (permalink / raw)
  To: 34912

* 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#34912: [PATCH] gnu: Add xl2tpd.
  2019-03-19  7:34 [bug#34912] [PATCH] gnu: Add xl2tpd Tomáš Čech
@ 2019-03-22 21:44 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-03-22 21:44 UTC (permalink / raw)
  To: Tomáš Čech; +Cc: 34912-done

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

Hi Tomáš,

Tomáš Čech <sleep_walker@gnu.org> skribis:

> * gnu/packages/vpn.scm (xl2tpd): New variable.

Applied with the changes below to placate ‘guix lint’.

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1009 bytes --]

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 88fd9e142d..e164d9aa4c 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -524,12 +524,14 @@ WireGuard support.")
     (name "xl2tpd")
     (version "1.3.13")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/xelerance/xl2tpd/archive/v"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/xelerance/xl2tpd")
+                    (commit (string-append "v" version))))
               (sha256
                (base32
-                "0xycsxwslvwxpiw994s8prp7riybxs1kcax4ci9jh3jd65zwcsp7"))))
+                "1nzkmhi9arwd4smhr07l0sssx46w48z0cblv7xcz25wg4hw86mcd"))
+              (file-name (string-append "xl2tpd-" version "-checkout"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags (list (string-append "DESTDIR=" %output)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-22 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-19  7:34 [bug#34912] [PATCH] gnu: Add xl2tpd Tomáš Čech
2019-03-22 21:44 ` bug#34912: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.