[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: knot: Update to 2.5.1.
From: |
Tobias Geerinckx-Rice |
Subject: |
10/10: gnu: knot: Update to 2.5.1. |
Date: |
Wed, 21 Jun 2017 16:03:03 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit c7d0444a68ae0961e82d2d2bf9a57bf897de913d
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Jun 9 21:57:53 2017 +0200
gnu: knot: Update to 2.5.1.
* gnu/packages/dns.scm (knot): Update to 2.5.1.
[inputs]: Add python-2 and python2-lmdb.
[arguments]: Adapt #:configure-flags. Add ‘wrap-python-scripts’ phase.
---
gnu/packages/dns.scm | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index a8d1aed..0fc8fc7 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -486,14 +486,14 @@ Extensions} (DNSSEC).")
(define-public knot
(package
(name "knot")
- (version "2.4.4")
+ (version "2.5.1")
(source (origin
(method url-fetch)
(uri (string-append "https://secure.nic.cz/files/knot-dns/"
name "-" version ".tar.xz"))
(sha256
(base32
- "0g2n5r2n03bqz322xlwdw4bqhj8l4n8q0hzrqngi4rgmk4rp97ly"))
+ "1643q2pj5sjhgv19jp8r2bhvqyk6mmlajdmr6qhjcbhql30cs23c"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -518,7 +518,11 @@ Extensions} (DNSSEC).")
("liburcu" ,liburcu)
("lmdb" ,lmdb)
("ncurses" ,ncurses)
- ("nettle" ,nettle)))
+ ("nettle" ,nettle)
+
+ ;; For ‘pykeymgr’, needed to migrate keys from versions <= 2.4.
+ ("python" ,python-2)
+ ("python-lmdb" ,python2-lmdb)))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -535,11 +539,18 @@ Extensions} (DNSSEC).")
(zero?
(system* "make"
(string-append "config_dir=" etc)
- "install"))))))
+ "install")))))
+ (add-after 'install 'wrap-python-scripts
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (path (getenv "PYTHONPATH")))
+ (wrap-program (string-append out "/sbin/pykeymgr")
+ `("PYTHONPATH" ":" prefix (,path))))
+ #t)))
#:configure-flags
(list "--sysconfdir=/etc"
"--localstatedir=/var"
- "--enable-rosedb" ; serve static records from a database
+ "--with-module-rosedb=yes" ; serve static records from a database
(string-append "--with-bash-completions="
(assoc-ref %outputs "out")
"/etc/bash_completion.d"))))
- branch master updated (7641266 -> c7d0444), Tobias Geerinckx-Rice, 2017/06/21
- 03/10: gnu: python-hacking: Update to 0.13.0., Tobias Geerinckx-Rice, 2017/06/21
- 06/10: gnu: cracklib: Fix up description., Tobias Geerinckx-Rice, 2017/06/21
- 04/10: gnu: Remove unused python-flake8-2.2.4., Tobias Geerinckx-Rice, 2017/06/21
- 01/10: gnu: python-vobject: Update to 0.9.4.1., Tobias Geerinckx-Rice, 2017/06/21
- 02/10: gnu: python-eventlet: Skip failing test phase., Tobias Geerinckx-Rice, 2017/06/21
- 05/10: gnu: libpwquality: Update to 1.4.0., Tobias Geerinckx-Rice, 2017/06/21
- 08/10: gnu: lmdb: Expand description., Tobias Geerinckx-Rice, 2017/06/21
- 10/10: gnu: knot: Update to 2.5.1.,
Tobias Geerinckx-Rice <=
- 09/10: gnu: Add python-lmdb., Tobias Geerinckx-Rice, 2017/06/21
- 07/10: gnu: python-pycodestyle: Update to 2.3.1., Tobias Geerinckx-Rice, 2017/06/21