1 |
# $Id: e-smith-ldap.spec,v 1.35 2010/06/10 19:55:29 snetram Exp $ |
# $Id: e-smith-ldap.spec,v 1.45 2010/09/25 18:38:04 slords 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.2.0 |
%define version 5.2.0 |
7 |
%define release 24 |
%define release 35 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
28 |
Patch15: %{name}-%{version}-email-domain-change.patch |
Patch15: %{name}-%{version}-email-domain-change.patch |
29 |
Patch16: %{name}-%{version}-update-admin.patch |
Patch16: %{name}-%{version}-update-admin.patch |
30 |
Patch17: %{name}-%{version}-empty_group.patch |
Patch17: %{name}-%{version}-empty_group.patch |
31 |
|
Patch18: e-smith-ldap-5.2.0-ldap_logs.patch |
32 |
|
Patch19: e-smith-ldap-5.2.0-force_enabled.patch |
33 |
|
Patch20: e-smith-ldap-5.2.0-index_memberuid.patch |
34 |
|
Patch21: e-smith-ldap-5.2.0-expand_slapd_on_ldap_update.patch |
35 |
|
Patch22: e-smith-ldap-5.2.0-split_acl_templates.patch |
36 |
|
Patch23: e-smith-ldap-5.2.0-exop.patch |
37 |
|
Patch24: e-smith-ldap-5.2.0-dump_ldif.patch |
38 |
|
Patch25: e-smith-ldap-5.2.0-add_computers_ou.patch |
39 |
|
Patch26: e-smith-ldap-5.2.0-add_posixaccount_attr_in_ldap.patch |
40 |
|
Patch27: e-smith-ldap-5.2.0-full_path_to_config.patch |
41 |
|
Patch28: e-smith-ldap-5.2.0-add_samba_attr_in_ldap.patch |
42 |
|
Patch29: e-smith-ldap-5.2.0-code_cleanup.patch |
43 |
|
Patch30: e-smith-ldap-5.2.0-base_oid.patch |
44 |
|
Patch31: e-smith-ldap-5.2.0-rename_old_record.patch |
45 |
|
Patch32: e-smith-ldap-5.2.0-add_ibay_machine.patch |
46 |
|
Patch33: e-smith-ldap-5.2.0-rename_old_record_fix.patch |
47 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
48 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
49 |
Requires: e-smith-base |
Requires: e-smith-base |
57 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-35.sme |
61 |
|
- Fix old record lookups from sme7 [SME: 6235] |
62 |
|
|
63 |
|
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-34.sme |
64 |
|
- Add ibay and machine accounts into ldap [SME: 6236] |
65 |
|
|
66 |
|
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-33.sme |
67 |
|
- Rename old ldap record from sme7 if exists [SME: 6235] |
68 |
|
|
69 |
|
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-32.sme |
70 |
|
- Fix/add base ou entries needed for new schema [SME: 6234] |
71 |
|
|
72 |
|
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-31.sme |
73 |
|
- Rewrite ldap-update to make adding classes easier [SME: 6233] |
74 |
|
|
75 |
|
* Fri Sep 24 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-30.sme |
76 |
|
- Add sambaSamAccount attributes in LDAP [SME: 6232] |
77 |
|
|
78 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-29.sme |
79 |
|
- Use full path to config in the run script [SME: 6222] |
80 |
|
|
81 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-28.sme |
82 |
|
- Add posixAccount attributes in LDAP [SME: 6074] |
83 |
|
|
84 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-27.sme |
85 |
|
- Create the Computers OU [SME: 6230] |
86 |
|
|
87 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-26.sme |
88 |
|
- Dump ldap data during the pre-backup event [SME: 6226] |
89 |
|
|
90 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-25.sme |
91 |
|
- Send slapd logs in /var/log/ldap (multilog) [SME: 6222] |
92 |
|
- Force the service to be enabled [SME: 6221] |
93 |
|
- Indexe memberUid attribute [SME: 6220] |
94 |
|
- Expand slapd.conf during ldap-update event [SME: 6224] |
95 |
|
- Split slapd ACL template [SME: 6225] |
96 |
|
- Use md5crypt hash when client requests exop [SME: 6223] |
97 |
|
|
98 |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-24.sme |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-24.sme |
99 |
- Restrict access to the ldif file [SME: 6217] |
- Restrict access to the ldif file [SME: 6217] |
100 |
|
|
835 |
%patch15 -p1 |
%patch15 -p1 |
836 |
%patch16 -p1 |
%patch16 -p1 |
837 |
%patch17 -p1 |
%patch17 -p1 |
838 |
|
%patch18 -p1 |
839 |
|
%patch19 -p1 |
840 |
|
%patch20 -p1 |
841 |
|
%patch21 -p1 |
842 |
|
%patch22 -p1 |
843 |
|
%patch23 -p1 |
844 |
|
%patch24 -p1 |
845 |
|
%patch25 -p1 |
846 |
|
%patch26 -p1 |
847 |
|
%patch27 -p1 |
848 |
|
%patch28 -p1 |
849 |
|
%patch29 -p1 |
850 |
|
%patch30 -p1 |
851 |
|
%patch31 -p1 |
852 |
|
%patch32 -p1 |
853 |
|
%patch33 -p1 |
854 |
|
|
855 |
%build |
%build |
856 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
867 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
868 |
|
|
869 |
mkdir -p root/var/log/bdb |
mkdir -p root/var/log/bdb |
870 |
|
mkdir -p root/var/log/ldap |
871 |
mkdir -p root/var/service/ldap/ssl |
mkdir -p root/var/service/ldap/ssl |
872 |
|
|
873 |
%install |
%install |
876 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
877 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
878 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
879 |
|
--file /var/service/ldap/log/run 'attr(0750,root,root)' \ |
880 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
881 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
882 |
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
883 |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
884 |
--dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \ |
--dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \ |
885 |
|
--dir /var/log/ldap 'attr(0750,smelog,smelog)' \ |
886 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
887 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
888 |
|
|