/[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.2 - (hide annotations) (download)
Thu Feb 14 21:48:26 2008 UTC (16 years, 9 months ago) by bytegw
Branch: e-smith-backup-1_14-tree
CVS Tags: e-smith-backup-1_14_0-18_el4_sme
Changes since 1.4.2.1: +7 -1 lines
Updates

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

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