Dominique Leuenberger 2018-03-11 14:24:17 +00:00 committed by Git OBS Bridge
commit ec37f54206
5 changed files with 42 additions and 24 deletions

View File

@ -1,2 +1,5 @@
nss-pam-ldapd
supplements "packageand(nss-pam-ldapd:glibc-<targettype>)"
conflicts "nss_ldap-<targettype>"
conflicts "pam_ldap-<targettype>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef7362e7f2003da8c7beb7bcc03c30494acf712625aaac8badc6e7eb16f3453f
size 771247

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20ca6a43509cb8b20c370bb1501f279ee633bc0db9f4c21a877a8d47e5c447d2
size 772059

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Mar 9 08:47:41 UTC 2018 - dimstar@opensuse.org
- Add the conflicts from the mainpackage also to the baselibs.conf
generated ones: the -32bit packages conflict the same way.
- Modernize spec file by calling spec-cleaner.
-------------------------------------------------------------------
Sun Feb 18 21:24:23 UTC 2018 - mvetter@suse.com
- Update to 0.9.9:
* support spaces in attribute mapping expressions
* allow parsing longer lines in the configuration file
* allow for longer host names
-------------------------------------------------------------------
Tue Jun 27 11:39:42 UTC 2017 - mvetter@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package nss-pam-ldapd
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,32 +17,32 @@
Name: nss-pam-ldapd
Version: 0.9.9
Release: 0
Summary: NSS module and daemon for using LDAP as a naming service
License: LGPL-2.1-or-later
Group: Productivity/Networking/LDAP/Clients
URL: http://arthurdejong.org/nss-ldapd/
Source: https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-%{version}.tar.gz
Source1: baselibs.conf
Source2: nslcd.service
Source100: nss-pam-ldapd-rpmlintrc
BuildRequires: automake
BuildRequires: krb5-devel
BuildRequires: openldap2-devel
BuildRequires: pam-devel
BuildRequires: systemd-rpm-macros
Version: 0.9.8
Release: 0
Summary: NSS module and daemon for using LDAP as a naming service
License: LGPL-2.1+
Group: Productivity/Networking/LDAP/Clients
Url: http://arthurdejong.org/nss-ldapd/
Requires(pre): shadow
Conflicts: nss_ldap pam_ldap
Conflicts: nss_ldap
Conflicts: pam_ldap
Obsoletes: nss-ldapd < %{version}-%{release}
Provides: nss-ldapd = %{version}-%{release}
Source: https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-%{version}.tar.gz
Source1: baselibs.conf
Source2: nslcd.service
Source100: nss-pam-ldapd-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is nss-pam-ldapd which provides a Name Service Switch (NSS)
module that allows your LDAP server to provide user account, group,
host name, alias, netgroup, and basically any other information that
you would normally get from /etc flat files or NIS. It also provides a
you would normally get from %{_sysconfdir} flat files or NIS. It also provides a
Pluggable Authentication Module (PAM) to do authentication to an LDAP
server.
@ -54,7 +54,6 @@ connections, authentication, attribute translation, etc.
%setup -q
%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf
export CPPFLAGS="-I/usr/include/sasl"
%configure --libdir=/%{_lib} \
@ -63,10 +62,10 @@ export CPPFLAGS="-I/usr/include/sasl"
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}/
install -p -m644 %{S:2} $RPM_BUILD_ROOT/%{_unitdir}/
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}/%{_unitdir}/
install -p -m644 %{SOURCE2} %{buildroot}/%{_unitdir}/
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcnslcd
%pre
# creating groupd and user nslcd
@ -89,11 +88,12 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%license COPYING
%doc AUTHORS ChangeLog NEWS README
/%{_lib}/libnss_ldap.so.2
/%{_lib}/security/pam_ldap.so
%{_mandir}/man?/*
%config(noreplace) %attr(640,root,root) /etc/nslcd.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/nslcd.conf
/%{_unitdir}/nslcd.service
%{_sbindir}/nslcd
%{_sbindir}/rcnslcd