/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup.spec
ViewVC logotype

Diff of /rpms/e-smith-backup/sme8/e-smith-backup.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4.2.9 by slords, Sat Jul 26 14:53:01 2008 UTC Revision 1.77 by wellsi, Sun Oct 10 13:57:09 2010 UTC
# Line 1  Line 1 
1    # $Id: e-smith-backup.spec,v 1.76 2010/07/19 21:22: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.14.0  %define version 2.2.0
7  %define release 24  %define release 45
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  Patch17: e-smith-backup-1.14.0-tags2general.patch  Patch18: e-smith-backup-2.2.0-workstation_verify.patch
31  Patch18: e-smith-backup-1.14.0-brFix.patch  Patch19: e-smith-backup-2.2.0-many_daily_dar.patch
32  Patch19: e-smith-backup-1.14.0-fixerrmsg.patch  Patch20: e-smith-backup-2.2.0-CIFScredentials.patch
33  Patch20: e-smith-backup-1.14.0-add2general.patch  Patch21: e-smith-backup-2.2.0-CIFScredentials2.patch
34  Patch21: e-smith-backup-1.14.0-stderr.patch  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    Patch33: e-smith-backup-2.2.0-secrets_tdb.patch
46    Patch34: e-smith-backup-2.2.0-local_USB.patch
47    Patch35: e-smith-backup-2.2.0-smbpassword2smbpasswd.patch
48    Patch36: e-smith-backup-2.2.0-stripSpaces.patch
49    Patch37: e-smith-backup-2.2.0-DesktopBackupTextUpdate.patch
50    Patch38: e-smith-backup-2.2.0-restore_list_smbpasswd.patch
51    Patch39: e-smith-backup-2.2.0-remove-relocate_samba_file.patch
52    Patch40: e-smith-backup-2.2.0-workstation_tmpdir.patch
53    Patch41: e-smith-backup-2.2.0-workstation_failure.patch
54    Patch42: e-smith-backup-2.2.0-diskusage.patch
55  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
56  BuildRequires: e-smith-devtools >= 1.11.0-03  BuildRequires: e-smith-devtools >= 1.11.0-03
57  BuildRequires: gettext  BuildRequires: gettext
58  BuildArchitectures: noarch  BuildArchitectures: noarch
59  Requires: e-smith-base  Requires: e-smith-base
 Requires: e-smith-formmagick >= 1.4.0-12  
60  Requires: e-smith-lib >= 1.15.1-19  Requires: e-smith-lib >= 1.15.1-19
61  Requires: perl(Quota)  Requires: perl(Quota)
62  Requires: perl(Unix::PasswdFile)  Requires: perl(Unix::PasswdFile)
# Line 45  Requires: perl(Locale::gettext) Line 66  Requires: perl(Locale::gettext)
66  Requires: perl(Digest::MD5)  Requires: perl(Digest::MD5)
67  Requires: perl(File::Copy)  Requires: perl(File::Copy)
68  Requires: perl(esmith::I18N)  Requires: perl(esmith::I18N)
69    Requires: dar
70    Requires: e-smith-formmagick >= 1.4.0-12
71    
72  %changelog  %changelog
73  * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-24  * Sat Oct 10 2010 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme
74    - Include disk usage in Workstation Backup email [SME: 6143]
75    
76    * Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme
77    - Indicate failure in Subject line of Workstation Backup [SME: 6121]
78    
79    * Fri Jul 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-43.sme
80    - Only define Workstation Backup temporary directory once [SME: 5930]
81    
82    * Fri Jul 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-42.sme
83    - Remove relocate_samba_file and all references to /etc/smbpasswd [SME: 6073]
84    
85    * Thu Jul 8 2010 Ian Wells <esmith@wellsi.com> 2.2.0-41.sme
86    - Remove /etc/smbpasswd from restore_list [SME: 6071]
87    
88    * Tue Jun 22 2010 Ian Wells <esmith@wellsi.com> 2.2.0-40.sme
89    - Update backup instructions in server-manager [SME: 6078]
90    
91    * Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.2.0-39.sme
92    - Strip spaces from Workstation Backup hostname [SME: 6060]
93    
94    * Mon Jun 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-38.sme
95    - Fix error causing restore to report failed where it was complete [SME: 6062]
96    
97    * Mon Jun  7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-37.sme
98    - Check if local USB disk is mounted in backup panel [SME: 6033]
99    
100    * Thu May 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-36.sme
101    - Revert patch from 2.2.0-31: secrets.tdb still in /etc/samba [SME: 5857]
102    
103    * Tue May 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme
104    - Fix removal of leading slash in storage location [SME: 5928]
105    
106    * Thu May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme
107    - Add system name in Workstation Backups email [SME: 5706]
108    
109    * Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme
110    - To: field missing from header in Workstation Backups email [SME: 5924]
111    
112    * Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-32.sme
113    - Partly revert previous patch due to undesired side effects to smbpasswd [SME: 5857]
114    
115    * Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-31.sme
116    - Adjust backup routines for relocation of samba secrets.tdb file [SME: 5857]
117    
118    * Mon Feb 15 2010 Stephen Noble <support@dungog.net> 2.2.0-30.sme
119    - Improved upgrade compatibility, remove .orig [SME: 4809]
120    
121    * Fri Feb 12 2010 Stephen Noble <support@dungog.net> 2.2.0-29.sme
122    - fix mount point for verify [SME: 5765]
123    
124    * Tue Feb 9 2010 Stephen Noble <support@dungog.net> 2.2.0-28.sme
125    - create mount point for verify [SME: 5765]
126    
127    * Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-27.sme
128    - remove comment re smbpasswd being last [SME: 5600]
129    
130    * Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-26.sme
131    - Fix mounting usb disks [SME: 4809]
132    
133    * Mon Jan 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme
134    - Don't backup more than once per day [SME: 5445]
135    
136    * Wed Nov 25 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-24.sme
137    - Fix full backup on Sunday diplayed as Everyday [SME: 5623]
138    
139    * Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-23.sme
140    - Add more excludes for compressed filetypes [SME: 4765]
141    
142    * Wed Aug 26 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-22.sme
143    Porting Jean-Paul Leclere changes in the SME Server 7 tree to SME Server 8:
144    - using credentials file for cifs mount [SME: 5442]
145    - workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 5442]
146    
147    * Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-21.sme
148    - workstation backup: allow many backups in the same day [SME: 5411]
149    
150    * Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-20.sme
151    - workstation restore: all needed backups must be available before restore [SME: 5397]
152    - workstation verify: add option to check integrity of backups needed in a full restore [SME: 5405]
153    - minor fix in translation [SME: 5407]
154    
155    * Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-19.sme
156    - Fix DAR e-mail message with regards to incremental backups [SME: 4579]
157    
158    * Tue Dec  9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-18.sme
159    - Fix discrepancy in maximum compression level [SME: 4841]
160    
161    * Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.2.0-17.sme
162    - Fix spelling mistakes in backup panel [SME: 4732]
163    - Hide password from manager panel [SME: 4734]
164    
165    * Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-16.sme
166    - Migrate smbfs to cifs to complete removal [SME: 4678]
167    
168    * Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.2.0-15.sme
169    - Fix compression to default to gzip [SME: 4630]
170    - Fix uninitialized values in backup [SME: 4720]
171    
172    * Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-14.sme
173    - dar backup to be less verbose in panel [SME: 4719]
174    
175    * Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-13.sme
176    - correct mounting for usb disks [SME: 4695]
177    
178    * Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.2.0-12.sme
179    - Fix from address on email [SME: 4702]
180    
181    * Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.2.0-11.sme
182    - Fix patch to remove orig file [SME: 4700]
183    - Patch dar backup to be less verbose [SME: 4699]
184    
185    * Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme
186    - no compression for ogg media files [SME: 4677]
187    
188    * Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.2.0-8.sme
189    - replace defined list of directories to backup [SME: 4676]
190    
191    * Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-7.sme
192    - Fix already mounted check [SME: 4688]
193    
194    * Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-6.sme
195    - Remove obsolete smbfs backup method [SME: 4678]
196    
197    * Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
198    - Use perl routines for timeout checking [SME: 4660]
199    
200    * Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
201    - Make dar use defined list of directories to backup [SME: 4676]
202    
203    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme
204    - Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669]
205    
206    * Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme
207    - Fix localization strings in backup panel [SME: 4650]
208    
209    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
210    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
211    
212    * Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22
213    - Localise status of workstation backup [SME: 4481]
214    
215    * Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21
216    - Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469]
217    
218    * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20
219    - Make full backups have priority over incremental [SME: 4395]
220    
221    * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19
222  - Fix redirect to stderr on check tape cronjob [SME: 4458]  - Fix redirect to stderr on check tape cronjob [SME: 4458]
223    
224  * Mon Apr 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-23  * Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18
225    - Add common <base> tags to e-smith-formmagick's general [SME: 4286]
226    
227    * Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17
228    - Fix Dar manager to redirect correctly in system call. [SME: 4304]
229    
230    * Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16
231    - Fix Dar to expand correctly. [SME: 4304]
232    
233    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15
234  - Add common <base> tags to e-smith-formmagick's general [SME: 4286]  - Add common <base> tags to e-smith-formmagick's general [SME: 4286]
235    
236  * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22  * Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14
237  - Use correct patch for remove duplicates [SME: 3887]  - Minor fix in translation of hours [SME: 4179]
238    
239  * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21  * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13
240  - Fix localization in restore routine [SME: 3989]  - Fix localization in restore routine [SME: 3989]
241    
242  * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-20  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12
243  - Fix patches to get rid of .orig files [SME: 4100]  - Remove <br> tag from error msg  [SME: 3989]
244    
245    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11
246    - Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024]
247    
248    * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10
249    - Remove <base> tags now in general [SME: 3912]
250    
251  * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19  * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9
252  - Backport remove <br> from error msg. [SME: 3989]  - Remove duplicate <base> entries [SME: 3887]
253    
254  * Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18  * Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8
255  - Backport remove <base> tags now in general. [SME: 3912]  - Fix restore files location path. [SME: 3593]
256    
257  * Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17  * Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7
258  - Backport remove duplicates <base> entries. [SME: 3887]  - Fix compression setting range (Thanks JPL) . [SME: 3560]
259    
260    * Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06
261    - Enhancement to DAR code (Thanks JPL) . [SME: 3538]
262    
263    * Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05
264    - Fix up DAR code to enable backup to complete. [SME: 3373]
265    
266    * Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04
267    - Remove desktop verify and desktop restore features. Note that
268      lexicon entries have not been removed. [SME: 3372]
269    
270    * Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03
271    - Reformat new DAR code to match existing coding style.
272    
273    * Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02
274    - Dar workstation backup patch
275    
276    * Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01
277    - Roll new development version.
278    
279  * 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
280  - 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]
# Line 1007  e-smith server central backup administra Line 1212  e-smith server central backup administra
1212    
1213  %prep  %prep
1214  %setup  %setup
 %patch0 -p1  
1215  %patch1 -p1  %patch1 -p1
1216  %patch2 -p1  %patch2 -p1
1217  %patch3 -p1  %patch3 -p1
# Line 1029  e-smith server central backup administra Line 1233  e-smith server central backup administra
1233  %patch19 -p1  %patch19 -p1
1234  %patch20 -p1  %patch20 -p1
1235  %patch21 -p1  %patch21 -p1
1236    %patch22 -p1
1237    %patch23 -p1
1238    %patch24 -p1
1239    %patch25 -p1
1240    %patch26 -p1
1241    %patch27 -p1
1242    %patch28 -p1
1243    %patch29 -p1
1244    %patch30 -p1
1245    %patch31 -p1
1246    %patch32 -p1
1247    %patch33 -p1
1248    %patch34 -p1
1249    %patch35 -p1
1250    %patch36 -p1
1251    %patch37 -p1
1252    %patch38 -p1
1253    %patch39 -p1
1254    %patch40 -p1
1255    %patch41 -p1
1256    %patch42 -p1
1257    
1258  %build  %build
1259  /sbin/e-smith/buildtests 10e-smith-backup  /sbin/e-smith/buildtests 10e-smith-backup
# Line 1047  mkdir -p root/var/cache/e-smith/restore Line 1272  mkdir -p root/var/cache/e-smith/restore
1272  mkdir -p root/var/cache/e-smith/restore/etc  mkdir -p root/var/cache/e-smith/restore/etc
1273  mkdir -p root/var/cache/e-smith/restore/etc/samba  mkdir -p root/var/cache/e-smith/restore/etc/samba
1274  mkdir -p root/etc/e-smith/db/backups  mkdir -p root/etc/e-smith/db/backups
1275    mkdir -p root/etc/dar
1276    mkdir -p root/mnt/smb
1277    
1278  %install  %install
1279  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 1064  rm -rf $RPM_BUILD_ROOT Line 1291  rm -rf $RPM_BUILD_ROOT
1291  %pre  %pre
1292  %preun  %preun
1293  %post  %post
 /bin/rm -f /sbin/e-smith/backup  
 /bin/rm -f /etc/cron.d/backup  
   
1294  %postun  %postun
1295    
1296  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed