/[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.5 - (hide annotations) (download)
Tue Mar 25 17:36:41 2008 UTC (16 years, 8 months ago) by slords
Branch: e-smith-backup-1_14-tree
CVS Tags: e-smith-backup-1_14_0-21_el4_sme
Changes since 1.4.2.4: +6 -1 lines
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21
- Fix localization in restore routine [SME: 3989]

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

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