You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.4 KiB

(define-module (cyrus-sasl-login)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages dbm)
#: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 cyrus-sasl-login
(name "cyrus-sasl-login")
(version "2.1.27")
(source (origin
(method url-fetch)
(uri (list (string-append
version ".tar.gz")
version ".tar.gz")))
(sha256 (base32
(patches (search-patches "cyrus-sasl-ac-try-run-fix.patch"
(build-system gnu-build-system)
(list autoconf automake libtool))
(inputs (list gdbm openssl))
(list ;; cyrus-sasl.pc refers to -lkrb5, so propagate it.
'(#:configure-flags (list "--enable-login"
(string-append "--with-plugindir="
(assoc-ref %outputs "out")
;; The 'plugins' directory has shared source files, such as
;; 'plugin_common.c'. When building the shared libraries there, libtool
;; ends up doing "ln -s plugin_common.lo plugin_common.o", which can
;; fail with EEXIST when building things in parallel.
#:parallel-build? #f
(modify-phases %standard-phases
(add-after 'unpack 'autogen
(lambda _
(invoke "autoreconf" "-vif"))))))
(synopsis "Simple Authentication Security Layer implementation")
"SASL (Simple Authentication Security Layer) is an Internet
standards-track method for remote computers to authenticate. The Cyrus SASL
library makes supporting various SASL mechanisms easy for both client and
server writers.")
(license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution."))
(home-page "")))