summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-10-15 22:14:22 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-11 12:18:16 -0500
commit0d56844268c93620445dbedb01fd2e7992e78c0e (patch)
treebf8ab34af6b375219968ab2c59b86b6503266aaf
parent30266441045873a30a9443670c607f955e858505 (diff)
gnu: heimdal: Fix build.
* gnu/packages/kerberos.scm (heimdal): Remove trailing #t. [inputs]: Add mit-krb5. Add bash-minimal inconditionally. [native-inputs]: Add perl inconditionally.
-rw-r--r--gnu/packages/kerberos.scm21
1 files changed, 7 insertions, 14 deletions
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm
index 2d315988a7..dc05c710a6 100644
--- a/gnu/packages/kerberos.scm
+++ b/gnu/packages/kerberos.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
@@ -186,8 +186,7 @@ After installation, the system administrator should generate keys using
(substitute* "configure"
(("User=.*$") "User=Guix\n")
(("Host=.*$") "Host=GNU")
- (("Date=.*$") "Date=2019\n"))
- #t))))
+ (("Date=.*$") "Date=2019\n"))))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -252,8 +251,7 @@ After installation, the system administrator should generate keys using
(("/bin/sh") (which "sh"))))
'((substitute* '("appl/afsutil/pagsh.c"
"tools/Makefile.in")
- (("/bin/sh") (which "sh")))
- #t))))
+ (("/bin/sh") (which "sh")))))))
(add-before 'check 'pre-check
(lambda _
;; For 'getxxyyy-test'.
@@ -263,23 +261,18 @@ After installation, the system administrator should generate keys using
;; FIXME: figure out why 'kdc' tests fail.
(with-output-to-file "tests/db/have-db.in"
(lambda ()
- (format #t "#!~a~%exit 1~%" (which "sh"))))
- #t)))
+ (format #t "#!~a~%exit 1~%" (which "sh")))))))
;; Tests fail when run in parallel.
#:parallel-tests? #f))
(native-inputs `(("e2fsprogs" ,e2fsprogs) ;for 'compile_et'
("texinfo" ,texinfo)
("unzip" ,unzip) ;for tests
- ,@(if (%current-target-system)
- `(("perl" ,perl))
- '())))
+ ("perl" ,perl)))
(inputs `(("readline" ,readline)
- ;; TODO(core-updates): Make this input unconditional.
- ,@(if (%current-target-system)
- `(("bash-minimal" ,bash-minimal))
- '())
+ ("bash-minimal" ,bash-minimal)
("bdb" ,bdb)
("e2fsprogs" ,e2fsprogs) ;for libcom_err
+ ("mit-krb5" ,mit-krb5)
("sqlite" ,sqlite)))
(home-page "http://www.h5l.org/")
(synopsis "Kerberos 5 network authentication")