/[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.4 - (hide annotations) (download)
Mon Mar 24 22:10:50 2008 UTC (16 years, 7 months ago) by slords
Branch: e-smith-backup-1_14-tree
CVS Tags: e-smith-backup-1_14_0-20_el4_sme
Changes since 1.4.2.3: +5 -2 lines
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-20
- Fix patches to get rid of .orig files

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

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