2017-05-15 14:01:21 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2018-03-10 22:40:23 +00:00
|
|
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2020-04-07 07:33:25 +00:00
|
|
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
2017-05-15 14:01:21 +00:00
|
|
|
;;;
|
|
|
|
;;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages sssd)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix utils)
|
|
|
|
#:use-module (guix build-system gnu)
|
2017-05-15 14:01:22 +00:00
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages adns)
|
|
|
|
#:use-module (gnu packages augeas)
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
#:use-module (gnu packages curl)
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
|
|
|
#:use-module (gnu packages databases)
|
|
|
|
#:use-module (gnu packages dns)
|
|
|
|
#:use-module (gnu packages docbook)
|
|
|
|
#:use-module (gnu packages documentation)
|
|
|
|
#:use-module (gnu packages glib)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 13:14:57 +00:00
|
|
|
#:use-module (gnu packages kerberos)
|
2017-05-15 14:01:22 +00:00
|
|
|
#:use-module (gnu packages libunistring)
|
|
|
|
#:use-module (gnu packages linux)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 13:14:57 +00:00
|
|
|
#:use-module (gnu packages nss)
|
2017-05-15 14:01:22 +00:00
|
|
|
#:use-module (gnu packages openldap)
|
|
|
|
#:use-module (gnu packages tls)
|
|
|
|
#:use-module (gnu packages pcre)
|
|
|
|
#:use-module (gnu packages popt)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages samba)
|
|
|
|
#:use-module (gnu packages selinux)
|
|
|
|
#:use-module (gnu packages web)
|
|
|
|
#:use-module (gnu packages xml))
|
2017-05-15 14:01:21 +00:00
|
|
|
|
|
|
|
(define-public ding-libs
|
|
|
|
(package
|
|
|
|
(name "ding-libs")
|
2017-10-25 13:30:16 +00:00
|
|
|
(version "0.6.1")
|
2017-05-15 14:01:21 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://releases.pagure.org/SSSD/ding-libs/"
|
|
|
|
"ding-libs-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-10-25 13:30:16 +00:00
|
|
|
"1h97mx2jdv4caiz4r7y8rxfsq78fx0k4jjnfp7x2s7xqvqks66d3"))))
|
2017-05-15 14:01:21 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "https://pagure.io/SSSD/ding-libs/")
|
|
|
|
(synopsis "Libraries for SSSD")
|
|
|
|
(description
|
|
|
|
"DING-LIBS (DING Is Not Glib) are a set of small, useful libraries that
|
|
|
|
the @dfn{System Security Services Daemon} (SSSD) uses and makes available to
|
|
|
|
other projects. They include: libdhash, an implementation of a dynamic hash
|
|
|
|
table which will dynamically resize to achieve optimal storage and access time
|
|
|
|
properties; ini_config, a library for parsing and managing @code{INI} files;
|
|
|
|
path_utils, a library to manage UNIX paths and subsets of paths; collection, a
|
|
|
|
generic, hierarchical grouping mechanism for complex data sets; ref_array, a
|
|
|
|
dynamically-growing, reference-counted array; libbasicobjects, a set of
|
|
|
|
fundamental object types for C.")
|
|
|
|
(license license:lgpl3+)))
|
2017-05-15 14:01:22 +00:00
|
|
|
|
|
|
|
;; Note: This package installs modules for ldb and nss. For the former we
|
|
|
|
;; need to set LDB_MODULES_PATH. For the latter LD_PRELOAD or LD_LIBRARY_PATH
|
|
|
|
;; is needed.
|
|
|
|
(define-public sssd
|
|
|
|
(package
|
|
|
|
(name "sssd")
|
2020-04-07 07:33:25 +00:00
|
|
|
(version "1.16.5")
|
2017-05-15 14:01:22 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2020-04-07 07:33:25 +00:00
|
|
|
(uri (string-append "https://releases.pagure.org/SSSD/sssd/"
|
2017-05-15 14:01:22 +00:00
|
|
|
"sssd-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-06-21 19:45:47 +00:00
|
|
|
"1h6hwibaf3xa2w6qpzjiiywmfj6zkgbz4r2isf3gd0xm6vq7n6if"))
|
|
|
|
(patches (search-patches "sssd-fix-samba.patch"))))
|
2017-05-15 14:01:22 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:make-flags
|
|
|
|
(list (string-append "DOCBOOK_XSLT="
|
|
|
|
(assoc-ref %build-inputs "docbook-xsl")
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
,(package-version docbook-xsl)
|
|
|
|
"/manpages/docbook.xsl")
|
|
|
|
;; Remove "--postvalid" option, because that requires access to
|
|
|
|
;; online DTDs.
|
|
|
|
"XMLLINT_FLAGS = --catalogs --nonet --noent --xinclude --noout")
|
|
|
|
#:configure-flags
|
|
|
|
(list "--disable-cifs-idmap-plugin"
|
|
|
|
"--without-nfsv4-idmapd-plugin"
|
|
|
|
"--without-python2-bindings"
|
|
|
|
"--without-python3-bindings"
|
|
|
|
(string-append "--with-plugin-path="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/lib/sssd")
|
|
|
|
(string-append "--with-krb5-plugin-path="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/lib/krb5/plugins/libkrb5")
|
|
|
|
(string-append "--with-cifs-plugin-path="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/lib/cifs-utils")
|
|
|
|
(string-append "--with-init-dir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/etc/init.d")
|
|
|
|
(string-append "--with-ldb-lib-dir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/lib/ldb/modules/ldb")
|
|
|
|
(string-append "--with-xml-catalog-path="
|
|
|
|
(assoc-ref %build-inputs "docbook-xml")
|
|
|
|
"/xml/dtd/docbook/catalog.xml"))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'disable-failing-test
|
|
|
|
(lambda _
|
|
|
|
(substitute* "src/tests/responder_socket_access-tests.c"
|
|
|
|
(("tcase_add_test\\(tc_utils, resp_str_to_array_test\\);") ""))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("augeas" ,augeas)
|
2017-05-15 22:00:03 +00:00
|
|
|
("bind" ,isc-bind "utils")
|
2017-05-15 14:01:22 +00:00
|
|
|
("c-ares" ,c-ares)
|
|
|
|
("curl" ,curl)
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
("dbus" ,dbus)
|
|
|
|
("ding-libs" ,ding-libs)
|
|
|
|
("glib" ,glib)
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
("http-parser" ,http-parser)
|
|
|
|
("jansson" ,jansson)
|
|
|
|
("ldb" ,ldb)
|
|
|
|
("libselinux" ,libselinux)
|
|
|
|
("libsemanage" ,libsemanage)
|
|
|
|
("libunistring" ,libunistring)
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
("mit-krb5" ,mit-krb5)
|
|
|
|
("nss" ,nss)
|
|
|
|
("openldap" ,openldap)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("pcre" ,pcre)
|
|
|
|
("popt" ,popt)
|
|
|
|
("samba" ,samba)
|
|
|
|
("talloc" ,talloc)
|
|
|
|
("tdb" ,tdb)
|
|
|
|
("tevent" ,tevent)))
|
|
|
|
(native-inputs
|
|
|
|
`(("check" ,check)
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
("docbook-xml" ,docbook-xml)
|
2018-06-13 21:13:13 +00:00
|
|
|
("libxml2" ,libxml2) ; for xmllint
|
2017-05-15 14:01:22 +00:00
|
|
|
("libxslt" ,libxslt)
|
2017-07-28 22:20:10 +00:00
|
|
|
("pkg-config" ,pkg-config)
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 23:24:28 +00:00
|
|
|
("util-linux" ,util-linux "lib"))) ;for uuid.h, reqired for KCM
|
2017-05-15 14:01:22 +00:00
|
|
|
(home-page "https://pagure.io/SSSD/sssd/")
|
|
|
|
(synopsis "System security services daemon")
|
|
|
|
(description "SSSD is a system daemon. Its primary function is to provide
|
|
|
|
access to identity and authentication remote resource through a common
|
|
|
|
framework that can provide caching and offline support to the system. It
|
2017-10-25 13:32:07 +00:00
|
|
|
provides PAM and NSS modules, and in the future will support D-BUS based
|
|
|
|
interfaces for extended user information. It also provides a better database
|
|
|
|
to store local users as well as extended user data.")
|
2017-05-15 14:01:22 +00:00
|
|
|
(license license:gpl3+)))
|