/[smeserver]/rpms/e-smith-backup/sme7/e-smith-backup.spec
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme7/e-smith-backup.spec

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


Revision 1.4.2.6 - (hide annotations) (download)
Wed Mar 26 19:46:32 2008 UTC (16 years, 8 months ago) by slords
Branch: e-smith-backup-1_14-tree
CVS Tags: e-smith-backup-1_14_0-22_el4_sme
Changes since 1.4.2.5: +5 -2 lines
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22
- Use correct patch for remove duplicates [SME: 3887]

1 slords 1.1 Summary: e-smith module to provide the backup panel
2     %define name e-smith-backup
3     Name: %{name}
4     %define version 1.14.0
5 slords 1.4.2.6 %define release 22
6 slords 1.1 Version: %{version}
7     Release: %{release}%{?dist}
8     License: Artistic
9     Group: Networking/Daemons
10     Source: %{name}-%{version}.tar.gz
11     Patch0: e-smith-backup-1.14.0-DesktopBackupWarning.patch
12     Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2
13     Patch2: e-smith-backup-1.14.0-Crontab.patch
14     Patch3: e-smith-backup-1.14.0-Crontab.patch2
15     Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3
16     Patch5: e-smith-backup-1.14.0-eject.patch
17     Patch6: e-smith-backup-1.14.0-tapeactions.patch
18     Patch7: e-smith-backup-1.14.0-backuptype.patch
19     Patch8: e-smith-backup-1.14.0-eject.patch2
20     Patch9: e-smith-backup-1.14.0-backuptype.patch2
21     Patch10: e-smith-backup-1.14.0-restorefromdisk.patch
22     Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch
23     Patch12: e-smith-backup-1.14.0-reminderemail.patch
24     Patch13: e-smith-backup-1.14.0-backuptype.patch3
25 slords 1.2 Patch14: e-smith-backup-1.14.0-proxyenv.patch
26 slords 1.4 Patch15: e-smith-backup-1.14.0-bklistexist.patch
27 bytegw 1.4.2.1 Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch
28 bytegw 1.4.2.2 Patch17: e-smith-backup-1.14.0-tags2general.patch
29 slords 1.4.2.4 Patch18: e-smith-backup-1.14.0-brFix.patch
30 slords 1.4.2.5 Patch19: e-smith-backup-1.14.0-fixerrmsg.patch
31 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
32     BuildRequires: e-smith-devtools >= 1.11.0-03
33     BuildRequires: gettext
34     BuildArchitectures: noarch
35     Requires: e-smith-base
36 bytegw 1.4.2.2 Requires: e-smith-formmagick >= 1.4.0-9
37 slords 1.1 Requires: e-smith-lib >= 1.15.1-19
38     Requires: perl(Quota)
39     Requires: perl(Unix::PasswdFile)
40     Requires: perl(Unix::GroupFile)
41     Requires: perl(POSIX)
42     Requires: perl(Locale::gettext)
43     Requires: perl(Digest::MD5)
44     Requires: perl(File::Copy)
45     Requires: perl(esmith::I18N)
46    
47     %changelog
48 slords 1.4.2.6 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22
49     - Use correct patch for remove duplicates [SME: 3887]
50    
51 slords 1.4.2.5 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21
52     - Fix localization in restore routine [SME: 3989]
53    
54 slords 1.4.2.4 * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-20
55 slords 1.4.2.6 - Fix patches to get rid of .orig files [SME: 4100]
56 slords 1.4.2.4
57 slords 1.4.2.3 * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19
58     - Backport remove <br> from error msg. [SME: 3989]
59    
60 bytegw 1.4.2.2 * Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18
61     - Backport remove <base> tags now in general. [SME: 3912]
62    
63 bytegw 1.4.2.1 * Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17
64     - Backport remove duplicates <base> entries. [SME: 3887]
65    
66 slords 1.4 * Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16
67     - Remove files/dirs that don't exist from the backup list [SME: 3115]
68    
69     * Sat Jun 30 2007 Shad L. Lords <slords@mail.com> 1.14.0-15
70 slords 1.2 - force proxy request to 1.0 to improve backup2desktop speed [SME: 178]
71    
72 slords 1.1 * Sun Jun 03 2007 Gavin Weight <gweight@gmail.com> 1.14.0-14
73     - Backup to desktop changes BackupType fix. [SME 3026]
74    
75     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
76     - Clean up spec so package can be built by koji/plague
77    
78     * Wed Mar 07 2007 Shad L. Lords <slords@mail.com> 1.14.0-13
79     - Add db entry to override who gets backup reminder email [SME: 23]
80    
81     * Fri Jan 26 2007 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-12
82     - Restore group entry for machine accounts and update tests [SME: 1792]
83    
84     * Sat Jan 06 2007 Shad L. Lords <slords@mail.com> 1.14.0-11
85     - Change restore-from-disk to chroot tar from cpio [SME: 2318]
86    
87     * Sat Jan 06 2007 Shad L. Lords <slords@mail.com> 1.14.0-10
88     - Link in eject action. [SME: 795]
89     - Fix do_backup to actually pass backup type. [SME: 1055]
90    
91     * Fri Jan 05 2007 Shad L. Lords <slords@mail.com> 1.14.0-9
92     - Make tape actions depend on tape backup. [SME: 1055]
93     - Make backup type configurable via db. [SME: 1055]
94    
95     * Wed Jan 03 2007 Shad L. Lords <slords@mail.com> 1.14.0-8
96     - Add eject action and default to no. [SME: 795]
97    
98     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
99     - Update to new release naming. No functional changes.
100     - Make Packager generic
101    
102     * Wed Nov 08 2006 Charlie Brady <charlie_brady@mitel.com> 1.14.0-06
103     - Use tarsize not dumpsize to determine when backup is too large.
104     [SME: 2041]
105    
106     * Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-05
107     - Fix typo in crontab template for 'disabled' case [SME: 1092]
108    
109     * Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-04
110     - Move /etc/cron.d/backup into /etc/crontab fragment [SME: 1172]
111     - Expand /etc/crontab in conf-backup. e-smith-base already does
112     it for us in bootstrap-console-save [SME: 1172]
113     - Remove /etc/cron.d/backup in post [SME: 1172]
114    
115     * Wed Mar 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-03
116     - Add semi-colon to last code change. Saves head-scratching if
117     someone removes the braces at some later stage. [SME: 1045]
118    
119     * Wed Mar 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-02
120     - Add warning about desktop backup if the server has more than
121     2GB of data. [SME: 1045]
122    
123     * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.14.0-01
124     - Roll stable stream version. [SME: 1016]
125    
126     * Sun Mar 12 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-10
127     - Another fix to restore-from-disk script. [SME: 821]
128    
129     * Thu Feb 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-09
130     - Fix restore-from-disk script. [SME: 821]
131    
132     * Mon Feb 6 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-08
133     - Fix 24->12 hour time display problem (courtesy of Federico Simoncelli).
134     [SME: 667]
135    
136     * Wed Feb 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-07
137     - Add restore-from-disk script. [SME: 615]
138    
139     * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.4-06
140     - Don't delete config dbs in pre-restore [SME: 229]
141    
142     * Tue Dec 06 2005 Filippo Carletti <carletti@mobilia.it> 1.13.4-05
143     - Tape reminder uses mt status to check if tape loaded [SME: 251]
144    
145     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.4-04
146     - Bump release number only
147    
148     * Tue Nov 1 2005 Charlie Brady <charlieb@e-smith.com>
149     - [1.13.4-03]
150     - Improve user feedback if pre-backup or pre-restore events fail. [SF: 1334923]
151    
152     * Mon Oct 24 2005 Charlie Brady <charlieb@e-smith.com>
153     - [1.13.4-02]
154     - Create empty /etc/e-smith/db/backups directory to trigger migration
155     to new location. [SF: 1335862]
156    
157     * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
158     - [1.13.4-01]
159     - Remove L10Ns from base packages [SF: 1309520]
160    
161     * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
162     - [1.13.3-01]
163     - New dev stream before relocating L10Ns
164    
165     * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
166     - [1.13.2-17]
167     - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266]
168    
169     * Sun Sep 25 2005 Gordon Rowell <gordonr@e-smith.com>
170     - [1.13.2-16]
171     - Added German L10N - Thanks Dietmar Berteld [SF: 1293325]
172    
173     * Sun Sep 18 2005 Charlie Brady <charlieb@e-smith.com>
174     - [1.13.2-15]
175     - Remove explict use of CGI (which caused double construction of
176     the CGI object, and loss of uploaded data file). [SF: 1264699]
177    
178     * Fri Sep 16 2005 Charlie Brady <charlieb@e-smith.com>
179     - [1.13.2-14]
180     - Don't delete configuration dbs in pre-restore event until
181     we have finished using them. [SF: 1292448]
182    
183     * Tue Aug 30 2005 Charlie Brady <charlieb@e-smith.com>
184     - [1.13.2-13]
185     - Really add delete-configuration-dbs action. [SF: 1246347,1275962]
186    
187     * Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au>
188     - [1.13.2-12]
189     - Delete configuration dbs from /home/e-smith/db/ prior to
190     a restore to ensure that the ones coming from tape are the
191     only ones on the system after the restore [SF: 1246347]
192    
193     * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
194     - [1.13.2-11]
195     - Restore passwd file entries for machine accounts. [SF: 1254663]
196    
197     * Fri Jul 22 2005 Charlie Brady <charlieb@e-smith.com>
198     - [1.13.2-10]
199     - Enforce Posix behaviour of df command, in restore functions of panel.
200     [SF: 1242986]
201    
202     * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
203     - [1.13.2-09]
204     - Remove last deprecated esmith::config API calls. [SF: 1216546]
205    
206     * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
207     - [1.13.2-08]
208     - Remove explicit paths to db files. [SF: 1216546]
209    
210     * Fri Apr 29 2005 Charlie Brady <charlieb@e-smith.com>
211     - [1.13.2-07]
212     - Remove another anacronistic version requires in perl library.
213     Grrrr!!! [charlieb MN00050370]
214    
215     * Tue Mar 8 2005 Charlie Brady <charlieb@e-smith.com>
216     - [1.13.2-06]
217     - Use generic_template_expand action in place of conf-backup.
218     Update e-smith-lib dependency. [MN00064130]
219    
220     * Tue Mar 8 2005 Charlie Brady <charlieb@e-smith.com>
221     - [1.13.2-05]
222     - Ensure that smbpasswd file appears last in list during restore/verification.
223     [MN00073362]
224     - Fix merging of samba files. [MN00073365]
225    
226     * Mon Nov 8 2004 Charlie Brady <charlieb@e-smith.com>
227     - [1.13.2-04]
228     - Explicitly list required perl modules - RPM didn't work it out correctly.
229     [charlieb MN00050751]
230    
231     * Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com>
232     - [1.13.2-03]
233     - Remove deprecated "require v5.6.0". [charlieb MN00050370]
234     - Allow RPM to work out what the perl Requires headers should be.
235     [charlieb MN00050751]
236    
237     * Thu Sep 16 2004 Michael Soulier <msoulier@e-smith.com>
238     - [1.13.2-02]
239     - Fixed Content-disposition header. [msoulier MN00049326]
240    
241     * Sat Jun 19 2004 Michael Soulier <msoulier@e-smith.com>
242     - [1.13.2-01]
243     - skipping mps branch start - 1.13.2
244    
245     * Fri May 21 2004 Michael Soulier <msoulier@e-smith.com>
246     - [1.13.0-06]
247     - Added /etc/samba/secrets.tdb to the restore list. [msoulier MN00020969]
248    
249     * Mon Mar 1 2004 Michael Soulier <msoulier@e-smith.com>
250     - [1.13.0-05]
251     - Updated do_backup to pass a "tape" argument when using signal-event
252     and rewind-tape to exit if a second argument is not given.
253     [msoulier dpar-22041]
254    
255     * Wed Jan 14 2004 Michael Soulier <msoulier@e-smith.com>
256     - [1.13.0-04]
257     - Added /etc/sudoers to backup list for desktop backup. [msoulier 4954]
258    
259     * Fri Nov 28 2003 Michael Soulier <msoulier@e-smith.com>
260     - [1.13.0-03]
261     - Display big-red reboot warning like other panels. Wow, it's hard to miss
262     now. [msoulier 10240]
263    
264     * Fri Nov 28 2003 Mark Knox <markk@e-smith.com>
265     - [1.13.0-02]
266     - Display reboot warning and button after successful desktop restore [markk
267     1312]
268    
269     * Thu Nov 6 2003 Michael Soulier <msoulier@e-smith.com>
270     - [1.13.0-01]
271     - rolling to dev stream - 1.13.0
272    
273     * Thu Sep 11 2003 Gordon Rowell <gordonr@e-smith.com>
274     - [1.12.1-02]
275     - Relocate /etc/secrets.tdb to /etc/samba [gordonr 9759]
276    
277     * Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com>
278     - [1.12.1-01]
279     - Rebuild [gordonr 1305]
280    
281     * Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com>
282     - [1.12.0-09]
283     - Adjusted Copyright [gordonr 1305]
284    
285     * Mon Jul 14 2003 Gordon Rowell <gordonr@e-smith.com>
286     - [1.12.0-08]
287     - Whitespace fix in Backup.pm [gordonr 9428]
288    
289     * Mon Jul 14 2003 Charlie Brady <charlieb@e-smith.com>
290     - [1.12.0-07]
291     - Remove /etc/samba/smbpasswd symlink if we find it, before doing
292     the move/symlink shuffle with smbpasswd files. This prevents us
293     "preserving" old symlinks. [charlieb 9416]
294    
295     * Mon Jul 14 2003 Gordon Rowell <gordonr@e-smith.com>
296     - [1.12.0-06]
297     - Rename the pre-restore cache files in $file.time(). This preserves
298     them in case we want to wander back through them after an
299     upgrade, and ensures that they won't be around to confuse another
300     post-upgrade [gordonr 9428]
301    
302     * Wed Jul 9 2003 Gordon Rowell <gordonr@e-smith.com>
303     - [1.12.0-05]
304     - Handle the "everything o.k. with relocation" case [gordonr 9333]
305    
306     * Wed Jul 9 2003 Gordon Rowell <gordonr@e-smith.com>
307     - [1.12.0-04]
308     - Further safeguards for the /etc/smbpasswd -> /etc/samba/smbpasswd
309     relocation [gordonr 9333]
310    
311     * Fri Jun 27 2003 Charlie Brady <charlieb@e-smith.com>
312     - [1.12.0-03]
313     - Fix backup panel text change. Made text non-specific about the location of
314     the smbpasswd file. [charlieb 9220]
315    
316     * Fri Jun 27 2003 Charlie Brady <charlieb@e-smith.com>
317     - [1.12.0-02]
318     - Account for the path change of smbpasswd file in desktop restore/verify.
319     [charlieb 9220]
320    
321     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
322     - [1.12.0-01]
323     - Changing version to stable stream number - 1.12.0
324    
325     * Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com>
326     - [1.11.1-04]
327     - Spanish nav bar [gordonr 9153]
328    
329     * Fri Jun 13 2003 Gordon Rowell <gordonr@e-smith.com>
330     - [1.11.1-03]
331     - Corrected logic for switching /etc{/samba,}/smbpasswd [gordonr 8747]
332    
333     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
334     - [1.11.1-02]
335     - Remove some remnants of templated /sbin/e-smith/backup.
336     - Use Backup program parameter in /sbin/e-smith/do_backup.
337     [charlieb 7853]
338    
339     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
340     - [1.11.1-01]
341     - Roll new development stream to 1.11.1
342    
343     * Wed May 28 2003 Gordon Rowell <gordonr@e-smith.com>
344     - [1.11.0-56]
345     - And symlink /etc/smbpasswd to avoid confusion [gordonr 8809]
346     - Move guard so we skip if /etc/smbpasswd is not a file [gordonr 8809]
347    
348     * Wed May 28 2003 Gordon Rowell <gordonr@e-smith.com>
349     - [1.11.0-55]
350     - Migrate /etc/smbpasswd to /etc/samba/smbpasswd after restore [gordonr 8809]
351    
352     * Wed May 21 2003 Gordon Rowell <gordonr@e-smith.com>
353     - [1.11.0-54]
354     - Fix return check for ->group and ->passwd [gordonr 8766]
355     - Fix tests for BackupHistoryDB.pm [gordonr 5908, in passing]
356    
357     * Tue May 20 2003 Gordon Rowell <gordonr@e-smith.com>
358     - [1.11.0-53]
359     - Extract the tests at build time [gordonr 8766]
360    
361     * Tue May 20 2003 Gordon Rowell <gordonr@e-smith.com>
362     - [1.11.0-52]
363     - Completed merge_group and tests, including admin, www, shared [gordonr 8766]
364    
365     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
366     - [1.11.0-51]
367     - Added test files and skeleton for merge_group [gordonr 8766]
368     - TODO: Complete merge_group and tests [gordonr 8766]
369     - TODO: Handle admin, www, shared groups [gordonr 8766]
370    
371     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
372     - [1.11.0-50]
373     - Further work, and tests, for merge_passwd [gordonr 8766]
374    
375     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
376     - [1.11.0-49]
377     - Code cleanups [gordonr 8766]
378    
379     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
380     - [1.11.0-48]
381     - Constructors are nice to have in objects :-( [gordonr 8766]
382     - Link merge-system-files into post-upgrade [gordonr 8766]
383    
384     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
385     - [1.11.0-47]
386     - Added esmith::Backup::{save,merge}_system_files [gordonr 8766]
387    
388     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
389     - [1.11.0-46]
390     - Modified backup panel to use esmith::Backup library [gordonr 8766]
391    
392     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
393     - [1.11.0-45]
394     - Added esmith::Backup library to centralise list of files/directories to
395     restore [gordonr 8766]
396     - Save away important system files in pre-restore [gordonr 8766]
397    
398     * Tue May 6 2003 Mark Knox <markk@e-smith.com>
399     - [1.11.0-44]
400     - Pass the right type of object to genResult [markk 8498]
401    
402     * Tue May 6 2003 Lijie Deng <lijied@e-smith.com>
403     - [1.11.0-43]
404     - Add Spanish translation for backup [lijied 3793]
405    
406     * Tue Apr 29 2003 Trevor Poole <trevorp@e-smith.com>
407     - [1.11.0-42]
408     - add the BackupType to the record for the desktop case. [trevor 5908]
409    
410     * Mon Apr 28 2003 Charlie Brady <charlieb@e-smith.com>
411     - [1.11.0-41]
412     - Fix calls to create new backup records. [charlieb 5908]
413    
414     * Mon Apr 28 2003 Charlie Brady <charlieb@e-smith.com>
415     - [1.11.0-40]
416     - Record each backup attempt separately in a backup history db. [charlieb 5908]
417    
418     * Wed Apr 23 2003 Charlie Brady <charlieb@e-smith.com>
419     - [1.11.0-39]
420     - Record success or otherwise of backup to desktop attempts in config db.
421     [charlieb 5908]
422     - Gracefully handle SIGPIPE in backup to desktop. [charlieb 8490]
423    
424     * Wed Apr 23 2003 Charlie Brady <charlieb@e-smith.com>
425     - [1.11.0-38]
426     - Fix typo in rewind-tape fix. [charlieb 8475]
427    
428     * Wed Apr 23 2003 Charlie Brady <charlieb@e-smith.com>
429     - [1.11.0-37]
430     - Call signal-event {pre,post}-backup with extra "desktop" parameter
431     from desktop backup code, and use that parameter to skip tape rewinding.
432     [charlieb 7853]
433     - Fix device lookup code in rewind-tape action. [charlieb 8475]
434    
435     * Wed Apr 23 2003 Charlie Brady <charlieb@e-smith.com>
436     - [1.11.0-36]
437     - Fix a few semantic problems with reset--restore-idle-flag script.
438     [charlieb 8466]
439    
440     * Wed Apr 16 2003 Michael Soulier <msoulier@e-smith.com>
441     - [1.11.0-35]
442     - Replaced bad call to processTemplate. [msoulier 7600]
443    
444     * Wed Apr 9 2003 Charlie Brady <charlieb@e-smith.com>
445     - [1.11.0-34]
446     - Remove deprecated /sbin/e-smith/backup in %post script.
447     [charlieb 7853]
448    
449     * Tue Apr 8 2003 Charlie Brady <charlieb@e-smith.com>
450     - [1.11.0-33]
451     - Fix typo in rewind-tape action. [charlieb 5908]
452     - Change Copyright => License in header.
453    
454     * Fri Apr 4 2003 Mark Knox <markk@e-smith.com>
455     - [1.11.0-32]
456     - Removed redundant refs to bootstrap-console from panel [markk 6164]
457    
458     * Thu Apr 3 2003 Tony Clayton <apc@e-smith.com>
459     - [1.11.0-31]
460     - Change table to start_table where applicable [tonyc 8034]
461    
462     * Thu Apr 3 2003 Tony Clayton <apc@e-smith.com>
463     - [1.11.0-30]
464     - Removed "Mitel Network SME server' branding [lijied 8016]
465     - Fix layout/css in backup panel [tonyc 7950]
466    
467     * Mon Mar 31 2003 Charlie Brady <charlieb@e-smith.com>
468     - [1.11.0-29]
469     - Re-write do_backup in perl. [charlieb 5908]
470    
471     * Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com>
472     - [1.11.0-28]
473     - Modified directory po/fr_CA to fr [lijied 6787]
474    
475     * Thu Mar 27 2003 Gordon Rowell <gordonr@e-smith.com>
476     - [1.11.0-27]
477     - Modified gettext() extraction based on changes in 1.11.0-25 [gordonr 5908]
478    
479     * Thu Mar 27 2003 Gordon Rowell <gordonr@e-smith.com>
480     - [1.11.0-26]
481     - Call genFooter/genResult with an FM object (subclass of CGI) so
482     footers get localised [gordonr 3553]
483    
484     * Thu Mar 27 2003 Charlie Brady <charlieb@e-smith.com>
485     - [1.11.0-25]
486     - Remove templated /sbin/e-smith/backup and add non-templated
487     do_backup script. Alter cron template to suit. Move tape
488     rewind into pre-backup and post-backup actions. Log
489     start, finish and result properties from backup script.
490     [charlieb 5908]
491    
492     * Thu Mar 27 2003 Lijie Deng <lijied@e-smith.com>
493     - [1.11.0-24]
494     - Modified French lexicon to use lang="fr", rename the lexicon
495     directory to fr [lijied 6787]
496    
497     * Tue Mar 25 2003 Tony Clayton <apc@e-smith.com>
498     - [1.11.0-23]
499     - Add link to fr-ca PAGE_REFRESH_IN translation [tonyc 6491]
500    
501     * Tue Mar 18 2003 Lijie Deng <lijied@e-smith.com>
502     - [1.11.0-22]
503     - Deleted ./sbin/e-smith/backup/template-begin, and modified
504     %build [lijied 3295]
505    
506     * Fri Mar 14 2003 Michael Soulier <msoulier@e-smith.com>
507     - [1.11.0-21]
508     - Changed the post restore code such that the backup panel is blocked until
509     the server reboots. [msoulier 6471]
510    
511     * Mon Mar 10 2003 Lijie Deng <lijied@e-smith.com>
512     - [1.11.0-20]
513     - Modified charset tag in .po file [lijied 3930]
514    
515     * Fri Mar 7 2003 Lijie Deng <lijied@e-smith.com>
516     - [1.11.0-19]
517     - Modified e-smith-devtools again [lijied 7578]
518    
519     * Fri Mar 7 2003 Lijie Deng <lijied@e-smith.com>
520     - [1.11.0-18]
521     - Modified e-smith-devtools version [lijied 7578]
522    
523     * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
524     - [1.11.0-17]
525     - Added the generate lexicon code [lijied 7442]
526    
527     * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
528     - [1.11.0-16]
529     - Added the .po file to po/fr_CA again [lijied 7442]
530    
531     * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
532     - [1.11.0-15]
533     - Cleaned up .po->.mo build [lijied 7442]
534    
535     * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
536     - [1.11.0-14]
537     - Added .po->.mo instructions to %build [lijied 7442]
538    
539     * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
540     - [1.11.0-13]
541     - Modified backup panel order [lijied 7356]
542    
543     * Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com>
544     - [1.11.0-12]
545     - Remodify the lexicon file [lijied 4030]
546    
547     * Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com>
548     - [1.11.0-11]
549     - Split en-us lexicon from backup panel [lijied 4030]
550    
551     * Fri Feb 28 2003 Lijie Deng <lijied@e-smith.com>
552     - [1.11.0-10]
553     - Rebuild RPM - commit missed last time [lijied 5003]
554    
555     * Fri Feb 28 2003 Lijie Deng <lijied@e-smith.com>
556     - [1.11.0-09]
557     - Added French lexicon for backup [lijied 5003]
558    
559     * Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com>
560     - [1.11.0-08]
561     - Rewrote template to use esmith::I18N [gordonr 5212]
562    
563     * Fri Dec 13 2002 Mark Knox <markk@e-smith.com>
564     - [1.11.0-07]
565     - Added "click here" text on tape restore page [markk 6094]
566    
567     * Thu Dec 12 2002 Mark Knox <markk@e-smith.com>
568     - [1.11.0-06]
569     - Removed redundant success message after restore [markk 6094]
570    
571     * Thu Dec 12 2002 Mark Knox <markk@e-smith.com>
572     - [1.11.0-05]
573     - Added refresh and status messages to tape restore process [markk 6094]
574    
575     * Tue Dec 3 2002 Charlie Brady <charlieb@e-smith.com>
576     - [1.11.0-04]
577     - Tidy up and update /sbin/e-smith/backup templates, preparatory to adding
578     support for non-tape devices. [charlieb 5521]
579    
580     * Mon Dec 2 2002 Mike Dickson <miked@e-smith.com>
581     - [1.11.0-03]
582     - ui update [miked 5494]
583    
584     * Thu Nov 21 2002 Mike Dickson <miked@e-smith.com>
585     - [1.11.0-02]
586     - update to new UI system [miked 5494]
587    
588     * Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com>
589     - [1.11.0-01]
590     - Rolling development stream version to 1.11.0
591    
592     * Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com>
593     - [1.10.1-01]
594     - New checkout to force head revisions to 1.10.1
595    
596     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
597     - [1.10.0-01]
598     - Roll to maintained version number to 1.10.0
599    
600     * Fri Oct 11 2002 Gordon Rowell <gordonr@e-smith.com>
601     - [1.9.0-09]
602     - Added missing closing paren - code police needed earlier [gordonr 5168]
603    
604     * Fri Oct 11 2002 Gordon Rowell <gordonr@e-smith.com>
605     - [1.9.0-08]
606     - Renamed duplicate lexicon tag RESTORE_IN_PROGRESS{,_BEGAN_AT}
607     RESTORE_IN_PROGRES_DESC -> MUST_REBOOT_AFTER_RESTORE in tape restore
608     [gordonr 5168]
609    
610     * Wed Oct 9 2002 Mike Dickson <miked@e-smith.com>
611     - [1.9.0-07]
612     - Fixed double call of pre-restore [miked 5158]
613    
614     * Wed Oct 9 2002 Mike Dickson <miked@e-smith.com>
615     - [1.9.0-06]
616     - Fixed references to ext2 filesystem in CalculateSizes; cahnged them to ext3
617    
618     * Wed Sep 25 2002 Charlie Brady <charlieb@e-smith.com>
619     - [1.9.0-05]
620     - Add calls to signal-event pre-restore before tape or desktop restore
621     (currently to stop slapd and remove LDIF dump file). [charlieb 2745]
622    
623     * Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com>
624     - [1.9.0-04]
625     - Fix XML errors in backup panel. [charlieb 2745]
626    
627     * Fri Sep 20 2002 Charlie Brady <charlieb@e-smith.com>
628     - [1.9.0-03]
629     - Complete previous change - the web panel needed to be updated as well.
630     [charlieb 2745]
631    
632     * Thu Aug 29 2002 Charlie Brady <charlieb@e-smith.com>
633     - [1.9.0-02]
634     - Change mysql-dump-tables and mysql-delete-dumps events to pre-backup and
635     post-backup events. [charlieb 2745]
636    
637     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
638     - [1.9.0-01]
639     - Changing version to development stream number to 1.9.0
640    
641     * Fri May 31 2002 Tony Clayton <apc@e-smith.com>
642     - [1.8.2-01]
643     - Reverting previous change - "it's a feature" [tonyc 3746]
644    
645     * Fri May 31 2002 Tony Clayton <apc@e-smith.com>
646     - [1.8.1-01]
647     - Prevent tape/destop restores from dieing in state=running [tonyc 3746]
648    
649     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
650     - [1.8.0-01]
651     - Changing version to maintained stream number to 1.8.0
652    
653     * Fri May 31 2002 Mark Knox <markk@e-smith.com>
654     - [1.7.20-01]
655     - Fixed some funny table cells that were causing trouble in Netscape
656     [markk 3764]
657    
658     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
659     - [1.7.19-01]
660     - Removed unused config db tie in restore-idle-flag.
661     - Add initialisation of backup service entry in config db.
662     This will allow restore from tape to work out of the box.
663     [charlieb 1254, 3746]
664    
665     * Wed May 29 2002 Tony Clayton <apc@e-smith.com>
666     - [1.7.18-01]
667     - Fix bad string concats in /sbin/e-smith/backup fragments [tonyc 3180]
668    
669     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
670     - [1.7.17-01]
671     - RPM rebuild forced by cvsroot2rpm
672    
673     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
674     - [1.7.16-01]
675     - testing co2rpm --force
676    
677     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
678     - [1.7.15-01]
679     - testing co2rpm --force
680    
681     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
682     - [1.7.14-01]
683     - testing co2rpm --force
684    
685     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
686     - [1.7.13-01]
687     - testing co2rpm --force
688    
689     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
690     - [1.7.12-01]
691     - Changed quoting in /etc/crond.d/backup template [gordonr 3029]
692    
693     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
694     - [1.7.11-01]
695     - "Verify complete" -> "Verification is complete" [gordonr 3544]
696    
697     * Wed May 8 2002 Mark Knox <markk@e-smith.com>
698     - [1.7.10-01]
699     - Allow form uploads and large files to be posted. [markk 3159]
700    
701     * Wed May 8 2002 Mark Knox <markk@e-smith.com>
702     - [1.7.9-01]
703     - Localised a few more strings in sbin/e-smith/backup templates [markk 3029]
704    
705     * Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com>
706     - [1.7.8-01]
707     - esmith::AccountDB -> esmith::AccountsDB [schwern 3287]
708    
709     * Tue Apr 16 2002 Mark Knox <markk@e-smith.com>
710     - [1.7.7-01]
711     - I18n backup cronjob using gettext. Also converted to ConfigDB. [markk 3029]
712    
713     * Mon Apr 15 2002 Gordon Rowell <gordonr@e-smith.com>
714     - [1.7.7-01]
715     - Language en->en-us
716    
717     * Fri Apr 12 2002 Mark Knox <markk@e-smith.com>
718     - [1.7.6-01]
719     - Internationalized using FormMagick lexicon [markk 3159]
720     - Converted to esmith::ConfigDB API [markk 3159]
721    
722     * Fri Mar 15 2002 Charlie Brady <charlieb@e-smith.com>
723     - [1.7.5-01]
724     - Include "du -s " of all backed up files and directories other than
725     /home/e-smith in desktop backup estimate.
726    
727     * Thu Mar 14 2002 Charlie Brady <charlieb@e-smith.com>
728     - [1.7.4-01]
729     - Fix error in use of AccountsDB interface (#2139).
730    
731     * Thu Mar 07 2002 Charlie Brady <charlieb@e-smith.com>
732     - [1.7.3-01]
733     - Include /root in desktop backup and in size estimate (#2322).
734     - Change text to indicate that desktop backup file will be somewhat
735     smaller if files are compressible.
736    
737     * Thu Mar 07 2002 Charlie Brady <charlieb@e-smith.com>
738     - [1.7.2-01]
739     - Use Quota module to estimate desktop backup size, by summing over all
740     user accounts (#2139).
741    
742     * Wed Feb 27 2002 Jason Miller <jmiller@e-smith.com>
743     - [1.7.1-01]
744     - Rolled to version 1.7.1-01 to verify CVS contents from 1.7.0-01.
745     Includes all patchesup to 1.7.0-01.
746    
747     * Wed Feb 27 2002 Jason Miller <jay@e-smith.com>
748     - [1.7.0-01]
749     - rollRPM: Rolled version number to 1.7.0-01. Includes patches up to 1.6.0-01.
750    
751     * Tue Dec 11 2001 Adrian Chung <mac@e-smith.com>
752     - [1.6.0-01]
753     - rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-04.
754    
755     * Thu Dec 6 2001 Adrian Chung <adrianc@e-smith.com>
756     - [1.5.0-04]
757     - Adding text to restore screen that warns that your restore
758     is not complete until you see the words Restore complete and
759     /etc/smbpasswd is restored.
760    
761     * Wed Nov 28 2001 Charlie Brady <charlieb@e-smith.com>
762     - [1.5.0-03]
763     - Report restore/verify problems if they are detected. Do not do any
764     post processing unless the restore completes successfully.
765    
766     * Tue Nov 13 2001 Tony Clayton <tonyc@e-smith.com>
767     - [1.5.0-02]
768     - adding last patch to prep section. feels like monday.
769    
770     * Tue Nov 13 2001 Tony Clayton <tonyc@e-smith.com>
771     - [1.5.0-01]
772     - Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-06.
773     - use esmith::lockfile for lockfile stuff
774     - add dependency on e-smith-lib >= 1.7.0-20 for esmith::lockfile
775    
776     * Tue Nov 13 2001 Tony Clayton <tonyc@e-smith.com>
777     - [1.4.0-06]
778     - backing out lockfile patch - moving to new stream
779    
780     * Mon Nov 12 2001 Tony Clayton <tonyc@e-smith.com>
781     - [1.4.0-05]
782     - use esmith::lockfile for lockfile stuff
783     - add dependency on e-smith-lib >= 1.7.0-20 for esmith::lockfile
784    
785     * Wed Nov 07 2001 Tony Clayton <tonyc@e-smith.com>
786     - [1.4.0-04]
787     - rebranding to Mitel Networks
788    
789     * Fri Aug 17 2001 Gordon Rowell <gordonr@e-smith.com>
790     - [1.4.0-03]
791     - Changed default network backup filename to "smeserver.tgz"
792     - Note: We can still restore the old format "esmithsg.bak" files
793    
794     * Fri Aug 17 2001 gordonr
795     - [1.4.0-02]
796     - Autorebuild by rebuildRPM
797    
798     * Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com>
799     - [1.4.0-01]
800     - Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-10.
801    
802     * Thu Aug 02 2001 Gordon Rowell <gordonr@e-smith.com>
803     - [1.3.0-10]
804     - More branding changes
805    
806     * Thu Aug 02 2001 Gordon Rowell <gordonr@e-smith.com>
807     - [1.3.0-09]
808     - More branding changes
809    
810     * Tue Jul 31 2001 Jason Miller <jmiller@e-smith.com>
811     - [1.3.0-08]
812     - Branding/marketing text changes email/e-mail
813    
814     * Sun Jul 29 2001 Jason Miller <jmiller@e-smith.com>
815     - [1.3.0-07]
816     - Branding text changes to the backup web panel
817    
818     * Fri Jul 6 2001 Peter Samuel <peters@e-smith.com>
819     - [1.3.0-06]
820     - Changed license to GPL
821    
822     * Wed Jul 04 2001 Gordon Rowell <gordonr@e-smith.com>
823     - [1.3.0-05]
824     - Default to .tgz for desktop backup/restore/verify
825     - Allow uuencoded tar (esmithsg.bak) for restore/verify backwards compatability
826    
827     * Thu Jun 07 2001 Gordon Rowell <gordonr@e-smith.com>
828     - [1.3.0-04]
829     - Add --verbose to tar --extract so web panels shows restored files
830    
831     * Thu Jun 07 2001 Charlie Brady <charlieb@e-smith.com>
832     - [1.3.0-03]
833     - Add option to verify desktop backup file contents.
834    
835     * Thu Jun 07 2001 Charlie Brady <charlieb@e-smith.com>
836     - [1.3.0-02]
837     - Avoid use of redundant temporary file, CGI.pm already creates one for us,
838     and provides us with a file handle.
839    
840     * Wed Apr 11 2001 Adrian Chung <mac@e-smith.com>
841     - [1.3.0-01]
842     - Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-11.
843    
844     * Wed Feb 21 2001 Charlie Brady <charlieb@e-smith.com>
845     - [1.2.0-11]
846     - Add tape rewind action to tape restore
847    
848     * Wed Feb 21 2001 Peter Samuel <peters@e-smith.com>
849     - [1.2.0-10]
850     - Now rewinds tape before zeroing tape.
851     - Writes 32k of zeroes instead of 10k.
852    
853     * Thu Feb 14 2001 Charlie Brady <charlieb@e-smith.com>
854     - [1.2.0-09]
855     - Add conf-backup to bootstrap-console-save.
856     - Don't need templates-user-custom directory now, it's in e-smith-base RPM.
857    
858     * Mon Feb 12 2001 Peter Samuel <peters@e-smith.com>
859     - [1.2.0-08]
860     - Duping STDOUT fails for netscape. Now just redirecting STDOUT to STDERR.
861    
862     * Mon Feb 12 2001 Adrian Chung <adrianc@e-smith.com>
863     - [1.2.0-07]
864     - rolling release number for GPG signing.
865    
866     * Sun Feb 11 2001 Charlie Brady
867     - [1.2.0-06]
868     - Include etc/e-smith/templates-user-custom in backup
869    
870     * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
871     - Rolling release number for GPG signing.
872    
873     * Thu Feb 8 2001 Peter Samuel <peters@e-smith.com>
874     - [1.2.0-04]
875     - Zero pad minutes for backup and reminder times.
876     - Fix nasty problem stopping flexbackup running in the background.
877     Needed to dup STDOUT, close STDOUT, and reset STDOUT to duped fd.
878    
879     * Tue Jan 30 2001 Peter Samuel <peters@e-smith.com>
880     - [1.2.0-03]
881     - Changed size calculations so that minimum size displayed is 1Mb.
882     - Changed wording of size of snapshot.
883     - Notify user how much free space exists in /tmp.
884     - Remove uploaded file after restore.
885    
886     * Mon Jan 29 2001 Charlie Brady <charlieb@e-smith.com>
887     - [1.2.0-02]
888     - Preserve gid of www across restore.
889     - Add comment about upbuffering output
890    
891     * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
892     - [1.2.0-01]
893     - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-17.
894    
895     * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
896     - [1.1.0-17]
897     - Added html output to reboot function of manager panel
898    
899     * Wed Jan 24 2001 Peter Samuel <peters@e-smith.com>
900     - [1.1.0-16]
901     - /sbin/e-smith/backup zeroes tape before starting. This is a hack to
902     work around talking to ide tapes via ide-scsi.
903    
904     * Wed Jan 17 2001 Peter Samuel <peters@e-smith.com>
905     - [1.1.0-15]
906     - mysql tables are deleted before and after backups and restores
907    
908     * Tue Jan 16 2001 Peter Samuel <peters@e-smith.com>
909     - [1.1.0-14]
910     - cron job now runs every day
911    
912     * Mon Jan 15 2001 Peter Samuel <peters@e-smith.com>
913     - [1.1.0-13]
914     - removed unnecessary /sbin/e-smith/tape-restore template
915     - fixed html formatting problem in backup panel
916     - fixed backgrounding problem in backup panel - need to close STDOUT in child
917     - format fixes in backup panel
918    
919     * Mon Jan 15 2001 Jason Miller <jmiller@e-smith.com>
920     - [1.1.0-12]
921     - Changes to the menu item ordering for the e-smith manager
922    
923     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
924     - [1.1.0-11]
925     - Changed fork and signal handling again - doesn't seem to make much
926     difference. Could be the lock file interaction - needs testing.
927    
928     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
929     - [1.1.0-10]
930     - Fixed order of files to be restored
931     - Moved signal handling but it makes no difference, still can't background
932    
933     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
934     - [1.1.0-09]
935     - /sbin/e-smith/backup now dumps mysql tables to /home/e-smith prior
936     to running the tape backup
937    
938     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
939     - [1.1.0-08]
940     - fixed uninitialised variables
941     - reboot action calls backgroundCommand instead of showing new panel
942    
943     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
944     - [1.1.0-07]
945     - fixed syntax error in /etc/e-smith/events/actions/conf-backup
946    
947     * Fri Jan 12 2001 Peter Samuel <peters@e-smith.com>
948     - [1.1.0-06]
949     - flexbackup is merely the default backup program
950     - cron job calls /sbin/e-smith/backup which is a templated file
951     - restore-tape action now given to flexbackup as it is flexbackup specific
952    
953     * Fri Jan 12 2001 Peter Samuel <peters@e-smith.com>
954     - [1.1.0-05]
955     - Removed checks for uptime. The state in /etc/e-smith/restore is not
956     changed, regardless of reboots. It is changed by bootstrap-console.
957     - Lots of text changes for consistency and to reinforce the need to
958     reboot after a restore
959     - Mail is sent to the admin user after a tape restore indicating
960     success or failure.
961     - mysql tables are dumped to /home/e-smith prior to network backup.
962     - Calculation of tarsize handles negative values sensibly.
963    
964     * Fri Jan 12 2001 Peter Samuel <peters@e-smith.com>
965     - [1.1.0-04]
966     - No longer checks for current state of EthernetDrive1 and LocalIP.
967     - Does not do a forced reboot under any circumstances.
968     - Calls post-upgrade after the restore instead of post-restore.
969    
970     * Thu Jan 11 2001 Peter Samuel <peters@e-smith.com>
971     - [1.1.0-03]
972     - Major changes to panel. Now does tape restore in background. Lots of
973     checks and balances to avoid concurrent restores/backups etc.
974    
975     * Wed Jan 10 2001 Jason Miller <jmiller@e-smith.com>
976     - [1.1.0-02]
977     - Minor change to the copyright for consistency
978    
979     * Tue Jan 9 2001 Peter Samuel <peters@e-smith.com>
980     - [1.1.0-01]
981     - Rolled version to 1.1.0-01. Includes patches upto 0.1-4
982    
983     * Mon Jan 8 2001 Peter Samuel <peters@e-smith.com>
984     - [0.1-4]
985     - Now restores config from tape
986    
987     * Sun Jan 7 2001 Jason Miller <jmiller@e-smith.com>
988     - [0.1-2] through [0.1-3]
989     - completed the update section for configuration database
990     of flexbackup
991     - prepared the restore-tape option for the call to the
992     proper event for restoring from tape
993    
994     * Sun Jan 7 2001 Jason Miller <jmiller@e-smith.com>
995     - initial release
996    
997     %description
998     e-smith server central backup administration panel
999    
1000     %prep
1001     %setup
1002     %patch0 -p1
1003     %patch1 -p1
1004     %patch2 -p1
1005     %patch3 -p1
1006     %patch4 -p1
1007     %patch5 -p1
1008     %patch6 -p1
1009     %patch7 -p1
1010     %patch8 -p1
1011     %patch9 -p1
1012     %patch10 -p1
1013     %patch11 -p1
1014     %patch12 -p1
1015     %patch13 -p1
1016 slords 1.2 %patch14 -p1
1017 slords 1.4 %patch15 -p1
1018 bytegw 1.4.2.1 %patch16 -p1
1019 bytegw 1.4.2.2 %patch17 -p1
1020 slords 1.4.2.3 %patch18 -p1
1021 slords 1.4.2.5 %patch19 -p1
1022 slords 1.1
1023     %build
1024     /sbin/e-smith/buildtests 10e-smith-backup
1025    
1026     mkdir -p root/etc/e-smith/events/{pre-,post-}backup
1027     perl createlinks
1028    
1029     # Extract a new copy of the English .po, though we won't use it for this build
1030     xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/backup.po \
1031     root/etc/e-smith/templates/etc/crontab/backup \
1032     root/sbin/e-smith/do_backup
1033    
1034     /sbin/e-smith/generate-lexicons
1035    
1036     mkdir -p root/var/cache/e-smith/restore
1037     mkdir -p root/var/cache/e-smith/restore/etc
1038     mkdir -p root/var/cache/e-smith/restore/etc/samba
1039     mkdir -p root/etc/e-smith/db/backups
1040    
1041     %install
1042     rm -rf $RPM_BUILD_ROOT
1043     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1044     rm -f %{name}-%{version}-%{release}-filelist
1045     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1046     > %{name}-%{version}-%{release}-filelist
1047     echo "%doc Copying" >> %{name}-%{version}-%{release}-filelist
1048     echo "%doc Artistic" >> %{name}-%{version}-%{release}-filelist
1049     echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist
1050    
1051     %clean
1052     rm -rf $RPM_BUILD_ROOT
1053    
1054     %pre
1055     %preun
1056     %post
1057     /bin/rm -f /sbin/e-smith/backup
1058     /bin/rm -f /etc/cron.d/backup
1059    
1060     %postun
1061    
1062     %files -f %{name}-%{version}-%{release}-filelist
1063     %defattr(-,root,root)

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