1 |
# $Id: e-smith-backup.spec,v 1.2 2016/04/13 15:22:05 unnilennium Exp $ |
# $Id: e-smith-backup.spec,v 1.20 2021/01/08 18:54:31 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 3 |
%define release 20 |
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 |
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 |
|
|
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
32 |
BuildRequires: gettext |
BuildRequires: gettext |
48 |
Requires: nfs-utils |
Requires: nfs-utils |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Sat Jan 30 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-20.sme |
52 |
|
- Replace hal-* calls with BlockDevices [SME: 11319] |
53 |
|
|
54 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
55 |
|
- add update event [SME: 11124] |
56 |
|
|
57 |
|
* Sun Jun 7 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-17.sme |
58 |
|
- Added /etc/backup-data.d to backup paths [SME:10245] |
59 |
|
|
60 |
|
* Sun May 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-16.sme |
61 |
|
- Added error handling to restore using pipe pattern from perform_backup [SME:3139] |
62 |
|
- Made reboot optional after console restore |
63 |
|
- Fixed bootstrap restore not activating config changes [SME:10921] |
64 |
|
- Manually added ext2 and ext3 to Block Device file system check where ext4 present |
65 |
|
|
66 |
|
* Fri Apr 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-14.sme |
67 |
|
- updated Block Device discovery to fix recovery from console [SME:8244] |
68 |
|
- Credit to Catton Durbrow |
69 |
|
|
70 |
|
* Mon Mar 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk 2.6.0-13.sme |
71 |
|
- added the '-ai' flag to clean up incomplete files on fail [SME:9159] |
72 |
|
- Credit to Chris Sansom-Ninnes |
73 |
|
|
74 |
|
* Tue Jul 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
75 |
|
- added patch for workstation backup lock [SME: 9127] |
76 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
77 |
|
|
78 |
|
* Wed Apr 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
79 |
|
- added lock during backup to avoid multiple instance running [SME: 9127] |
80 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
81 |
|
|
82 |
|
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
83 |
|
- added support back to ext2 and ext3 [SME: 9299] |
84 |
|
|
85 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
86 |
|
- fix removable device detection [SME: 9299] |
87 |
|
|
88 |
|
* Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
89 |
|
- console restoration can be launched again from console [SME: 9550] |
90 |
|
|
91 |
|
* Wed Aug 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
92 |
|
- fixed bug on the dar catalog when backups are not added in it [SME: 9563] |
93 |
|
- Added e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
94 |
|
|
95 |
|
* Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme |
96 |
|
- Remove the dar exclusion message in the email if there is no exclusion. |
97 |
|
- Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
98 |
|
- Added two commented files backup.{include,exclude} in /etc/backup-data.d |
99 |
|
- Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
100 |
|
|
101 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
102 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
103 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
104 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
105 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
106 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
107 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
108 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
109 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
110 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
111 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
112 |
|
|
113 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
114 |
- Rebuild for [SME: 9393] |
- Rebuild for [SME: 9393] |
115 |
|
|
1472 |
%prep |
%prep |
1473 |
%setup |
%setup |
1474 |
%patch0 -p1 |
%patch0 -p1 |
1475 |
|
%patch1 -p1 |
1476 |
|
%patch2 -p1 |
1477 |
|
%patch3 -p1 |
1478 |
|
%patch4 -p1 |
1479 |
|
%patch5 -p1 |
1480 |
|
%patch6 -p1 |
1481 |
|
%patch7 -p1 |
1482 |
|
%patch8 -p1 |
1483 |
|
%patch9 -p1 |
1484 |
|
%patch10 -p1 |
1485 |
|
%patch11 -p1 |
1486 |
|
%patch12 -p1 |
1487 |
|
%patch13 -p1 |
1488 |
|
%patch14 -p1 |
1489 |
|
%patch15 -p1 |
1490 |
|
|
1491 |
|
|
1492 |
%build |
%build |
1493 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1494 |
|
%{__mkdir} -p root/etc/backup-data.d |
1495 |
perl createlinks |
perl createlinks |
1496 |
|
|
1497 |
# 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 |