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