From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: [PATCH] gnu: Add bind Date: Tue, 30 Aug 2016 18:36:04 +0200 Message-ID: <1472574964-16954-1-git-send-email-jmd@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bem1G-0001bP-MI for guix-devel@gnu.org; Tue, 30 Aug 2016 12:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bem1B-0005jT-RW for guix-devel@gnu.org; Tue, 30 Aug 2016 12:36:13 -0400 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: guix-devel@gnu.org Cc: John Darrington * gnu/packages/networking.scm (bind): New variable. --- gnu/packages/networking.scm | 46 +++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index bdcccce..7bb4a69 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2016 Eric Bavier ;;; Copyright =C2=A9 2016 ng0 ;;; Coypright =C2=A9 2016 Arun Isaac +;;; Coypright =C2=A9 2016 John Darrington ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,51 @@ #:use-module (gnu packages python) #:use-module (gnu packages tls)) =20 +(define-public bind + (package + (name "bind") + (version "9.10.4-P2") + (source (origin + (method url-fetch) + (uri (string-append + "ftp://ftp.isc.org/isc/bind9/" version "/" name "-" + version ".tar.gz")) + (sha256 + (base32 + "08s48h5p916ixjiwgar4w6skc20crmg7yj1y7g89c083zvw8lnxk"))= )) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list + (string-append "--with-openssl=3D" (assoc-ref %build-inputs "ope= nssl"))) + + #:phases + ;; When and if guix provides user namespaces for the build proces= s, + ;; then the following can be uncommented and the subsequent "forc= e-test" + ;; will not be necessary. + =20 + ;; (modify-phases %standard-phases + ;; (add-before 'check 'set-up-loopback + ;; (lambda _ + ;; (system "bin/tests/system/ifconfig.sh up")))) + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "make" "force-test"))))))) + (inputs + `(("openssl" ,openssl))) + (native-inputs `(("perl" ,perl) + ("net-tools" ,net-tools))) + (synopsis "An implementation of the Domain Name System") + (description "BIND is an implementation of the Domain Name System (D= NS) +protocols for the Internet. It is a reference implementation of those +protocols, but it is also production-grade software, suitable for use in +high-volume and high-reliability applications. The name BIND stands for +"Berkeley Internet Name Domain", because the software originated in the = early +1980s at the University of California at Berkeley.") + (home-page "https://www.isc.org/downloads/bind") + (license license:bsd-2))) + (define-public macchanger (package (name "macchanger") --=20 2.1.4