gnu: gsasl: Update to 1.8.1.
[jackhill/guix/guix.git] / gnu / packages / gsasl.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Andreas Enge <andreas@enge.fr>
294739b5 3;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
acc2dab7 4;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
9b9086ea 5;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
3aa6fab8 6;;;
233e7676 7;;; This file is part of GNU Guix.
3aa6fab8 8;;;
233e7676 9;;; GNU Guix is free software; you can redistribute it and/or modify it
3aa6fab8
AE
10;;; under the terms of the GNU General Public License as published by
11;;; the Free Software Foundation; either version 3 of the License, or (at
12;;; your option) any later version.
13;;;
233e7676 14;;; GNU Guix is distributed in the hope that it will be useful, but
3aa6fab8
AE
15;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;;; GNU General Public License for more details.
18;;;
19;;; You should have received a copy of the GNU General Public License
233e7676 20;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
3aa6fab8 21
1ffa7090 22(define-module (gnu packages gsasl)
59a43334 23 #:use-module (gnu packages)
f61e0e79 24 #:use-module (gnu packages compression)
1ffa7090 25 #:use-module (gnu packages libidn)
df8a9c74 26 #:use-module (gnu packages gnupg)
1ffa7090 27 #:use-module (gnu packages nettle)
89e34644 28 #:use-module (gnu packages kerberos)
a7fd7b68 29 #:use-module (gnu packages tls)
f61e0e79 30 #:use-module ((guix licenses) #:prefix license:)
3aa6fab8
AE
31 #:use-module (guix packages)
32 #:use-module (guix download)
33 #:use-module (guix build-system gnu))
34
35(define-public libntlm
36 (package
294739b5 37 (name "libntlm")
4fca5a44 38 (version "1.5")
294739b5
RW
39 (source (origin
40 (method url-fetch)
4fca5a44 41 (uri (string-append "https://www.nongnu.org/libntlm/releases/"
294739b5
RW
42 "libntlm-" version ".tar.gz"))
43 (sha256
44 (base32
4fca5a44 45 "1gcvv7f9rggpxay81qv6kw5hr6gd4qiyzkbwhzz02fx9jvv9kmsk"))))
294739b5
RW
46 (build-system gnu-build-system)
47 (synopsis "Library that implements NTLM authentication")
48 (description
49 "Libntlm is a library that implements NTLM authentication.")
50 (license license:lgpl2.1+)
340978d7 51 (home-page "https://www.nongnu.org/libntlm/")))
3aa6fab8
AE
52
53(define-public gss
54 (package
55 (name "gss")
e43c2a0b 56 (version "1.0.3")
3aa6fab8
AE
57 (source (origin
58 (method url-fetch)
59 (uri (string-append "mirror://gnu/gss/gss-" version
60 ".tar.gz"))
61 (sha256 (base32
e43c2a0b 62 "1syyvh3k659xf1hdv9pilnnhbbhs6vfapayp4xgdcc8mfgf9v4gz"))))
3aa6fab8
AE
63 (build-system gnu-build-system)
64 (inputs `(("nettle" ,nettle)
65 ("shishi" ,shishi)
f61e0e79 66 ("zlib" ,zlib)))
f50d2669 67 (synopsis "Generic Security Service library")
3aa6fab8 68 (description
a22dc0c4
LC
69 "The GNU Generic Security Service provides a free implementation of the
70GSS-API specification. It provides a generic application programming
35b9e423 71interface for programs to access security services. Security services present
a22dc0c4
LC
72a generic, GSS interface, with which the calling application interacts via
73this library, freeing the application developer from needing to know about
74the underlying security implementation.")
f61e0e79 75 (license license:gpl3+)
6fd52309 76 (home-page "https://www.gnu.org/software/gss/")))
3aa6fab8
AE
77
78(define-public gsasl
79 (package
80 (name "gsasl")
df8a9c74 81 (version "1.8.1")
3aa6fab8
AE
82 (source (origin
83 (method url-fetch)
84 (uri (string-append "mirror://gnu/gsasl/gsasl-" version
85 ".tar.gz"))
df8a9c74
MB
86 (sha256
87 (base32
88 "1lnqfbaajkj1r2fx1db1qgcxy69pfgbyq7xd2kpvyxhra4m1dnjd"))))
3aa6fab8 89 (build-system gnu-build-system)
fd6983d1
MB
90 (arguments
91 `(#:configure-flags '("--with-gssapi-impl=mit")))
df8a9c74
MB
92 (inputs
93 `(("libgcrypt" ,libgcrypt)
94 ("libidn" ,libidn)
95 ("libntlm" ,libntlm)
96 ("mit-krb5" ,mit-krb5)
97 ("zlib" ,zlib)))
cc2792da
LC
98 (propagated-inputs
99 ;; Propagate GnuTLS because libgnutls.la reads `-lnettle', and Nettle is a
100 ;; propagated input of GnuTLS.
101 `(("gnutls" ,gnutls)))
f50d2669 102 (synopsis "Simple Authentication and Security Layer library")
3aa6fab8 103 (description
a22dc0c4
LC
104 "GNU SASL is an implementation of the Simple Authentication and
105Security Layer framework. On network servers such as IMAP or SMTP servers,
106SASL is used to handle client/server authentication. This package contains
107both a library and a command-line tool to access the library.")
f61e0e79 108 (license license:gpl3+)
6fd52309 109 (home-page "https://www.gnu.org/software/gsasl/")))