1 |
# $Id: e-smith-ldap.spec,v 1.78 2010/11/22 15:47:11 slords Exp $ |
# $Id: e-smith-ldap.spec,v 1.88 2011/03/14 15:27:20 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.2.0 |
%define version 5.2.0 |
7 |
%define release 67 |
%define release 76 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
72 |
Patch59: e-smith-ldap-5.2.0-locked-passwd.patch |
Patch59: e-smith-ldap-5.2.0-locked-passwd.patch |
73 |
Patch60: e-smith-ldap-5.2.0-startup-order.patch |
Patch60: e-smith-ldap-5.2.0-startup-order.patch |
74 |
Patch61: e-smith-ldap-5.2.0-remove_bogus_junk.patch |
Patch61: e-smith-ldap-5.2.0-remove_bogus_junk.patch |
75 |
|
Patch62: e-smith-ldap-5.2.0-ldapmodify.patch |
76 |
|
Patch63: e-smith-ldap-5.2.0-fix-department.patch |
77 |
|
Patch64: e-smith-ldap-5.2.0-update-ldap-later.patch |
78 |
|
Patch65: e-smith-ldap-5.2.0-ldap-init.patch |
79 |
|
Patch66: e-smith-ldap-5.2.0-replace-logic.patch |
80 |
|
Patch67: e-smith-ldap-5.2.0-dont_set_gecos_in_ldap.patch |
81 |
|
Patch68: e-smith-ldap-5.2.0-check_slapd.conf_syntax.patch |
82 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
83 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
84 |
Requires: e-smith-base |
Requires: e-smith-base |
94 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
95 |
|
|
96 |
%changelog |
%changelog |
97 |
|
* Mon Mar 14 2011 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-76.sme |
98 |
|
- Check slapd.conf syntax before trying to dump the database [SME: 6452] |
99 |
|
|
100 |
|
* Mon Mar 14 2011 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-75.sme |
101 |
|
- Stop using gecos attribute in LDAP [SME: 6539] |
102 |
|
|
103 |
|
* Wed Dec 1 2010 Shad L. Lords <slord@mail.com> 5.2.0-74.sme |
104 |
|
- Fix replace logic in ldif-fix [SME: 6423] |
105 |
|
|
106 |
|
* Wed Dec 1 2010 Shad L. Lords <slord@mail.com> 5.2.0-73.sme |
107 |
|
- Fix permissions on ldif-fix script [SME: 6244] |
108 |
|
|
109 |
|
* Wed Dec 1 2010 Shad L. Lords <slord@mail.com> 5.2.0-72.sme |
110 |
|
- Replace convert_ldif with ldif-fix script [SME: 6244] |
111 |
|
- Remove ldif template and expansion [SME: 6421] |
112 |
|
- Simplify ldap-update call by calling ldif-fix [SME: 6422] |
113 |
|
|
114 |
|
* Tue Nov 30 2010 Shad L. Lords <slord@mail.com> 5.2.0-71.sme |
115 |
|
- Update ldap database later to pick up samba group maps [SME: 6419] |
116 |
|
|
117 |
|
* Tue Nov 30 2010 Shad L. Lords <slord@mail.com> 5.2.0-70.sme |
118 |
|
- Use correct field (Dept) for ou ldap field [SME: 6417] |
119 |
|
|
120 |
|
* Tue Nov 30 2010 Shad L. Lords <slord@mail.com> 5.2.0-69.sme |
121 |
|
- Add rfc2739.schem back in and include in config so upgrades work [SME: 5159] |
122 |
|
|
123 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-68.sme |
124 |
|
- Use ldapmodify to load ldif, add -a if no changetype [SME: 6413] |
125 |
|
|
126 |
* Tue Nov 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-67.sme |
* Tue Nov 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-67.sme |
127 |
- Remove bogus junk attribute from ldif templates [SME: 6396] |
- Remove bogus junk attribute from ldif templates [SME: 6396] |
128 |
|
|
1042 |
%patch59 -p1 |
%patch59 -p1 |
1043 |
%patch60 -p1 |
%patch60 -p1 |
1044 |
%patch61 -p1 |
%patch61 -p1 |
1045 |
|
%patch62 -p1 |
1046 |
|
%patch63 -p1 |
1047 |
|
%patch64 -p1 |
1048 |
|
%patch65 -p1 |
1049 |
|
%patch66 -p1 |
1050 |
|
%patch67 -p1 |
1051 |
|
%patch68 -p1 |
1052 |
|
|
1053 |
%build |
%build |
1054 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1074 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
1075 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
1076 |
--file /var/service/ldap/log/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/log/run 'attr(0750,root,root)' \ |
1077 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \ |
1078 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
1079 |
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
1080 |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |