unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add openvpn.
@ 2015-05-07 12:26 David Thompson
  2015-05-07 12:34 ` Andreas Enge
  2015-05-07 13:08 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: David Thompson @ 2015-05-07 12:26 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-openvpn.patch --]
[-- Type: text/x-diff, Size: 2280 bytes --]

From acf049424f1c9bf9484bc473c85f9b3efb925dc8 Mon Sep 17 00:00:00 2001
From: David Thompson <davet@gnu.org>
Date: Wed, 6 May 2015 15:08:47 -0400
Subject: [PATCH] gnu: Add openvpn.

* gnu/packages/networking (openvpn): New variable.
---
 gnu/packages/networking.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index b9125af..e3a155a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -22,7 +22,9 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
-  #:use-module (gnu packages openssl))
+  #:use-module (gnu packages openssl)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages linux))
 
 ;; XXX: Group with other networking tools like tcpdump in a module?
 (define-public socat
@@ -77,3 +79,33 @@ asynchronous message queues, multiple messaging patterns, message
 filtering (subscriptions), seamless access to multiple transport protocols and
 more.")
     (license license:lgpl3+)))
+
+(define-public openvpn
+  (package
+    (name "openvpn")
+    (version "2.3.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://swupdate.openvpn.org/community/releases/openvpn-"
+                    version ".tar.xz"))
+              (sha256
+               (base32
+                "1v8h2nshxnvn2zyr08vzkfby1kc7ma6bi0s6hix389cj9krjxbmd"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--enable-iproute2=yes")))
+    (native-inputs
+     `(("iproute2" ,iproute)))
+    (inputs
+     `(("lzo" ,lzo)
+       ("openssl" ,openssl)
+       ("linux-pam" ,linux-pam)))
+    (home-page "https://openvpn.net/")
+    (synopsis "Virtual private network daemon")
+    (description "OpenVPN implements virtual private network (VPN) techniques
+for creating secure point-to-point or site-to-site connections in routed or
+bridged configurations and remote access facilities.  It uses a custom
+security protocol that utilizes SSL/TLS for key exchange.  It is capable of
+traversing network address translators (NATs) and firewalls. ")
+    (license license:gpl2)))
-- 
2.1.4


[-- Attachment #2: Type: text/plain, Size: 136 bytes --]


-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* Re: [PATCH] gnu: Add openvpn.
  2015-05-07 12:26 [PATCH] gnu: Add openvpn David Thompson
@ 2015-05-07 12:34 ` Andreas Enge
  2015-05-07 13:08 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2015-05-07 12:34 UTC (permalink / raw)
  To: David Thompson; +Cc: guix-devel

On Thu, May 07, 2015 at 08:26:16AM -0400, David Thompson wrote:
> Subject: [PATCH] gnu: Add openvpn.

There is already a module vpn.scm, where this could go.

Andreas

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

* Re: [PATCH] gnu: Add openvpn.
  2015-05-07 12:26 [PATCH] gnu: Add openvpn David Thompson
  2015-05-07 12:34 ` Andreas Enge
@ 2015-05-07 13:08 ` Ludovic Courtès
  2015-05-07 14:55   ` David Thompson
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-05-07 13:08 UTC (permalink / raw)
  To: David Thompson; +Cc: guix-devel

David Thompson <dthompson2@worcester.edu> skribis:

> From acf049424f1c9bf9484bc473c85f9b3efb925dc8 Mon Sep 17 00:00:00 2001
> From: David Thompson <davet@gnu.org>
> Date: Wed, 6 May 2015 15:08:47 -0400
> Subject: [PATCH] gnu: Add openvpn.
>
> * gnu/packages/networking (openvpn): New variable.

This should go to vpn.scm, but otherwise LGTM.

Thanks,
Ludo’.

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

* Re: [PATCH] gnu: Add openvpn.
  2015-05-07 13:08 ` Ludovic Courtès
@ 2015-05-07 14:55   ` David Thompson
  0 siblings, 0 replies; 4+ messages in thread
From: David Thompson @ 2015-05-07 14:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès <ludo@gnu.org> writes:

> David Thompson <dthompson2@worcester.edu> skribis:
>
>> From acf049424f1c9bf9484bc473c85f9b3efb925dc8 Mon Sep 17 00:00:00 2001
>> From: David Thompson <davet@gnu.org>
>> Date: Wed, 6 May 2015 15:08:47 -0400
>> Subject: [PATCH] gnu: Add openvpn.
>>
>> * gnu/packages/networking (openvpn): New variable.
>
> This should go to vpn.scm, but otherwise LGTM.

Oops, didn't notice that module.  I also noticed a typo in the commit
log.  Fixed and pushed!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

end of thread, other threads:[~2015-05-07 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-07 12:26 [PATCH] gnu: Add openvpn David Thompson
2015-05-07 12:34 ` Andreas Enge
2015-05-07 13:08 ` Ludovic Courtès
2015-05-07 14:55   ` David Thompson

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).