1 |
|
# $Id: e-smith-backup.spec,v 1.61 2011/03/11 16:13:03 wellsi 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 33 |
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 |
34 |
Patch21: e-smith-backup-1.14.0-stderr.patch |
Patch22: e-smith-backup-2.0.0-FullSunday.patch |
35 |
|
Patch23: e-smith-backup-2.0.0-workstation-To-field.patch |
36 |
|
Patch24: e-smith-backup-2.0.0-stripSpaces.patch |
37 |
|
Patch25: e-smith-backup-2.0.0-smbpassword2smbpasswd.patch |
38 |
|
Patch26: e-smith-backup-2.0.0-smbpasswdPanelText.patch |
39 |
|
Patch27: e-smith-backup-2.0.0-DesktopBackupTextUpdate.patch |
40 |
|
Patch28: e-smith-backup-2.0.0-once_a_day.patch |
41 |
|
Patch29: e-smith-backup-2.0.0-CheckDarReturnCode.patch |
42 |
|
Patch30: e-smith-backup-2.0.0-handle-dirs-using-DirHandle.patch |
43 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
45 |
BuildRequires: gettext |
BuildRequires: gettext |
46 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
|
48 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
49 |
Requires: perl(Quota) |
Requires: perl(Quota) |
50 |
Requires: perl(Unix::PasswdFile) |
Requires: perl(Unix::PasswdFile) |
54 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
55 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
56 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
57 |
|
Requires: dar |
58 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-26 |
* Sat Apr 9 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-33.sme |
62 |
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
- Handle removable backup locations using DirHandle [SME: 6512] |
63 |
|
|
64 |
|
* Fri Mar 11 2011 Ian Wells <esmith@wellsi.com> 2.0.0-32.sme |
65 |
|
- Backup to Workstation does not handle full remote disc gracefully, by Filippo Carletti [SME: 5688] |
66 |
|
|
67 |
|
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.0.0-31.sme |
68 |
|
- Don't backup more than once per day, by Filippo Carletti [SME: 5444] |
69 |
|
|
70 |
|
* Mon Jun 21 2010 Ian Wells <esmith@wellsi.com> 2.0.0-30.sme |
71 |
|
- Update backup instructions in server-manager [SME: 5222] |
72 |
|
|
73 |
|
* Mon Jun 21 2010 Ian Wells <esmith@wellsi.com> 2.0.0-29.sme |
74 |
|
- /etc/smbpasswd should not be mentioned in the panels [SME: 6070] |
75 |
|
|
76 |
|
* Sat Jun 15 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-28.sme |
77 |
|
- Fix patch to not create .orig file [SME: 6054] |
78 |
|
|
79 |
|
* Tue Jun 15 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-27.sme |
80 |
|
- Fix error causing restore to report failed where it was complete [SME: 6054] |
81 |
|
|
82 |
|
* Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.0.0-26.sme |
83 |
|
- Strip spaces from Workstation Backup hostname [SME: 5664] |
84 |
|
|
85 |
|
* Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.0.0-25.sme |
86 |
|
- To: field missing from header in Workstation Backups email [SME: 5872] |
87 |
|
|
88 |
|
* Wed Nov 25 2009 Gavin Weight <gweight@gmail.com> 2.0.0-24.sme |
89 |
|
- Fix full backup on Sunday displayed as Everyday. [SME: 5624] |
90 |
|
|
91 |
|
* Wed Aug 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-23.sme |
92 |
|
- workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 4850] |
93 |
|
|
94 |
|
* Tue Aug 25 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-22.sme |
95 |
|
- workstation backup: using credentials file for cifs mount [SME: 4850] |
96 |
|
|
97 |
|
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-21.sme |
98 |
|
- workstation backup: allow many backups in the same day [SME: 5393] |
99 |
|
|
100 |
|
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-20.sme |
101 |
|
- workstation restore: all needed backups must be available before restore [SME: 5395] |
102 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5396] |
103 |
|
- minor fix in translation [SME: 5406] |
104 |
|
|
105 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-19.sme |
106 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
107 |
|
|
108 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-18.sme |
109 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
110 |
|
|
111 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.0.0-17.sme |
112 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
113 |
|
- Hide password from manager panel [SME: 4734] |
114 |
|
|
115 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-16.sme |
116 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
117 |
|
|
118 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.0.0-15.sme |
119 |
|
- Fix compression to default to gzip [SME: 4630] |
120 |
|
- Fix uninitialized values in backup [SME: 4720] |
121 |
|
|
122 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-14.sme |
123 |
|
- dar backup to be less verbose in panel [SME: 4719] |
124 |
|
|
125 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-13.sme |
126 |
|
- correct mounting for usb disks [SME: 4695] |
127 |
|
|
128 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.0.0-12.sme |
129 |
|
- Fix from address on email [SME: 4702] |
130 |
|
|
131 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.0.0-11.sme |
132 |
|
- Fix patch to remove orig file [SME: 4700] |
133 |
|
- Patch dar backup to be less verbose [SME: 4699] |
134 |
|
|
135 |
* Mon Jul 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-25 |
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
136 |
- Backport patch to add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- no compression for ogg media files [SME: 4677] |
137 |
|
|
138 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-24 |
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-8.sme |
139 |
|
- replace defined list of directories to backup [SME: 4676] |
140 |
|
|
141 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-7.sme |
142 |
|
- Fix already mounted check [SME: 4688] |
143 |
|
|
144 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-6.sme |
145 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
146 |
|
|
147 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
148 |
|
- Use perl routines for timeout checking [SME: 4660] |
149 |
|
|
150 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
151 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
152 |
|
|
153 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
154 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
155 |
|
|
156 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
157 |
|
- Fix localization strings in backup panel [SME: 4650] |
158 |
|
|
159 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
160 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
161 |
|
|
162 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
163 |
|
- Localise status of workstation backup [SME: 4481] |
164 |
|
|
165 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
166 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
167 |
|
|
168 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
169 |
|
- Make full backups have priority over incremental [SME: 4395] |
170 |
|
|
171 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
172 |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
173 |
|
|
174 |
* 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 |
175 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
176 |
|
|
177 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
178 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
179 |
|
|
180 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
181 |
|
- Fix Dar to expand correctly. [SME: 4304] |
182 |
|
|
183 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
184 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
185 |
|
|
186 |
* 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 |
187 |
- Use correct patch for remove duplicates [SME: 3887] |
- Minor fix in translation of hours [SME: 4179] |
188 |
|
|
189 |
* 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 |
190 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
191 |
|
|
192 |
* 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 |
193 |
- Fix patches to get rid of .orig files [SME: 4100] |
- Remove <br> tag from error msg [SME: 3989] |
194 |
|
|
195 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
196 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
197 |
|
|
198 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
199 |
|
- Remove <base> tags now in general [SME: 3912] |
200 |
|
|
201 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
202 |
|
- Remove duplicate <base> entries [SME: 3887] |
203 |
|
|
204 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
205 |
- Backport remove <br> from error msg. [SME: 3989] |
- Fix restore files location path. [SME: 3593] |
206 |
|
|
207 |
* Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18 |
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
208 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
209 |
|
|
210 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
211 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
212 |
|
|
213 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
214 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
215 |
|
|
216 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
217 |
|
- Remove desktop verify and desktop restore features. Note that |
218 |
|
lexicon entries have not been removed. [SME: 3372] |
219 |
|
|
220 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
221 |
|
- Reformat new DAR code to match existing coding style. |
222 |
|
|
223 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
224 |
|
- Dar workstation backup patch |
225 |
|
|
226 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
227 |
|
- Roll new development version. |
228 |
|
|
229 |
* 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 |
230 |
- 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] |
1162 |
|
|
1163 |
%prep |
%prep |
1164 |
%setup |
%setup |
|
%patch0 -p1 |
|
1165 |
%patch1 -p1 |
%patch1 -p1 |
1166 |
%patch2 -p1 |
%patch2 -p1 |
1167 |
%patch3 -p1 |
%patch3 -p1 |
1183 |
%patch19 -p1 |
%patch19 -p1 |
1184 |
%patch20 -p1 |
%patch20 -p1 |
1185 |
%patch21 -p1 |
%patch21 -p1 |
1186 |
|
%patch22 -p1 |
1187 |
|
%patch23 -p1 |
1188 |
|
%patch24 -p1 |
1189 |
|
%patch25 -p1 |
1190 |
|
%patch26 -p1 |
1191 |
|
%patch27 -p1 |
1192 |
|
%patch28 -p1 |
1193 |
|
%patch29 -p1 |
1194 |
|
%patch30 -p1 |
1195 |
|
|
1196 |
%build |
%build |
1197 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1210 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1211 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1212 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1213 |
|
mkdir -p root/etc/dar |
1214 |
|
mkdir -p root/mnt/smb |
1215 |
|
|
1216 |
%install |
%install |
1217 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1229 |
%pre |
%pre |
1230 |
%preun |
%preun |
1231 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1232 |
%postun |
%postun |
1233 |
|
|
1234 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |