From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH 1/2] gnu: Add dnscrypt-wrapper. Date: Sat, 26 Nov 2016 21:28:04 -0500 Message-ID: <87k2bpejwr.fsf@openmailbox.org> References: <20161126153032.27807-1-mbakke@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cApCZ-0001Vk-G4 for guix-devel@gnu.org; Sat, 26 Nov 2016 21:28:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cApCV-00005c-R7 for guix-devel@gnu.org; Sat, 26 Nov 2016 21:28:23 -0500 Received: from smtp8.openmailbox.org ([62.4.1.42]:54758) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cApCV-00005P-Dy for guix-devel@gnu.org; Sat, 26 Nov 2016 21:28:19 -0500 In-Reply-To: <20161126153032.27807-1-mbakke@fastmail.com> (Marius Bakke's message of "Sat, 26 Nov 2016 16:30:31 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marius Bakke 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 =C2=A9 2016 John Darrington > ;;; Copyright =C2=A9 2016 ng0 > ;;; Copyright =C2=A9 2016 Tobias Geerinckx-Rice > +;;; Copyright =C2=A9 2016 Marius Bakke > ;;; > ;;; 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 n= ame BIND stands for > (home-page "https://www.isc.org/downloads/bind") > (license (list license:isc)))) >=20=20 > +(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.bz= 2")) > + (sha256 > + (base32 > + "1vhg4g0r687f51wcdn7z9w1hxapazx6vyh5rsr8wa48sljzd583g"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:make-flags '("CC=3Dgcc") > + ;; 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 unbundl= e. > + 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlg6RLQACgkQ5qXuPBlG eg2AJhAAvZjgkFiMhnkM+yelRVyhtAusmfV2KcG//RToZCwvwjhCZsbhNi2ZFjNR wz/WwxmRpZ8aqSQtle5o4gOrbvlr7N0SdqLxTAPdYQCI+JTDXaeXPRJY5ajHRl+2 w6mZuNhzr+EKgrzZOjAYU7reF11KLiQWZZymFyx9v25TM9rjKTxfTWwq/2Ne3MGt X0KQEKx0YKGYmgPTjmLxA+BxXWfzI9rwzAmDDyNsu9zdaJxPa5hF8T9zGqCMzprP +rSauJJjmFyClWKzuxewgJbHwcUQXFqotuL2ySKfBPWPtWyTP4gqv0H6/HLZGaXS b2mMjCUt6sDHtDfG+5KrQ81Fc0kaM5Ajvd4so8RMC+W26uh/EUxMED1cTBC6ukUz C8IwUDd/H8xbb50IiErKz7vu0Dx7NKRYKvKB9Co6s0pYnEBLOkbAtbR5v2kV4EAE 6YA3hgCRdTjr8xflAsVetjyjmjZMZN5rYabNNZaoSNJe076OfzQYxgxPeZ91m4cs ZtPUPAdL+muoyzDY7iv+eteoZFhboN9xQedWIU79Y+SfKNF3YXELtnHCqX3U3eyo xTbo0WDPH+p+p80kRTOs+1gMApCsBKulDNlf43qLb6xeOp/1MpboAZXirbXRQbui 2LyIPXgQIv0CnKrLnt6ZSpPjMfIdwWS06raZ/8nffG3/RVSNTvw= =ltmR -----END PGP SIGNATURE----- --=-=-=--