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