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

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

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

Revision 1.1 by vip-ire, Thu Feb 4 23:12:12 2016 UTC Revision 1.31 by jpp, Thu Aug 15 04:33:45 2024 UTC
# Line 1  Line 1 
1  # $Id: e-smith-backup.spec,v 1.46 2015/11/28 22:18:12 stephdl Exp $  # $Id: e-smith-backup.spec,v 1.30 2023/08/14 16:51:07 jpp 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 2.6.0  %define version 2.6.0
7  %define release 1  %define release 30
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.xz  Source: %{name}-%{version}.tar.xz
13    Patch0: e-smith-backup-2.6.0-normalreboot.patch
14    Patch1: e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch
15    Patch2: e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch
16    Patch3: e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch
17    Patch4: e-smith-backup-2.6.0.Do_Dar_Exclusion.patch
18    Patch5: e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch
19    Patch6: e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch
20    Patch7: e-smith-backup-2.6.0-bz9550.fixconsolerestore.patch
21    Patch8: e-smith-backup-2.6.0-bz9299-consoleBackupBlockDevice.patch
22    Patch9: e-smith-backup-2.6.0-bz9127-add_lock_feature.patch
23    Patch10: e-smith-backup-2.6.0-add_ai_to_delete_incomplete.patch
24    Patch11: e-smith-backup-2.6.0-blockdev.patch
25    Patch12: e-smith-backup-2.6.0-restore_rewrite.patch
26    Patch13: e-smith-backup-2.6.0-addinclude.patch
27    Patch14: e-smith-backup-2.6.0-bz11124.patch
28    Patch15: e-smith-backup-2.6.0-replacehal.patch
29    Patch16: e-smith-backup-2.6.0-dupgunzip.patch
30    Patch17: e-smith-backup-2.6.0-bz11424-preserve-rootdir-and-var-symlinks.patch
31    Patch18: e-smith-backup-2.6.0-bz11530-locknoise.patch
32    Patch19: e-smith-backup-2.6.0-bz11557-smbv1.patch
33    Patch20: e-smith-backup-2.6.0-bz11907-zerodate.patch
34    Patch21: e-smith-backup-2.6.0-bz12357-samba.patch
35    
36  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
37  BuildRequires: e-smith-devtools >= 1.11.0-03  BuildRequires: e-smith-devtools >= 1.11.0-03
38  BuildRequires: gettext  BuildRequires: gettext
# Line 31  Requires: e-smith-formmagick >= 1.4.0-12 Line 54  Requires: e-smith-formmagick >= 1.4.0-12
54  Requires: nfs-utils  Requires: nfs-utils
55    
56  %changelog  %changelog
57    * Thu Aug 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.0-30.sme
58    - fix  failure on pre-restore [SME: 12357]
59    
60    * Mon Aug 14 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-29.sme
61    - fix missing files for samba in core backup [SME: 12357]
62    
63    * Sun Mar 20 2022 Terry Fage <terryf@ozemail.com.au> 2.6.0-28.sme
64    - negative date (mtime, data modification time) zerodate fix [SME: 11907]
65    
66    * Wed May 12 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-27.sme
67    - allow mounting smbv1 backup share [SME: 11557]
68    
69    * Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-25.sme
70    - remove lock noise to cron stdout for workstation backup [SME: 11530]
71    
72    * Fri Mar 12 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-24.sme
73    - fix dar restore replacing rootdir symlinks by folders [SME: 11424]
74    
75    * Wed Feb 17 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-23.sme
76    - Remove duplicate gunzip call in perform_restore [SME: 11266]
77    
78    * Fri Feb 12 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-22.sme
79    - Remove debug output of device names
80    
81    * Tue Feb 9 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-21.sme
82    - Revert BlockDevices.pm and backup call to not filter to removable drives
83    
84    * Sat Jan 30 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-20.sme
85    - Replace hal-* calls with BlockDevices [SME: 11319]
86    
87    * Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
88    - add update event [SME: 11124]
89    
90    * Sun Jun 7 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-17.sme
91    - Added /etc/backup-data.d to backup paths [SME:10245]
92    
93    * Sun May 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-16.sme
94    - Added error handling to restore using pipe pattern from perform_backup [SME:3139]
95    - Made reboot optional after console restore
96    - Fixed bootstrap restore not activating config changes [SME:10921]
97    - Manually added ext2 and ext3 to Block Device file system check where ext4 present
98    
99    * Fri Apr 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-14.sme
100    - updated Block Device discovery to fix recovery from console [SME:8244]
101    - Credit to Catton Durbrow
102    
103    * Mon Mar 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk 2.6.0-13.sme
104    - added the '-ai' flag to clean up incomplete files on fail [SME:9159]
105    - Credit to Chris Sansom-Ninnes
106    
107    * Tue Jul 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
108    - added patch for workstation backup lock [SME: 9127]
109    - code from Stefano Zamboni <zamboni@mind-at-work.it>
110    
111    * Wed Apr 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
112    - added lock during backup to avoid multiple instance running [SME: 9127]
113    - code from Stefano Zamboni <zamboni@mind-at-work.it>
114    
115    * Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
116    - added support back to ext2 and ext3 [SME: 9299]
117    
118    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
119    - fix removable device detection [SME: 9299]
120    
121    * Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
122    - console restoration can be launched again from console [SME: 9550]
123    
124    * Wed Aug 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
125    - fixed bug on the dar catalog when backups are not added in it [SME: 9563]
126    - Added e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch
127    
128    * Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme
129    - Remove the dar exclusion message in the email if there is no exclusion.
130    - Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633]
131    - Added two commented files backup.{include,exclude} in /etc/backup-data.d
132    - Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607]
133    
134    * Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme
135    - Add or remove path in your backup by a file *.include and *.exclude
136    - Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607]
137    - Test if the remote host (cifs/nfs) is up, else save and display a warning.
138    - Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090]
139    - The 'tar backup to desktop' of the backup panel takes consideration of exclusion
140    - Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635]
141    - The 'dar workstation backup' of the backup panel takes consideration of exclusion
142    - Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633]
143    - The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content
144    - e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635]
145    
146    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
147    - Rebuild for [SME: 9393]
148    
149    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
150    - avoid restoration on every reboot[SME: 9436]
151    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
152      by assuming the date is correct and changing the weekday.
153      Thu Feb 14 2001 --> Thu Feb 08 2001 or Wed Feb 14 2001 or Thu Feb 15 2001 or ....
154      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
155      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
156      Sat Oct 10 2010 --> Sat Oct 09 2010 or Sun Oct 10 2010 or Sat Oct 16 2010 or ....
157      Tue Dec 02 2013 --> Tue Nov 26 2013 or Mon Dec 02 2013 or Tue Dec 03 2013 or ....
158      Thu Mar 10 2014 --> Thu Mar 06 2014 or Mon Mar 10 2014 or Thu Mar 13 2014 or ....
159      Fri Mar 11 2014 --> Fri Mar 07 2014 or Tue Mar 11 2014 or Fri Mar 14 2014 or ....
160    
161  * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme  * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme
162  - Roll new stream for sme10  - Roll new stream for sme10
163    
# Line 74  Requires: nfs-utils Line 201  Requires: nfs-utils
201  - Update to the latest version of perform_restore [SME: 8259]  - Update to the latest version of perform_restore [SME: 8259]
202  - Boostrap console should only offer restore if no password set.  - Boostrap console should only offer restore if no password set.
203    
204  * Fri Mar 11 2014 Ian Wells <esmith@wellsi.com> 2.4.0-30.sme  * Tue Mar 11 2014 Ian Wells <esmith@wellsi.com> 2.4.0-30.sme
205      Fri Mar 11 2014 --> Fri Mar 07 2014 or Tue Mar 11 2014 or Fri Mar 14 2014 or ....
206  - Delete items from dar catalog in descending order [SME: 8129]  - Delete items from dar catalog in descending order [SME: 8129]
207  - Minor non-functional updates based on PerlCritic and review comments  - Minor non-functional updates based on PerlCritic and review comments
208    
209  * Thu Mar 10 2014 Ian Wells <esmith@wellsi.com> 2.4.0-29.sme  * Mon Mar 10 2014 Ian Wells <esmith@wellsi.com> 2.4.0-29.sme
210      Thu Mar 10 2014 --> Thu Mar 06 2014 or Mon Mar 10 2014 or Thu Mar 13 2014 or ....
211  - Move console backup to e-smith-backup [SME: 3324]  - Move console backup to e-smith-backup [SME: 3324]
212    
213  * Sun Feb 9 2014 Ian Wells <esmith@wellsi.com> 2.4.0-28.sme  * Sun Feb 9 2014 Ian Wells <esmith@wellsi.com> 2.4.0-28.sme
# Line 125  Requires: nfs-utils Line 254  Requires: nfs-utils
254  - Workstation Backup, new method to show files being restored is needed  - Workstation Backup, new method to show files being restored is needed
255    when using dar 2.4 [SME: 8058]    when using dar 2.4 [SME: 8058]
256    
257  * Tue Dec 02 2013 Ian Wells <esmith@wellsi.com> 2.4.0-16.sme  * Mon Dec 02 2013 Ian Wells <esmith@wellsi.com> 2.4.0-16.sme
258      Tue Dec 02 2013 --> Tue Nov 26 2013 or Mon Dec 02 2013 or Tue Dec 03 2013 or ....
259  - Allow more time for cifs mounts before reporting errors [SME: 8034]  - Allow more time for cifs mounts before reporting errors [SME: 8034]
260    
261  * Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-15.sme  * Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-15.sme
# Line 227  Requires: nfs-utils Line 357  Requires: nfs-utils
357  * Sun Nov 21 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46  * Sun Nov 21 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46
358  - Do not convert case of SmbShare on database migration [SME: 6387]  - Do not convert case of SmbShare on database migration [SME: 6387]
359    
360  * Sat Oct 10 2010 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme  * Sun Oct 10 2010 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme
361      Sat Oct 10 2010 --> Sat Oct 09 2010 or Sun Oct 10 2010 or Sat Oct 16 2010 or ....
362  - Include disk usage in Workstation Backup email [SME: 6143]  - Include disk usage in Workstation Backup email [SME: 6143]
363    
364  * Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme  * Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme
# Line 260  Requires: nfs-utils Line 391  Requires: nfs-utils
391  * Tue May 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme  * Tue May 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme
392  - Fix removal of leading slash in storage location [SME: 5928]  - Fix removal of leading slash in storage location [SME: 5928]
393    
394  * Thu May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme  * Sun May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme
395  - Add system name in Workstation Backups email [SME: 5706]  - Add system name in Workstation Backups email [SME: 5706]
396    
397  * Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme  * Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme
# Line 378  Porting Jean-Paul Leclere changes in the Line 509  Porting Jean-Paul Leclere changes in the
509  * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19  * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19
510  - Fix redirect to stderr on check tape cronjob [SME: 4458]  - Fix redirect to stderr on check tape cronjob [SME: 4458]
511    
512  * Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18  * Mon Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18
513  - Add common <base> tags to e-smith-formmagick's general [SME: 4286]  - Add common <base> tags to e-smith-formmagick's general [SME: 4286]
514    
515  * Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17  * Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17
# Line 396  Porting Jean-Paul Leclere changes in the Line 527  Porting Jean-Paul Leclere changes in the
527  * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13  * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13
528  - Fix localization in restore routine [SME: 3989]  - Fix localization in restore routine [SME: 3989]
529    
530  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12
531      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
532  - Remove <br> tag from error msg  [SME: 3989]  - Remove <br> tag from error msg  [SME: 3989]
533    
534  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11
535      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
536  - Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024]  - Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024]
537    
538  * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10  * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10
# Line 506  Porting Jean-Paul Leclere changes in the Line 639  Porting Jean-Paul Leclere changes in the
639  * Wed Feb 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-07  * Wed Feb 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-07
640  - Add restore-from-disk script. [SME: 615]  - Add restore-from-disk script. [SME: 615]
641    
642  * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.4-06  * Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.4-06
643      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
644  - Don't delete config dbs in pre-restore [SME: 229]  - Don't delete config dbs in pre-restore [SME: 229]
645    
646  * Tue Dec 06 2005 Filippo Carletti <carletti@mobilia.it> 1.13.4-05  * Tue Dec 06 2005 Filippo Carletti <carletti@mobilia.it> 1.13.4-05
# Line 1220  Porting Jean-Paul Leclere changes in the Line 1354  Porting Jean-Paul Leclere changes in the
1354  - Now rewinds tape before zeroing tape.  - Now rewinds tape before zeroing tape.
1355  - Writes 32k of zeroes instead of 10k.  - Writes 32k of zeroes instead of 10k.
1356    
1357  * Thu Feb 14 2001 Charlie Brady <charlieb@e-smith.com>  * Wed Feb 14 2001 Charlie Brady <charlieb@e-smith.com>
1358      Thu Feb 14 2001 --> Thu Feb 08 2001 or Wed Feb 14 2001 or Thu Feb 15 2001 or ....
1359  - [1.2.0-09]  - [1.2.0-09]
1360  - Add conf-backup to bootstrap-console-save.  - Add conf-backup to bootstrap-console-save.
1361  - Don't need templates-user-custom directory now, it's in e-smith-base RPM.  - Don't need templates-user-custom directory now, it's in e-smith-base RPM.
# Line 1369  e-smith server central backup administra Line 1504  e-smith server central backup administra
1504    
1505  %prep  %prep
1506  %setup  %setup
1507    %patch0 -p1
1508    %patch1 -p1
1509    %patch2 -p1
1510    %patch3 -p1
1511    %patch4 -p1
1512    %patch5 -p1
1513    %patch6 -p1
1514    %patch7 -p1
1515    %patch8 -p1
1516    %patch9 -p1
1517    %patch10 -p1
1518    %patch11 -p1
1519    %patch12 -p1
1520    %patch13 -p1
1521    %patch14 -p1
1522    %patch15 -p1
1523    %patch16 -p1
1524    %patch17 -p1
1525    %patch18 -p1
1526    %patch19 -p1
1527    %patch20 -p1
1528    %patch21 -p1
1529    mkdir -p root/var/cache/e-smith/restore/var/lib/samba
1530    
1531  %build  %build
1532  /sbin/e-smith/buildtests 10e-smith-backup  /sbin/e-smith/buildtests 10e-smith-backup
1533    %{__mkdir} -p root/etc/backup-data.d
1534  perl createlinks  perl createlinks
1535    
1536  # Extract a new copy of the English .po, though we won't use it for this build  # Extract a new copy of the English .po, though we won't use it for this build


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