diff options
Diffstat (limited to 'gnu/packages/kerberos.scm')
-rw-r--r-- | gnu/packages/kerberos.scm | 119 |
1 files changed, 5 insertions, 114 deletions
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm index 5824950bf3..65512b17a8 100644 --- a/gnu/packages/kerberos.scm +++ b/gnu/packages/kerberos.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2012, 2013, 2025 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016, 2022 Efraim Flashner <efraim@flashner.co.il> @@ -7,10 +7,9 @@ ;;; Copyright © 2012, 2017 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> -;;; 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, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> ;;; @@ -50,7 +49,6 @@ #:use-module (gnu packages compression) #:use-module (gnu packages readline) #:use-module (gnu packages sqlite) - #:use-module (gnu packages tcl) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module ((guix licenses) #:prefix license:) @@ -63,7 +61,7 @@ (define-public mit-krb5 (package (name "mit-krb5") - (version "1.20") + (version "1.21") (source (origin (method url-fetch) (uri (list @@ -76,10 +74,10 @@ (patches (search-patches "mit-krb5-hurd.patch")) (sha256 (base32 - "0bz16sh0vgzlpy2kx5acmpyy181hl83a1alz7wbk06457kfjn0ky")))) + "0fx91rickkb5pvxm3imqmaavsncjkgcsrfx4czgk4j28hpzsmy39")))) (build-system gnu-build-system) (native-inputs - (list bison perl tcl)) ;required for some tests + (list bison perl)) ;required for some tests (inputs (list openssl)) (arguments @@ -170,110 +168,3 @@ secure manner through client-server mutual authentication via tickets. After installation, the system administrator should generate keys using @code{shisa -a /etc/shishi/shishi.keys}.") (license license:gpl3+))) - -(define-public heimdal - (package - (name "heimdal") - (version "7.8.0") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/heimdal/heimdal/releases/download/" - "heimdal-" version "/" "heimdal-" version ".tar.gz")) - (sha256 - (base32 - "0f4dblav859p5hn7b2jdj1akw6d8p32as6bj6zym19kghh3s51zx")) - (patches - (search-patches "heimdal-CVE-2022-45142.patch")))) - (build-system gnu-build-system) - (arguments - `(#:configure-flags - ,#~(list - ;; Avoid 7 MiB of .a files. - "--disable-static" - - ;; Do not build libedit. - (string-append - "--with-readline-lib=" - (assoc-ref %build-inputs "readline") "/lib") - (string-append - "--with-readline-include=" - (assoc-ref %build-inputs "readline") "/include") - - ;; Do not build sqlite. - (string-append - "--with-sqlite3=" - (assoc-ref %build-inputs "sqlite")) - - #$@(if (%current-target-system) - ;; The configure script is too pessimistic. - ;; Setting this also resolves a linking error. - #~("ac_cv_func_getpwnam_r_posix=yes" - ;; Allow 'slc' and 'asn1_compile' to be found. - (string-append "--with-cross-tools=" - #+(file-append this-package - "/libexec/heimdal"))) - #~())) - #:phases (modify-phases %standard-phases - ;; Skip the appl folder as obsolete per message from Brian May <brian@linuxpenguins.xyz> - ;; <MDAEMON-F202305111940.AA401569md5001000003030@sequoia-grove.ad.secure-endpoints.com> - (add-after 'unpack 'drop-obsolete-executables - (lambda* (#:key inputs #:allow-other-keys) - (substitute* '("Makefile.am") - (("appl") "")))) - (add-before 'configure 'pre-configure - (lambda* (#:key inputs #:allow-other-keys) - (invoke (search-input-file inputs "bin/autoreconf") "--install" "--force") - (substitute* "configure" - ;; Reproducible build date, etc. - (("User=.*$") "User=Guix\n") - (("Host=.*$") "Host=GNU\n") - (("Date=.*$") "Date=2022\n") - ;; The e2fsprogs input is included for libcom_err, - ;; let's use it even if cross-compiling. - (("test \"\\$\\{krb_cv_com_err\\}\" = \"yes\"") - ":") - ;; Our 'compile_et' is not in --with-cross-tools, - ;; which confuses heimdal. - (("ac_cv_prog_COMPILE_ET=\\$\\{with_cross_tools\\}compile_et") - "ac_cv_PROG_COMPILE_ET=compile_et")) - (substitute* '("tools/Makefile.in") - (("/bin/sh") (which "sh"))))) - (add-before 'check 'pre-check - (lambda _ - ;; For 'getxxyyy-test'. - (setenv "USER" (passwd:name (getpwuid (getuid)))) - - ;; Skip 'db' and 'kdc' tests for now. - ;; FIXME: figure out why 'kdc' tests fail. - (with-output-to-file "tests/db/have-db.in" - (lambda () - (format #t "#!~a~%exit 1~%" (which "sh"))))))) - ;; Tests fail when run in parallel. - #:parallel-tests? #f)) - (native-inputs (list autoconf - automake - bison - e2fsprogs ;for 'compile_et' - flex - libtool - texinfo - unzip ;for tests - pkg-config - perl - perl-json - python)) - (inputs (list readline - bash-minimal - bdb - e2fsprogs ;for libcom_err - libcap-ng - libxcrypt - openldap - sqlite)) - (home-page "http://www.h5l.org/") - (synopsis "Kerberos 5 network authentication") - (description - "Heimdal is an implementation of Kerberos 5 network authentication -service.") - (license license:bsd-3))) |