* [PATCH] gnu: Add iodine.
@ 2016-04-04 3:20 Tobias Geerinckx-Rice
2016-04-04 3:34 ` Tobias Geerinckx-Rice
2016-04-05 20:08 ` Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2016-04-04 3:20 UTC (permalink / raw)
To: guix-devel
* gnu/packages/networking.scm (iodine): New variable.
---
Hullo,
Here's another nice-to-have package for those who like to do weird stuff.
Not much else to say, besides ‘wow, that is one ugly regex.’
Kind regards,
T G-R
gnu/packages/networking.scm | 43 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index ac7e4e7..17f55ad 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2016 Raimon Grau <raimonster@gmail.com>
+;;; Copyright © 2016 Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,7 +27,10 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages tls)
- #:use-module (gnu packages ncurses))
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages compression))
(define-public miredo
(package
@@ -210,3 +214,40 @@ bandwidth usage in real time. It visualizes the in- and outgoing traffic using
two graphs and provides additional info like total amount of transfered data
and min/max network usage.")
(license license:gpl2+)))
+
+(define-public iodine
+ (package
+ (name "iodine")
+ (version "0.7.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://code.kryo.se/" name "/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'check 'delete-failing-tests
+ ;; Avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802105
+ (lambda _
+ (substitute* "tests/common.c"
+ (("tcase_add_test\\(tc, test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);")
+ "")))))
+ #:make-flags (list "CC=gcc"
+ (string-append "prefix=" (assoc-ref %outputs "out")))
+ #:test-target "test"))
+ (inputs `(("zlib" ,zlib)))
+ (native-inputs `(("check" ,check)
+ ("pkg-config" ,pkg-config)))
+ (home-page "http://code.kryo.se/iodine/")
+ (synopsis "Tunnel IPv4 data through a DNS server")
+ (description "Iodine tunnels IPv4 data through a DNS server. This
+can be useful in different situations where internet access is firewalled, but
+DNS queries are allowed. The bandwidth is asymmetrical, with limited upstream
+and up to 1 Mbit/s downstream.")
+ ;; src/md5.[ch] is released under the zlib license
+ (license (list license:isc license:zlib))))
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add iodine.
2016-04-04 3:20 [PATCH] gnu: Add iodine Tobias Geerinckx-Rice
@ 2016-04-04 3:34 ` Tobias Geerinckx-Rice
2016-04-05 20:08 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2016-04-04 3:34 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: guix-devel
On 04/04/16 05:20, Tobias Geerinckx-Rice wrote:> *
gnu/packages/networking.scm (iodine): New variable.
If anyone (else) thinks the description might be a little short: here
are some more fragments from the README that might be good to include.
Note: server and client are required to speak the exact same
protocol. In most cases, this means running the same iodine version.
To use this tunnel, you need control over a real domain (like
mydomain.com), and a server with a public IP address to run iodined
on.
Regards,
T G-R
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add iodine.
2016-04-04 3:20 [PATCH] gnu: Add iodine Tobias Geerinckx-Rice
2016-04-04 3:34 ` Tobias Geerinckx-Rice
@ 2016-04-05 20:08 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-04-05 20:08 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: guix-devel
Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> skribis:
> * gnu/packages/networking.scm (iodine): New variable.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-05 20:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 3:20 [PATCH] gnu: Add iodine Tobias Geerinckx-Rice
2016-04-04 3:34 ` Tobias Geerinckx-Rice
2016-04-05 20:08 ` Ludovic Courtès
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).