1 |
# $Id: e-smith-ldap.spec,v 1.5 2013/02/21 19:14:23 vip-ire Exp $ |
# $Id: e-smith-ldap.spec,v 1.20 2015/02/11 15:44:31 vip-ire Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LDAP module |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
%define name e-smith-ldap |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.4.0 |
%define version 5.4.0 |
7 |
%define release 6 |
%define release 19 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch2: e-smith-ldap-5.4.0-remove_schemacheck_off.patch |
Patch2: e-smith-ldap-5.4.0-remove_schemacheck_off.patch |
15 |
Patch3: e-smith-ldap-5.4.0-use_slapd.conf.patch |
Patch3: e-smith-ldap-5.4.0-use_slapd.conf.patch |
16 |
Patch4: e-smith-ldap-5.4.0-empty_slapd.d.patch |
Patch4: e-smith-ldap-5.4.0-empty_slapd.d.patch |
17 |
|
Patch5: e-smith-ldap-5.4.0-wait_slapd_initialization.patch |
18 |
|
Patch6: e-smith-ldap-5.4.0-db_archive.patch |
19 |
|
Patch7: e-smith-ldap-5.4.0-unused.patch |
20 |
|
Patch8: e-smith-ldap-5.4.0-adjust_slapd_acl.patch |
21 |
|
Patch9: e-smith-ldap-5.4.0-dont_wipe_db_when_ldif_empty.patch |
22 |
|
Patch10: e-smith-ldap-5.4.0-db_recover_on_startup.patch |
23 |
|
Patch11: e-smith-ldap-5.4.0-dont_overwrite_ldif_with_empty.patch |
24 |
|
Patch12: e-smith-ldap-5.4.0-stop_ldap_on_shutdown.patch |
25 |
|
Patch13: e-smith-ldap-5.4.0-checkpoint_in_slapd_conf.patch |
26 |
|
Patch14: e-smith-ldap-5.4.0-chown_db_files.patch |
27 |
|
Patch15: e-smith-ldap-5.4.0-symlink_init_to_sv.patch |
28 |
|
Patch16: e-smith-ldap-5.4.0-pdbedit_lang_and_tz_independent.patch |
29 |
|
Patch17: e-smith-ldap-5.4.0-sizelimit_unlimited.patch |
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
32 |
Requires: e-smith-base |
Requires: e-smith-base |
35 |
Requires: openldap-clients |
Requires: openldap-clients |
36 |
Requires: openldap-servers |
Requires: openldap-servers |
37 |
Requires: perl(Net::LDAP) |
Requires: perl(Net::LDAP) |
38 |
|
Requires: db4-utils |
39 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
40 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
41 |
AutoReqProv: no |
AutoReqProv: no |
44 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Mon Apr 27 2015 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-19.sme |
48 |
|
- Remove size limit for search result [SME: 8918] |
49 |
|
|
50 |
|
* Wed Feb 11 2015 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-18.sme |
51 |
|
- Make pdbedit output independent from locale and timezone so it can be |
52 |
|
parsed [SME: 8841] |
53 |
|
|
54 |
|
* Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-17.sme |
55 |
|
- Symlink /etc/init.d/ldap to /usr/bin/sv [SME: 8635] |
56 |
|
|
57 |
|
* Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-16.sme |
58 |
|
- Chown all DB files to ldap before staring slapd [SME: 8635] |
59 |
|
|
60 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-15.sme |
61 |
|
- Set checkpoint in slapd.conf instead of DB_CONFIG [SME: 8621] |
62 |
|
|
63 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-14.sme |
64 |
|
- Stop ldap on shutdown (rc0 and rc6) [SME: 8611] |
65 |
|
|
66 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-13.sme |
67 |
|
- Don't overwrite the ldif dump if slapcat's output is empty |
68 |
|
(code from Charlie Brady) [SME: 8621] |
69 |
|
|
70 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-12.sme |
71 |
|
- Run db_recover on startup [SME: 8622] |
72 |
|
|
73 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-11.sme |
74 |
|
- Don't wipe LDAP DB when the ldif dump is empty [SME: 8619] |
75 |
|
|
76 |
|
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-10.sme |
77 |
|
- Adjust slapd ACL [SME: 8000] |
78 |
|
|
79 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-9.sme |
80 |
|
- Add dummy unused file to slapd.d to prevent openldap-servers |
81 |
|
post script from running [SME: 7258] |
82 |
|
|
83 |
|
* Mon Feb 25 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-8.sme |
84 |
|
- Use db_archive to remove unused BDB log files [SME: 7403] |
85 |
|
|
86 |
|
* Sun Feb 24 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-7.sme |
87 |
|
- Wait for slapd to be ready before running bootstrap-ldap-save [SME: 7395] |
88 |
|
|
89 |
* Fri Feb 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-6.sme |
* Fri Feb 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-6.sme |
90 |
- Do not remove slapd.d, just make sure it's empty [SME: 7258] |
- Do not remove slapd.d, just make sure it's empty [SME: 7258] |
91 |
|
|
1001 |
%patch2 -p1 |
%patch2 -p1 |
1002 |
%patch3 -p1 |
%patch3 -p1 |
1003 |
%patch4 -p1 |
%patch4 -p1 |
1004 |
|
%patch5 -p1 |
1005 |
|
%patch6 -p1 |
1006 |
|
%patch7 -p1 |
1007 |
|
%patch8 -p1 |
1008 |
|
%patch9 -p1 |
1009 |
|
%patch10 -p1 |
1010 |
|
%patch11 -p1 |
1011 |
|
%patch12 -p1 |
1012 |
|
%patch13 -p1 |
1013 |
|
%patch14 -p1 |
1014 |
|
%patch15 -p1 |
1015 |
|
%patch16 -p1 |
1016 |
|
%patch17 -p1 |
1017 |
|
|
1018 |
%build |
%build |
1019 |
perl createlinks |
perl createlinks |