From: "Tomáš Čech" <sleep_walker@suse.cz>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: bind-utils: Add new variable.
Date: Fri, 13 Mar 2015 12:40:29 +0100 [thread overview]
Message-ID: <1426246829-21302-3-git-send-email-sleep_walker@suse.cz> (raw)
In-Reply-To: <1426246829-21302-1-git-send-email-sleep_walker@suse.cz>
* gnu/packages/dns.scm (bind-utils): New variable.
---
gnu/packages/dns.scm | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 59 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 86f5945..7420247 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -17,7 +17,13 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages dns)
- #:use-module (guix licenses)
+ #:use-module (gnu packages databases)
+ #:use-module (gnu packages gnutls)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages openssl)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages xml)
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -53,4 +59,55 @@ addresses to appear in the DNS with names configured either in each host or in
a central configuration file. Dnsmasq supports static and dynamic DHCP leases
and BOOTP/TFTP for network booting of diskless machines.")
;; Source files only say GPL2 and GPL3 are allowed.
- (license (list gpl2 gpl3))))
+ (license (list license:gpl2 license:gpl3))))
+
+(define-public bind-utils
+ (package
+ (name "bind-utils")
+ (version "9.10.1-P2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "ftp://ftp.isc.org/isc/bind9/" version
+ "/bind-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1svzia5vv0s4bv6r04j8bsvlf3klwyigmdz1iwb4fqds00iyvp22"))))
+ (build-system gnu-build-system)
+ (inputs
+ ;; it would be nice to add GeoIP and gssapi once there is package
+ `(("libcap" ,libcap)
+ ("libxml2" ,libxml2)
+ ("mysql" ,mysql)
+ ("openssl" ,openssl)
+ ("perl" ,perl)
+ ("p11-kit" ,p11-kit)))
+ (arguments
+ `(#:tests? #f ; no test phase implemented
+ #:configure-flags
+ (list (string-append "--with-openssl="
+ (assoc-ref %build-inputs "openssl"))
+ (string-append "--with-dlz-mysql="
+ (assoc-ref %build-inputs "mysql"))
+ (string-append "--with-pkcs11="
+ (assoc-ref %build-inputs "p11-kit")))
+ #:phases
+ (alist-replace
+ 'build
+ (lambda _
+ (system* "make" "-C" "lib/dns")
+ (system* "make" "-C" "lib/isc")
+ (system* "make" "-C" "lib/bind9")
+ (system* "make" "-C" "lib/isccfg")
+ (system* "make" "-C" "lib/lwres")
+ (system* "make" "-C" "bin/dig"))
+ (alist-replace
+ 'install
+ (lambda _ (system* "make" "-C" "bin/dig" "install"))
+ %standard-phases))))
+ (home-page "https://www.isc.org/downloads/bind/")
+ (synopsis "Tools for quering nameserver")
+ (description
+ "ISC referrence implementation of nameserver - Bind comes with set of tools
+for quering nameservers. These tools are useful for analysis of DNS issues or
+verification of configuration")
+ (license (list license:isc))))
--
2.2.1
next prev parent reply other threads:[~2015-03-13 11:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 11:40 rename of dnsmasq module to dns, adding bind-utils Tomáš Čech
2015-03-13 11:40 ` [PATCH 1/2] gnu: Rename module dnsmasq to dns Tomáš Čech
2015-03-14 14:06 ` Ludovic Courtès
2015-03-13 11:40 ` Tomáš Čech [this message]
2015-03-13 22:47 ` [PATCH 2/2] gnu: bind-utils: Add new variable Mark H Weaver
2015-03-13 11:49 ` rename of dnsmasq module to dns, adding bind-utils David Thompson
2015-03-13 12:46 ` Tomáš Čech
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=1426246829-21302-3-git-send-email-sleep_walker@suse.cz \
--to=sleep_walker@suse.cz \
--cc=guix-devel@gnu.org \
/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.