1 |
# $Id: e-smith-ldap.spec,v 1.16 2010/01/30 19:19:19 snetram Exp $ |
2 |
|
3 |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
5 |
Name: %{name} |
6 |
%define version 5.2.0 |
7 |
%define release 7 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: %{name}-%{version}.backend |
14 |
Patch1: %{name}-%{version}-schema.patch |
15 |
Patch2: %{name}-%{version}-convert_ldif.patch |
16 |
Patch3: %{name}-%{version}-password.patch |
17 |
Patch4: %{name}-%{version}-tls.patch |
18 |
Patch5: %{name}-%{version}-ldap-update-link-in-user-lock-event.patch |
19 |
Patch6: %{name}-%{version}-admin_user.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
22 |
Requires: e-smith-base |
23 |
Requires: e-smith-lib >= 1.15.1-16 |
24 |
Requires: openldap >= 2.0.0, perl(Net::LDAP) |
25 |
Requires: e-smith-formmagick >= 1.4.0-9 |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
AutoReqProv: no |
28 |
|
29 |
%description |
30 |
e-smith server and gateway software - LDAP module. |
31 |
|
32 |
%changelog |
33 |
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
34 |
- Add admin user as a standard user [SME: 5742] |
35 |
|
36 |
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
37 |
- Add ldap-update action script to user-lock event [SME: 5720] |
38 |
|
39 |
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
40 |
- Add ldap authentication and tls support [SME: 5720] |
41 |
|
42 |
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
43 |
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
44 |
- Convert ldif dump [SME: 5446] |
45 |
|
46 |
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
47 |
- Create bdb log directory. [SME: 3018] |
48 |
|
49 |
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
50 |
- Change ldap backend to bdb, and fix initialisation problem. |
51 |
[SME: 3018, 2859] |
52 |
|
53 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
54 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
55 |
|
56 |
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
57 |
- Roll new dev stream. |
58 |
|
59 |
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
60 |
- Separate template to avoid breaking schema [SME: 4171] |
61 |
|
62 |
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.12.0-10 |
63 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
64 |
|
65 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.12.0-9 |
66 |
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
67 |
|
68 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 4.12.0-8 |
69 |
- Remove <base> tags now in general [SME: 3919] |
70 |
|
71 |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
72 |
- Fix format error in ldif template. [SME: 3107] |
73 |
|
74 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
75 |
- Clean up spec so package can be built by koji/plague |
76 |
|
77 |
* Mon Feb 19 2007 Charlie Brady <charlie_brady@mitel.com> 4.12.0-6 |
78 |
- Don't tell slapd to create pid and args files that we don't need |
79 |
and don't use (and can't create with later openldap version). |
80 |
[SME: 2477] |
81 |
|
82 |
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 4.12.0-5 |
83 |
- Make success/failure messages standard [SME: 2289] |
84 |
|
85 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
86 |
- Update to new release naming. No functional changes. |
87 |
- Make Packager generic |
88 |
|
89 |
* Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.12.0-03 |
90 |
- Correct permissions on slapd.conf. [SME: 2037] |
91 |
|
92 |
* Thu Sep 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.12.0-02 |
93 |
- Don't attempt to create IPv6 socket (log noise). [SME: 1946] |
94 |
|
95 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 4.12.0-01 |
96 |
- Roll stable stream version. [SME: 1016] |
97 |
|
98 |
* Sun Jan 22 2006 Charlie Brady <charlieb@e-smith.com> 4.11.3-08 |
99 |
- Use correct utf8 encoding for non-ascii attributes. [SME: 537] |
100 |
|
101 |
* Fri Jan 20 2006 Charlie Brady <charlieb@e-smith.com> 4.11.3-07 |
102 |
- Reexpand hosts.allow template during ldap-update. [SME: 520] |
103 |
|
104 |
* Thu Jan 19 2006 Charlie Brady <charlieb@e-smith.com> 4.11.3-06 |
105 |
- Reexpand masq template during ldap-update. [SME: 520] |
106 |
|
107 |
* Mon Jan 16 2006 Charlie Brady <charlieb@e-smith.com> 4.11.3-05 |
108 |
- Remove obsolete ldap-rebuild script. [SME: 463] |
109 |
|
110 |
* Sun Jan 15 2006 Charlie Brady <charlieb@e-smith.com> 4.11.3-04 |
111 |
- Delete old contents of directory if domain name is changed. |
112 |
[SME: 393] |
113 |
|
114 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.11.3-03 |
115 |
- Bump release number only |
116 |
|
117 |
* Mon Nov 21 2005 Charlie Brady <charlieb@e-smith.com> |
118 |
- [4.11.3-02] |
119 |
- Work around slapd's failure to accept 'objectClass: group' (in spite |
120 |
of schema checking being disabled). [SF: 1362868] |
121 |
|
122 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
123 |
- [4.11.3-01] |
124 |
- Remove L10Ns from base packages [SF: 1309520] |
125 |
|
126 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
127 |
- [4.11.2-01] |
128 |
- New dev stream before relocating L10Ns |
129 |
|
130 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
131 |
- [4.11.1-19] |
132 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
133 |
|
134 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
135 |
- [4.11.1-18] |
136 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
137 |
|
138 |
* Tue Sep 6 2005 Charlie Brady <charlieb@e-smith.com> |
139 |
- [4.11.1-17] |
140 |
- Add template fragment to allow bind using LDAP version |
141 |
2. [SF: 1282697] |
142 |
|
143 |
* Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com> |
144 |
- [4.11.1-16] |
145 |
- Move masq fragement from template to db [SF: 1241415] |
146 |
- Remove all use of deprecated esmith::config API. |
147 |
|
148 |
* Mon Jun 13 2005 Charlie Brady <charlieb@e-smith.com> |
149 |
- [4.11.1-15] |
150 |
- Remove unused and deprecated kerberosobject schema. |
151 |
|
152 |
* Fri Apr 15 2005 Charlie Brady <charlieb@e-smith.com> |
153 |
- [4.11.1-14] |
154 |
- Fix typo in services2adjust symlink for apache. |
155 |
|
156 |
* Fri Apr 15 2005 Charlie Brady <charlieb@e-smith.com> |
157 |
- [4.11.1-13] |
158 |
- Drop back to simple schema, and 6.x version of ldap-update script. |
159 |
More thought needed about how to extend the schema and how to handle |
160 |
property deletions. |
161 |
|
162 |
* Thu Apr 14 2005 Charlie Brady <charlieb@e-smith.com> |
163 |
- [4.11.1-12] |
164 |
- Remove full restart of apache from panel, and add sigusr1 to ldap-update |
165 |
event handling. |
166 |
- Update ldif file templates and ldap-update script to fill out the schema |
167 |
a little, to remove bogus adding of user attribute to group entries, and |
168 |
to allow removal of properties which have been nulled out. |
169 |
|
170 |
* Fri Apr 1 2005 Charlie Brady <charlieb@e-smith.com> |
171 |
- [4.11.1-11] |
172 |
- Comment out for now the utf8 conversion, as it's not working |
173 |
yet. |
174 |
|
175 |
* Wed Mar 23 2005 Charlie Brady <charlieb@e-smith.com> |
176 |
- [4.11.1-10] |
177 |
- Remove explicit generic_template_expand symlink in ldap-update |
178 |
event - not required. |
179 |
- Create "finish" script to do ldif file dump on shutdown. |
180 |
- Add templates for ldif file used during ldap rebuild. |
181 |
- Handle latin->utf8 conversion in ldif templates. |
182 |
|
183 |
* Tue Mar 8 2005 Charlie Brady <charlieb@e-smith.com> |
184 |
- [4.11.1-09] |
185 |
- Use generic adjust-services in place of adjust-masq [MN00065576] |
186 |
|
187 |
* Tue Mar 8 2005 Charlie Brady <charlieb@e-smith.com> |
188 |
- [4.11.1-08] |
189 |
- Remove dangling ldap-conf symlink. [MN00064130] |
190 |
|
191 |
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com> |
192 |
- [4.11.1-07] |
193 |
- Remove ldap-delete-dumps from post-backup event. It leaves ldap |
194 |
stopped and with no directory contents. [MN00025069] |
195 |
- Added ldap-delete-dumps to post-backup to prevent potential ldap database |
196 |
clobbering on post-upgrade. [msoulier MN00025069] |
197 |
- Update e-smith-devtools BuildRequires, and createlinks script. |
198 |
[MN00064130] |
199 |
|
200 |
* Tue Jan 18 2005 Charlie Brady <charlieb@e-smith.com> |
201 |
- [4.11.1-06] |
202 |
- Use generic_template_expand action where possible, in place |
203 |
of specific actions. Update e-smith-lib dependency. [MN00064130] |
204 |
|
205 |
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
206 |
- [4.11.1-05] |
207 |
- Create missing /service symlink, and add down file to service |
208 |
directory to control startup sequence. [charlieb MN00062133] |
209 |
|
210 |
* Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> |
211 |
- [4.11.1-04] |
212 |
- Use supervise to run slapd. [charlieb MN00062133] |
213 |
|
214 |
* Tue Nov 9 2004 Charlie Brady <charlieb@e-smith.com> |
215 |
- [4.11.1-03] |
216 |
- Include redhat/rfc822-MailMember.schema specification from earlier |
217 |
RedHat openldap packages (missing in RHEL3). [charlieb MN00056724] |
218 |
- Remove deprecated ldap-startup script. Add ldap service default fragments |
219 |
and a migrate fragment to initialize the password. [charlieb MN00056726] |
220 |
- Remove obsolete conf-migrate-ldap-variables action [charlieb MN00056733] |
221 |
|
222 |
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
223 |
- [4.11.1-02] |
224 |
- Updated requires with new perl dependencies. [msoulier MN00040240] |
225 |
|
226 |
* Mon May 10 2004 Michael Soulier <msoulier@e-smith.com> |
227 |
- [4.11.1-01] |
228 |
- Updated createlinks. |
229 |
- Added ldap-delete-dumps to post-backup to prevent potential ldap database |
230 |
clobbering on post-upgrade. [msoulier MN00025069] |
231 |
|
232 |
* Thu Sep 4 2003 Charlie Brady <charlieb@e-smith.com> |
233 |
- [4.11.0-01] |
234 |
- Changing version to development stream number - 4.11.0 |
235 |
|
236 |
* Wed Jul 9 2003 Charlie Brady <charlieb@e-smith.com> |
237 |
- [4.10.0-02] |
238 |
- Avoid restart of slapd during bootstrap-console-save event. |
239 |
[charlieb 9338] |
240 |
|
241 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
242 |
- [4.10.0-01] |
243 |
- Changing version to stable stream number - 4.10.0 |
244 |
|
245 |
* Tue May 6 2003 Lijie Deng <lijied@e-smith.com> |
246 |
- [4.9.0-12] |
247 |
- Add Spanish lexicon for directory panel [lijied 3793] |
248 |
|
249 |
* Wed Apr 16 2003 Michael Soulier <msoulier@e-smith.com> |
250 |
- [4.9.0-11] |
251 |
- Modified French translation [lijied 7949] |
252 |
- Modified ldap-dump to take its domainname from /etc/openldap/ldap.conf, and |
253 |
be aware of domainname changes. [msoulier 6747] |
254 |
|
255 |
* Thu Apr 3 2003 Lijie Deng <lijied@e-smith.com> |
256 |
- [4.9.0-10] |
257 |
- Removed 'Mitel Networks SME Server' branding [lijied 8016] |
258 |
|
259 |
* Thu Mar 27 2003 Lijie Deng <lijied@e-smith.com> |
260 |
- [4.9.0-09] |
261 |
- Modified French lexicon to use lang="fr", rename the lexicon |
262 |
directory to fr [lijied 6787] |
263 |
|
264 |
* Tue Mar 25 2003 Lijie Deng <lijied@e-smith.com> |
265 |
- [4.9.0-08] |
266 |
- Modified directory access en-us and fr-ca text [lijied 4081] |
267 |
|
268 |
* Tue Mar 18 2003 Lijie Deng <lijied@e-smith.com> |
269 |
- [4.9.0-07] |
270 |
- Split out ./etc/openldap/ldap.conf/template-begin [lijied 3295] |
271 |
|
272 |
* Mon Mar 17 2003 Lijie Deng <lijied@e-smith.com> |
273 |
- [4.9.0-06] |
274 |
- Deleted empty template-end file [lijied 3295] |
275 |
|
276 |
* Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com> |
277 |
- [4.9.0-05] |
278 |
- Modified directory panel order [lijied 7356] |
279 |
|
280 |
* Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com> |
281 |
- [4.9.0-04] |
282 |
- Split en-us lexicon from directory panel [lijied 4030] |
283 |
|
284 |
* Fri Feb 28 2003 Lijie Deng <lijied@e-smith.com> |
285 |
- [4.9.0-03] |
286 |
- s/HostsAllowSpec/hosts_allow_spec/ [charlieb 5650] |
287 |
- Remodified the lexicon file [lijied 5003] |
288 |
|
289 |
* Fri Feb 28 2003 Charlie Brady <charlieb@e-smith.com> |
290 |
- [4.9.0-02] |
291 |
- Added French lexicon for directory [lijied 5003] |
292 |
- Re-do hosts.allow template to use esmith::ConfigDB::HostsAllowSpec. |
293 |
Add dependency on up-to-date e-smith-lib. [charlieb 5650] |
294 |
|
295 |
* Wed Nov 20 2002 Mike Dickson <miked@e-smith.com> |
296 |
- [4.9.0-01] |
297 |
- Changing to development stream; version upped to 4.9.0 |
298 |
|
299 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
300 |
- [4.8.0-01] |
301 |
- Roll to maintained version number to 4.8.0 |
302 |
|
303 |
* Wed Oct 2 2002 Charlie Brady <charlieb@e-smith.com> |
304 |
- [4.7.6-14] |
305 |
- Override the default backgrounding of ldap restart in |
306 |
gentle-ldap-dump action [charlieb 2745] |
307 |
- Remove deprecated serviceControl enable/disable calls from |
308 |
ldap-startup [charlieb 4458] |
309 |
|
310 |
* Tue Sep 24 2002 Mark Knox <markk@e-smith.com> |
311 |
- [4.7.6-13] |
312 |
- Use esmith::util and shut down LDAP in foreground [markk 2745] |
313 |
|
314 |
* Tue Sep 24 2002 Mark Knox <markk@e-smith.com> |
315 |
- [4.7.6-12] |
316 |
- Add pre-restore event and ldap-delete-dumps action [markk 2745] |
317 |
|
318 |
* Thu Sep 12 2002 Charlie Brady <charlieb@e-smith.com> |
319 |
- [4.7.6-11] |
320 |
- Fix permission/ownership of /etc/openldap/slapd.conf. [charlieb 4862] |
321 |
|
322 |
* Tue Sep 10 2002 Charlie Brady <charlieb@e-smith.com> |
323 |
- [4.7.6-10] |
324 |
- Remove redundant "my" in ldap-rebuild (causes warning). [charlieb 2745] |
325 |
|
326 |
* Thu Sep 5 2002 Charlie Brady <charlieb@e-smith.com> |
327 |
- [4.7.6-09] |
328 |
- Remove stray ; (where are those code police?). [charlieb 2745] |
329 |
|
330 |
* Tue Sep 3 2002 Charlie Brady <charlieb@e-smith.com> |
331 |
- [4.7.6-08] |
332 |
- Fix $c->get('DomainName') => $c->get('DomainName')->value snafu |
333 |
[charlieb 2745] |
334 |
|
335 |
* Mon Sep 2 2002 Charlie Brady <charlieb@e-smith.com> |
336 |
- [4.7.6-07] |
337 |
- Fix Domain => DomainName snafu. [charlieb 2745] |
338 |
|
339 |
* Thu Aug 29 2002 Charlie Brady <charlieb@e-smith.com> |
340 |
- [4.7.6-06] |
341 |
- Create new gentle-ldap-dump action, and include it in pre-backup |
342 |
event. [charlieb 2745] |
343 |
|
344 |
* Thu Aug 29 2002 Charlie Brady <charlieb@e-smith.com> |
345 |
- [4.7.6-05] |
346 |
- Revert ldap-dump to slapcat version, and remove symlinks from all |
347 |
actions. The ldap init script is being modified to call ldap-dump |
348 |
after slapd shutdown. [charlieb 4739] |
349 |
|
350 |
* Tue Aug 27 2002 Charlie Brady <charlieb@e-smith.com> |
351 |
- [4.7.6-04] |
352 |
- Rewrite ldap-dump to use Net::LDAP::LDIF so that it reads data from |
353 |
ldap daemon rather than directly from ldap db files. [charlieb 4057] |
354 |
|
355 |
* Tue Aug 27 2002 Charlie Brady <charlieb@e-smith.com> |
356 |
- [4.7.6-03] |
357 |
- Fix run-time problems in OO conversion of ldap-update [charlieb 4057] |
358 |
|
359 |
* Fri Aug 23 2002 Charlie Brady <charlieb@e-smith.com> |
360 |
- [4.7.6-02] |
361 |
- Change ldap-rebuild to build directory using LDIF dump if found, |
362 |
and new data otherwise. [charlieb 4057] |
363 |
- Re-write ldap-update and ldap-rebuild to use OO db accesses, |
364 |
for clarity. [charlieb 4057] |
365 |
- Dump LDAP directory every time we change it. [charlieb 4057] |
366 |
|
367 |
* Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com> |
368 |
- [4.7.6-01] |
369 |
- Add program to do LDIF dump of ldap directory. [charlieb 4057] |
370 |
|
371 |
* Mon Aug 19 2002 Charlie Brady <charlieb@e-smith.com> |
372 |
- [4.7.5-01] |
373 |
- Remove unnecessary actions: ldap-rebuild from console-save event and |
374 |
ldap-conf from ldap-update event. [charlieb 4057] |
375 |
- Change ldap-update action so that when run during the ldap-update |
376 |
event it iterates through user and group accounts and updates records |
377 |
with current values. Link ldap-update action into ldap-update event |
378 |
in place of ldap-rebuild action. [charlieb 4057] |
379 |
|
380 |
* Mon Aug 19 2002 Charlie Brady <charlieb@e-smith.com> |
381 |
- [4.7.4-01] |
382 |
- Use new adjust-masq action rather than restart-masq during ldap-update. |
383 |
[charlieb 4501] |
384 |
|
385 |
* Thu Aug 15 2002 Charlie Brady <charlieb@e-smith.com> |
386 |
- [4.7.3-01] |
387 |
- Add rc7.d symlink and don't set deprecated InitscriptsOrder property |
388 |
[charlieb 4458] |
389 |
- Change use of allow_tcp_in() function to allow dynamic reconfig. |
390 |
[charlieb 4501] |
391 |
|
392 |
* Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com> |
393 |
- [4.7.2-01] |
394 |
- Change inbound rule to use allow_tcp_in() function. The |
395 |
function actually implements connection tracking. [charlieb 4499] |
396 |
|
397 |
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
398 |
- [4.7.1-01] |
399 |
- Change masq script fragment to use iptables. [charlieb 1268] |
400 |
|
401 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
402 |
- [4.7.0-01] |
403 |
- Changing version to development stream number 4.7.0 |
404 |
|
405 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
406 |
- [4.6.0-01] |
407 |
- Changing version to maintained stream number to 4.6.0 |
408 |
|
409 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
410 |
- [4.5.10-01] |
411 |
- RPM rebuild forced by cvsroot2rpm |
412 |
|
413 |
* Mon May 6 2002 Gordon Rowell <gordonr@e-smith.com> |
414 |
- [4.5.9-01] |
415 |
- Localise SAVE button [gordonr 3222] |
416 |
|
417 |
* Fri May 3 2002 Charlie Brady <charlieb@e-smith.com> |
418 |
- [4.5.8-01] |
419 |
- Remove /etc/e-smith/tests/.dummy. Make empty /etc/e-smith/tests in %build. |
420 |
[charlieb 3343] |
421 |
|
422 |
* Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com> |
423 |
- [4.5.7-01] |
424 |
- esmith::AccountDB -> esmith::AccountsDB [schwern 3287] |
425 |
|
426 |
* Thu Apr 25 2002 Gordon Rowell <gordonr@e-smith.com> |
427 |
- [4.5.6-01] |
428 |
- Added header and footer to page [gordonr 3223] |
429 |
- Added nav bar entries to lexicon [gordonr 3155] |
430 |
|
431 |
* Mon Apr 15 2002 Gordon Rowell <gordonr@e-smith.com> |
432 |
- [4.5.5-01] |
433 |
- Adjusted site-perl -> site_perl |
434 |
|
435 |
* Mon Apr 15 2002 Gordon Rowell <gordonr@e-smith.com> |
436 |
- [4.5.4-01] |
437 |
- Language en-> en-us |
438 |
|
439 |
* Wed Apr 10 2002 Kirrily Robert <skud@e-smith.com> |
440 |
- [4.5.3-01] |
441 |
- Added i18n'd directory panel |
442 |
|
443 |
* Mon Mar 25 2002 Kirrily Robert <skud@e-smith.com> |
444 |
- [4.5.2-01] |
445 |
- Checking for success of CVS import |
446 |
|
447 |
* Mon Mar 25 2002 Kirrily Robert <skud@e-smith.com> |
448 |
- [4.5.1-01] |
449 |
- rollRPM: Rolled version number to 4.5.1-01. Includes patches up to 4.5.0-02. |
450 |
|
451 |
* Mon Mar 25 2002 Kirrily Robert <skud@e-smith.com> |
452 |
- [4.5.0-02] |
453 |
- removed extraneous rmdir in setup section that was breaking the build |
454 |
|
455 |
* Mon Mar 25 2002 Kirrily Robert <skud@e-smith.com> |
456 |
- [4.5.0-01] |
457 |
- rollRPM: Rolled version number to 4.5.0-01. Includes patches up to 4.4.0-08. |
458 |
|
459 |
* Fri Nov 16 2001 Charlie Brady <charlieb@e-smith.com> |
460 |
- [4.4.0-08] |
461 |
- Fix code which adds the "ldap" user - it was trying to use "ldap" as |
462 |
a supplementary group (using -G) rather than as initial group (-g). |
463 |
- Remove two $! from warn statements as they are won't contain useful |
464 |
information. |
465 |
|
466 |
* Wed Nov 07 2001 Tony Clayton <tonyc@e-smith.com> |
467 |
- [4.4.0-07] |
468 |
- rebranding to Mitel Networks |
469 |
|
470 |
* Thu Oct 18 2001 Charlie Brady <charlieb@e-smith.com> |
471 |
- [4.4.0-06] |
472 |
- Fix regeneration of ldap password every time slapd.conf was |
473 |
re-expanded. See Bugzilla #1966 for details. |
474 |
|
475 |
* Thu Oct 18 2001 Charlie Brady <charlieb@e-smith.com> |
476 |
- [4.4.0-05] |
477 |
- Added code to add "ldap" user and group if necessary |
478 |
|
479 |
* Tue Aug 28 2001 Gordon Rowell <gordonr@e-smith.com> |
480 |
- [4.4.0-04] |
481 |
- Removed deprecated post-restore event directory |
482 |
|
483 |
* Fri Aug 17 2001 Adrian Chung <adrianc@e-smith.com> |
484 |
- [4.4.0-03] |
485 |
- Add restart-httpd-full call to end of web panel, after |
486 |
user confirmation of update has been sent. |
487 |
|
488 |
* Fri Aug 17 2001 gordonr |
489 |
- [4.4.0-02] |
490 |
- Autorebuild by rebuildRPM |
491 |
|
492 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
493 |
- [4.4.0-01] |
494 |
- Rolled version number to 4.4.0-01. Includes patches upto 4.3.1-05. |
495 |
|
496 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
497 |
- [4.3.1-05] |
498 |
- Use Net::LDAP module in ldap-delete and ldap-update. Something broke |
499 |
in the ldap{add,modify,delete} versions of the scripts, and it's easy |
500 |
to debug, and probably more efficient to just write to the perl API. |
501 |
|
502 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
503 |
- [4.3.1-04] |
504 |
- Change uid/gid before execing slapadd, so that created db files have |
505 |
correct ownership |
506 |
- Reformat ldap-rebuild to fit in 80 columns. |
507 |
|
508 |
* Tue Aug 7 2001 Charlie Brady <charlieb@e-smith.com> |
509 |
- [4.3.1-03] |
510 |
- Use slapadd instead of ldif2ldbm program for ldap-rebuild. Use pipe |
511 |
rather than temp file. |
512 |
- Re-add "schemacheck off" to slapd.conf - we don't pass the strict |
513 |
checking which is recommended. |
514 |
|
515 |
* Tue Aug 7 2001 Charlie Brady <charlieb@e-smith.com> |
516 |
- [4.3.1-02] |
517 |
- openldap v2 changes - change ownership of slapd.conf, use different |
518 |
bundled schema files, and add indexes. |
519 |
|
520 |
* Tue Aug 7 2001 Charlie Brady <charlieb@e-smith.com> |
521 |
- [4.3.1-01] |
522 |
- Rolled version number to 4.3.1-01. Includes patches upto 4.3.0-07. |
523 |
|
524 |
* Thu Aug 07 2001 Charlie Brady <charlieb@e-smith.com> |
525 |
- [4.3.0-07] |
526 |
- Break slapd.conf template into fragments, and include in-line |
527 |
at.conf and co.conf fragements, rather than use include feature. |
528 |
This is to make configuration stable across versions of openldap. |
529 |
|
530 |
* Thu Aug 02 2001 Gordon Rowell <gordonr@e-smith.com> |
531 |
- [4.3.0-06] |
532 |
- More branding changes |
533 |
|
534 |
* Sun Jul 29 2001 Jason Miller <jmiller@e-smith.com> |
535 |
- [4.3.0-05] |
536 |
- Branding text changes to the directory web panel |
537 |
|
538 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
539 |
- [4.3.0-04] |
540 |
- Change license to GPL |
541 |
|
542 |
* Wed Jul 04 2001 Gordon Rowell <gordonr@e-smith.com> |
543 |
- [4.3.0-03] |
544 |
- Use esmith::util::LdapPassword instead of direct file access |
545 |
|
546 |
* Tue May 29 2001 Tony Clayton <tonyc@e-smith.com> |
547 |
- [4.3.0-02] |
548 |
- fixed actions that had tied %conf when calling serviceControl (2 actions) |
549 |
|
550 |
* Sun Apr 29 2001 Charlie Brady <charlieb@e-smith.com> |
551 |
- [4.3.0-01] |
552 |
- Rolled version number to 4.3.0-01. Includes patches upto 4.2.0-03. |
553 |
|
554 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
555 |
- Rolling release number for GPG signing. |
556 |
|
557 |
* Fri Jan 26 2001 Charlie Brady <charlieb@e-smith.com> |
558 |
- [4.2.0-01] |
559 |
- Added packet filter fragment to selectively allow external LDAP access |
560 |
- Linked conf- and restart-masq actions into update-ldap event |
561 |
|
562 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
563 |
- [4.2.0-01] |
564 |
- Rolled version number to 4.2.0-01. Includes patches upto 4.1.0-17. |
565 |
|
566 |
* Tue Jan 16 2001 Adrian Chung <adrianc@e-smith.com> |
567 |
- [4.1.0-17] |
568 |
- Add ldap-rebuild to bootstrap-console-save |
569 |
- required to initialize ldap database. |
570 |
|
571 |
* Fri Jan 12 2001 Charlie Brady <charlieb@e-smith.com> |
572 |
- [4.1.0-16] |
573 |
- Remove ldap-conf from post-upgrade action (it was occuring before |
574 |
ldap-startup, which caused a problem). |
575 |
- Delete obsolete post-restore action. |
576 |
|
577 |
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
578 |
- [4.1.0-15] |
579 |
- split ldap-rebuild into ldap-conf and ldap-rebuild. |
580 |
|
581 |
* Thu Jan 11 2001 Gordon Rowell <gordonr@e-smith.com> |
582 |
- [4.1.0-14] |
583 |
- Use serviceControl() |
584 |
|
585 |
* Thu Jan 11 2001 Charlie Brady <charlieb@e-smith.com> |
586 |
- [4.1.0-13] |
587 |
- Fix perl warning in migrate variables script - simplify a chunk of code |
588 |
while doing it. |
589 |
|
590 |
* Wed Jan 10 2001 Charlie Brady <charlieb@e-smith.com> |
591 |
- [4.1.0-12] |
592 |
- Add genLdapPassword to ldap-startup - it somehow has been lost and never |
593 |
happens. |
594 |
- Remove ldap-startup from console-save |
595 |
- Add ldap-startup to post-restore action |
596 |
- Add new bootstrap-console-save event |
597 |
- Change demo phone number from 999... to 555.... to save UK emergency |
598 |
services |
599 |
|
600 |
* Tue Jan 09 2001 Jason Miller <jmiller@e-smith.com> |
601 |
- [4.1.0-11] |
602 |
- updated ldap-startup to set the defaults on a fresh |
603 |
installation |
604 |
- undid some bad changes to the conf-migrate-ldap-variables |
605 |
script |
606 |
|
607 |
* Mon Jan 08 2001 Jason Miller <jmiller@e-smith.com> |
608 |
- [4.1.0-5] through [4.1.0-9] |
609 |
- changed directory web panel to read from new configuration |
610 |
database parameters |
611 |
- updated action scripts to take into account the new ldap |
612 |
database parameters |
613 |
- added conf-migrate-ldap-variables as a new action in |
614 |
both post-upgrade and post-restore |
615 |
|
616 |
* Fri Jan 05 2001 Jason Miller <jmiller@e-smith.com> |
617 |
- [4.1.0-4] |
618 |
- updated copyright and fixed directory panel error in |
619 |
not checking prototypes for subroutines |
620 |
|
621 |
* Tue Dec 12 2000 Gordon Rowell <gordonr@e-smith.com> |
622 |
- [4.1.0-3] |
623 |
- Fixed e-smith-lib dependency |
624 |
|
625 |
* Mon Dec 11 2000 Tony Clayton <tonyc@e-smith.com> |
626 |
- [4.1.0-2] |
627 |
- upgraded ldap-rebuild action to conform to new processTemplate |
628 |
- created dependency on e-smith-lib-4.1.0-13 |
629 |
|
630 |
* Wed Dec 06 2000 Peter Samuel <peters@e-smith.com> |
631 |
- [4.1.0-1] |
632 |
- Rolled version to 4.1.0-1. Includes patches up to 4.0.6-3 |
633 |
|
634 |
* Tue Oct 31 2000 Charlie Brady <charlieb@e-smith.com> |
635 |
- Fix some old bugs in event scripts - esmith::db was not in use |
636 |
list. |
637 |
- Replace db_get_type calls with db_get_prop |
638 |
- Re-write ldap hosts.allow template. |
639 |
- Remove duplicate my $status in ldap-rebuild. |
640 |
|
641 |
* Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com> |
642 |
- Merge services database back into configuration |
643 |
|
644 |
* Wed Oct 25 2000 Charlie Brady <charlieb@e-smith.com> |
645 |
- Roll version number to 4.0.6-1. |
646 |
|
647 |
* Thu Oct 19 2000 Adrian Chung <adrian.chung@e-smith.com> |
648 |
- Update web/functions/directory script to pass merged |
649 |
confServicesCombined hash to esmith::cgi::gen... |
650 |
functions. |
651 |
|
652 |
* Thu Oct 12 2000 Charlie Brady <charlieb@e-smith.com> |
653 |
- Fix obsolete reference to LDAPServerMode. |
654 |
- Reformat to break long lines. |
655 |
|
656 |
* Fri Oct 06 2000 Charlie Brady <charlieb@e-smith.com> |
657 |
- Delete %post action, and set the default services db value |
658 |
in post-install action |
659 |
|
660 |
* Thu Oct 05 2000 Jason Miller <jay@e-smith.com> |
661 |
- change .spec to use db:setdefault() function |
662 |
|
663 |
* Wed Oct 04 2000 Jason Miller <jay@e-smith.com> |
664 |
- %post event for enabling ldap service automatically |
665 |
(no more post-install code required) |
666 |
- dependencies on e-smith-lib > 0.1-21 |
667 |
- only expand templates if ldapd enabled |
668 |
- only add to hosts.allow if ldapd enabled |
669 |
- enable/disable service dependant on services database |
670 |
|
671 |
* Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com> |
672 |
- Update services database when enabling/disabling startup. |
673 |
|
674 |
* Tue Oct 03 2000 Adrian Chung <mac@e-smith.com> |
675 |
- Added ldap service checking wrapper to action scripts. |
676 |
|
677 |
* Mon Sep 25 2000 Paul Nesbit <pkn@e-smith.com> |
678 |
- replaced references to e-smith.net with e-smith.com |
679 |
|
680 |
* Fri Aug 25 2000 Charlie Brady <charlieb@e-smith.com> |
681 |
- Added build dependency on e-smith-devtools, and dependency on |
682 |
e-smith-lib. Generate file list with genfilelist. |
683 |
|
684 |
* Thu Aug 24 2000 Gordon Rowell <gordonr@e-smith.com> |
685 |
- Rewrote ldap-startup to use serviceControl() |
686 |
|
687 |
* Wed Jul 12 2000 Joseph Morrison <jdm@e-smith.net> |
688 |
- Add -1 argument to split commands to handle null final values in |
689 |
configuration records |
690 |
|
691 |
* Fri Jun 16 2000 Charlie Brady <charlieb@e-smith.net> |
692 |
- Rewrite createlinks in perl |
693 |
- Don't mark template files as config files. |
694 |
|
695 |
* Mon Jun 12 2000 Charlie Brady <charlieb@e-smith.net> |
696 |
- Use new multi-arg form of backgroundCommand. |
697 |
|
698 |
* Fri Jun 1 2000 Charlie Brady <charlieb@e-smith.net> |
699 |
- First created - broken out of e-smith-base 4.0.11. |
700 |
|
701 |
%prep |
702 |
%setup |
703 |
%patch0 -p1 |
704 |
%patch1 -p1 |
705 |
%patch2 -p1 |
706 |
%patch3 -p1 |
707 |
%patch4 -p1 |
708 |
%patch5 -p1 |
709 |
%patch6 -p1 |
710 |
|
711 |
%build |
712 |
mkdir -p root/etc/e-smith/tests |
713 |
perl createlinks |
714 |
mkdir -p root/etc/rc.d/rc7.d |
715 |
ln -s /etc/rc.d/init.d/e-smith-service root/etc/rc.d/rc7.d/S80ldap |
716 |
mkdir -p root/home/e-smith/db/ldap |
717 |
|
718 |
mkdir -p root/etc/rc.d/init.d/supervise |
719 |
ln -s ../daemontools root/etc/rc.d/init.d/supervise/ldap |
720 |
|
721 |
mkdir -p root/service |
722 |
ln -s /var/service/ldap root/service/ldap |
723 |
touch root/var/service/ldap/down |
724 |
|
725 |
mkdir -p root/var/log/bdb |
726 |
mkdir -p root/var/service/ldap/ssl |
727 |
|
728 |
%install |
729 |
rm -rf $RPM_BUILD_ROOT |
730 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
731 |
rm -f %{name}-%{version}-%{release}-filelist |
732 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
733 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
734 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
735 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
736 |
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
737 |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
738 |
> %{name}-%{version}-%{release}-filelist |
739 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
740 |
|
741 |
%clean |
742 |
rm -rf $RPM_BUILD_ROOT |
743 |
|
744 |
%files -f %{name}-%{version}-%{release}-filelist |
745 |
%defattr(-,root,root) |