SHA256
1
0
forked from jengelh/sssd

Accepting request 144398 from home:rhafer:branches:network:ldap

switch back to openssl for cypto stuff, cleanup PAM config after uninstall

OBS-URL: https://build.opensuse.org/request/show/144398
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=79
This commit is contained in:
Jan Engelhardt 2012-12-06 12:32:20 +00:00 committed by Git OBS Bridge
parent ce396e6add
commit ae139341b6
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 6 10:38:59 UTC 2012 - rhafer@suse.com
- Switch back to using libcrypto instead of mozilla-nss as it seems
to be supported upstream again
- cleanup PAM configuration after uninstalling sssd (bnc#788328)
-------------------------------------------------------------------
Thu Dec 6 09:05:29 UTC 2012 - jengelh@inai.de

View File

@ -23,6 +23,7 @@ Summary: System Security Services Daemon
License: GPL-3.0+ and LGPL-3.0+
Group: System/Daemons
Url: https://fedorahosted.org/sssd/
Requires(postun): pam-config
#Git-Clone: git://git.fedorahosted.org/sssd
Source: %name-%version.tar.xz
@ -60,7 +61,7 @@ BuildRequires: pkgconfig(ldb) >= 0.9.2
BuildRequires: pkgconfig(libcares)
BuildRequires: pkgconfig(libnl-1) >= 1.1
BuildRequires: pkgconfig(libpcre) >= 7
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(popt)
BuildRequires: pkgconfig(python)
BuildRequires: pkgconfig(talloc)
@ -75,10 +76,10 @@ BuildRequires: libdhash-devel >= 0.4.2
BuildRequires: libini_config-devel >= 0.6.1
BuildRequires: libldb-devel >= 0.9.2
BuildRequires: libnl-devel >= 1.1
BuildRequires: libopenssl-devel
BuildRequires: libtalloc-devel
BuildRequires: libtdb-devel >= 1.1.3
BuildRequires: libtevent-devel
BuildRequires: mozilla-nss-devel
BuildRequires: pcre-devel >= 7
BuildRequires: popt-devel
BuildRequires: python-devel
@ -215,6 +216,7 @@ export PATH="$PATH:/usr/sbin"
autoreconf -fi;
%configure \
--with-crypto=libcrypto \
--with-db-path="%dbpath" \
--with-pipe-path="%pipepath" \
--with-pubconf-path="%pubconfpath" \
@ -278,6 +280,9 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN}
%if 0%{?_unitdir:1}
%service_del_postun sssd.service
%endif
if [ "$1" == "0" ]; then
%{_sbindir}/pam-config -d --sss || true
fi
%post -n libipa_hbac0 -p /sbin/ldconfig
%postun -n libipa_hbac0 -p /sbin/ldconfig
@ -308,7 +313,6 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN}
%dir %_mandir/uk/man8
%_mandir/??/man?/*
%_mandir/man1/sss_ssh_*
%_mandir/man1/sss_ssh_*
%_mandir/man5/sssd-ad.5*
%_mandir/man5/sssd-krb5.5*
%_mandir/man5/sssd-ldap.5*