Subject: Add dante

From: Arun Isaac <[email-masked]>
Date: Fri, 17 Aug 2018 21:29:52 +0530

Please find attached a patch adding dante, a SOCKS client and server.

>From 3da12958bbaa283fce15a51ac902ce66adeaeec0 Mon Sep 17 00:00:00 2001
From: Arun Isaac <[email-masked]>
Date: Fri, 9 Feb 2018 15:23:19 +0530
Subject: [PATCH] gnu: Add dante.
To: [email-masked]

* gnu/packages/networking.scm (dante): New variable.
---
 gnu/packages/networking.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 371a93566..16da879c3 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2016, 2017, 2018 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2016 Eric Bavier <[email-masked]>
 ;;; Copyright © 2016, 2017 Nils Gillmann <[email-masked]>
-;;; Copyright © 2016, 2017 Arun Isaac <[email-masked]>
+;;; Copyright © 2016, 2017, 2018 Arun Isaac <[email-masked]>
 ;;; Copyright © 2016 Benz Schenk <[email-masked]>
 ;;; Copyright © 2016, 2017 Pjotr Prins <[email-masked]>
 ;;; Copyright © 2017 Mathieu Othacehe <[email-masked]>
@@ -2177,3 +2177,25 @@ Convert the cap file to hccapx format and/or to WPA-PMKID-PBKDF2
 hashline (16800) with @command{hcxpcaptool} from the @code{hcxtools} package
 and check if the WLAN key or the master key was transmitted unencrypted.")
       (license license:expat))))
+
+(define-public dante
+  (package
+    (name "dante")
+    (version "1.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.inet.no/dante/files/dante-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "19rqzj167q73ag20zxpvswhkk0bj56r5maf83v5016sw7vrcz5sc"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.inet.no/dante/")
+    (synopsis "SOCKS server and client")
+    (description "Dante is a SOCKS client and server implementation.  It can
+be installed on a machine with access to an external TCP/IP network and will
+allow all other machines, without direct access to that network, to be relayed
+through the machine the Dante server is running on.  The external network will
+never see any machines other than the one Dante is running on.")
+    (license (license:non-copyleft "file://LICENSE"))))
-- 
2.18.0