1 |
# $Id: e-smith-ldap.spec,v 1.2 2013/02/13 18:51:13 vip-ire Exp $ |
# $Id: e-smith-ldap.spec,v 1.22 2016/01/17 20:43:12 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 3 |
%define release 20 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch1: e-smith-ldap-5.4.0-remove_autofs.patch |
Patch1: e-smith-ldap-5.4.0-remove_autofs.patch |
14 |
|
Patch2: e-smith-ldap-5.4.0-remove_schemacheck_off.patch |
15 |
|
Patch3: e-smith-ldap-5.4.0-use_slapd.conf.patch |
16 |
|
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 |
|
Patch18: e-smith-ldap-5.4.0-ssl_update.patch |
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
Requires: e-smith-base |
Requires: e-smith-base |
36 |
Requires: openldap-clients |
Requires: openldap-clients |
37 |
Requires: openldap-servers |
Requires: openldap-servers |
38 |
Requires: perl(Net::LDAP) |
Requires: perl(Net::LDAP) |
39 |
|
Requires: db4-utils |
40 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
41 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
42 |
AutoReqProv: no |
AutoReqProv: no |
45 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Sun Jan 17 2016 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-20.sme |
49 |
|
- Hook into the new ssl-update event [SME: 9152] |
50 |
|
|
51 |
|
* Mon Apr 27 2015 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-19.sme |
52 |
|
- Remove size limit for search result [SME: 8918] |
53 |
|
|
54 |
|
* Wed Feb 11 2015 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-18.sme |
55 |
|
- Make pdbedit output independent from locale and timezone so it can be |
56 |
|
parsed [SME: 8841] |
57 |
|
|
58 |
|
* Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-17.sme |
59 |
|
- Symlink /etc/init.d/ldap to /usr/bin/sv [SME: 8635] |
60 |
|
|
61 |
|
* Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-16.sme |
62 |
|
- Chown all DB files to ldap before staring slapd [SME: 8635] |
63 |
|
|
64 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-15.sme |
65 |
|
- Set checkpoint in slapd.conf instead of DB_CONFIG [SME: 8621] |
66 |
|
|
67 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-14.sme |
68 |
|
- Stop ldap on shutdown (rc0 and rc6) [SME: 8611] |
69 |
|
|
70 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-13.sme |
71 |
|
- Don't overwrite the ldif dump if slapcat's output is empty |
72 |
|
(code from Charlie Brady) [SME: 8621] |
73 |
|
|
74 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-12.sme |
75 |
|
- Run db_recover on startup [SME: 8622] |
76 |
|
|
77 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-11.sme |
78 |
|
- Don't wipe LDAP DB when the ldif dump is empty [SME: 8619] |
79 |
|
|
80 |
|
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-10.sme |
81 |
|
- Adjust slapd ACL [SME: 8000] |
82 |
|
|
83 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-9.sme |
84 |
|
- Add dummy unused file to slapd.d to prevent openldap-servers |
85 |
|
post script from running [SME: 7258] |
86 |
|
|
87 |
|
* Mon Feb 25 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-8.sme |
88 |
|
- Use db_archive to remove unused BDB log files [SME: 7403] |
89 |
|
|
90 |
|
* Sun Feb 24 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-7.sme |
91 |
|
- Wait for slapd to be ready before running bootstrap-ldap-save [SME: 7395] |
92 |
|
|
93 |
|
* Fri Feb 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-6.sme |
94 |
|
- Do not remove slapd.d, just make sure it's empty [SME: 7258] |
95 |
|
|
96 |
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-5.sme |
97 |
|
- Make sure slapd uses slapd.conf instead of slapd.d [SME: 7258] |
98 |
|
|
99 |
|
* Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-4.sme |
100 |
|
- Remove now unneeded and out of scope schemacheck directive [SME: 7260] |
101 |
|
|
102 |
* Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-3.sme |
* Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-3.sme |
103 |
- Stop trying to load autofs.schema [SME: 7259] |
- Stop trying to load autofs.schema [SME: 7259] |
104 |
|
|
1002 |
%prep |
%prep |
1003 |
%setup |
%setup |
1004 |
%patch1 -p1 |
%patch1 -p1 |
1005 |
|
%patch2 -p1 |
1006 |
|
%patch3 -p1 |
1007 |
|
%patch4 -p1 |
1008 |
|
%patch5 -p1 |
1009 |
|
%patch6 -p1 |
1010 |
|
%patch7 -p1 |
1011 |
|
%patch8 -p1 |
1012 |
|
%patch9 -p1 |
1013 |
|
%patch10 -p1 |
1014 |
|
%patch11 -p1 |
1015 |
|
%patch12 -p1 |
1016 |
|
%patch13 -p1 |
1017 |
|
%patch14 -p1 |
1018 |
|
%patch15 -p1 |
1019 |
|
%patch16 -p1 |
1020 |
|
%patch17 -p1 |
1021 |
|
%patch18 -p1 |
1022 |
|
|
1023 |
%build |
%build |
1024 |
perl createlinks |
perl createlinks |
1044 |
|
|
1045 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
1046 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1047 |
|
|