1 |
# $Id: e-smith-ldap.spec,v 1.3 2013/02/18 20:47:02 vip-ire Exp $ |
# $Id: e-smith-ldap.spec,v 1.17 2014/10/24 10:26:16 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 4 |
%define release 16 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
29 |
Requires: e-smith-base |
Requires: e-smith-base |
32 |
Requires: openldap-clients |
Requires: openldap-clients |
33 |
Requires: openldap-servers |
Requires: openldap-servers |
34 |
Requires: perl(Net::LDAP) |
Requires: perl(Net::LDAP) |
35 |
|
Requires: db4-utils |
36 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
37 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
38 |
AutoReqProv: no |
AutoReqProv: no |
41 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-16.sme |
45 |
|
- Chown all DB files to ldap before staring slapd [SME: 8635] |
46 |
|
|
47 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-15.sme |
48 |
|
- Set checkpoint in slapd.conf instead of DB_CONFIG [SME: 8621] |
49 |
|
|
50 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-14.sme |
51 |
|
- Stop ldap on shutdown (rc0 and rc6) [SME: 8611] |
52 |
|
|
53 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-13.sme |
54 |
|
- Don't overwrite the ldif dump if slapcat's output is empty |
55 |
|
(code from Charlie Brady) [SME: 8621] |
56 |
|
|
57 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-12.sme |
58 |
|
- Run db_recover on startup [SME: 8622] |
59 |
|
|
60 |
|
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-11.sme |
61 |
|
- Don't wipe LDAP DB when the ldif dump is empty [SME: 8619] |
62 |
|
|
63 |
|
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-10.sme |
64 |
|
- Adjust slapd ACL [SME: 8000] |
65 |
|
|
66 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-9.sme |
67 |
|
- Add dummy unused file to slapd.d to prevent openldap-servers |
68 |
|
post script from running [SME: 7258] |
69 |
|
|
70 |
|
* Mon Feb 25 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-8.sme |
71 |
|
- Use db_archive to remove unused BDB log files [SME: 7403] |
72 |
|
|
73 |
|
* Sun Feb 24 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-7.sme |
74 |
|
- Wait for slapd to be ready before running bootstrap-ldap-save [SME: 7395] |
75 |
|
|
76 |
|
* Fri Feb 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-6.sme |
77 |
|
- Do not remove slapd.d, just make sure it's empty [SME: 7258] |
78 |
|
|
79 |
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-5.sme |
80 |
|
- Make sure slapd uses slapd.conf instead of slapd.d [SME: 7258] |
81 |
|
|
82 |
* Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-4.sme |
* Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-4.sme |
83 |
- Remove now unneeded and out of scope schemacheck directive [SME: 7260] |
- Remove now unneeded and out of scope schemacheck directive [SME: 7260] |
84 |
|
|
986 |
%setup |
%setup |
987 |
%patch1 -p1 |
%patch1 -p1 |
988 |
%patch2 -p1 |
%patch2 -p1 |
989 |
|
%patch3 -p1 |
990 |
|
%patch4 -p1 |
991 |
|
%patch5 -p1 |
992 |
|
%patch6 -p1 |
993 |
|
%patch7 -p1 |
994 |
|
%patch8 -p1 |
995 |
|
%patch9 -p1 |
996 |
|
%patch10 -p1 |
997 |
|
%patch11 -p1 |
998 |
|
%patch12 -p1 |
999 |
|
%patch13 -p1 |
1000 |
|
%patch14 -p1 |
1001 |
|
|
1002 |
%build |
%build |
1003 |
perl createlinks |
perl createlinks |