1 |
|
# $Id: e-smith-backup.spec,v 1.50 2009/08/25 18:27:52 gnujpl Exp $ |
2 |
|
|
3 |
Summary: e-smith module to provide the backup panel |
Summary: e-smith module to provide the backup panel |
4 |
%define name e-smith-backup |
%define name e-smith-backup |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.14.0 |
%define version 2.0.0 |
7 |
%define release 26 |
%define release 23 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: e-smith-backup-1.14.0-DesktopBackupWarning.patch |
Patch1: e-smith-backup-2.0.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2 |
Patch2: e-smith-backup-2.0.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.14.0-Crontab.patch |
Patch3: e-smith-backup-2.0.0-restore_list.patch |
16 |
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
Patch4: e-smith-backup-2.0.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
Patch5: e-smith-backup-2.0.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.14.0-eject.patch |
Patch6: e-smith-backup-2.0.0-mount_verify.patch |
19 |
Patch6: e-smith-backup-1.14.0-tapeactions.patch |
Patch7: e-smith-backup-2.0.0-nocompressogg.patch |
20 |
Patch7: e-smith-backup-1.14.0-backuptype.patch |
Patch8: e-smith-backup-2.0.0-verbose.patch |
21 |
Patch8: e-smith-backup-1.14.0-eject.patch2 |
Patch9: e-smith-backup-2.0.0-email.patch |
22 |
Patch9: e-smith-backup-1.14.0-backuptype.patch2 |
Patch10: e-smith-backup-2.0.0-mount_usb.patch |
23 |
Patch10: e-smith-backup-1.14.0-restorefromdisk.patch |
Patch11: e-smith-backup-2.0.0-verbose_panel.patch |
24 |
Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch |
Patch12: e-smith-backup-2.0.0-gzip.patch |
25 |
Patch12: e-smith-backup-1.14.0-reminderemail.patch |
Patch13: e-smith-backup-2.0.0-empty.patch |
26 |
Patch13: e-smith-backup-1.14.0-backuptype.patch3 |
Patch14: e-smith-backup-2.0.0-spelling.patch |
27 |
Patch14: e-smith-backup-1.14.0-proxyenv.patch |
Patch15: e-smith-backup-2.0.0-password.patch |
28 |
Patch15: e-smith-backup-1.14.0-bklistexist.patch |
Patch16: e-smith-backup-2.0.0-fixCompressionLevelRange.patch |
29 |
Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch |
Patch17: e-smith-backup-2.0.0-fixReport.patch |
30 |
Patch17: e-smith-backup-1.14.0-tags2general.patch |
Patch18: e-smith-backup-2.0.0-workstation_verify.patch |
31 |
Patch18: e-smith-backup-1.14.0-brFix.patch |
Patch19: e-smith-backup-2.0.0-many_daily_dar.patch |
32 |
Patch19: e-smith-backup-1.14.0-fixerrmsg.patch |
Patch20: e-smith-backup-2.0.0-CIFScredentials.patch |
33 |
Patch20: e-smith-backup-1.14.0-add2general.patch |
Patch21: e-smith-backup-2.0.0-CIFScredentials2.patch |
|
Patch21: e-smith-backup-1.14.0-stderr.patch |
|
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
36 |
BuildRequires: gettext |
BuildRequires: gettext |
37 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
|
39 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
40 |
Requires: perl(Quota) |
Requires: perl(Quota) |
41 |
Requires: perl(Unix::PasswdFile) |
Requires: perl(Unix::PasswdFile) |
45 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
46 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
47 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
48 |
|
Requires: dar |
49 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
50 |
|
|
51 |
%changelog |
%changelog |
52 |
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-26 |
* Wed Aug 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-23.sme |
53 |
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
- workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 4850] |
54 |
|
|
55 |
|
* Tue Aug 25 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-22.sme |
56 |
|
- workstation backup: using credentials file for cifs mount [SME: 4850] |
57 |
|
|
58 |
|
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-21.sme |
59 |
|
- workstation backup: allow many backups in the same day [SME: 5393] |
60 |
|
|
61 |
|
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-20.sme |
62 |
|
- workstation restore: all needed backups must be available before restore [SME: 5395] |
63 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5396] |
64 |
|
- minor fix in translation [SME: 5406] |
65 |
|
|
66 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-19.sme |
67 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
68 |
|
|
69 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-18.sme |
70 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
71 |
|
|
72 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.0.0-17.sme |
73 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
74 |
|
- Hide password from manager panel [SME: 4734] |
75 |
|
|
76 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-16.sme |
77 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
78 |
|
|
79 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.0.0-15.sme |
80 |
|
- Fix compression to default to gzip [SME: 4630] |
81 |
|
- Fix uninitialized values in backup [SME: 4720] |
82 |
|
|
83 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-14.sme |
84 |
|
- dar backup to be less verbose in panel [SME: 4719] |
85 |
|
|
86 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-13.sme |
87 |
|
- correct mounting for usb disks [SME: 4695] |
88 |
|
|
89 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.0.0-12.sme |
90 |
|
- Fix from address on email [SME: 4702] |
91 |
|
|
92 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.0.0-11.sme |
93 |
|
- Fix patch to remove orig file [SME: 4700] |
94 |
|
- Patch dar backup to be less verbose [SME: 4699] |
95 |
|
|
96 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
97 |
|
- no compression for ogg media files [SME: 4677] |
98 |
|
|
99 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-8.sme |
100 |
|
- replace defined list of directories to backup [SME: 4676] |
101 |
|
|
102 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-7.sme |
103 |
|
- Fix already mounted check [SME: 4688] |
104 |
|
|
105 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-6.sme |
106 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
107 |
|
|
108 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
109 |
|
- Use perl routines for timeout checking [SME: 4660] |
110 |
|
|
111 |
* Mon Jul 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-25 |
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
112 |
- Backport patch to add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Make dar use defined list of directories to backup [SME: 4676] |
113 |
|
|
114 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-24 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
115 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
116 |
|
|
117 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
118 |
|
- Fix localization strings in backup panel [SME: 4650] |
119 |
|
|
120 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
121 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
122 |
|
|
123 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
124 |
|
- Localise status of workstation backup [SME: 4481] |
125 |
|
|
126 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
127 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
128 |
|
|
129 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
130 |
|
- Make full backups have priority over incremental [SME: 4395] |
131 |
|
|
132 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
133 |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
134 |
|
|
135 |
* Mon Apr 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-23 |
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
136 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
137 |
|
|
138 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
139 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
140 |
|
|
141 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
142 |
|
- Fix Dar to expand correctly. [SME: 4304] |
143 |
|
|
144 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
145 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
146 |
|
|
147 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22 |
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
148 |
- Use correct patch for remove duplicates [SME: 3887] |
- Minor fix in translation of hours [SME: 4179] |
149 |
|
|
150 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
151 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
152 |
|
|
153 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-20 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
154 |
- Fix patches to get rid of .orig files [SME: 4100] |
- Remove <br> tag from error msg [SME: 3989] |
155 |
|
|
156 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
157 |
- Backport remove <br> from error msg. [SME: 3989] |
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
158 |
|
|
159 |
* Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
160 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Remove <base> tags now in general [SME: 3912] |
161 |
|
|
162 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
163 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Remove duplicate <base> entries [SME: 3887] |
164 |
|
|
165 |
|
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
166 |
|
- Fix restore files location path. [SME: 3593] |
167 |
|
|
168 |
|
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
169 |
|
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
170 |
|
|
171 |
|
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
172 |
|
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
173 |
|
|
174 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
175 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
176 |
|
|
177 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
178 |
|
- Remove desktop verify and desktop restore features. Note that |
179 |
|
lexicon entries have not been removed. [SME: 3372] |
180 |
|
|
181 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
182 |
|
- Reformat new DAR code to match existing coding style. |
183 |
|
|
184 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
185 |
|
- Dar workstation backup patch |
186 |
|
|
187 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
188 |
|
- Roll new development version. |
189 |
|
|
190 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
191 |
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
1123 |
|
|
1124 |
%prep |
%prep |
1125 |
%setup |
%setup |
|
%patch0 -p1 |
|
1126 |
%patch1 -p1 |
%patch1 -p1 |
1127 |
%patch2 -p1 |
%patch2 -p1 |
1128 |
%patch3 -p1 |
%patch3 -p1 |
1162 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1163 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1164 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1165 |
|
mkdir -p root/etc/dar |
1166 |
|
mkdir -p root/mnt/smb |
1167 |
|
|
1168 |
%install |
%install |
1169 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1181 |
%pre |
%pre |
1182 |
%preun |
%preun |
1183 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1184 |
%postun |
%postun |
1185 |
|
|
1186 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |