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