--- rpms/e-smith-ldap/sme8/e-smith-ldap.spec 2007/06/26 18:35:58 1.2 +++ rpms/e-smith-ldap/sme8/e-smith-ldap.spec 2010/02/05 12:39:07 1.27 @@ -1,23 +1,33 @@ +# $Id: e-smith-ldap.spec,v 1.26 2010/02/04 11:37:22 vip-ire Exp $ + Summary: e-smith server and gateway - LDAP module %define name e-smith-ldap Name: %{name} -%define version 4.12.0 -%define release 7 +%define version 5.2.0 +%define release 15 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch0: e-smith-ldap-4.12.0-noipv6.patch -Patch1: e-smith-ldap-4.12.0-slapd.conf.perms.patch -Patch2: e-smith-ldap-4.12.0-success.patch -Patch3: e-smith-ldap-4.12.0-pid_args_files.patch -Patch4: e-smith-ldap-4.12.0-objectClass.patch +Patch0: %{name}-%{version}.backend +Patch1: %{name}-%{version}-schema.patch +Patch2: %{name}-%{version}-convert_ldif.patch +Patch3: %{name}-%{version}-password.patch +Patch4: %{name}-%{version}-tls.patch +Patch5: %{name}-%{version}-user-lock-event.patch +Patch6: %{name}-%{version}-admin_user.patch +Patch7: %{name}-%{version}-users_groups_ous.patch2 +Patch8: %{name}-%{version}-attributes.patch +Patch9: %{name}-%{version}-mailboxRelatedObject.patch +Patch10: %{name}-%{version}-force_ssl_tls_for_auth.patch +Patch11: %{name}-%{version}-reinit.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base Requires: e-smith-lib >= 1.15.1-16 Requires: openldap >= 2.0.0, perl(Net::LDAP) +Requires: e-smith-formmagick >= 1.4.0-9 BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReqProv: no @@ -25,6 +35,68 @@ AutoReqProv: no e-smith server and gateway software - LDAP module. %changelog +* Fri Feb 5 2010 Stephen Noble 5.2.0-15.sme +- re-init readonly database on post-upgrade [SME:5747] + +* Thu Feb 4 2010 Daniel B. 5.2.0-14.sme +- Force SSL/TLS for remote authentication [SME: 5748] + +* Wed Feb 3 2010 Stephen Noble 5.2.0-13.sme +- reuse users_groups_ous.patch2 [SME: 5743] + +* Wed Feb 3 2010 Stephen Noble 5.2.0-12.sme +- Separate groups and users with mailboxRelatedObject [SME:5749] + +* Wed Feb 3 2010 Stephen Noble 5.2.0-11.sme +- Set readonly access [SME:5752] + +* Sun Jan 31 2010 Stephen Noble 5.2.0-10.sme +- Fix ldap-update action script to user-lock event [SME: 5720] + +* Sun Jan 31 2010 Stephen Noble 5.2.0-9.sme +- Fix Groups entries [SME: 5743] + +* Sun Jan 31 2010 Stephen Noble 5.2.0-8.sme +- Add Groups entries [SME: 5743] + +* Sun Jan 31 2010 Stephen Noble 5.2.0-7.sme +- Add admin user as a standard user [SME: 5742] + +* Sat Jan 30 2010 Jonathan Martens 5.2.0-6.sme +- Add ldap-update action script to user-lock event [SME: 5720] + +* Wed Jan 27 2010 Federico Simoncelli 5.2.0-5.sme +- Add ldap authentication and tls support [SME: 5720] + +* Wed Jan 13 2010 Filippo Carletti 5.2.0-4.sme +- Update schema for newer openldap and remove calFBurl [SME: 5159] +- Convert ldif dump [SME: 5446] + +* Sun Feb 8 2009 Charlie Brady 5.2.0-3.sme +- Create bdb log directory. [SME: 3018] + +* Tue Jan 27 2009 Charlie Brady 5.2.0-2.sme +- Change ldap backend to bdb, and fix initialisation problem. + [SME: 3018, 2859] + +* Tue Oct 7 2008 Shad L. Lords 5.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Wed Aug 20 2008 Shad L. Lords 4.13.0-1 +- Roll new dev stream. + +* Fri Jul 25 2008 Shad L. Lords 4.12.0-11 +- Separate template to avoid breaking schema [SME: 4171] + +* Sat Jul 5 2008 Jonathan Martens 4.12.0-10 +- Add common tags to e-smith-formmagick's general [SME: 4279] + +* Tue Apr 1 2008 Shad L. Lords 4.12.0-9 +- Add free/busy URL entry to help kronolith contribs [SME: 1806] + +* Wed Feb 13 2008 Stephen Noble 4.12.0-8 +- Remove tags now in general [SME: 3919] + * Tue Jun 26 2007 Charlie Brady - Fix format error in ldif template. [SME: 3107] @@ -662,6 +734,13 @@ e-smith server and gateway software - LD %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 %build mkdir -p root/etc/e-smith/tests @@ -677,13 +756,19 @@ mkdir -p root/service ln -s /var/service/ldap root/service/ldap touch root/var/service/ldap/down +mkdir -p root/var/log/bdb +mkdir -p root/var/service/ldap/ssl + %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-%{release}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file /var/service/ldap/run 'attr(0750,root,root)' \ + --file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ --file /var/service/ldap/finish 'attr(0750,root,root)' \ + --file /var/service/ldap/control/1 'attr(0750,root,root)' \ + --dir /var/log/bdb 'attr(0700,ldap,ldap)' \ > %{name}-%{version}-%{release}-filelist echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist