From: Kei Kebreau <kei@openmailbox.org>
To: Marius Bakke <mbakke@fastmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper.
Date: Sat, 26 Nov 2016 21:28:04 -0500 [thread overview]
Message-ID: <87k2bpejwr.fsf@openmailbox.org> (raw)
In-Reply-To: <20161126153032.27807-1-mbakke@fastmail.com> (Marius Bakke's message of "Sat, 26 Nov 2016 16:30:31 +0100")
[-- 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 --]
next prev parent reply other threads:[~2016-11-27 2:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2016-11-27 10:29 ` [PATCH 1/2] gnu: Add dnscrypt-wrapper 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2bpejwr.fsf@openmailbox.org \
--to=kei@openmailbox.org \
--cc=guix-devel@gnu.org \
--cc=mbakke@fastmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.