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