1 |
|
# $Id: e-smith-backup.spec,v 1.65 2010/05/09 07:58:31 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.15.0 |
%define version 2.2.0 |
7 |
%define release 16 |
%define release 35 |
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.15.0-DarWorkstation.patch |
Patch1: e-smith-backup-2.2.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.15.0-reformat.patch |
Patch2: e-smith-backup-2.2.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.15.0-no_desktop_verify_restore.patch |
Patch3: e-smith-backup-2.2.0-restore_list.patch |
16 |
Patch3: e-smith-backup-1.15.0-DarWorkstation.patch2 |
Patch4: e-smith-backup-2.2.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.15.0-DarWorkstation.patch3 |
Patch5: e-smith-backup-2.2.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.15.0-FixCompressionSetting.patch |
Patch6: e-smith-backup-2.2.0-mount_verify.patch |
19 |
Patch6: e-smith-backup-1.15.0-WrongRestoreLocationFix.patch |
Patch7: e-smith-backup-2.2.0-nocompressogg.patch |
20 |
Patch7: e-smith-backup-1.15.0-rmLexDuplicates.patch |
Patch8: e-smith-backup-2.2.0-verbose.patch |
21 |
Patch8: e-smith-backup-1.15.0-tags2general.patch |
Patch9: e-smith-backup-2.2.0-email.patch |
22 |
Patch9: e-smith-backup-1.15.0-DarDesc.patch |
Patch10: e-smith-backup-2.2.0-mount_usb.patch |
23 |
Patch10: e-smith-backup-1.15.0-brFix.patch |
Patch11: e-smith-backup-2.2.0-verbose_panel.patch |
24 |
Patch11: e-smith-backup-1.15.0-fixerrmsg.patch |
Patch12: e-smith-backup-2.2.0-gzip.patch |
25 |
Patch12: e-smith-backup-1.15.0-hours.patch |
Patch13: e-smith-backup-2.2.0-empty.patch |
26 |
Patch13: e-smith-backup-1.15.0-add2general.patch |
Patch14: e-smith-backup-2.2.0-spelling.patch |
27 |
Patch14: e-smith-backup-1.15.0-FixDarExpandTemplate.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 |
|
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 |
|
Patch32: e-smith-backup-2.2.0-fix-leading-slash-removal.patch |
45 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
47 |
BuildRequires: gettext |
BuildRequires: gettext |
60 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Tue May 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme |
64 |
|
- Fix removal of leading slash in storage location [SME: 5928] |
65 |
|
|
66 |
|
* Thu May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme |
67 |
|
- Add system name in Workstation Backups email [SME: 5706] |
68 |
|
|
69 |
|
* Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme |
70 |
|
- To: field missing from header in Workstation Backups email [SME: 5924] |
71 |
|
|
72 |
|
* Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-32.sme |
73 |
|
- Partly revert previous patch due to undesired side effects to smbpasswd [SME: 5857] |
74 |
|
|
75 |
|
* Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-31.sme |
76 |
|
- Adjust backup routines for relocation of samba secrets.tdb file [SME: 5857] |
77 |
|
|
78 |
|
* Mon Feb 15 2010 Stephen Noble <support@dungog.net> 2.2.0-30.sme |
79 |
|
- Improved upgrade compatibility, remove .orig [SME: 4809] |
80 |
|
|
81 |
|
* Fri Feb 12 2010 Stephen Noble <support@dungog.net> 2.2.0-29.sme |
82 |
|
- fix mount point for verify [SME: 5765] |
83 |
|
|
84 |
|
* Tue Feb 9 2010 Stephen Noble <support@dungog.net> 2.2.0-28.sme |
85 |
|
- create mount point for verify [SME: 5765] |
86 |
|
|
87 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-27.sme |
88 |
|
- remove comment re smbpasswd being last [SME: 5600] |
89 |
|
|
90 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-26.sme |
91 |
|
- Fix mounting usb disks [SME: 4809] |
92 |
|
|
93 |
|
* Mon Jan 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
94 |
|
- Don't backup more than once per day [SME: 5445] |
95 |
|
|
96 |
|
* Wed Nov 25 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-24.sme |
97 |
|
- Fix full backup on Sunday diplayed as Everyday [SME: 5623] |
98 |
|
|
99 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-23.sme |
100 |
|
- Add more excludes for compressed filetypes [SME: 4765] |
101 |
|
|
102 |
|
* Wed Aug 26 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-22.sme |
103 |
|
Porting Jean-Paul Leclere changes in the SME Server 7 tree to SME Server 8: |
104 |
|
- using credentials file for cifs mount [SME: 5442] |
105 |
|
- workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 5442] |
106 |
|
|
107 |
|
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-21.sme |
108 |
|
- workstation backup: allow many backups in the same day [SME: 5411] |
109 |
|
|
110 |
|
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-20.sme |
111 |
|
- workstation restore: all needed backups must be available before restore [SME: 5397] |
112 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5405] |
113 |
|
- minor fix in translation [SME: 5407] |
114 |
|
|
115 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-19.sme |
116 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
117 |
|
|
118 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-18.sme |
119 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
120 |
|
|
121 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.2.0-17.sme |
122 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
123 |
|
- Hide password from manager panel [SME: 4734] |
124 |
|
|
125 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-16.sme |
126 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
127 |
|
|
128 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.2.0-15.sme |
129 |
|
- Fix compression to default to gzip [SME: 4630] |
130 |
|
- Fix uninitialized values in backup [SME: 4720] |
131 |
|
|
132 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-14.sme |
133 |
|
- dar backup to be less verbose in panel [SME: 4719] |
134 |
|
|
135 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-13.sme |
136 |
|
- correct mounting for usb disks [SME: 4695] |
137 |
|
|
138 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.2.0-12.sme |
139 |
|
- Fix from address on email [SME: 4702] |
140 |
|
|
141 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.2.0-11.sme |
142 |
|
- Fix patch to remove orig file [SME: 4700] |
143 |
|
- Patch dar backup to be less verbose [SME: 4699] |
144 |
|
|
145 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
146 |
|
- no compression for ogg media files [SME: 4677] |
147 |
|
|
148 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
149 |
|
- replace defined list of directories to backup [SME: 4676] |
150 |
|
|
151 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
152 |
|
- Fix already mounted check [SME: 4688] |
153 |
|
|
154 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
155 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
156 |
|
|
157 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
158 |
|
- Use perl routines for timeout checking [SME: 4660] |
159 |
|
|
160 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
161 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
162 |
|
|
163 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
164 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
165 |
|
|
166 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
167 |
|
- Fix localization strings in backup panel [SME: 4650] |
168 |
|
|
169 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
170 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
171 |
|
|
172 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
173 |
|
- Localise status of workstation backup [SME: 4481] |
174 |
|
|
175 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
176 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
177 |
|
|
178 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
179 |
|
- Make full backups have priority over incremental [SME: 4395] |
180 |
|
|
181 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
182 |
|
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
183 |
|
|
184 |
|
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
185 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
186 |
|
|
187 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
188 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
189 |
|
|
190 |
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
191 |
- Fix Dar to expand correctly. [SME: 4304] |
- Fix Dar to expand correctly. [SME: 4304] |
192 |
|
|
1172 |
|
|
1173 |
%prep |
%prep |
1174 |
%setup |
%setup |
|
%patch0 -p1 |
|
1175 |
%patch1 -p1 |
%patch1 -p1 |
1176 |
%patch2 -p1 |
%patch2 -p1 |
1177 |
%patch3 -p1 |
%patch3 -p1 |
1186 |
%patch12 -p1 |
%patch12 -p1 |
1187 |
%patch13 -p1 |
%patch13 -p1 |
1188 |
%patch14 -p1 |
%patch14 -p1 |
1189 |
|
%patch15 -p1 |
1190 |
|
%patch16 -p1 |
1191 |
|
%patch17 -p1 |
1192 |
|
%patch18 -p1 |
1193 |
|
%patch19 -p1 |
1194 |
|
%patch20 -p1 |
1195 |
|
%patch21 -p1 |
1196 |
|
%patch22 -p1 |
1197 |
|
%patch23 -p1 |
1198 |
|
%patch24 -p1 |
1199 |
|
%patch25 -p1 |
1200 |
|
%patch26 -p1 |
1201 |
|
%patch27 -p1 |
1202 |
|
%patch28 -p1 |
1203 |
|
%patch29 -p1 |
1204 |
|
%patch30 -p1 |
1205 |
|
%patch31 -p1 |
1206 |
|
%patch32 -p1 |
1207 |
|
|
1208 |
%build |
%build |
1209 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |