all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: Add dnscrypt-wrapper.
@ 2016-11-26 15:30 Marius Bakke
  2016-11-26 15:30 ` [PATCH 2/2] gnu: Add dnscrypt-proxy Marius Bakke
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Marius Bakke @ 2016-11-26 15:30 UTC (permalink / raw)
  To: guix-devel; +Cc: Marius Bakke

* gnu/packages/dns.scm (dnscrypt-wrapper): New variable.
---
 gnu/packages/dns.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index b49a0b7..0c8c547 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2016 John Darrington <jmd@gnu.org>
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,7 +27,9 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages groff)
+  #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -134,6 +137,45 @@ high-volume and high-reliability applications. The name BIND stands for
     (home-page "https://www.isc.org/downloads/bind")
     (license (list license:isc))))
 
+(define-public dnscrypt-wrapper
+  (package
+    (name "dnscrypt-wrapper")
+    (version "0.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/cofyc/dnscrypt-wrapper/releases"
+                    "/download/v" version "/" name "-v" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1vhg4g0r687f51wcdn7z9w1hxapazx6vyh5rsr8wa48sljzd583g"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags '("CC=gcc")
+       ;; TODO: Tests require ruby-cucumber and ruby-aruba.
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'create-configure
+           (lambda _
+             (zero? (system* "make" "configure")))))))
+    (native-inputs
+     `(("autoconf" ,autoconf)))
+    (inputs
+     `(("libevent" ,libevent)
+       ("libsodium" ,libsodium)))
+    (home-page "https://github.com/Cofyc/dnscrypt-wrapper")
+    (synopsis "Server-side dnscrypt proxy")
+    (description
+     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
+compliant name server.")
+    (license (list license:isc
+                   ;; Bundled argparse is MIT. TODO: package and unbundle.
+                   license:expat
+                   ;; dns-protocol.h and rfc1035.{c,h} is gpl2 or gpl3 (either).
+                   license:gpl2
+                   license:gpl3))))
+
 (define-public libasr
   (package
     (name "libasr")
-- 
2.10.2

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

* [PATCH 2/2] gnu: Add dnscrypt-proxy.
  2016-11-26 15:30 [PATCH 1/2] gnu: Add dnscrypt-wrapper Marius Bakke
@ 2016-11-26 15:30 ` Marius Bakke
  2016-11-27  2:28 ` [PATCH 1/2] gnu: Add dnscrypt-wrapper Kei Kebreau
  2016-11-27 22:57 ` Hartmut Goebel
  2 siblings, 0 replies; 10+ messages in thread
From: Marius Bakke @ 2016-11-26 15:30 UTC (permalink / raw)
  To: guix-devel; +Cc: Marius Bakke

* gnu/packages/dns.scm (dnscrypt-proxy): New variable.
---
 gnu/packages/dns.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 0c8c547..098667c 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -137,6 +137,57 @@ high-volume and high-reliability applications. The name BIND stands for
     (home-page "https://www.isc.org/downloads/bind")
     (license (list license:isc))))
 
+
+(define-public dnscrypt-proxy
+  (package
+    (name "dnscrypt-proxy")
+    (version "1.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://download.dnscrypt.org/dnscrypt-proxy/"
+                    "dnscrypt-proxy-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1qw2nib0d5ia8581lbdnjxgn9c7pf2qw8vhpnnh1wjcjj3gpgbqx"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Delete bundled libltdl. XXX: This package also bundles
+               ;; a modified libevent that cannot currently be removed.
+               '(delete-file-recursively "libltdl"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'autoreconf
+           (lambda _
+             ;; Re-generate build files due to unbundling ltdl.
+             ;; TODO: Prevent generating new libltdl and building it.
+             ;; The system version is still favored and referenced.
+             (zero? (system* "autoreconf" "-vif")))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("automake" ,automake)
+       ("autoconf" ,autoconf)
+       ("libtool" ,libtool)))
+    (inputs
+     `(("libltdl" ,libltdl)
+       ("libsodium" ,libsodium)))
+    (home-page "https://www.dnscrypt.org/")
+    (synopsis "Securely send DNS requests to a remote server")
+    (description
+     "@command{dnscrypt-proxy} is a tool for securing communications
+between a client and a DNS resolver.  It verifies that responses you get
+from a DNS provider was actually sent by that provider, and haven't been
+tampered with.  For optimal performance it is recommended to use this as
+a forwarder for a caching DNS resolver such as @command{dnsmasq}, but it
+can also be used as a normal DNS \"server\".  A list of public dnscrypt
+servers is included, and an up-to-date version is available at
+@url{https://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-resolvers.csv}.")
+    (license (list license:isc
+                   ;; Libevent and src/ext/queue.h is 3-clause BSD.
+                   license:bsd-3))))
+
 (define-public dnscrypt-wrapper
   (package
     (name "dnscrypt-wrapper")
-- 
2.10.2

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-26 15:30 [PATCH 1/2] gnu: Add dnscrypt-wrapper Marius Bakke
  2016-11-26 15:30 ` [PATCH 2/2] gnu: Add dnscrypt-proxy Marius Bakke
@ 2016-11-27  2:28 ` Kei Kebreau
  2016-11-27 10:29   ` Marius Bakke
  2016-11-27 22:57 ` Hartmut Goebel
  2 siblings, 1 reply; 10+ messages in thread
From: Kei Kebreau @ 2016-11-27  2:28 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

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

Marius Bakke <mbakke@fastmail.com> writes:

> * gnu/packages/dns.scm (dnscrypt-wrapper): New variable.
> ---
>  gnu/packages/dns.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>
> diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
> index b49a0b7..0c8c547 100644
> --- a/gnu/packages/dns.scm
> +++ b/gnu/packages/dns.scm
> @@ -6,6 +6,7 @@
>  ;;; Copyright © 2016 John Darrington <jmd@gnu.org>
>  ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>  ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
> +;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -26,7 +27,9 @@
>    #:use-module (gnu packages autotools)
>    #:use-module (gnu packages base)
>    #:use-module (gnu packages databases)
> +  #:use-module (gnu packages crypto)
>    #:use-module (gnu packages groff)
> +  #:use-module (gnu packages libevent)
>    #:use-module (gnu packages linux)
>    #:use-module (gnu packages perl)
>    #:use-module (gnu packages pkg-config)
> @@ -134,6 +137,45 @@ high-volume and high-reliability applications. The name BIND stands for
>      (home-page "https://www.isc.org/downloads/bind")
>      (license (list license:isc))))
>  
> +(define-public dnscrypt-wrapper
> +  (package
> +    (name "dnscrypt-wrapper")
> +    (version "0.2.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/cofyc/dnscrypt-wrapper/releases"
> +                    "/download/v" version "/" name "-v" version ".tar.bz2"))
> +              (sha256
> +               (base32
> +                "1vhg4g0r687f51wcdn7z9w1hxapazx6vyh5rsr8wa48sljzd583g"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:make-flags '("CC=gcc")
> +       ;; TODO: Tests require ruby-cucumber and ruby-aruba.
> +       #:tests? #f
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-before 'configure 'create-configure
> +           (lambda _
> +             (zero? (system* "make" "configure")))))))
> +    (native-inputs
> +     `(("autoconf" ,autoconf)))
> +    (inputs
> +     `(("libevent" ,libevent)
> +       ("libsodium" ,libsodium)))
> +    (home-page "https://github.com/Cofyc/dnscrypt-wrapper")
> +    (synopsis "Server-side dnscrypt proxy")
> +    (description
> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
> +compliant name server.")
> +    (license (list license:isc
> +                   ;; Bundled argparse is MIT. TODO: package and unbundle.
> +                   license:expat
> +                   ;; dns-protocol.h and rfc1035.{c,h} is gpl2 or gpl3 (either).
> +                   license:gpl2
> +                   license:gpl3))))
> +
>  (define-public libasr
>    (package
>      (name "libasr")

I'm not sure how to test the functionality of the software, but the
patch itself LGTM.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-27  2:28 ` [PATCH 1/2] gnu: Add dnscrypt-wrapper Kei Kebreau
@ 2016-11-27 10:29   ` Marius Bakke
  2016-11-27 16:24     ` Kei Kebreau
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2016-11-27 10:29 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: guix-devel

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

Kei Kebreau <kei@openmailbox.org> writes:

> Marius Bakke <mbakke@fastmail.com> writes:
>
>> * gnu/packages/dns.scm (dnscrypt-wrapper): New variable.
>> ---
>>  gnu/packages/dns.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 42 insertions(+)
>>
>> diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
>> index b49a0b7..0c8c547 100644
>> --- a/gnu/packages/dns.scm
>> +++ b/gnu/packages/dns.scm
>> @@ -6,6 +6,7 @@
>>  ;;; Copyright © 2016 John Darrington <jmd@gnu.org>
>>  ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>>  ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
>> +;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
>>  ;;;
>>  ;;; This file is part of GNU Guix.
>>  ;;;
>> @@ -26,7 +27,9 @@
>>    #:use-module (gnu packages autotools)
>>    #:use-module (gnu packages base)
>>    #:use-module (gnu packages databases)
>> +  #:use-module (gnu packages crypto)
>>    #:use-module (gnu packages groff)
>> +  #:use-module (gnu packages libevent)
>>    #:use-module (gnu packages linux)
>>    #:use-module (gnu packages perl)
>>    #:use-module (gnu packages pkg-config)
>> @@ -134,6 +137,45 @@ high-volume and high-reliability applications. The name BIND stands for
>>      (home-page "https://www.isc.org/downloads/bind")
>>      (license (list license:isc))))
>>  
>> +(define-public dnscrypt-wrapper
>> +  (package
>> +    (name "dnscrypt-wrapper")
>> +    (version "0.2.2")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append
>> +                    "https://github.com/cofyc/dnscrypt-wrapper/releases"
>> +                    "/download/v" version "/" name "-v" version ".tar.bz2"))
>> +              (sha256
>> +               (base32
>> +                "1vhg4g0r687f51wcdn7z9w1hxapazx6vyh5rsr8wa48sljzd583g"))))
>> +    (build-system gnu-build-system)
>> +    (arguments
>> +     `(#:make-flags '("CC=gcc")
>> +       ;; TODO: Tests require ruby-cucumber and ruby-aruba.
>> +       #:tests? #f
>> +       #:phases
>> +       (modify-phases %standard-phases
>> +         (add-before 'configure 'create-configure
>> +           (lambda _
>> +             (zero? (system* "make" "configure")))))))
>> +    (native-inputs
>> +     `(("autoconf" ,autoconf)))
>> +    (inputs
>> +     `(("libevent" ,libevent)
>> +       ("libsodium" ,libsodium)))
>> +    (home-page "https://github.com/Cofyc/dnscrypt-wrapper")
>> +    (synopsis "Server-side dnscrypt proxy")
>> +    (description
>> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
>> +compliant name server.")
>> +    (license (list license:isc
>> +                   ;; Bundled argparse is MIT. TODO: package and unbundle.
>> +                   license:expat
>> +                   ;; dns-protocol.h and rfc1035.{c,h} is gpl2 or gpl3 (either).
>> +                   license:gpl2
>> +                   license:gpl3))))
>> +
>>  (define-public libasr
>>    (package
>>      (name "libasr")
>
> I'm not sure how to test the functionality of the software, but the
> patch itself LGTM.

To test it, follow the steps in the README on a remote machine:

https://github.com/Cofyc/dnscrypt-wrapper#usage

..and set up dnscrypt-proxy on your local computer to talk to it. Then
add 'nameserver 127.0.0.1' to resolv.conf.

I'm currently using this to bypass a DNS filter, so I know it works ;-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-27 10:29   ` Marius Bakke
@ 2016-11-27 16:24     ` Kei Kebreau
  2016-11-27 20:29       ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Kei Kebreau @ 2016-11-27 16:24 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

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

Marius Bakke <mbakke@fastmail.com> writes:

> Kei Kebreau <kei@openmailbox.org> writes:
>
>> Marius Bakke <mbakke@fastmail.com> writes:
>>
>>> * gnu/packages/dns.scm (dnscrypt-wrapper): New variable.
>>> ---
>>>  gnu/packages/dns.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
>>>  1 file changed, 42 insertions(+)
>>>
>>> diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
>>> index b49a0b7..0c8c547 100644
>>> --- a/gnu/packages/dns.scm
>>> +++ b/gnu/packages/dns.scm
>>> @@ -6,6 +6,7 @@
>>>  ;;; Copyright © 2016 John Darrington <jmd@gnu.org>
>>>  ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>>>  ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
>>> +;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
>>>  ;;;
>>>  ;;; This file is part of GNU Guix.
>>>  ;;;
>>> @@ -26,7 +27,9 @@
>>>    #:use-module (gnu packages autotools)
>>>    #:use-module (gnu packages base)
>>>    #:use-module (gnu packages databases)
>>> +  #:use-module (gnu packages crypto)
>>>    #:use-module (gnu packages groff)
>>> +  #:use-module (gnu packages libevent)
>>>    #:use-module (gnu packages linux)
>>>    #:use-module (gnu packages perl)
>>>    #:use-module (gnu packages pkg-config)
>>> @@ -134,6 +137,45 @@ high-volume and high-reliability applications. The name BIND stands for
>>>      (home-page "https://www.isc.org/downloads/bind")
>>>      (license (list license:isc))))
>>>  
>>> +(define-public dnscrypt-wrapper
>>> +  (package
>>> +    (name "dnscrypt-wrapper")
>>> +    (version "0.2.2")
>>> +    (source (origin
>>> +              (method url-fetch)
>>> +              (uri (string-append
>>> +                    "https://github.com/cofyc/dnscrypt-wrapper/releases"
>>> +                    "/download/v" version "/" name "-v" version ".tar.bz2"))
>>> +              (sha256
>>> +               (base32
>>> +                "1vhg4g0r687f51wcdn7z9w1hxapazx6vyh5rsr8wa48sljzd583g"))))
>>> +    (build-system gnu-build-system)
>>> +    (arguments
>>> +     `(#:make-flags '("CC=gcc")
>>> +       ;; TODO: Tests require ruby-cucumber and ruby-aruba.
>>> +       #:tests? #f
>>> +       #:phases
>>> +       (modify-phases %standard-phases
>>> +         (add-before 'configure 'create-configure
>>> +           (lambda _
>>> +             (zero? (system* "make" "configure")))))))
>>> +    (native-inputs
>>> +     `(("autoconf" ,autoconf)))
>>> +    (inputs
>>> +     `(("libevent" ,libevent)
>>> +       ("libsodium" ,libsodium)))
>>> +    (home-page "https://github.com/Cofyc/dnscrypt-wrapper")
>>> +    (synopsis "Server-side dnscrypt proxy")
>>> +    (description
>>> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
>>> +compliant name server.")
>>> +    (license (list license:isc
>>> +                   ;; Bundled argparse is MIT. TODO: package and unbundle.
>>> +                   license:expat
>>> +                   ;; dns-protocol.h and rfc1035.{c,h} is gpl2 or gpl3 (either).
>>> +                   license:gpl2
>>> +                   license:gpl3))))
>>> +
>>>  (define-public libasr
>>>    (package
>>>      (name "libasr")
>>
>> I'm not sure how to test the functionality of the software, but the
>> patch itself LGTM.
>
> To test it, follow the steps in the README on a remote machine:
>
> https://github.com/Cofyc/dnscrypt-wrapper#usage
>
> ..and set up dnscrypt-proxy on your local computer to talk to it. Then
> add 'nameserver 127.0.0.1' to resolv.conf.
>
> I'm currently using this to bypass a DNS filter, so I know it works ;-)

Thanks for the instructions. This works for me! :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-27 16:24     ` Kei Kebreau
@ 2016-11-27 20:29       ` Marius Bakke
  0 siblings, 0 replies; 10+ messages in thread
From: Marius Bakke @ 2016-11-27 20:29 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: guix-devel

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

Kei Kebreau <kei@openmailbox.org> writes:

> Marius Bakke <mbakke@fastmail.com> writes:
>
>> Kei Kebreau <kei@openmailbox.org> writes:
>>
>>> Marius Bakke <mbakke@fastmail.com> writes:
>>>
>>>> * gnu/packages/dns.scm (dnscrypt-wrapper): New variable.
>>>> ---
>>>>  gnu/packages/dns.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
>>>>  1 file changed, 42 insertions(+)
>>>>
>>>> diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
>>>> index b49a0b7..0c8c547 100644
>>>> --- a/gnu/packages/dns.scm
>>>> +++ b/gnu/packages/dns.scm
>>>> @@ -6,6 +6,7 @@
>>>>  ;;; Copyright © 2016 John Darrington <jmd@gnu.org>
>>>>  ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>>>>  ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
>>>> +;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
>>>>  ;;;
>>>>  ;;; This file is part of GNU Guix.
>>>>  ;;;
>>>> @@ -26,7 +27,9 @@
>>>>    #:use-module (gnu packages autotools)
>>>>    #:use-module (gnu packages base)
>>>>    #:use-module (gnu packages databases)
>>>> +  #:use-module (gnu packages crypto)
>>>>    #:use-module (gnu packages groff)
>>>> +  #:use-module (gnu packages libevent)
>>>>    #:use-module (gnu packages linux)
>>>>    #:use-module (gnu packages perl)
>>>>    #:use-module (gnu packages pkg-config)
>>>> @@ -134,6 +137,45 @@ high-volume and high-reliability applications. The name BIND stands for
>>>>      (home-page "https://www.isc.org/downloads/bind")
>>>>      (license (list license:isc))))
>>>>  
>>>> +(define-public dnscrypt-wrapper
>>>> +  (package
>>>> +    (name "dnscrypt-wrapper")
>>>> +    (version "0.2.2")
>>>> +    (source (origin
>>>> +              (method url-fetch)
>>>> +              (uri (string-append
>>>> +                    "https://github.com/cofyc/dnscrypt-wrapper/releases"
>>>> +                    "/download/v" version "/" name "-v" version ".tar.bz2"))
>>>> +              (sha256
>>>> +               (base32
>>>> +                "1vhg4g0r687f51wcdn7z9w1hxapazx6vyh5rsr8wa48sljzd583g"))))
>>>> +    (build-system gnu-build-system)
>>>> +    (arguments
>>>> +     `(#:make-flags '("CC=gcc")
>>>> +       ;; TODO: Tests require ruby-cucumber and ruby-aruba.
>>>> +       #:tests? #f
>>>> +       #:phases
>>>> +       (modify-phases %standard-phases
>>>> +         (add-before 'configure 'create-configure
>>>> +           (lambda _
>>>> +             (zero? (system* "make" "configure")))))))
>>>> +    (native-inputs
>>>> +     `(("autoconf" ,autoconf)))
>>>> +    (inputs
>>>> +     `(("libevent" ,libevent)
>>>> +       ("libsodium" ,libsodium)))
>>>> +    (home-page "https://github.com/Cofyc/dnscrypt-wrapper")
>>>> +    (synopsis "Server-side dnscrypt proxy")
>>>> +    (description
>>>> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
>>>> +compliant name server.")
>>>> +    (license (list license:isc
>>>> +                   ;; Bundled argparse is MIT. TODO: package and unbundle.
>>>> +                   license:expat
>>>> +                   ;; dns-protocol.h and rfc1035.{c,h} is gpl2 or gpl3 (either).
>>>> +                   license:gpl2
>>>> +                   license:gpl3))))
>>>> +
>>>>  (define-public libasr
>>>>    (package
>>>>      (name "libasr")
>>>
>>> I'm not sure how to test the functionality of the software, but the
>>> patch itself LGTM.
>>
>> To test it, follow the steps in the README on a remote machine:
>>
>> https://github.com/Cofyc/dnscrypt-wrapper#usage
>>
>> ..and set up dnscrypt-proxy on your local computer to talk to it. Then
>> add 'nameserver 127.0.0.1' to resolv.conf.
>>
>> I'm currently using this to bypass a DNS filter, so I know it works ;-)
>
> Thanks for the instructions. This works for me! :)

Cool, thanks for testing. I'll commit these in a few days, unless some
autotools guru steps in and figures out how to skip the unnecessary
"libltdl" build in dnscrypt-proxy :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-26 15:30 [PATCH 1/2] gnu: Add dnscrypt-wrapper Marius Bakke
  2016-11-26 15:30 ` [PATCH 2/2] gnu: Add dnscrypt-proxy Marius Bakke
  2016-11-27  2:28 ` [PATCH 1/2] gnu: Add dnscrypt-wrapper Kei Kebreau
@ 2016-11-27 22:57 ` Hartmut Goebel
  2016-11-28  0:42   ` Marius Bakke
  2 siblings, 1 reply; 10+ messages in thread
From: Hartmut Goebel @ 2016-11-27 22:57 UTC (permalink / raw)
  To: guix-devel

Am 26.11.2016 um 16:30 schrieb Marius Bakke:
> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
> +compliant name server.")

I would appreciate if you could be a bit more verbose here. What it this
"dnscrypt" thing?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-27 22:57 ` Hartmut Goebel
@ 2016-11-28  0:42   ` Marius Bakke
  2016-11-28  1:17     ` ng0
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2016-11-28  0:42 UTC (permalink / raw)
  To: Hartmut Goebel, guix-devel

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

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Am 26.11.2016 um 16:30 schrieb Marius Bakke:
>> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
>> +compliant name server.")
>
> I would appreciate if you could be a bit more verbose here. What it this
> "dnscrypt" thing?

Thanks, you are right. I put all the effort into the dnscrypt-proxy
package. I've updated it to read:

"@command{dnscrypt-wrapper} is a tool to expose a name server over the
@code{dnscrypt} protocol.  It can be used as an endpoint for the
@command{dnscrypt-proxy} client to securely tunnel DNS requests between
the two."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-28  0:42   ` Marius Bakke
@ 2016-11-28  1:17     ` ng0
  2016-11-28  9:12       ` Hartmut Goebel
  0 siblings, 1 reply; 10+ messages in thread
From: ng0 @ 2016-11-28  1:17 UTC (permalink / raw)
  To: guix-devel

Marius Bakke <mbakke@fastmail.com> writes:

> Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
>
>> Am 26.11.2016 um 16:30 schrieb Marius Bakke:
>>> +     "Dnscrypt-wrapper can turn any DNS resolver into a @code{dnscrypt}
>>> +compliant name server.")
>>
>> I would appreciate if you could be a bit more verbose here. What it this
>> "dnscrypt" thing?
>
> Thanks, you are right. I put all the effort into the dnscrypt-proxy
> package. I've updated it to read:
>
> "@command{dnscrypt-wrapper} is a tool to expose a name server over the
> @code{dnscrypt} protocol.  It can be used as an endpoint for the
> @command{dnscrypt-proxy} client to securely tunnel DNS requests between
> the two."

This (second description) is clear enough in my opinion.  Whoever
sets up (and runs) an dns server knows what dnscrypt is, and
whoever wants to connect to an dnscrypt enabled dns server /
batch of servers already got provided with the details to do so.
This description gives enough details and words to look them up
for people not familar with the topic.

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

* Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
  2016-11-28  1:17     ` ng0
@ 2016-11-28  9:12       ` Hartmut Goebel
  0 siblings, 0 replies; 10+ messages in thread
From: Hartmut Goebel @ 2016-11-28  9:12 UTC (permalink / raw)
  To: guix-devel

Am 28.11.2016 um 02:17 schrieb ng0:
>> > "@command{dnscrypt-wrapper} is a tool to expose a name server over the
>> > @code{dnscrypt} protocol.  It can be used as an endpoint for the
>> > @command{dnscrypt-proxy} client to securely tunnel DNS requests between
>> > the two."
> This (second description) is clear enough in my opinion.  Whoever
+1 Thanks for the update

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

end of thread, other threads:[~2016-11-28  9:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-26 15:30 [PATCH 1/2] gnu: Add dnscrypt-wrapper Marius Bakke
2016-11-26 15:30 ` [PATCH 2/2] gnu: Add dnscrypt-proxy Marius Bakke
2016-11-27  2:28 ` [PATCH 1/2] gnu: Add dnscrypt-wrapper Kei Kebreau
2016-11-27 10:29   ` Marius Bakke
2016-11-27 16:24     ` Kei Kebreau
2016-11-27 20:29       ` Marius Bakke
2016-11-27 22:57 ` Hartmut Goebel
2016-11-28  0:42   ` Marius Bakke
2016-11-28  1:17     ` ng0
2016-11-28  9:12       ` Hartmut Goebel

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.