forked from pool/sssd
- Update to release 2.6.0
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=250
This commit is contained in:
parent
886fcf0567
commit
33a4c1553f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e21b3c7b4a2f1063d0fbdd3216d29886b6eaba153b44fb5961698367f399a0f
|
||||
size 7579208
|
@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEGkHcZ1BfiaMwgotmr/513ehQjhIFAmDsmCgACgkQr/513ehQ
|
||||
jhJgLAf/WNPCzxImSpydiqCw0utxcDj/zcfufOU5tciVGP2Dg6O6+jf21Tl1IzE0
|
||||
dNDloUH6iyIOATWryirveaEIBEpz/8H66bOFEuw+eOY5mnMz+xsI879lvno7KsHj
|
||||
RsJjxSKjLktvOgOb+vYDciRS6Au3AaKCIPP0v5S3LEZtsHlDG6CwoWI7wEN9XN0r
|
||||
/VYo0HG0TIkY2eIfi6pqcr25JzOqTQH3NUW8VbqFWWC7h1XFEBpiftIvHZLrqblP
|
||||
CtHbkdRA8j6u5J285H4g/9Oj/7wtlDOXvkobGdM9MwS5jjKg0XBJJ3A6uHZ5GTX5
|
||||
/ppVxE/WCrZliqxpjP/+BHkaY3DMzA==
|
||||
=2Ag7
|
||||
-----END PGP SIGNATURE-----
|
3
sssd-2.6.0.tar.gz
Normal file
3
sssd-2.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:675a37057249083827a86e3d55c9cfc202276b3bd97c135f6030cf74f8bc7de7
|
||||
size 7440969
|
11
sssd-2.6.0.tar.gz.asc
Normal file
11
sssd-2.6.0.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEGkHcZ1BfiaMwgotmr/513ehQjhIFAmFn/DAACgkQr/513ehQ
|
||||
jhJKNAf/fq4klam4kA3IB9qkENdFI9U8M0zlc+0zdF5HLlQDxy6IfxXXQiyr9M9v
|
||||
yoeyF6VuQOOe2zq3K3ujmx4EV7tQs75F/SB+FFq7AYf898Txxs3Xw5X17kx+Lamu
|
||||
A+JxePM6joiA4E2bF6Lbi4OL0Dj3GTeckghHyR/yFWZZakwc7kxpw37sNx9xDFDW
|
||||
XK9bB5rY+ZuGWIBgJ2eIGwf0X7RDWm+0cIXlhRbrnPcHEUKcRsgAcVoisO3YOqw9
|
||||
/SY5NxZWilNeN8FxKVBqnToQBDhrplNSBL/5Ttv1dxHNAIkEMXKVuKR9w3XzxWJM
|
||||
e3Xz16igUaHliuZoSM0/1axpdGWvAw==
|
||||
=jaIb
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 13:41:13 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.6.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 12 19:45:37 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
60
sssd.spec
60
sssd.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sssd
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: sssd
|
||||
Version: 2.5.2
|
||||
Version: 2.6.0
|
||||
Release: 0
|
||||
Summary: System Security Services Daemon
|
||||
License: GPL-3.0-or-later and LGPL-3.0-or-later
|
||||
@ -29,25 +29,6 @@ Source2: https://github.com/SSSD/sssd/releases/download/%version/%name-%v
|
||||
Source3: baselibs.conf
|
||||
Source5: %name.keyring
|
||||
Patch1: krb-noversion.diff
|
||||
|
||||
%define servicename sssd
|
||||
%define sssdstatedir %_localstatedir/lib/sss
|
||||
%define dbpath %sssdstatedir/db
|
||||
%define pipepath %sssdstatedir/pipes
|
||||
%define pubconfpath %sssdstatedir/pubconf
|
||||
%define gpocachepath %sssdstatedir/gpo_cache
|
||||
|
||||
# Both SSSD and cifs-utils provide an idmap plugin for cifs.ko
|
||||
# /etc/cifs-utils/idmap-plugin should be a symlink to one of the 2 idmap plugins
|
||||
# * cifs-utils one is the default (priority 20)
|
||||
# * installing SSSD should NOT switch to SSSD plugin (priority 10)
|
||||
%define cifs_idmap_plugin %_sysconfdir/cifs-utils/idmap-plugin
|
||||
%define cifs_idmap_lib %_libdir/cifs-utils/cifs_idmap_sss.so
|
||||
%define cifs_idmap_name cifs-idmap-plugin
|
||||
%define cifs_idmap_priority 10
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
BuildRequires: autoconf >= 2.59
|
||||
BuildRequires: automake
|
||||
BuildRequires: bind-utils
|
||||
@ -83,6 +64,7 @@ BuildRequires: pkgconfig(libnl-3.0) >= 3.0
|
||||
BuildRequires: pkgconfig(libnl-route-3.0) >= 3.0
|
||||
BuildRequires: pkgconfig(libpcre2-8)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: libunistring-devel
|
||||
BuildRequires: pkgconfig(ndr_krb5pac)
|
||||
BuildRequires: pkgconfig(ndr_nbt)
|
||||
BuildRequires: pkgconfig(p11-kit-1) >= 0.23.3
|
||||
@ -99,6 +81,24 @@ Provides: libsss_sudo = %version-%release
|
||||
Provides: sssd-client = %version-%release
|
||||
Obsoletes: libsss_sudo < %version-%release
|
||||
|
||||
%define servicename sssd
|
||||
%define sssdstatedir %_localstatedir/lib/sss
|
||||
%define dbpath %sssdstatedir/db
|
||||
%define pipepath %sssdstatedir/pipes
|
||||
%define pubconfpath %sssdstatedir/pubconf
|
||||
%define gpocachepath %sssdstatedir/gpo_cache
|
||||
|
||||
# Both SSSD and cifs-utils provide an idmap plugin for cifs.ko
|
||||
# /etc/cifs-utils/idmap-plugin should be a symlink to one of the 2 idmap plugins
|
||||
# * cifs-utils one is the default (priority 20)
|
||||
# * installing SSSD should NOT switch to SSSD plugin (priority 10)
|
||||
%define cifs_idmap_plugin %_sysconfdir/cifs-utils/idmap-plugin
|
||||
%define cifs_idmap_lib %_libdir/cifs-utils/cifs_idmap_sss.so
|
||||
%define cifs_idmap_name cifs-idmap-plugin
|
||||
%define cifs_idmap_priority 10
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
%description
|
||||
Provides a set of daemons to manage access to remote directories and
|
||||
authentication mechanisms. It provides an NSS and PAM interface toward
|
||||
@ -363,13 +363,10 @@ Security Services Daemon (sssd).
|
||||
|
||||
%build
|
||||
export LDB_DIR="$(pkg-config ldb --variable=modulesdir)"
|
||||
|
||||
# help configure find nscd
|
||||
export PATH="$PATH:/usr/sbin"
|
||||
|
||||
autoreconf -fiv
|
||||
export CFLAGS="%optflags -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%configure \
|
||||
--with-db-path="%dbpath" \
|
||||
--with-pipe-path="%pipepath" \
|
||||
@ -393,16 +390,12 @@ export LDFLAGS="-pie"
|
||||
|
||||
%install
|
||||
# sss_obfuscate is compatible with both python 2 and 3
|
||||
sed -i -e 's:%_bindir/python:%_bindir/python3:' src/tools/sss_obfuscate
|
||||
|
||||
perl -i -lpe 's{%_bindir/python\b}{%_bindir/python3}' src/tools/sss_obfuscate
|
||||
%make_install
|
||||
b="%buildroot"
|
||||
|
||||
#for i in cs cs/man8 nl nl/man8 pt pt/man8 uk uk/man1 uk/man5 uk/man8; do
|
||||
# mkdir -p "$b/%_mandir/$i"
|
||||
#done
|
||||
# Copy some defaults
|
||||
mkdir -p "$b/%_sysconfdir/sssd" "$b/%_sysconfdir/sssd/conf.d"
|
||||
mkdir -pv "$b/%_sysconfdir/sssd" "$b/%_sysconfdir/sssd/conf.d"
|
||||
install -m600 src/examples/sssd-example.conf "$b/%_sysconfdir/sssd/sssd.conf"
|
||||
install -d "$b/%_unitdir"
|
||||
install -d "$b/%_sysconfdir/logrotate.d"
|
||||
@ -414,7 +407,7 @@ find "$b" -type f -name "*.la" -print -delete
|
||||
%find_lang %name --all-name
|
||||
|
||||
# dummy target for cifs-idmap-plugin
|
||||
mkdir -p %buildroot/%_sysconfdir/alternatives %buildroot/%_sysconfdir/cifs-utils
|
||||
mkdir -pv %buildroot/%_sysconfdir/alternatives %buildroot/%_sysconfdir/cifs-utils
|
||||
ln -sfv %_sysconfdir/alternatives/%cifs_idmap_name %buildroot/%cifs_idmap_plugin
|
||||
|
||||
%check
|
||||
@ -512,7 +505,6 @@ fi
|
||||
%_mandir/??/man5/sssd-ad.5*
|
||||
%_mandir/??/man5/sssd-files.5*
|
||||
%_mandir/??/man5/sssd-ldap-attributes.5*
|
||||
%_mandir/??/man5/sssd-secrets.5*
|
||||
%_mandir/??/man5/sssd-session-recording.5*
|
||||
%_mandir/??/man5/sssd-simple.5*
|
||||
%_mandir/??/man5/sssd-sudo.5*
|
||||
@ -577,7 +569,6 @@ fi
|
||||
%_datadir/%name/cfg_rules.ini
|
||||
%_datadir/%name/sssd.api.conf
|
||||
%dir %_datadir/%name/sssd.api.d/
|
||||
%_datadir/%name/sssd.api.d/sssd-local.conf
|
||||
%_datadir/%name/sssd.api.d/sssd-simple.conf
|
||||
%_datadir/%name/sssd.api.d/sssd-files.conf
|
||||
#
|
||||
@ -590,6 +581,7 @@ fi
|
||||
%_libdir/%name/modules/sssd_krb5_localauth_plugin.so
|
||||
%_mandir/??/man8/sssd_krb5_locator_plugin.8*
|
||||
%_mandir/??/man8/pam_sss.8*
|
||||
%_mandir/??/man8/pam_sss_gss.8*
|
||||
%_mandir/man8/pam_sss.8*
|
||||
%_mandir/man8/pam_sss_gss.8*
|
||||
%_mandir/man8/sssd_krb5_locator_plugin.8*
|
||||
@ -641,7 +633,6 @@ fi
|
||||
%dir %_libexecdir/sssd/
|
||||
%_libexecdir/sssd/sssd_kcm
|
||||
%dir %_libdir/sssd/
|
||||
%_libdir/sssd/libsss_secrets.so
|
||||
%_mandir/man8/sssd-kcm.8*
|
||||
%_mandir/??/man8/sssd-kcm.8*
|
||||
%_datadir/sssd-kcm/
|
||||
@ -697,6 +688,7 @@ fi
|
||||
%_mandir/??/man8/sss_*.8*
|
||||
%_mandir/man8/sssctl.8*
|
||||
%_mandir/man8/sss_*.8*
|
||||
%python3_sitelib/sssd/
|
||||
|
||||
%files winbind-idmap
|
||||
%_libdir/samba/
|
||||
|
Loading…
Reference in New Issue
Block a user