--- rpms/e-smith-ldap/sme9/e-smith-ldap.spec 2013/02/13 15:43:13 1.1 +++ rpms/e-smith-ldap/sme9/e-smith-ldap.spec 2016/01/17 20:43:12 1.22 @@ -1,22 +1,42 @@ -# $Id: e-smith-ldap.spec,v 1.92 2013/02/07 13:48:00 charliebrady Exp $ +# $Id: e-smith-ldap.spec,v 1.21 2015/04/27 16:45:09 vip-ire Exp $ Summary: e-smith server and gateway - LDAP module %define name e-smith-ldap Name: %{name} %define version 5.4.0 -%define release 1 +%define release 20 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz +Patch1: e-smith-ldap-5.4.0-remove_autofs.patch +Patch2: e-smith-ldap-5.4.0-remove_schemacheck_off.patch +Patch3: e-smith-ldap-5.4.0-use_slapd.conf.patch +Patch4: e-smith-ldap-5.4.0-empty_slapd.d.patch +Patch5: e-smith-ldap-5.4.0-wait_slapd_initialization.patch +Patch6: e-smith-ldap-5.4.0-db_archive.patch +Patch7: e-smith-ldap-5.4.0-unused.patch +Patch8: e-smith-ldap-5.4.0-adjust_slapd_acl.patch +Patch9: e-smith-ldap-5.4.0-dont_wipe_db_when_ldif_empty.patch +Patch10: e-smith-ldap-5.4.0-db_recover_on_startup.patch +Patch11: e-smith-ldap-5.4.0-dont_overwrite_ldif_with_empty.patch +Patch12: e-smith-ldap-5.4.0-stop_ldap_on_shutdown.patch +Patch13: e-smith-ldap-5.4.0-checkpoint_in_slapd_conf.patch +Patch14: e-smith-ldap-5.4.0-chown_db_files.patch +Patch15: e-smith-ldap-5.4.0-symlink_init_to_sv.patch +Patch16: e-smith-ldap-5.4.0-pdbedit_lang_and_tz_independent.patch +Patch17: e-smith-ldap-5.4.0-sizelimit_unlimited.patch +Patch18: e-smith-ldap-5.4.0-ssl_update.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 Requires: openldap-clients +Requires: openldap-servers Requires: perl(Net::LDAP) +Requires: db4-utils Requires: e-smith-formmagick >= 1.4.0-9 BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReqProv: no @@ -25,6 +45,66 @@ AutoReqProv: no e-smith server and gateway software - LDAP module. %changelog +* Sun Jan 17 2016 Daniel Berteaud 5.4.0-20.sme +- Hook into the new ssl-update event [SME: 9152] + +* Mon Apr 27 2015 Daniel Berteaud 5.4.0-19.sme +- Remove size limit for search result [SME: 8918] + +* Wed Feb 11 2015 Daniel Berteaud 5.4.0-18.sme +- Make pdbedit output independent from locale and timezone so it can be + parsed [SME: 8841] + +* Tue Nov 11 2014 Daniel Berteaud 5.4.0-17.sme +- Symlink /etc/init.d/ldap to /usr/bin/sv [SME: 8635] + +* Tue Nov 11 2014 Daniel Berteaud 5.4.0-16.sme +- Chown all DB files to ldap before staring slapd [SME: 8635] + +* Fri Oct 24 2014 Daniel Berteaud 5.4.0-15.sme +- Set checkpoint in slapd.conf instead of DB_CONFIG [SME: 8621] + +* Fri Oct 24 2014 Daniel Berteaud 5.4.0-14.sme +- Stop ldap on shutdown (rc0 and rc6) [SME: 8611] + +* Fri Oct 24 2014 Daniel Berteaud 5.4.0-13.sme +- Don't overwrite the ldif dump if slapcat's output is empty + (code from Charlie Brady) [SME: 8621] + +* Fri Oct 24 2014 Daniel Berteaud 5.4.0-12.sme +- Run db_recover on startup [SME: 8622] + +* Fri Oct 24 2014 Daniel Berteaud 5.4.0-11.sme +- Don't wipe LDAP DB when the ldif dump is empty [SME: 8619] + +* Wed Nov 13 2013 Daniel Berteaud 5.4.0-10.sme +- Adjust slapd ACL [SME: 8000] + +* Sat Mar 9 2013 Shad L. Lords 5.4.0-9.sme +- Add dummy unused file to slapd.d to prevent openldap-servers + post script from running [SME: 7258] + +* Mon Feb 25 2013 Daniel Berteaud 5.4.0-8.sme +- Use db_archive to remove unused BDB log files [SME: 7403] + +* Sun Feb 24 2013 Daniel Berteaud 5.4.0-7.sme +- Wait for slapd to be ready before running bootstrap-ldap-save [SME: 7395] + +* Fri Feb 22 2013 Daniel Berteaud 5.4.0-6.sme +- Do not remove slapd.d, just make sure it's empty [SME: 7258] + +* Thu Feb 21 2013 Daniel Berteaud 5.4.0-5.sme +- Make sure slapd uses slapd.conf instead of slapd.d [SME: 7258] + +* Tue Feb 19 2013 Daniel Berteaud 5.4.0-4.sme +- Remove now unneeded and out of scope schemacheck directive [SME: 7260] + +* Mon Feb 18 2013 Daniel Berteaud 5.4.0-3.sme +- Stop trying to load autofs.schema [SME: 7259] + +* Wed Feb 13 2013 Daniel Berteaud 5.4.0-2.sme +- Add missing dependency on openldap-servers [SME: 7347] + * Wed Feb 13 2013 Shad L. Lords 5.4.0-1.sme - Roll new stream for sme9 - Perl modules moved to /usr/share/perl5/vendor_perl [SME: 7223] @@ -921,6 +1001,24 @@ e-smith server and gateway software - LD %prep %setup +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 %build perl createlinks