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