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