Hello community,

here is the log from the commit of package nss-pam-ldapd for openSUSE:Factory 
checked in at 2016-06-25 02:22:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nss-pam-ldapd (Old)
 and      /work/SRC/openSUSE:Factory/.nss-pam-ldapd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nss-pam-ldapd"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nss-pam-ldapd/nss-pam-ldapd.changes      
2016-06-19 10:49:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nss-pam-ldapd.new/nss-pam-ldapd.changes 
2016-06-25 02:22:31.000000000 +0200
@@ -1,0 +2,26 @@
+Tue Jun 21 12:20:20 UTC 2016 - [email protected]
+
+- Do not suppress errors from useradd/groupadd.
+  Reduce dependencies for it.
+
+-------------------------------------------------------------------
+Fri Jun 17 11:59:06 UTC 2016 - [email protected]
+
+- Explicityly disable nslcd-utils otherwise it will auto-enable them
+  if python is present. This can lead to different builds depending on
+  environment. And creation of files %{_datadir}/nslcd-utils/*.py?
+  %{_bindir}/chsh.ldap, %{_bindir}/getent.ldap
+
+-------------------------------------------------------------------
+Thu Jun 16 10:46:01 UTC 2016 - [email protected]
+
+- Package all installed files
+
+-------------------------------------------------------------------
+Thu Jun 16 09:17:21 UTC 2016 - [email protected]
+
+- Create user and group nslcd.
+- Remove nslcd-user-conf.dif:
+  It shouldn't be run as root.
+
+-------------------------------------------------------------------

Old:
----
  nslcd-user-conf.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nss-pam-ldapd.spec ++++++
--- /var/tmp/diff_new_pack.atrIQJ/_old  2016-06-25 02:22:32.000000000 +0200
+++ /var/tmp/diff_new_pack.atrIQJ/_new  2016-06-25 02:22:32.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nss-pam-ldapd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -28,7 +28,7 @@
 License:        LGPL-2.1+
 Group:          Productivity/Networking/LDAP/Clients
 Url:            http://arthurdejong.org/nss-ldapd/
-PreReq:         /bin/chmod
+Requires(pre):  shadow
 Conflicts:      nss_ldap pam_ldap
 Obsoletes:      nss-ldapd < %{version}-%{release}
 Provides:       nss-ldapd = %{version}-%{release}
@@ -36,7 +36,6 @@
 Source1:        baselibs.conf
 Source2:        nslcd.service
 Source100:      nss-pam-ldapd-rpmlintrc
-Patch0:         nslcd-user-conf.dif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -53,14 +52,14 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{?suse_update_config:%{suse_update_config -f}}
 autoreconf
 export CPPFLAGS="-I/usr/include/sasl"
 %configure --libdir=/%{_lib} \
-           --with-pam-seclib-dir=/%{_lib}/security
+           --with-pam-seclib-dir=/%{_lib}/security \
+               --disable-utils
 make %{?_smp_mflags}
 
 %install
@@ -70,6 +69,11 @@
 ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd
 
 %pre
+# creating groupd and user nslcd
+%{_bindir}/getent group nslcd >/dev/null || %{_sbindir}/groupadd -r nslcd
+%{_bindir}/getent passwd nslcd >/dev/null || \
+  %{_sbindir}/useradd -r -g nslcd -d / -s /sbin/nologin \
+  -c "nslcd ldap user" nslcd
 %service_add_pre nslcd.service
 
 %post


Reply via email to