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