summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-04-04 05:20:38 +0200
committerLudovic Courtès <ludo@gnu.org>2016-04-05 23:24:34 +0200
commit998afc3608242b75051f43ece36d52474c51e285 (patch)
tree77bf68a3571a01c404f7955a865cb90ff1c1bf73 /gnu
parent53696f10c1cbcf2eace9bfb1837aa9b0860032db (diff)
gnu: Add iodine.
* gnu/packages/networking.scm (iodine): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/networking.scm44
1 files changed, 43 insertions, 1 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index ac7e4e70e67..a4f431a0b12 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4,6 +4,7 @@
4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> 4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
5;;; Copyright © 2015 Stefan Reichör <stefan@xsteve.at> 5;;; Copyright © 2015 Stefan Reichör <stefan@xsteve.at>
6;;; Copyright © 2016 Raimon Grau <raimonster@gmail.com> 6;;; Copyright © 2016 Raimon Grau <raimonster@gmail.com>
7;;; Copyright © 2016 Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
7;;; 8;;;
8;;; This file is part of GNU Guix. 9;;; This file is part of GNU Guix.
9;;; 10;;;
@@ -26,7 +27,10 @@
26 #:use-module (guix download) 27 #:use-module (guix download)
27 #:use-module (guix build-system gnu) 28 #:use-module (guix build-system gnu)
28 #:use-module (gnu packages tls) 29 #:use-module (gnu packages tls)
29 #:use-module (gnu packages ncurses)) 30 #:use-module (gnu packages ncurses)
31 #:use-module (gnu packages check)
32 #:use-module (gnu packages pkg-config)
33 #:use-module (gnu packages compression))
30 34
31(define-public miredo 35(define-public miredo
32 (package 36 (package
@@ -210,3 +214,41 @@ bandwidth usage in real time. It visualizes the in- and outgoing traffic using
210two graphs and provides additional info like total amount of transfered data 214two graphs and provides additional info like total amount of transfered data
211and min/max network usage.") 215and min/max network usage.")
212 (license license:gpl2+))) 216 (license license:gpl2+)))
217
218(define-public iodine
219 (package
220 (name "iodine")
221 (version "0.7.0")
222 (source (origin
223 (method url-fetch)
224 (uri (string-append "http://code.kryo.se/" name "/"
225 name "-" version ".tar.gz"))
226 (sha256
227 (base32
228 "0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd"))))
229 (build-system gnu-build-system)
230 (arguments
231 '(#:phases
232 (modify-phases %standard-phases
233 (delete 'configure)
234 (add-before 'check 'delete-failing-tests
235 ;; Avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802105
236 (lambda _
237 (substitute* "tests/common.c"
238 (("tcase_add_test\\(tc, \
239test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);")
240 "")))))
241 #:make-flags (list "CC=gcc"
242 (string-append "prefix=" (assoc-ref %outputs "out")))
243 #:test-target "test"))
244 (inputs `(("zlib" ,zlib)))
245 (native-inputs `(("check" ,check)
246 ("pkg-config" ,pkg-config)))
247 (home-page "http://code.kryo.se/iodine/")
248 (synopsis "Tunnel IPv4 data through a DNS server")
249 (description "Iodine tunnels IPv4 data through a DNS server. This
250can be useful in different situations where internet access is firewalled, but
251DNS queries are allowed. The bandwidth is asymmetrical, with limited upstream
252and up to 1 Mbit/s downstream.")
253 ;; src/md5.[ch] is released under the zlib license
254 (license (list license:isc license:zlib))))