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