;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012 Andreas Enge ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017 Eric Bavier ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2020, 2021 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages gsasl) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages libidn) #:use-module (gnu packages gnupg) #:use-module (gnu packages nettle) #:use-module (gnu packages kerberos) #:use-module (gnu packages tls) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public libntlm (package (name "libntlm") (version "1.6") (source (origin (method url-fetch) (uri (string-append "https://www.nongnu.org/libntlm/releases/" "libntlm-" version ".tar.gz")) (sha256 (base32 "08b83nss16jsn213j326yhn1vnrz10k15fwq6jm5b1vdn23nndzj")))) (build-system gnu-build-system) (synopsis "Library that implements NTLM authentication") (description "Libntlm is a library that implements NTLM authentication.") (license license:lgpl2.1+) (home-page "https://www.nongnu.org/libntlm/"))) (define-public gss (package (name "gss") (version "1.0.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gss/gss-" version ".tar.gz")) (sha256 (base32 "1syyvh3k659xf1hdv9pilnnhbbhs6vfapayp4xgdcc8mfgf9v4gz")))) (build-system gnu-build-system) (inputs `(("nettle" ,nettle) ("shishi" ,shishi) ("zlib" ,zlib))) (synopsis "Generic Security Service library") (description "The GNU Generic Security Service provides a free implementation of the GSS-API specification. It provides a generic application programming interface for programs to access security services. Security services present a generic, GSS interface, with which the calling application interacts via this library, freeing the application developer from needing to know about the underlying security implementation.") (license license:gpl3+) (home-page "https://www.gnu.org/software/gss/"))) (define-public gsasl (package (name "gsasl") (version "1.10.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gsasl/gsasl-" version ".tar.gz")) (sha256 (base32 "1lv8fp01aq4jjia9g4vkx90zacl8rgmjhfi6f1wdwnh9ws7bvg45")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-gssapi-impl=mit" "--disable-static"))) (inputs `(("libgcrypt" ,libgcrypt) ("libidn" ,libidn) ("libntlm" ,libntlm) ("mit-krb5" ,mit-krb5) ("zlib" ,zlib))) (native-inputs `(;; Needed for cross compiling. ("libgcrypt" ,libgcrypt))) (propagated-inputs ;; Propagate GnuTLS because libgnutls.la reads `-lnettle', and Nettle is a ;; propagated input of GnuTLS. `(("gnutls" ,gnutls))) (synopsis "Simple Authentication and Security Layer library") (description "GNU SASL is an implementation of the Simple Authentication and Security Layer framework. On network servers such as IMAP or SMTP servers, SASL is used to handle client/server authentication. This package contains both a library and a command-line tool to access the library.") (license license:gpl3+) (home-page "https://www.gnu.org/software/gsasl/"))) 03-16tests: opensmtpd: Check /var/spool/mail instead of /var/mail....Ludovic Courtès 2020-01-31gnu: Update opensmtpd configuration grammar....Tobias Geerinckx-Rice 2019-09-21services: dovecot: Fix predicate names for free-form fields...Alexey Abramov 2019-06-20services: opensmtpd: Extend the PAM service....Kristofer Buffington 2019-06-20services: Fix typo in (gnu services mail) exports....Tobias Geerinckx-Rice 2019-05-07services: dovecot: Rename auth-verbose-passwords?....Christopher Baines 2019-04-07services: Add 'imap4d-service-type'....宋文武 2019-03-13Remove traces of "GuixSD"....Ludovic Courtès