1 |
|
# $Id: e-smith-backup.spec,v 1.64 2010/05/06 17:00:15 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.2.0 |
7 |
%define release 17 |
%define release 34 |
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.2.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2 |
Patch2: e-smith-backup-2.2.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.14.0-Crontab.patch |
Patch3: e-smith-backup-2.2.0-restore_list.patch |
16 |
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
Patch4: e-smith-backup-2.2.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
Patch5: e-smith-backup-2.2.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.14.0-eject.patch |
Patch6: e-smith-backup-2.2.0-mount_verify.patch |
19 |
Patch6: e-smith-backup-1.14.0-tapeactions.patch |
Patch7: e-smith-backup-2.2.0-nocompressogg.patch |
20 |
Patch7: e-smith-backup-1.14.0-backuptype.patch |
Patch8: e-smith-backup-2.2.0-verbose.patch |
21 |
Patch8: e-smith-backup-1.14.0-eject.patch2 |
Patch9: e-smith-backup-2.2.0-email.patch |
22 |
Patch9: e-smith-backup-1.14.0-backuptype.patch2 |
Patch10: e-smith-backup-2.2.0-mount_usb.patch |
23 |
Patch10: e-smith-backup-1.14.0-restorefromdisk.patch |
Patch11: e-smith-backup-2.2.0-verbose_panel.patch |
24 |
Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch |
Patch12: e-smith-backup-2.2.0-gzip.patch |
25 |
Patch12: e-smith-backup-1.14.0-reminderemail.patch |
Patch13: e-smith-backup-2.2.0-empty.patch |
26 |
Patch13: e-smith-backup-1.14.0-backuptype.patch3 |
Patch14: e-smith-backup-2.2.0-spelling.patch |
27 |
Patch14: e-smith-backup-1.14.0-proxyenv.patch |
Patch15: e-smith-backup-2.2.0-password.patch |
28 |
Patch15: e-smith-backup-1.14.0-bklistexist.patch |
Patch16: e-smith-backup-2.2.0-fixCompressionLevelRange.patch |
29 |
Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch |
Patch17: e-smith-backup-2.2.0-fixReport.patch |
30 |
|
Patch18: e-smith-backup-2.2.0-workstation_verify.patch |
31 |
|
Patch19: e-smith-backup-2.2.0-many_daily_dar.patch |
32 |
|
Patch20: e-smith-backup-2.2.0-CIFScredentials.patch |
33 |
|
Patch21: e-smith-backup-2.2.0-CIFScredentials2.patch |
34 |
|
Patch22: e-smith-backup-2.2.0-moreexcludes.patch |
35 |
|
Patch23: e-smith-backup-2.2.0-fullSunday.patch |
36 |
|
Patch24: e-smith-backup-2.2.0-once_a_day.patch |
37 |
|
Patch25: e-smith-backup-2.2.0-perform_backup-hal.patch |
38 |
|
Patch26: e-smith-backup-2.2.0-smbpasswd_not_last.patch |
39 |
|
Patch27: e-smith-backup-2.2.0-create_mount.patch2 |
40 |
|
Patch28: e-smith-backup-2.2.0-nolowercase.patch |
41 |
|
Patch29: e-smith-backup-2.2.0-adjust-for-samba-tdb-locations.patch |
42 |
|
Patch30: e-smith-backup-2.2.0-workstation-To-field.patch |
43 |
|
Patch31: e-smith-backup-2.2.0-ServerNameEmail.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
46 |
BuildRequires: gettext |
BuildRequires: gettext |
55 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
56 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
57 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
58 |
|
Requires: dar |
59 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Thu May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme |
63 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Add system name in Workstation Backups email [SME: 5706] |
64 |
|
|
65 |
|
* Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme |
66 |
|
- To: field missing from header in Workstation Backups email [SME: 5924] |
67 |
|
|
68 |
|
* Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-32.sme |
69 |
|
- Partly revert previous patch due to undesired side effects to smbpasswd [SME: 5857] |
70 |
|
|
71 |
|
* Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-31.sme |
72 |
|
- Adjust backup routines for relocation of samba secrets.tdb file [SME: 5857] |
73 |
|
|
74 |
|
* Mon Feb 15 2010 Stephen Noble <support@dungog.net> 2.2.0-30.sme |
75 |
|
- Improved upgrade compatibility, remove .orig [SME: 4809] |
76 |
|
|
77 |
|
* Fri Feb 12 2010 Stephen Noble <support@dungog.net> 2.2.0-29.sme |
78 |
|
- fix mount point for verify [SME: 5765] |
79 |
|
|
80 |
|
* Tue Feb 9 2010 Stephen Noble <support@dungog.net> 2.2.0-28.sme |
81 |
|
- create mount point for verify [SME: 5765] |
82 |
|
|
83 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-27.sme |
84 |
|
- remove comment re smbpasswd being last [SME: 5600] |
85 |
|
|
86 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-26.sme |
87 |
|
- Fix mounting usb disks [SME: 4809] |
88 |
|
|
89 |
|
* Mon Jan 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
90 |
|
- Don't backup more than once per day [SME: 5445] |
91 |
|
|
92 |
|
* Wed Nov 25 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-24.sme |
93 |
|
- Fix full backup on Sunday diplayed as Everyday [SME: 5623] |
94 |
|
|
95 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-23.sme |
96 |
|
- Add more excludes for compressed filetypes [SME: 4765] |
97 |
|
|
98 |
|
* Wed Aug 26 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-22.sme |
99 |
|
Porting Jean-Paul Leclere changes in the SME Server 7 tree to SME Server 8: |
100 |
|
- using credentials file for cifs mount [SME: 5442] |
101 |
|
- workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 5442] |
102 |
|
|
103 |
|
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-21.sme |
104 |
|
- workstation backup: allow many backups in the same day [SME: 5411] |
105 |
|
|
106 |
|
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-20.sme |
107 |
|
- workstation restore: all needed backups must be available before restore [SME: 5397] |
108 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5405] |
109 |
|
- minor fix in translation [SME: 5407] |
110 |
|
|
111 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-19.sme |
112 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
113 |
|
|
114 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-18.sme |
115 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
116 |
|
|
117 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.2.0-17.sme |
118 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
119 |
|
- Hide password from manager panel [SME: 4734] |
120 |
|
|
121 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-16.sme |
122 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
123 |
|
|
124 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.2.0-15.sme |
125 |
|
- Fix compression to default to gzip [SME: 4630] |
126 |
|
- Fix uninitialized values in backup [SME: 4720] |
127 |
|
|
128 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-14.sme |
129 |
|
- dar backup to be less verbose in panel [SME: 4719] |
130 |
|
|
131 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-13.sme |
132 |
|
- correct mounting for usb disks [SME: 4695] |
133 |
|
|
134 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.2.0-12.sme |
135 |
|
- Fix from address on email [SME: 4702] |
136 |
|
|
137 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.2.0-11.sme |
138 |
|
- Fix patch to remove orig file [SME: 4700] |
139 |
|
- Patch dar backup to be less verbose [SME: 4699] |
140 |
|
|
141 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
142 |
|
- no compression for ogg media files [SME: 4677] |
143 |
|
|
144 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
145 |
|
- replace defined list of directories to backup [SME: 4676] |
146 |
|
|
147 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
148 |
|
- Fix already mounted check [SME: 4688] |
149 |
|
|
150 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
151 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
152 |
|
|
153 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
154 |
|
- Use perl routines for timeout checking [SME: 4660] |
155 |
|
|
156 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
157 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
158 |
|
|
159 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
160 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
161 |
|
|
162 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
163 |
|
- Fix localization strings in backup panel [SME: 4650] |
164 |
|
|
165 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
166 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
167 |
|
|
168 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
169 |
|
- Localise status of workstation backup [SME: 4481] |
170 |
|
|
171 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
172 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
173 |
|
|
174 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
175 |
|
- Make full backups have priority over incremental [SME: 4395] |
176 |
|
|
177 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
178 |
|
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
179 |
|
|
180 |
|
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
181 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
182 |
|
|
183 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
184 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
185 |
|
|
186 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
187 |
|
- Fix Dar to expand correctly. [SME: 4304] |
188 |
|
|
189 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
190 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
191 |
|
|
192 |
|
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
193 |
|
- Minor fix in translation of hours [SME: 4179] |
194 |
|
|
195 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
196 |
|
- Fix localization in restore routine [SME: 3989] |
197 |
|
|
198 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
199 |
|
- Remove <br> tag from error msg [SME: 3989] |
200 |
|
|
201 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
202 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
203 |
|
|
204 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
205 |
|
- Remove <base> tags now in general [SME: 3912] |
206 |
|
|
207 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
208 |
|
- Remove duplicate <base> entries [SME: 3887] |
209 |
|
|
210 |
|
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
211 |
|
- Fix restore files location path. [SME: 3593] |
212 |
|
|
213 |
|
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
214 |
|
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
215 |
|
|
216 |
|
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
217 |
|
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
218 |
|
|
219 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
220 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
221 |
|
|
222 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
223 |
|
- Remove desktop verify and desktop restore features. Note that |
224 |
|
lexicon entries have not been removed. [SME: 3372] |
225 |
|
|
226 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
227 |
|
- Reformat new DAR code to match existing coding style. |
228 |
|
|
229 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
230 |
|
- Dar workstation backup patch |
231 |
|
|
232 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
233 |
|
- Roll new development version. |
234 |
|
|
235 |
* 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 |
236 |
- 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] |
1168 |
|
|
1169 |
%prep |
%prep |
1170 |
%setup |
%setup |
|
%patch0 -p1 |
|
1171 |
%patch1 -p1 |
%patch1 -p1 |
1172 |
%patch2 -p1 |
%patch2 -p1 |
1173 |
%patch3 -p1 |
%patch3 -p1 |
1184 |
%patch14 -p1 |
%patch14 -p1 |
1185 |
%patch15 -p1 |
%patch15 -p1 |
1186 |
%patch16 -p1 |
%patch16 -p1 |
1187 |
|
%patch17 -p1 |
1188 |
|
%patch18 -p1 |
1189 |
|
%patch19 -p1 |
1190 |
|
%patch20 -p1 |
1191 |
|
%patch21 -p1 |
1192 |
|
%patch22 -p1 |
1193 |
|
%patch23 -p1 |
1194 |
|
%patch24 -p1 |
1195 |
|
%patch25 -p1 |
1196 |
|
%patch26 -p1 |
1197 |
|
%patch27 -p1 |
1198 |
|
%patch28 -p1 |
1199 |
|
%patch29 -p1 |
1200 |
|
%patch30 -p1 |
1201 |
|
%patch31 -p1 |
1202 |
|
|
1203 |
%build |
%build |
1204 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1217 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1218 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1219 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1220 |
|
mkdir -p root/etc/dar |
1221 |
|
mkdir -p root/mnt/smb |
1222 |
|
|
1223 |
%install |
%install |
1224 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1236 |
%pre |
%pre |
1237 |
%preun |
%preun |
1238 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1239 |
%postun |
%postun |
1240 |
|
|
1241 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |