gnu: sssd: Update to 2.9.1.

* gnu/packages/sssd.scm (sssd): Update to 2.9.1.
[native-inputs]: Add bc.
* gnu/packages/patches/sssd-system-directories.patch: Adjust for new version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Timotej Lazar 2023-07-01 19:41:21 +02:00 committed by Ludovic Courtès
parent 9c51330315
commit 5594f4c999
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 9 additions and 16 deletions

View file

@ -2,19 +2,10 @@ Do not attempt to create $localstatedir and $sysconfdir (i.e., /var and /etc)
upon "make install". upon "make install".
diff --git a/Makefile.am b/Makefile.am diff --git a/Makefile.am b/Makefile.am
index 0de53a2c8..51ad57bf1 100644 index e780e8a14..afd2b0a49 100644
--- a/Makefile.am --- a/Makefile.am
+++ b/Makefile.am +++ b/Makefile.am
@@ -58,7 +58,7 @@ sssddatadir = $(datadir)/sssd @@ -84,7 +84,7 @@ pkgconfigdir = $(libdir)/pkgconfig
sssdapiplugindir = $(sssddatadir)/sssd.api.d
sssdtapscriptdir = $(sssddatadir)/systemtap
krb5snippetsdir = $(sssddatadir)/krb5-snippets
-dbuspolicydir = $(sysconfdir)/dbus-1/system.d
+dbuspolicydir = $(prefix)/etc/dbus-1/system.d
dbusservicedir = $(datadir)/dbus-1/system-services
sss_statedir = $(localstatedir)/lib/sss
runstatedir = @runstatedir@
@@ -85,7 +85,7 @@ pkgconfigdir = $(libdir)/pkgconfig
krb5rcachedir = @krb5rcachedir@ krb5rcachedir = @krb5rcachedir@
sudolibdir = @sudolibpath@ sudolibdir = @sudolibpath@
polkitdir = @polkitdir@ polkitdir = @polkitdir@
@ -23,7 +14,7 @@ index 0de53a2c8..51ad57bf1 100644
systemtap_tapdir = @tapset_dir@ systemtap_tapdir = @tapset_dir@
sssdkcmdatadir = $(datadir)/sssd-kcm sssdkcmdatadir = $(datadir)/sssd-kcm
deskprofilepath = $(sss_statedir)/deskprofile deskprofilepath = $(sss_statedir)/deskprofile
@@ -5195,7 +5195,6 @@ installsssddirs:: @@ -5378,7 +5378,6 @@ installsssddirs::
$(DESTDIR)$(bindir) \ $(DESTDIR)$(bindir) \
$(DESTDIR)$(sbindir) \ $(DESTDIR)$(sbindir) \
$(DESTDIR)$(mandir) \ $(DESTDIR)$(mandir) \
@ -31,7 +22,7 @@ index 0de53a2c8..51ad57bf1 100644
$(DESTDIR)$(pluginpath) \ $(DESTDIR)$(pluginpath) \
$(DESTDIR)$(libdir)/ldb \ $(DESTDIR)$(libdir)/ldb \
$(DESTDIR)$(dbuspolicydir) \ $(DESTDIR)$(dbuspolicydir) \
@@ -5205,24 +5204,12 @@ installsssddirs:: @@ -5388,24 +5387,12 @@ installsssddirs::
$(DESTDIR)$(sssddatadir) \ $(DESTDIR)$(sssddatadir) \
$(DESTDIR)$(sudolibdir) \ $(DESTDIR)$(sudolibdir) \
$(DESTDIR)$(autofslibdir) \ $(DESTDIR)$(autofslibdir) \
@ -56,7 +47,7 @@ index 0de53a2c8..51ad57bf1 100644
if HAVE_DOXYGEN if HAVE_DOXYGEN
docs: docs:
@@ -5338,7 +5325,6 @@ if BUILD_SAMBA @@ -5523,7 +5510,6 @@ if BUILD_SAMBA
endif endif
if BUILD_KCM if BUILD_KCM
$(MKDIR_P) $(DESTDIR)/$(sssdkcmdatadir) $(MKDIR_P) $(DESTDIR)/$(sssdkcmdatadir)

View file

@ -34,6 +34,7 @@ (define-module (gnu packages sssd)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages adns) #:use-module (gnu packages adns)
#:use-module (gnu packages algebra)
#:use-module (gnu packages augeas) #:use-module (gnu packages augeas)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
@ -138,7 +139,7 @@ (define-public ding-libs
(define-public sssd (define-public sssd
(package (package
(name "sssd") (name "sssd")
(version "2.8.1") (version "2.9.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -147,7 +148,7 @@ (define-public sssd
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "19vn2a1r33q6fnw7jmfv3s4kirnviz0rgq0w6wzx6h008iysidsd")) (base32 "159hpd49nq3256j46lanbycx8hrj517s1pvxrflxsdqcdyix59rr"))
(patches (search-patches "sssd-system-directories.patch")))) (patches (search-patches "sssd-system-directories.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -279,6 +280,7 @@ (define-public sssd
(native-inputs (native-inputs
(list autoconf (list autoconf
automake automake
bc ; for tests
check ; for tests check ; for tests
cmocka ; for tests cmocka ; for tests
docbook-xml docbook-xml