gnu: groff: Fix cross compilation.
[jackhill/guix/guix.git] / gnu / packages / cyrus-sasl.scm
CommitLineData
acf60b26 1;;; GNU Guix --- Functional package management for GNU
89e34644 2;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
acf60b26 3;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
cd65d600 4;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
acf60b26
AE
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
1ffa7090 21(define-module (gnu packages cyrus-sasl)
59a43334 22 #:use-module (gnu packages)
255d1bbe 23 #:use-module (gnu packages dbm)
89e34644 24 #:use-module (gnu packages kerberos)
cc2b77df 25 #:use-module (gnu packages tls)
b5b73a82 26 #:use-module ((guix licenses) #:prefix license:)
acf60b26
AE
27 #:use-module (guix packages)
28 #:use-module (guix download)
29 #:use-module (guix build-system gnu))
30
31(define-public cyrus-sasl
32 (package
33 (name "cyrus-sasl")
af0162bc 34 (version "2.1.27")
acf60b26
AE
35 (source (origin
36 (method url-fetch)
42b00138 37 (uri (list (string-append
3d55d04a 38 "https://cyrusimap.org/releases/cyrus-sasl-"
42b00138
LC
39 version ".tar.gz")
40 (string-append
41 "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-"
42 version ".tar.gz")))
acf60b26 43 (sha256 (base32
af0162bc 44 "1m85zcpgfdhm43cavpdkhb1s2zq1b31472hq1w1gs3xh94anp1i6"))))
acf60b26
AE
45 (build-system gnu-build-system)
46 (inputs `(("gdbm" ,gdbm)
acf60b26 47 ("openssl" ,openssl)))
af0162bc
MB
48 (propagated-inputs
49 `(;; cyrus-sasl.pc refers to -lkrb5, so propagate it.
50 ("mit-krb5" ,mit-krb5)))
acf60b26
AE
51 (arguments
52 '(#:configure-flags (list (string-append "--with-plugindir="
53 (assoc-ref %outputs "out")
dd68dd13
LC
54 "/lib/sasl2"))
55
56 ;; The 'plugins' directory has shared source files, such as
57 ;; 'plugin_common.c'. When building the shared libraries there, libtool
58 ;; ends up doing "ln -s plugin_common.lo plugin_common.o", which can
59 ;; fail with EEXIST when building things in parallel.
60 #:parallel-build? #f))
35b9e423 61 (synopsis "Simple Authentication Security Layer implementation")
acf60b26
AE
62 (description
63 "SASL (Simple Authentication Security Layer) is an Internet
35b9e423 64standards-track method for remote computers to authenticate. The Cyrus SASL
acf60b26
AE
65library makes supporting various SASL mechanisms easy for both client and
66server writers.")
166191b3
LC
67 (license (license:non-copyleft "file://COPYING"
68 "See COPYING in the distribution."))
9629c6b4 69 (home-page "https://cyrusimap.org/sasl/")))