/[smeserver]/rpms/e-smith-base+ldap/sme8/e-smith-base+ldap.spec
ViewVC logotype

Contents of /rpms/e-smith-base+ldap/sme8/e-smith-base+ldap.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.46 - (show annotations) (download)
Mon Mar 1 19:02:30 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base+ldap-5_2_0-18_el5_sme, HEAD
Changes since 1.45: +7 -2 lines
Error occurred while calculating annotation data.
* Mon Mar 1 2010 Shad L. Lords <slords@mail.com> 5.2.0-18.sme
- Fix gettext errors in WAN/LAN subnet error message [SME: 5501]

1 # $Id: e-smith-base+ldap.spec,v 1.45 2010/02/14 19:42:41 snetram Exp $
2
3 Summary: e-smith server and gateway - base module
4 %define name e-smith-base+ldap
5 Name: %{name}
6 %define version 5.2.0
7 %define release 18
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.gz
13 Patch1: e-smith-base+ldap-5.2.0-sys_accounts.patch
14 Patch2: e-smith-base+ldap-5.2.0-sambaRole.patch
15 Patch3: e-smith-base+ldap-5.2.0-smartd40.patch
16 Patch4: e-smith-base+ldap-5.2.0-usbRev70drive.patch
17 Patch5: e-smith-base+ldap-5.2.0-ftp_auth.patch
18 Patch6: e-smith-base+ldap-5.2.0-straysymlink.patch
19 Patch7: e-smith-base+ldap-5.2.0-chechIPOverlap.patch
20 Patch8: e-smith-base-5.2.0-nonetworkdrivers.patch
21 Patch9: e-smith-base+ldap-5.2.0-adapter-translation-fixes.patch
22 Patch10: e-smith-base+ldap-5.2.0-FixLocale_External.patch
23 Patch11: e-smith-base+ldap-5.2.0-generate-2048-bits-keys.patch
24 Patch12: e-smith-base-5.2.0-perform_backup-hal.patch
25 Patch13: e-smith-base-5.2.0-perform_restore-hal.patch
26 Patch14: e-smith-base+ldap-5.2.0-hwaddress.patch
27 Patch15: e-smith-base+ldap-5.2.0-sha1.patch
28 Patch16: e-smith-base+ldap-5.2.0-fix-template-expansion-error.patch
29 Patch17: e-smith-base-5.2.0-gettext.patch
30 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
31 Requires: mod_auth_external
32 Requires: e-smith-lib >= 2.2.0-2
33 Requires: server-manager-images, server-manager
34 Requires: e-smith-formmagick >= 1.4.0-12
35 Requires: initscripts >= 6.67-1es17
36 Requires: e-smith-daemontools >= 1.7.1-04
37 Requires: perl(Locale::gettext)
38 Requires: perl(Crypt::Cracklib)
39 Requires: perl(Date::Manip)
40 Requires: perl(Data::UUID)
41 Requires: perl(Net::IPv4Addr)
42 Requires: /usr/sbin/irqbalance
43 Requires: /usr/sbin/cpuspeed
44 Requires: /sbin/microcode_ctl
45 Requires: dbus
46 Requires: hal
47 Requires: acpid
48 Requires: rssh
49 Requires: bridge-utils
50 Requires: vconfig
51 Requires: e-smith-bootloader
52 Requires: mdadm
53 Requires: pv
54 Requires: pam_abl
55 Conflicts: e-smith-manager < 1.13.1-04
56 Conflicts: e-smith-apache < 1.2.0-02
57 Obsoletes: rlinetd, e-smith-mod_ssl
58 Obsoletes: e-smith-serial-console
59 Obsoletes: sshell
60 Obsoletes: e-smith-rp-pppoe
61 Obsoletes: e-smith-base
62 Provides: e-smith-base = 4.18.1-5
63 Obsoletes: e-smith-ldap
64 Provides: e-smith-ldap = 4.12.0-9
65 Requires: nss_ldap
66 Requires: e-smith-samba+ldap
67 Requires: cpu
68 Obsoletes: perl-Data-UUID
69 BuildRequires: perl, perl(Test::Inline) >= 0.12
70 BuildRequires: e-smith-devtools >= 1.13.1-03
71 BuildRequires: gettext
72 %ifarch i386
73 Requires: apmd
74 %endif
75
76 %define dbfiles accounts configuration domains hosts networks
77 AutoReqProv: no
78
79 %description
80 e-smith server and gateway software - base module.
81
82 %changelog
83 * Mon Mar 1 2010 Shad L. Lords <slords@mail.com> 5.2.0-18.sme
84 - Fix gettext errors in WAN/LAN subnet error message [SME: 5501]
85
86 * Sun Feb 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-17.sme
87 - Really fix template expansion error [SME: 4528]
88
89 * Sun Feb 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-16.sme
90 - Fix template expansion error [SME: 4528]
91
92 * Mon Feb 8 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-15.sme
93 - Improve security by using SHA1 algorithm for certificate signing [SME: 5737]
94
95 * Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-14.sme
96 - Fix eth? swapping [SME: 4528]
97
98 * Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme
99 - Fix usb console backup and restore [SME: 4909]
100
101 * Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-12.sme
102 - Bump certificate encryption from 1024 bits to 2048 bits [SME: 5735]
103
104 * Mon Nov 23 2009 Gavin Weight <gweight@gmail.com> 5.2.0-11.sme
105 - Add a dummy call so xgettext can pull translated $ifName in console configuration pages. [SME: 5571]
106
107 * Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-10.sme
108 - Translate $ifName in console configuration pages [SME: 5571]
109
110 * Wed Nov 4 2009 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-9.sme
111 - Clean up: remove unused nonetworkdrivers [SME: 5521]
112
113 * Sat Oct 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-8.sme
114 - Prevent IP conflicts between local and external interface in server gateway mode [SME: 5501]
115
116 * Sat Jun 6 2009 Shad L. Lords <slords@mail.com> 5.2.0-7.sme
117 - Clean up stray symlinks in /lib/modules before depmod [SME: 5336]
118
119 * Thu Mar 26 2009 Daniel B. <daniel@firewall-services.com> 5.2.0-6.sme
120 - Set PersistentPasswd to off in proftpd [SME: 5103]
121
122 * Sat Feb 14 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-5.sme
123 - Auto-mount USB REV70-drive as usbdisk [SME: 5006]
124
125 * Sat Oct 25 2008 Stephen Noble <support@dungog.net> 5.2.0-4.sme
126 - create service link for smartd [SME: 1445]
127
128 * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 5.2.0-3.sme
129 - Add patch to support multiple samba roles [SME: 4172]
130
131 * Wed Oct 8 2008 Daniel B. <daniel@firewall-services.com> 5.2.0-2.sme
132 - do not import some system accounts/group in LDAP [SME: 4643]
133
134 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme
135 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
136
137 * Tue Sep 23 2008 Stephen Noble <support@dungog.net> 4.19.1-30
138 - Add locale tags for email in review panel [SME: 4267]
139
140 * Sat Sep 20 2008 Shad L. Lords <slords@mail.com> 4.19.1-29
141 - Correct gettext type during build process [SME: 570]
142
143 * Mon Sep 15 2008 Shad L. Lords <slords@mail.com> 4.19.1-28
144 - Fix screen corruption in console [SME: 4155]
145
146 * Sat Sep 13 2008 Shad L. Lords <slords@mail.com> 4.19.1-27
147 - Fix detection of xen instance against newer kernels [SME: 4555]
148
149 * Thu Aug 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-26
150 - Fixed warnings generated during build process [SME: 570]
151
152 * Sun Aug 17 2008 Gavin Weight <gweight@gmail.com> 4.19.1-25
153 - Add gettext to creating backup file title for localization. [SME: 4467]
154
155 * Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 4.19.1-24
156 - Fix race condition in VPN ip-down handling which could cause loss of
157 LAN connectivity. [SME: 4405]
158
159 * Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 4.19.1-23
160 - Remove requires for whiptail. No longer needed [SME: 4491]
161
162 * Fri Aug 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-22
163 - Change userpassword panel to use PASSWORD_VERIFY_NEW instead of PASSWORD_NEW_VERIFY [SME: 4487]
164
165 * Thu Aug 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-21
166 - Revert locale key PASSWORD_RESET_TITLE to RESET_PASSWORD_TITLE and move it
167 to e-smith-formmagick's general [SME: 4475]
168 - Reverting all *PASSWORD_NO_MATCH to *PASSWORD_VERIFY_ERROR locale keys [SME: 4476]
169 - Remove invalid entry tag from userpassword's locale file preventing the
170 form from displaying properly [SME: 4479]
171
172 * Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.19.1-20
173 - Separate template to avoid breaking schema [SME: 4171]
174
175 * Fri Jul 25 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-19
176 - Merge Users and People informations in ou=Users. This is done by removing
177 the 'account' objectClass and adding 'calEntry' and 'InetOrgPerson' for
178 user accounts [SME: 4396]
179 - do not reset objectClass attributes during ldap-update. This will allow
180 admins to add others objectClass
181 - use the dummy user (inetOrgPerson) of each group to store mail address
182 of the group (may store alias latter)
183 - remove now unused ou=People
184 - rotate slapd log in logrotate event
185 - compute sambaSID of users, prevent invalid sambaSID during migration
186
187 * Wed Jul 23 2008 Gavin Weight <gweight@gmail.com> 4.19.1-18
188 - Add regex to support cciss device names in manageRAID.pl. [SME: 4455]
189
190 * Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-17
191 - Add common <base> tags to e-smith-formmagick's general [SME: 4279]
192
193 * Thu May 14 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-16
194 - Add calEntry in ldap-update so the attribute calFBURL is allowed and
195 ou=People can be updated
196
197 * Mon Apr 28 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-15
198 - Fix run script when domain name has changed [SME: 4293]
199
200 * Mon Apr 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-14
201 - Add common <base> tags to e-smith-formmagick's general [SME: 4279]
202
203 * Wed Apr 23 2008 Shad L. Lords <slords@mail.com> 4.19.1-13
204 - Fix for > 5 nics detected [SME: 4232]
205
206 * Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 4.19.1-12
207 - Remove use of Date::Manip from ssl.crt [SME: 3155]
208
209 * Tue Apr 22 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-11
210 - Import samba information in ldap (for users)
211 - Import samba machine accounts
212
213 * Tue Apr 22 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-10
214 - Updated samba.schema (necessary for substr search on sambaSID)
215 - configured salpd to use md5crypt as hash
216 - configure ldap.conf to use exop as hash (negociated with ldap server => md5crypt)
217 - ACL for sambaLMPassword and sambaNTPassword
218 - Allow unix account lookup in ou=Computers (for machine accounts)
219 - Remove warnings in ldap.conf template
220
221 * Sat Apr 19 2008 Shad L. Lords <slords@mail.com> 4.19.1-9
222 - Fix FreeBusy param when disabled [SME: 1806]
223 - Remove .orig file [SME: 4228]
224
225 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.19.1-8
226 - Remove quitConsole from menu [SME: 4154]
227
228 * Wed Apr 2 2008 Sebastien F. <sebast@firewall-services.com> 4.19.1-7
229 - Really fix free/busy in usermanager [SME: 4157]
230
231 * Wed Apr 2 2008 Sebastien F. <sebast@firewall-services.com> 4.19.1-6
232 - Set nss "bind_policy" to "soft" to be able to access to
233 /etc/{passwd,groups,shadow} informations when ldap is down.
234 - Set /etc/openldap/ldap.conf host to "localhost" and remove unnecessary
235 use of SSL. [SME: 1543].
236 - Cleanly handle need of ldap directory generation after e-smith-base+ldap
237 package: add prop "generateDb" to ldap key and modify /var/service/ldap/run.
238
239 * Wed Apr 2 2008 Sebastien F. <sebast@firewall-services.com> 4.19.1-5
240 - Convert ldap-init-accounts action to /home/e-smith/db/ldap/ldif template
241 [SME: 3439].
242 - New template is able to import after package install sme accounts from
243 /etc/{passwd,group,shadow} files to ldap directory.
244
245 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.19.1-4
246 - Use frames in elinks [SME: 4156]
247 - Set homepage for elinks [SME: 4160]
248
249 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.19.1-3
250 - Fix free/busy field in useraccounts [SME: 4157]
251
252 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.19.1-2
253 - Add free/busy URL entry to help kronolith contribs [SME: 1806]
254
255 * Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 4.19.1-1
256 - Re-base off of e-smith-base-1.18.1 & e-smith-ldap-4.12.0
257 - Roll to development stream numbering
258
259 * Sat Mar 29 2008 Sebastien F. <sebast@firewall-services.com> 4.18.09sf05
260 - Fix some bugfixes to ldap authentication [SME: 1543]:
261 - In ldap-delete, $domain is compulsory to compute ldap base.
262 - In ldap-init-accounts, add absolute paths for consistency.
263 - Assure that ssl is not locally used (/etc/ldap.conf/10ssl).
264 - Temporary fix ldap access issue (/etc/ldap.conf/55initgroups_ignoreusers):
265 it seems that slapd cannot start as ldap user because ldap user
266 information is not avaiable. This seems to be caused by bad nss
267 configuration (ldap is looked up first) cf [SME: 3439].
268 - Remove cpu groupdel call from group-delete-unix because cpu delete
269 group with previous userdel call and this reach to an error.
270
271 * Mon Mar 17 2008 Sebastien F. <sebast@firewall-services.com> 4.18.09sf04
272 - As ldap replication and bdb seems to meet instability with openldap
273 2.2, for now remove them from the package. They should be reintroduced
274 when openldap will be updated to 2.3. [SME: 3444]
275
276 * Mon Mar 17 2008 Sebastien F. <sebast@firewall-services.com> 4.18.09sf03
277 - Bugfix to e-smith-base+ldap-4.18.0-domain_change.patch. [SME: 1543]
278
279 * Mon Mar 17 2008 Sebastien F. <sebast@firewall-services.com> 4.18.09sf02
280 - Remove /etc/e-smith/templates/etc/smb.conf/11ldapScripts and
281 /etc/e-smith/templates/etc/smb.conf/11passdbBackend of fix conflicts
282 with e-smith-samba+ldap. [SME: 1543]
283
284 * Mon Mar 17 2008 Sebastien F. <sebast@firewall-services.com> 4.18.09sf01
285 - Sync with e-smith-base-4.18-99.
286
287 * Mon Oct 15 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-09
288 - Use localhost for ldap.conf and cpu.conf, and for directory panel
289 accesses. There's no point in wasting CPU on SSL over a loopback
290 connection. [SME: 1543]
291
292 * Mon Oct 15 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-08
293 - Sync with recent updates to e-smith-ldap:
294 - Fix format error in ldif template. [SME: 3107]
295 - Don't tell slapd to create pid and args files that we don't need
296 and don't use (and can't create with later openldap version).
297 [SME: 2477]
298 - Make success/failure messages standard [SME: 2289]
299
300 * Mon Oct 15 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-07
301 - Avoid use of slapcat to determine previous domain name - won't
302 work if ldap backend storage configuration has changed. We use
303 readlink instead.
304
305 * Mon Oct 15 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-06
306 - Add initial support for master->slave replication (from Sebastien).
307 [SME: 3444]
308
309 * Mon Oct 15 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-05
310 - Updated patch from Sebastien (simplify calls to 'cpu'). [SME: 1543]
311
312 * Mon Oct 01 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-04
313 - Remove obsolete comment headers about tech support being available
314 from Mitel's website.
315
316 * Mon Oct 01 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-03
317 - Incorporate Sebastien's patches. [SME: 1543]
318
319 * Sat Sep 29 2007 Sebastien F. <sebast@firewall-services.com> 4.18.0-02sf03
320 - Change ldap backend from ldbm to bdb:
321 - "The Berkeley Database backend is the prefered database backend to use with
322 OpenLDAP. However, it requires a lot of (correct) configuration in order
323 for the backend to perform well." (mainly /var/lib/ldap/DB_CONFIG file
324 addition);
325 - bdb or hdb backend is compulsory for syncrepl replication with openldap 2.2
326 and advised with openldap 2.3.
327 - /home/e-smith/db/ldap/ldif/ template now initialize ldap domain only.
328 - ldap-init-accounts action is no longer associed with post-upgrade and
329 post-install events (thus any events), it is now called by /service/ldap/run
330 only.
331
332 * Fri Sep 28 2007 Sebastien F. <sebast@firewall-services.com> 4.18.0-02sf02
333 - Correction of schema checking issues (incompatibilities between "account"
334 and "organizationalPerson" objectClass, lack of "organizationalPerson" and
335 "inetOrgPerson" objectClass needed by several attributes like "street").
336 - Move person relative ldap information (ie information added to ldap directory
337 by ldap-update action) to ou=People organizational unit.
338 - Organization units summary :
339 - ou=Users is now only used to store unix/samba/etc user relative
340 informations;
341 - ou=People correspond to person relative information (like contacts in mail
342 clients);
343 - ou=Groups is used to store unix/samba groups.
344
345 * Thu Sep 13 2007 Sebastien F. <sebast@firewall-services.com> 4.18.0-02sf01
346 - Correct cpu bad behaviour (cpu usermod called without option -G remove all
347 user's supplementary groups and -G option need at least one argument).
348 - Remove "passwd -l" call from user-create-unix action because cpu create an
349 already locked user.
350 - Redirect slapd logs to /var/log/slapd to keep /var/log/messages easily
351 readable.
352
353 * Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-02
354 - Merge patch incorporating updates to e-smith-base through 4.18.0-65.
355
356 * Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 4.18.0-01
357 - Roll new tarball, incorporating all patches (4.17.0-02 through
358 4.17.0-46sf03).
359
360 * Tue Aug 28 2007 Sebastien F. <sebast@firewall-services.com> 4.17.0-46sf03
361 - Unix/Samba users/groups are now stored, in addition to sme db, in ldap
362 directory. [SME: 1543]
363 - Events and actions relative to "Users", "Groups" and "Directory"
364 server-manager panels of have been updated (patches 20 and 21 should no
365 longer be applied).
366 - Add ldap-init-accounts action to initialize unix/samba accounts and samba
367 group mappings.
368 - Add ldap.pm to factorize ldap function code.
369 - Actions user-lock-passwd, group-modify-unix, user-modify-unix and
370 update-passwd are no longer called during post-upgrade and
371 bootstrap-console-save events.
372
373 * Wed Aug 8 2007 Sebastien F. <sebast@firewall-services.com> 4.17.0-46sf02
374 - Slapd now uses a copy of /home/e-smith/ssl.pem self-signed certificate,
375 located in /var/service/ldap/ssl, as server certificate. [SME: 3169]
376
377 * Mon Jul 23 2007 Sebastien F. <sebast@firewall-services.com> 4.17.0-46sf01
378 - Configure slapd, PAM, NSS and common clients (like ldapsearch) to use TLS
379 with server certificate. [SME: 3169]
380 - Server certificate has to be done manually.
381 - Port 389 (unsecured access to slapd) is still open for compatibility
382 concerns.
383
384 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
385 - Clean up spec so package can be built by koji/plague
386
387 * Mon Dec 11 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-46
388 - Add pam_abl config to tui-auth configuration.
389
390 * Fri Dec 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-45
391 - Fix template expansion of {tui,gui}-conf pam.d files [MN00162892]
392 - fix password section of tui-conf pam.d file. [MN00162897]
393
394 * Fri Dec 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-44
395 - Fix sed script problem in ldap run script which broken change
396 of primary domain.
397
398 * Fri Dec 01 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-43
399 - Remove diald service default fragments - no longer required.
400
401 * Fri Dec 01 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-42
402 - Fix set_prop method call in 10EnableMasq migrate fragment.
403
404 * Mon Nov 27 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-41
405 - Configure sshd to use PAM for password auth (via "UsePAM" set to
406 "yes").
407
408 * Thu Nov 23 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-40
409 - Fix typo (nss_base_passwd in place of nss_base_group) in ldap.conf.
410
411 * Mon Nov 20 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-39
412 - Fix template expansion of {tui,gui}-conf pam.d files.
413 - Create empty /var/run/abl directory for pam_abl state databases.
414
415 * Mon Nov 20 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-38
416 - Remove obsolete templates.metadata file for diald init script.
417
418 * Thu Nov 16 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-37
419 - Add LDAP container ou for user records with passcodes.
420
421 * Wed Nov 15 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-36
422 - Fix GATEWATDEV so that serveronly mode has correct routing. [SME: 2068]
423
424 * Wed Nov 15 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-35
425 - Fix post-install warning from EnableMasq migrate fragment.
426
427 * Tue Nov 14 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-34
428 - remove console.pm, which overlaps with file in e-smith-lib RPM.
429
430 * Tue Nov 14 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-33
431 - Removed remnants of earlier console refactor attempt.
432 - Add default config properties for pppoe service.
433 - Remove special case code in console config wizard for 'smb' service.
434
435 * Tue Nov 14 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-32
436 - Bug fixes in bootstrap-console.
437 - Change "restore from backup" default to "no"
438 - Use links rather than lynx to access manager from console.
439
440 * Thu Nov 09 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-31
441 - Add support for use of pam_tally and/or pam_abl modules. Both
442 are disabled by default.
443
444 * Thu Nov 09 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-30
445 - Complete removal of server-manager templates (this time for sure, Rocky!).
446 [SME: 2023]
447
448 * Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-29
449 - Fix typo in ldap.conf templates.
450
451 * Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-28
452 - Complete removal of server-manager templates. [SME: 2023]
453
454 * Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-27
455 - Add configuration files for tui apps to authenticate v ldap.
456
457 * Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-26
458 - Correct permissions on slapd.conf. [SME: 2037]
459
460 * Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-25
461 - Remove server-manager templates and scripts - move to e-smith-manager.
462 [SME: 2023]
463
464 * Mon Nov 06 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-24
465 - Update ldap schema so that user records are contained within
466 ou=Users,... and groups within ou=Groups,...
467
468 * Thu Nov 02 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-23
469 - Remove dangling group/useraccounts symlinks.
470
471 * Tue Oct 24 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-22
472 - Remove user and group create/modify/delete stuff. Those bits can
473 be re-added if required in a different RPM.
474
475 * Mon Oct 23 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-21
476 - Combine dhcp client, pppoe, dialup and static WAN connections into
477 "wan" service. [SME 1795]
478
479 * Mon Oct 23 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-20
480 - Add missing include of Locale::gettext in two of the esmith::console::*
481 modules.
482
483 * Fri Oct 20 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-19
484 - Fix taint issues in perform_restore.pm.
485
486 * Fri Oct 20 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-18
487 - Add a bootstrap-console restore from removable storage option.
488
489 * Thu Oct 19 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-17
490 - Refactor console considerably.
491
492 * Wed Oct 18 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-16
493 - Remove deprecated %conf use in console (port from e-smith-base-4.17.0-05).
494
495 * Mon Oct 16 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-15
496 - Remove special "keep" options, and use --default-item feature
497 of dialog's menu widget in its place.
498
499 * Mon Oct 16 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-14
500 - Include esmith::console.pm, modified to run with dialog rather
501 than whiptail. Currently clashes with e-smith-lib, and must
502 be installed with --force.
503
504 * Thu Oct 12 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-13
505 - Change ldap run script so that base dn is rewritten in existing
506 directory data when domain name is changed.
507
508 * Fri Sep 29 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-12
509 - More updates to ldif template.
510
511 * Thu Sep 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-11
512 - Enable schema checking. Update ldif templates to ensure valid
513 directory contents before adding users/groups.
514
515 * Thu Sep 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-10
516 - pam_ldap changes to allow password change by root.
517
518 * Wed Sep 27 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-09
519 - Add acls to slapd.conf
520 - Update actions to use cpu for {user,group}{add,del,mod}.
521 - Update /etc/pam.d/passwd templates.
522
523 * Thu Jul 06 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-08
524 - Update actions to use smbldap-{user,group}{add,del,mod}.
525
526 * Thu Jul 06 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-07
527 - Fix warnings during template expansion.
528
529 * Thu Jul 06 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-06
530 - Fix typo in nss_ldap dependency.
531
532 * Thu Jul 06 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-05
533 - Configure nsswitch.conf and pam for ldap authentication.
534
535 * Wed Jul 05 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-04
536 - Add samba schema to ldap configuration.
537
538 * Wed Jul 05 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-03
539 - Fix templated config for smbldap_tools.
540
541 * Wed Jul 05 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-02
542 - Update Obsoletes/Provides headers to allow upgrade.
543 - Add templated config for smbldap_tools.
544
545 * Wed Jul 05 2006 Charlie Brady <charlie_brady@mitel.com> 4.17.0-01
546 - Include e-smith-ldap content, as base for LDAP authentication development.
547
548 * Wed Jun 28 2006 Gavin Weight <gweight@gmail.com> 4.16.0-26
549 - Menu text in console is incorrect for RAID5 installs. [SME: 404]
550
551 * Wed Jun 14 2006 Gavin Weight <gweight@gmail.com> 4.16.0-25
552 - Modify user create page to show henry:miller not henry_miller. [SME: 531]
553
554 * Fri Jun 9 2006 Gavin Weight <gweight@gmail.com> 4.16.0-24
555 - Remove lines for creating symlink to statusreport from spec file. [SME: 450]
556
557 * Mon Jun 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-23
558 - Allow for admin account when locking null passwords, and perform
559 check in post-upgrade so that the password screen will be presented
560 after the reboot [SME: 1529]
561
562 * Mon Jun 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-22
563 - Correct argument ordering in last change [SME: 790, SME: 1541]
564
565 * Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-21
566 - Increase cert serial number when new certificate is generated. [SME: 790]
567
568 * Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-20
569 - Change ssl.crt template so that cert is regenerated if issuer information
570 has changed. [SME: 1484]
571
572 * Thu Apr 27 2006 Gavin Weight <gweight@gmail.com> 4.16.0-19
573 - Change default shutdown value from shutdown to reboot. [SME: 1320]
574
575 * Sun Apr 23 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-18
576 - Fix syntax error introduced in last change (and reuse $rc and $choice in
577 raidManage.pl). [SME: 1285,1300]
578
579 * Fri Apr 21 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-17
580 - Force masq service to enabled for servergateway modes, but
581 leave at current setting for serveronly. Revises -09 change [SME: 1209]
582
583 * Wed Apr 19 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-16
584 - Add big warning about wiping disk to raid management screen.
585 [SME: 1285]
586
587 * Tue Apr 18 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-15
588 - Ensure that rmmod-bonding doesn't return error status if
589 bonding is not enabled (e.g. during upgrade) [SME: 935]
590
591 * Tue Apr 18 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-14
592 - Avoid warning from NICBondingOptions migrate fragment. [SME: 1271]
593
594 * Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-13
595 - Always save ssh property changes, even if sshd is disabled [SME: 1210]
596
597 * Thu Apr 13 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-12
598 - Don't run kudzu at every bootup. [SME: 727]
599
600 * Tue Apr 11 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-11
601 - More fixes to dhclient configuration (courtesy of Richard Schiffelers).
602 [SME: 881]
603
604 * Mon Apr 10 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-10
605 - Fixes to dhclient configuration (courtesy of Richard Schiffelers).
606 [SME: 881]
607
608 * Thu Apr 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-09
609 - Enable the masq service to ensure that installs and upgrades
610 are consistent. If someone really wants to disable it, they can
611 add a force fragment [SME: 1209]
612
613 * Thu Apr 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-08
614 - Lock accounts with bad SMB passwords [SME: 1193]
615
616 * Thu Apr 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-07
617 - Revert password length restriction changes [SME: 1193]
618
619 * Thu Apr 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-06
620 - Adjust plural in page title in last patch [SME: 1193]
621
622 * Thu Apr 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-05
623 - Adjust console logic for 14 character password restriction [SME: 1193]
624
625 * Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-04
626 - Only process 'network' entries in route-eth0 template [SME: 1182]
627
628 * Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-03
629 - Restrict passwords to 14 characters [SME: 1193]
630
631 * Tue Mar 14 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-02
632 - Rename anaconda logs, but leave a symlink. Do nothing if the log
633 is already a symlink or missing [SME: 808]
634
635 * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-01
636 - Roll stable stream version. [SME: 1016]
637
638 * Tue Mar 14 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-20
639 - Ensure that each user has a Shell property in post-upgrade.
640 If they didn't have one before, set it to the current value in
641 /etc/passwd. [SME: 859]
642
643 * Tue Mar 14 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-19
644 - Copy anaconda logs instead of renaming them in post-upgrade [SME: 808]
645 - Adjust timestamp of copied logs to logfiles2timestamp format [SME: 808]
646
647 * Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-18
648 - Change modSSL to be private in Private Server and Gateway mode [SME: 328]
649
650 * Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-17
651 - And remove now redundant calls to wherenext [SME: 986]
652
653 * Fri Mar 10 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.9-16
654 - Fix FM page name (FirstPage => First) in a few places. [SME: 986]
655
656 * Tue Mar 7 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-15
657 - Correct typo in -13 change which hid message [SME: 964]
658
659 * Tue Mar 7 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-14
660 - Display a message for single disk installs which catches that
661 case and tells people that they can add a second disk and produce
662 a mirrored pair [SME: 958]
663
664 * Tue Mar 7 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-13
665 - Display a nicer message when a spare disk is available to be
666 added to the pair [SME: 964]
667 - Blank line for consistency with other messages [SME: 964]
668
669 * Tue Mar 7 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-12
670 - Check whether a resync is in progress so we don't state that
671 intervention is required when it is not [SME: 958]
672
673 * Tue Mar 7 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-11
674 - Check whether destination drive of add_mirror is already part
675 of a RAID device. If so, complain and exit [SME: 870]
676 - Also ensure that /sbin is in the PATH
677
678 * Sun Mar 5 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.9-10
679 - Fixes to dhclient configuration. [SME: 881]
680
681 * Fri Mar 03 2006 Mark Knox <mark_knox@mitel.com> 4.15.9-09
682 - Added NIC Bonding options screen in console [SME: 935]
683 - Migrate old NICBondingOptions to new defaults, and added new default
684 options [SME: 935]
685 - rmmod bonding.ko in bootstrap-console-save so new options work
686 without extra reboot [SME: 935]
687
688 * Wed Mar 01 2006 Mark Knox <mark_knox@mitel.com> 4.15.9-08
689 - Allow NICBondingOptions in 10bonding template fragment [SME: 918]
690
691 * Wed Mar 01 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.9-07
692 - Bump pppoe run script mlimit from 10M to 25M. [SME: 907]
693
694 * Fri Feb 24 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-06
695 - Re-do -04 change as a patch so it sticks [SME: 863]
696
697 * Thu Feb 23 2006 Charlie Brady <charlieb@e-smith.com> 4.15.9-05
698 - Add templates for dhclient configuration file. [SME: 881]
699
700 * Wed Feb 22 2006 Charlie Brady <charlieb@e-smith.com> 4.15.9-04
701 - Remove default fragment for AdminEmail [SME: 863]
702
703 * Mon Feb 21 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-03
704 - Change 'Reconfigure' to lower case in menu [SME: 2]
705
706 * Mon Feb 20 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-02
707 - Add requires for mdadm. We use it in the console and raid monitor
708 and it won't get installed for 5.x upgrades [SME: 767]
709
710 * Fri Feb 17 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-01
711 - Roll patches to 4.15.8-60
712 - Trim changelog before 4.15.3-01 [SME: 828]
713
714 * Fri Feb 17 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-60
715 - Also rotate /var/log/anaconda.{log,syslog} in post-upgrade [SME: 808]
716
717 * Fri Feb 17 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-59
718 - Change 'Reconfigure' to lower case in -57 change [SME: 2]
719
720 * Fri Feb 17 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-58
721 - Add /root/upgrade.log and /root/upgrade.log.syslog to
722 logfiles2timestamp in post-upgrade event so we preserve
723 them across multiple upgrades [SME: 808]
724
725 * Fri Feb 17 2006 Gavin Weight <gweight@gmail.com> 4.15.8-57
726 - Added Reconfigure and Reboot option in console, changed
727 main console menu to reflect Reconfigure option [SME: 2]
728
729 * Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-56
730 - Default EmailForward to 'local' in case that part of the panel
731 is hidden from view [SME: 704]
732
733 * Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-55
734 - Adjust console title bar to 'SME Server' [SME: 726]
735 - Change title on "Choose administrator password" screens
736
737 * Mon Feb 13 2006 Mark Knox <mark_knox@mitel.com> 4.15.8-54
738 - Set EthernetDriver2 property when bonding is enabled [SME: 776]
739
740 * Mon Feb 13 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-53
741 - Remove cpuspeed.contrib ClearCase droppings [SME: 754]
742
743 * Sun Feb 12 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-52
744 - Start bootstrap-console earlier - in particular before raidmonitor.
745 Don't try to restart 'random'. [SME: 743]
746
747 * Sun Feb 12 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-51
748 - Obsolete keytable service. [SME: 746]
749
750 * Sat Feb 11 2006 Shad L. Lords <slords@mail.com> 4.15.8-50
751 - Run kudzu -q from inittab [SME: 727]
752
753 * Tue Feb 9 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-49
754 - Make bootp support optional, defaulting to 'deny'. [SME: 660]
755
756 * Thu Feb 9 2006 Gavin Weight <gweight@gmail.com> 4.15.8-48
757 - Removed the online-manual. [SME: 407]
758
759 * Thu Feb 9 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-47
760 - Hide email forwarding options on useraccounts page if there is
761 no 'smtpd' record [SME: 704]
762
763 * Wed Feb 8 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-46
764 - Fix conversion of user shell from sshell to rssh. [SME: 699]
765
766 * Tue Feb 7 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-45
767 - Fix up location of 00openRW fragments from change 41 [SME: 659. 679]
768
769 * Mon Feb 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-44
770 - Change logic for determining RAID partitions in use [SME: 516]
771 - Add detailed output of the RAID state to messages log [SME: 516]
772
773 * Mon Feb 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-43
774 - Only say that a RAID device is clean if truly clean [SME: 516]
775 - Adjusted warning to say 'may be required' instead of 'is'
776
777 * Mon Feb 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-42
778 - Delete 'deny bootp' fragment from dhcpd.conf, reverting to
779 default, which is to allow bootp. [SME: 660]
780
781 * Sun Feb 5 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-41
782 - Use appropriate esmith::*DB class for 00openRW migrate fragments.
783 [SME: 659]
784
785 * Tue Jan 31 2006 Gavin Weight <gweight@gmail.com> 4.15.8-40
786 - Added EmailForward migrate fragment [SME: 598]
787
788 * Tue Jan 31 2006 Gavin Weight <gweight@gmail.com> 4.15.8-39
789 - Added text periods and underscores in useraccounts [SME: 531]
790
791 * Tue Jan 31 2006 Gavin Weight <gweight@gmail.com> 4.15.8-38
792 - Updated copyright text in server-manager [SME: 459]
793
794 * Tue Jan 31 2006 Gavin Weight <gweight@gmail.com> 4.15.8-37
795 - The menu text incorrect for RAID5 configurations [SME: 404]
796
797 * Tue Jan 31 2006 Shad L. Lords <slords@mail.com> 4.15.8-36
798 - Disable zeroconf so 169.254.0.0/16 route isn't created [SME: 613]
799
800 * Sun Jan 29 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-35
801 - Fix flip of access settings to default on first post-upgrade (e.g.
802 sshd from public to private). [SME: 495]
803
804 * Sun Jan 29 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-34
805 - Remove remnants of statustest. [SME: 450]
806
807 * Wed Jan 25 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-33
808 - Add templated elinks config file. [SME: 444]
809
810 * Mon Jan 23 2006 Shad L. Lords <slords@mail.com> 4.15.8-32
811 - Help raidmonitor report more than just failures [SME: 496]
812
813 * Mon Jan 23 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-31
814 - Create ~/.ssh as part of skeleton home directory [SME: 456]
815
816 * Wed Jan 18 2006 Charlie Brady <charlieb@e-smith.com> 4.15.8-30
817 - Fix reboot problem when switching WAN from dynamic to static
818 address. [SME: 500]
819
820 * Fri Jan 13 2006 Mark Knox <mark_knox@mitel.com> 4.15.8-29
821 - New migrate fragment to clean up NIC bonding property [SME: 449]
822
823 * Fri Jan 13 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-28
824 - Fix account regexp for set_password case [SME: 24]
825
826 * Wed Jan 11 2006 Mark Knox <mark_knox@mitel.com> 4.15.8-27
827 - New console option for ethernet bonding [SME: 449]
828
829 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-26
830 - Allow dot and underscore in account names [SME: 24]
831 - Default maxAcctNameLength and maxGroupNameLength to 31 [SME: 24]
832
833 * Thu Jan 5 2006 Charlie Brady <charlieb@e-smith.com> 4.15.8-25
834 - Avoid generating warning messages during interfaces migration
835 template fragment. [SME: 354]
836
837 * Thu Jan 5 2006 Charlie Brady <charlieb@e-smith.com> 4.15.8-24
838 - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and
839 remove them if found. [SME: 390]
840
841 * Sun Jan 2 2006 Charlie Brady <charlieb@e-smith.com> 4.15.8-23
842 - Use regexp as well as cracklib to check admin password in console.
843 [SME: 335]
844
845 * Mon Jan 2 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-22
846 - Change heuristic for finding disks in manageRAID.pl [SME: 342]
847
848 * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-21
849 - Move testInternet console menu item to smeserver-support [SME: 364]
850
851 * Fri Dec 16 2005 Charlie Brady <charlieb@e-smith.com> 4.15.8-20
852 - Fix localization bug in add_mirror. [SME: 341]
853
854 * Thu Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-19
855 - Remove the "In eight seconds" untruth from shutdown/reboot [SME: 86]
856
857 * Thu Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-18
858 - Added modSSL{CipherSuite} default [SME: 194]
859
860 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-17
861 - Enable microcode_ctl service by default [SME: 74]
862
863 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-16
864 - Removed accounts db default for 'common'
865 - Added accounts db defaults for server-common and server-resources [SME: 77]
866
867 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-15
868 - Ensure that Nameservers==localhost is set for the primary domain [SME: 137]
869
870 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-14
871 - And remove db defaults for sysstat service [SME: 327]
872
873 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-13
874 - Remove sysstat startup symlink [SME: 327]
875
876 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-12
877 - Default sysconfig{PreviousSystemMode} == unknown [SME: 75]
878
879 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-11
880 - Remove Requires: sysstat [SME: 327]
881
882 * Sat Dec 10 2005 Charlie Brady <charlieb@e-smith.com> 4.15.8-10
883 - Move code for testing internet access into menu item file.
884 [SME: 261]
885
886 * Thu Dec 8 2005 Charlie Brady <charlieb@e-smith.com> 4.15.8-09
887 - Fix looping in console at swap ethernet choice page. [SME: 68]
888
889 * Wed Dec 7 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-08
890 - Fix taint issues with RAID management menu item [SME: 253]
891
892 * Mon Dec 05 2005 Filippo Carletti <carletti@mobilia.it> 4.15.8-07
893 - console: DHCP range (wrong path chosen for non-English) [SME: 157]
894
895 * Fri Dec 2 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-06
896 - Initial cut at console menu item to (re)add RAID-1 mirror [SME: 253]
897 - Needs to move to /sbin/e-smith/console-menu-items, once I work out
898 what I believe is a taint issue.
899
900 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-05
901 - Change 'standby' to 'stand by' in console [SME: 66]
902
903 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-04
904 - Fix routing on eth0 for multiple local networks [SME: 203]
905
906 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-03
907 - Bump release number only
908
909 * Mon Nov 28 2005 Charlie Brady <charlieb@e-smith.com>
910 - [4.15.8-02]
911 - Re-import head to CVS.
912 - Regenerate both key and cert when cert expires, not just crt. [SF: 1365965]
913
914 * Sun Nov 20 2005 Gordon Rowell <gordonr@e-smith.com>
915 - [4.15.8-01]
916 - Default cpuspeed to disabled [MN00107779]
917
918 * Wed Nov 16 2005 Mark Knox <mark_knox@mitel.com>
919 - [4.15.7-01]
920 - Imported to ClearCase
921 - Changed console sort order from ASCII to numeric [MN00107120]
922
923 * Sun Nov 13 2005 Gordon Rowell <gordonr@e-smith.com>
924 - [4.15.6-09]
925 - Add -f option to add_mirror to allow use of disks with existing
926 partition tables [MN00101667]
927
928 * Sun Nov 13 2005 Gordon Rowell <gordonr@e-smith.com>
929 - [4.15.6-08]
930 - Add reconfiguration reboot option to reboot panel [SF: 1349946]
931 - TODO: Cleanup so that the red warning header doesn't display since
932 the reboot is going to happen anyway
933
934 * Mon Nov 7 2005 Gordon Rowell <gordonr@e-smith.com>
935 - [4.15.6-07]
936 - Only signal-event ip-change on the BOUND action of dhclient [SF: 1344853]
937
938 * Tue Nov 1 2005 Charlie Brady <charlieb@e-smith.com>
939 - [4.15.6-06]
940 - Change DISABLED -> OFF in init script messages, and go back to standard
941 alignment. [SF: 1264702, 134543]
942
943 * Mon Oct 24 2005 Charlie Brady <charlieb@e-smith.com>
944 - [4.15.6-05]
945 - Add default value of SYSFONTACM to /etc/sysconfig/i18n. [SF: 1295293]
946
947 * Mon Oct 24 2005 Charlie Brady <charlieb@e-smith.com>
948 - [4.15.6-04]
949 - Replace grub setup commands in add_mirror with an exec of an external
950 script. This script will be provided by a bootloader specific package,
951 e.g. e-smith-lilo or e-smith-grub. That package should include a
952 "Provides: e-smith-bootloader" header, to satisfy a Requires in this
953 package. [SF: 1335937]
954
955 * Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com>
956 - [4.15.6-03]
957 - Unload network drivers immediately after rc.sysinit runs, so that
958 we can control the order of allocation of eth0 and eth1. [SF: 1332366]
959
960 * Mon Oct 17 2005 Charlie Brady <charlieb@e-smith.com>
961 - [4.15.6-02]
962 - Disable raid monitor if /boot/grub/device.map suggests that the system
963 is a single disk system. [SF: 1269091]
964
965 * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
966 - [4.15.6-01]
967 - Remove L10Ns from base packages [SF: 1309520]
968
969 * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
970 - [4.15.5-01]
971 - New dev stream before relocating L10Ns
972
973 * Thu Oct 13 2005 Gordon Rowell <gordonr@gormand.com.au>
974 - [4.15.4-52]
975 - Add /sbin/e-smith/add_mirror [SF: 1325479]
976
977 * Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com>
978 - [4.15.4-51]
979 - Untaint menu choice when ethernet driver is chosen from menu. [SF: 1323270]
980
981 * Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com>
982 - [4.15.4-50]
983 - Move user-create-unix action before template expansions, so
984 that getpwnam can be used in template fragments. Ditto
985 for group-create-unix. [SF. 1322231]
986
987 * Sun Oct 9 2005 Charlie Brady <charlieb@e-smith.com>
988 - [4.15.4-49]
989 - Fix spelling mistake in useraccounts panel. [SF: 1320002]
990
991 * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
992 - [4.15.4-48]
993 - Revised translation of groups panel, reordered to match
994 the English lexicon - Thanks Didier Rambeau [SF: 1305184]
995
996 * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
997 - [4.15.4-47]
998 - Added foot.tmpl for Italian [SF: 1309266]
999
1000 * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
1001 - [4.15.4-46]
1002 - Added Italian L10Ns - Thanks Filippo Carletti [SF: 1309266]
1003
1004 * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
1005 - [4.15.4-45]
1006 - Added Italian for Please wait - we should do this through gettext
1007 or similar [SF: 1309288]
1008
1009 * Thu Sep 29 2005 Gordon Rowell <gordonr@e-smith.com>
1010 - [4.15.4-44]
1011 - Reword Master DNS Server screen as "Corporated DNS Server", in
1012 line with domains panel [gordonr MN00096914]
1013
1014 * Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com>
1015 - [4.15.4-43]
1016 - German L10Ns for userpassword and console - Thanks Dietmar Berteld
1017 [SF: 1293325]
1018
1019 * Sun Sep 25 2005 Gordon Rowell <gordonr@e-smith.com>
1020 - [4.15.4-42]
1021 - Added German L10N - Thanks Dietmar Berteld [SF: 1293325]
1022
1023 * Sun Sep 25 2005 Gordon Rowell <gordonr@e-smith.com>
1024 - [4.15.4-41]
1025 - Added "de" to pleasewait ugliness case statement and
1026 sorted the list alphabetically [SF: 1293325]
1027
1028 * Fri Sep 23 2005 Gordon Rowell <gordonr@e-smith.com>
1029 - [4.15.4-40]
1030 - Convert [s]smtpfront-qmail to [s]smtpd in migrate fragment [SF: 1291265]
1031
1032 * Thu Sep 22 2005 Charlie Brady <charlieb@e-smith.com>
1033 - [4.15.4-39]
1034 - Add preliminary support for ethernet bonding on local interface.
1035 - Modify user-modify-unix so that usermod is not called to change
1036 shell or GCOS field unless they need to change.
1037
1038 * Mon Sep 12 2005 Charlie Brady <charlieb@e-smith.com>
1039 - [4.15.4-38]
1040 - Update filelist entries for databases which have moved
1041 from /home/e-smith to /home/e-smith/db [SF: 1216546]
1042
1043 * Tue Sep 6 2005 Tony Clayton <apc@e-smith.com>
1044 - [4.15.4-37]
1045 - Create /mnt/floppy symlink if required in post-{install,upgrade}.
1046 [MN00095821]
1047 - Haldaemon race conditions seem quite recalcitrant, so don't try to create
1048 /mnt/cdrom symlink. [SF: 1260322]
1049 - Disable CTRL-C in console [tonyc SF: 1264697]
1050 - Catch CTRL-C in console during Test Internet [tonyc SF: 1264697]
1051
1052 * Tue Sep 6 2005 Charlie Brady <charlieb@e-smith.com>
1053 - [4.15.4-36]
1054 - Rework user-group-modify to work around perl bug in getgrent(). [SF 1276553]
1055
1056 * Tue Sep 6 2005 Charlie Brady <charlieb@e-smith.com>
1057 - [4.15.4-35]
1058 - Also create /mnt/floppy symlink if required. [MN00095821]
1059
1060 * Mon Sep 5 2005 Gordon Rowell <gordonr@e-smith.com>
1061 - [4.15.4-34]
1062 - Re-add Master DNS Server console screen [gordonr MN00096910, MN00088222]
1063
1064 * Fri Sep 2 2005 Charlie Brady <charlieb@e-smith.com>
1065 - [4.15.4-33]
1066 - Fix race condition in /mnt/cdrom symlink creation, by creating
1067 symlink from haldaemon action. [SF: 1260322]
1068
1069 * Thu Sep 1 2005 Charlie Brady <charlieb@e-smith.com>
1070 - [4.15.4-32]
1071 - Really create /mnt/cdrom symlink if required. [SF: 1260322]
1072
1073 * Tue Aug 30 2005 Shad Lords <slords@mail.com>
1074 - [4.15.4-31]
1075 - Update services entries to conform with RHEL4 services [SF: 1276479]
1076
1077 * Mon Aug 29 2005 Charlie Brady <charlieb@e-smith.com>
1078 - [4.15.4-30]
1079 - Correctly handle multiple net specification in ValidFrom for httpd-admin.
1080 [SF: 1273756]
1081
1082 * Tue Aug 23 2005 Charlie Brady <charlieb@e-smith.com>
1083 - [4.15.4-29]
1084 - Fix taint problem in license text in option 6 of the console menu.
1085 [SF: 1267284]
1086
1087 * Tue Aug 23 2005 Gordon Rowell <gordonr@gormand.com.au>
1088 - [4.15.4-28]
1089 - Respect Shell property of user accounts [SF: 1266706]
1090
1091 * Thu Aug 18 2005 Charlie Brady <charlieb@e-smith.com>
1092 - [4.15.4-27]
1093 - Modify /sbin/e-smith/service so that it runs /sbin/service unless
1094 runlevel is 7. [SF: 1237968]
1095 - Only prefix /sbin/e-smith to PATH if user is root. [SF: 1250579]
1096
1097 * Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com>
1098 - [4.15.4-26]
1099 - Add Requires for bridge-utils and vconfig.
1100
1101 * Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com>
1102 - [4.15.4-25]
1103 - Add "Requires: rssh".
1104
1105 * Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com>
1106 - [4.15.4-24]
1107 - Update %ghost filelist entries for databases which have moved
1108 from /home/e-smith to /home/e-smith/db [SF: 1216546]
1109
1110 * Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com>
1111 - [4.15.4-23]
1112 - Create /mnt/cdrom symlink if required. [SF: 1260322]
1113
1114 * Thu Aug 11 2005 Charlie Brady <charlieb@e-smith.com>
1115 - [4.15.4-22]
1116 - Add Requires: whiptail so that the out fork of whiptail from the
1117 newt package is installed on upgrade.
1118
1119 * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
1120 - [4.15.4-21]
1121 - Add Requires: headers for all the additional standard daemons, to
1122 ensure they are installed on upgrade.
1123
1124 * Tue Aug 9 2005 Shad Lords <slords@mail.com>
1125 - [4.15.4-20]
1126 - Change httpd-admin access from local to localhost [SF: 1246986]
1127 - Change console to use 980 instead of https to avoid warnings [SF: 1246182]
1128 - tie console to new httpd-admin{TCPPort} property. [SF: 1246986]
1129
1130 * Tue Aug 2 2005 Shad Lords <slords@email.com>
1131 - [4.15.4-19]
1132 - Add TCPPort and access for httpd-admin [SF: 1246986]
1133 - Fix UnsavedChanges in console [SF: 1245238]
1134
1135 * Thu Jul 28 2005 Charlie Brady <charlieb@e-smith.com>
1136 - [4.15.4-18]
1137 - Remove all use db_ API except in console (which will come later).
1138
1139 * Wed Jul 27 2005 Shad Lords <slords@mail.com>
1140 - [4.15.4-17]
1141 - Add systemid property to sysconfig db record. [SF: 1246367]
1142
1143 * Wed Jul 27 2005 Shad Lords <slords@mail.com>
1144 - [4.15.4-16]
1145 - Upgrade database APIs to latest standard.
1146 - Move databases from /home/e-smith to /home/e-smith/db [SF: 1216546]
1147
1148 * Wed Jul 27 2005 Shad Lords <slords@mail.com>
1149 - [4.15.4-15]
1150 - Use https to access server-manager from console, to avoid redirect
1151 problems. [SF: 1246182]
1152
1153 * Wed Jul 27 2005 Shad Lords <slords@mail.com>
1154 - [4.15.4-14]
1155 - Remove hwconfig db default entry. [SF: 1246180]
1156
1157 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
1158 - [4.15.4-13]
1159 - Remove checking against 32 group limit from UI. Thanks to Gordon Rowell
1160 for the main patch. [SF: 1245421]
1161
1162 * Tue Jul 26 2005 Charlie Brady <charlieb@e-smith.com>
1163 - [4.15.4-12]
1164 - Patches from Shad Lords.
1165 - Complete fix of user password validation started in 4.15.3-06.
1166 [SF: 1242098]
1167 - Change default password strength to "strong". [SF: 1246178]
1168
1169 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
1170 - [4.15.4-11]
1171 - Patches submitted by Gordon Rowell.
1172 - Change /etc/modules.conf templates to /etc/modprobe.conf
1173 and add templates.metadata/etc/modprobe.conf [SF: 1227251]
1174 - Remove fragments 10appletalk and 95ModulePaths, since they are
1175 for very old migrations of /etc/modules.conf
1176
1177 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
1178 - [4.15.4-10]
1179 - Move quota setup in fstab template into e-smith-quota, where it
1180 belongs.
1181
1182 * Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com>
1183 - [4.15.4-09]
1184 - Add default db entries for messagebus and haldaemon. [SF: 1225899]
1185
1186 * Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com>
1187 - [4.15.4-08]
1188 - Add messagebus and haldaemon services, so that cdrom mount point
1189 etc is created as required. [SF: 1225899]
1190
1191 * Fri Jul 8 2005 Charlie Brady <charlieb@e-smith.com>
1192 - [4.15.4-07]
1193 - Add miscelleous performance related standard RHEL/CentOS services.
1194
1195 * Thu Jul 7 2005 Charlie Brady <charlieb@e-smith.com>
1196 - [4.15.4-06]
1197 - Add RAID monitoring service. [SF: 1222143]
1198
1199 * Tue Jul 5 2005 Charlie Brady <charlieb@e-smith.com>
1200 - [4.15.4-05]
1201 - Fix log noise from DynDNS update script. [SF: 1231871]
1202
1203 * Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com>
1204 - [4.15.4-04]
1205 - Change default domain name setting - I'm sure that xxx is deprecated.
1206
1207 * Tue Jun 21 2005 Charlie Brady <charlieb@e-smith.com>
1208 - [4.15.4-03]
1209 - Deal gracefully with missing /etc/sysconfig/keyboard file.
1210
1211 * Tue Jun 21 2005 Charlie Brady <charlieb@e-smith.com>
1212 - [4.15.4-02]
1213 - Remove "random" service startup symlink - no longer required, as
1214 prng is seeded by rc.sysinit.
1215
1216 * Tue Jun 21 2005 Charlie Brady <charlieb@e-smith.com>
1217 - [4.15.4-01]
1218 - Make new development stream - 4.15.4
1219
1220 * Mon Jun 20 2005 Charlie Brady <charlieb@e-smith.com>
1221 - [4.15.3-07]
1222 - Move httpd-admin logging from inside /var/log/httpd to /var/log/httpd-admin.
1223 - Remove mouseconfig hack. [MN00057145]
1224
1225 * Fri Jun 17 2005 Charlie Brady <charlieb@e-smith.com>
1226 - [4.15.3-06]
1227 - Fix password strength checking of user passwords. [SF: 1222255]
1228
1229 * Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com>
1230 - [4.15.3-05]
1231 - Prefix /sbin/e-smith to $PATH, rather than append. [SF: 1222092]
1232
1233 * Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com>
1234 - [4.15.3-04]
1235 - Fix set-external-ip in case of missing ExternalIP db record. [SF: 1217877]
1236
1237 * Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com>
1238 - [4.15.3-03]
1239 - Remove smbpasswd references from chap-secrets file. Don't re-expand
1240 chap-secrets file during various user related events. [SF: 1215401]
1241
1242 * Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com>
1243 - [4.15.3-02]
1244 - Break up template for /etc/shells into fragments, and add
1245 /usr/bin/rssh. [SF: 1220145]
1246
1247 * Thu Jun 9 2005 Charlie Brady <charlieb@e-smith.com>
1248 - [4.15.3-01]
1249 - Roll new development stream - 4.15.3
1250
1251 %prep
1252 %setup
1253 %patch1 -p1
1254 %patch2 -p1
1255 %patch3 -p1
1256 %patch4 -p1
1257 %patch5 -p1
1258 %patch6 -p1
1259 %patch7 -p1
1260 %patch8 -p1
1261 %patch9 -p1
1262 %patch10 -p1
1263 %patch11 -p1
1264 %patch12 -p1
1265 %patch13 -p1
1266 %patch14 -p1
1267 %patch15 -p1
1268 %patch16 -p1
1269 %patch17 -p1
1270
1271 %pre
1272 if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ]
1273 then
1274 cd /etc/e-smith/locale
1275
1276 [ -L fr ] && rm fr
1277 mkdir fr
1278 mv fr-ca/* fr
1279 rmdir fr-ca
1280 fi
1281
1282 [ ! -L /etc/e-smith/locale/fr-ca ] && ln -s fr /etc/e-smith/locale/fr-ca
1283
1284 /sbin/e-smith/create-system-user smelog 1002 \
1285 'smelog log user' /var/log/smelog /bin/false
1286 /sbin/e-smith/create-system-user smelastsys 2999 \
1287 'sme last system user marker' /tmp /bin/false
1288
1289 %post
1290
1291 %build
1292 # Force creation of potentially empty directories
1293 mkdir -p root/etc/e-smith/licenses
1294 mkdir -p root/etc/e-smith/skel/user/.ssh
1295 mkdir -p root/etc/e-smith/skel/user/home
1296 mkdir -p root/etc/e-smith/skel/user/Maildir/{cur,new,tmp}
1297 mkdir -p root/etc/e-smith/skel/e-smith/files/users
1298 mkdir -p root/etc/e-smith/skel/e-smith/files/users/admin/home
1299 mkdir -p root/etc/e-smith/skel/e-smith/files/primary/{cgi-bin,files,html}
1300 mkdir -p root/etc/e-smith/skel/e-smith/Maildir/{cur,new,tmp}
1301 mkdir -p root/etc/e-smith/templates{,-custom,-user,-user-custom}
1302 mkdir -p root/home/e-smith/files/{users,server-resources}
1303 mkdir -p root/home/e-smith/files/users/admin/home
1304 mkdir -p root/home/e-smith/Maildir/{cur,new,tmp}
1305 mkdir -p root/root/.ssh
1306 mkdir -p root/var/log/wan
1307
1308 %if "%_build_arch" == "i386"
1309 echo "enabled" > root/etc/e-smith/db/configuration/defaults/apmd/status
1310 %else
1311 echo "disabled" > root/etc/e-smith/db/configuration/defaults/apmd/status
1312 %endif
1313
1314 LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \
1315 -type f | grep -v CVS)
1316
1317 for lexicon in $LEXICONS
1318 do
1319 /sbin/e-smith/validate-lexicon $lexicon
1320 done
1321
1322 /sbin/e-smith/generate-lexicons
1323
1324 perl createlinks
1325 /sbin/e-smith/buildtests 10e-smith-base
1326 ln -s /etc/rc.d/rc.local root/etc/rc.d/init.d/local
1327 mkdir -p root/etc/rc6.d
1328 mkdir -p root/etc/rc.d/rc7.d
1329 ln -s /etc/rc.d/rc7.d root/etc/rc7.d
1330 # Improve "telinit 1 behaviour
1331 mkdir -p root/etc/rc.d/rc1.d
1332
1333 mkdir -p root/usr/share/locale/en_US/LC_MESSAGES
1334 xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console
1335
1336 mkdir -p root/etc/e-smith/locale
1337 # Make the fr-ca link in %pre to ease upgrades
1338 # ln -s fr root/etc/e-smith/locale/fr-ca
1339 ln -s fr root/etc/e-smith/locale/fr-fr
1340 ln -s en-us root/etc/e-smith/locale/en
1341 ln -s en-us root/etc/e-smith/locale/en-au
1342 ln -s en-us root/etc/e-smith/locale/en-gb
1343 ln -s en-us root/etc/e-smith/locale/en-nz
1344
1345 mkdir -p root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe
1346 ln -s /etc/e-smith/templates-default/template-begin-shell \
1347 root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin
1348
1349 for file in imap login passwd pwauth system-auth
1350 do
1351 mkdir -p root/etc/e-smith/templates/etc/pam.d/$file
1352 ln -s /etc/e-smith/templates-default/template-begin-pam \
1353 root/etc/e-smith/templates/etc/pam.d/$file/template-begin
1354 done
1355
1356 mkdir -p root/service
1357 mkdir -p root/etc/rc.d/init.d/supervise
1358
1359 for service in dhcpd wan ippp syslog klogd
1360 do
1361 ln -s /var/service/$service root/service/$service
1362 mkdir -p root/var/service/$service/supervise
1363 touch root/var/service/$service/down
1364 if [ -d root/var/service/$service/log ]
1365 then
1366 mkdir -p root/var/service/$service/log/supervise
1367 mkdir -p root/var/log/$service
1368 fi
1369 ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service
1370 done
1371
1372 # Remove (for now) supervised syslog and klogd services
1373 rm root/etc/rc.d/init.d/supervise/{syslog,klogd}
1374 rm root/service/{syslog,klogd}
1375
1376 mkdir -p root/etc/e-smith/events/local
1377 mkdir -p root/etc/e-smith/events/user-modify-admin
1378 mkdir -p root/home/e-smith/db
1379
1380 mkdir -p root/etc/e-smith/pam
1381 mkdir -p root/home/e-smith/ssl.key
1382 mkdir -p root/home/e-smith/ssl.crt
1383 mkdir -p root/home/e-smith/ssl.pem
1384
1385 mkdir -p root/var/state/e-smith
1386
1387 for file in %{dbfiles}
1388 do
1389 mkdir -p root/etc/e-smith/db/$file/{defaults,migrate,force}
1390 done
1391
1392 mkdir -p root/etc/tcprules
1393
1394 mkdir -p root/service
1395 touch root/var/service/wan/down
1396
1397 ln -s /var/service/raidmonitor root/service/raidmonitor
1398
1399 mkdir -p root/var/service/raidmonitor/supervise
1400 touch root/var/service/raidmonitor/down
1401
1402 mkdir -p root/var/service/raidmonitor/log/supervise
1403
1404 mkdir -p root/var/log/raidmonitor
1405
1406 mkdir -p root/etc/e-smith/tests
1407 mkdir -p root/etc/rc.d/rc7.d
1408 ln -s /etc/rc.d/init.d/e-smith-service root/etc/rc.d/rc7.d/S42ldap
1409 mkdir -p root/home/e-smith/db/ldap
1410
1411 mkdir -p root/etc/rc.d/init.d/supervise
1412 ln -s ../daemontools root/etc/rc.d/init.d/supervise/ldap
1413
1414 mkdir -p root/service
1415 ln -s /var/service/ldap root/service/ldap
1416 touch root/var/service/ldap/down
1417 mkdir -p root/var/service/ldap/ssl
1418
1419 %install
1420 rm -rf $RPM_BUILD_ROOT
1421 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1422 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1423 --file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \
1424 --file /etc/rc.d/rc.e-smith 'attr(0750,root,root)' \
1425 --dir /var/service/dhcpd 'attr(01755,root,root)' \
1426 --file /var/service/dhcpd/down 'attr(0644,root,root)' \
1427 --file /var/service/dhcpd/run 'attr(0755,root,root)' \
1428 --dir /var/service/dhcpd/log 'attr(0755,root,root)' \
1429 --dir /var/service/dhcpd/log/supervise 'attr(0700,root,root)' \
1430 --dir /var/service/dhcpd/supervise 'attr(0700,root,root)' \
1431 --file /var/service/dhcpd/log/run 'attr(0755,root,root)' \
1432 --dir /var/log/dhcpd 'attr(2750,smelog,smelog)' \
1433 --dir /var/service/raidmonitor 'attr(01755,root,root)' \
1434 --file /var/service/raidmonitor/down 'attr(0644,root,root)' \
1435 --file /var/service/raidmonitor/run 'attr(0755,root,root)' \
1436 --dir /var/service/raidmonitor/log 'attr(0755,root,root)' \
1437 --dir /var/service/raidmonitor/log/supervise 'attr(0700,root,root)' \
1438 --dir /var/service/raidmonitor/supervise 'attr(0700,root,root)' \
1439 --file /var/service/raidmonitor/log/run 'attr(0755,root,root)' \
1440 --dir /var/log/raidmonitor 'attr(2750,smelog,smelog)' \
1441 --file /var/service/syslog/run 'attr(0755,root,root)' \
1442 --file /var/service/syslog/down 'attr(0644,root,root)' \
1443 --file /var/service/klogd/run 'attr(0755,root,root)' \
1444 --file /var/service/klogd/down 'attr(0644,root,root)' \
1445 --dir /etc/e-smith/pam 'attr(0700,root,root)' \
1446 --dir /home/e-smith/ssl.key 'attr(0700,root,root)' \
1447 --dir /home/e-smith/ssl.crt 'attr(0700,root,root)' \
1448 --dir /home/e-smith/ssl.pem 'attr(0700,root,root)' \
1449 --file /var/service/ldap/run 'attr(0750,root,root)' \
1450 --file /var/service/ldap/finish 'attr(0750,root,root)' \
1451 --dir /var/service/ldap/control 'attr(0750,root,root)' \
1452 --file /var/service/ldap/control/1 'attr(0750,root,root)' \
1453 --dir /var/service/ldap/ssl 'attr(0750,root,ldap)' \
1454 --dir /var/lib/ldap 'attr(0700,ldap,ldap)' \
1455 --dir /var/service/wan 'attr(1755,root,root)' \
1456 --file /var/service/wan/down 'attr(0644,root,root)' \
1457 --file /var/service/wan/run 'attr(0750,root,root)' \
1458 --file /var/service/wan/run.dhclient 'attr(0750,root,root)' \
1459 --file /var/service/wan/run.pppoe 'attr(0750,root,root)' \
1460 --file /var/service/wan/run.static 'attr(0750,root,root)' \
1461 --file /var/service/wan/run.dialup 'attr(0750,root,root)' \
1462 --file /var/service/wan/run.disabled 'attr(0750,root,root)' \
1463 --dir /var/service/wan/supervise 'attr(0700,root,root)' \
1464 --dir /var/service/wan/log 'attr(1755,root,root)' \
1465 --file /var/service/wan/log/run 'attr(0750,root,root)' \
1466 --dir /var/service/wan/log/supervise 'attr(0700,root,root)' \
1467 --dir /var/log/wan 'attr(2750,smelog,smelog)' \
1468 --dir /var/service/ippp 'attr(1755,root,root)' \
1469 --file /var/service/ippp/down 'attr(0644,root,root)' \
1470 --file /var/service/ippp/run 'attr(0750,root,root)' \
1471 --dir /var/service/ippp/supervise 'attr(0700,root,root)' \
1472 --dir /var/service/ippp/log 'attr(1755,root,root)' \
1473 --file /var/service/ippp/log/run 'attr(0750,root,root)' \
1474 --dir /var/service/ippp/log/supervise 'attr(0700,root,root)' \
1475 --dir /var/log/ippp 'attr(2750,smelog,smelog)' \
1476 --dir /etc/e-smith/skel/user/.ssh 'attr(0700,root,root)' \
1477 > %{name}-%{version}-%{release}-filelist
1478
1479 mkdir -p $RPM_BUILD_ROOT/home/e-smith/db
1480 for file in %{dbfiles}
1481 do
1482 # Create ghost file for rpm
1483 touch $RPM_BUILD_ROOT/home/e-smith/db/$file
1484 echo "%config(noreplace) %attr(0640,root,admin) /home/e-smith/db/$file" \
1485 >> %{name}-%{version}-%{release}-filelist
1486 done
1487 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
1488
1489 %clean
1490 rm -rf $RPM_BUILD_ROOT
1491
1492 %files -f %{name}-%{version}-%{release}-filelist
1493 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed