1 |
# $Id: e-smith-backup.spec,v 1.2 2016/04/13 15:22:05 unnilennium Exp $ |
# $Id: e-smith-backup.spec,v 1.14 2020/03/16 11:30:22 jcrisp 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 14 |
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 |
|
|
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
28 |
BuildRequires: gettext |
BuildRequires: gettext |
44 |
Requires: nfs-utils |
Requires: nfs-utils |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Fri Apr 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-14.sme |
48 |
|
- updated Block Device discovery to fix recovery from console [SME:8244] |
49 |
|
- Credit to Catton Durbrow |
50 |
|
|
51 |
|
* Mon Mar 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk 2.6.0-13.sme |
52 |
|
- added the '-ai' flag to clean up incomplete files on fail [SME:9159] |
53 |
|
- Credit to Chris Sansom-Ninnes |
54 |
|
|
55 |
|
* Tue Jul 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
56 |
|
- added patch for workstation backup lock [SME: 9127] |
57 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
58 |
|
|
59 |
|
* Wed Apr 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
60 |
|
- added lock during backup to avoid multiple instance running [SME: 9127] |
61 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
62 |
|
|
63 |
|
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
64 |
|
- added support back to ext2 and ext3 [SME: 9299] |
65 |
|
|
66 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
67 |
|
- fix removable device detection [SME: 9299] |
68 |
|
|
69 |
|
* Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
70 |
|
- console restoration can be launched again from console [SME: 9550] |
71 |
|
|
72 |
|
* Wed Aug 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
73 |
|
- fixed bug on the dar catalog when backups are not added in it [SME: 9563] |
74 |
|
- Added e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
75 |
|
|
76 |
|
* Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme |
77 |
|
- Remove the dar exclusion message in the email if there is no exclusion. |
78 |
|
- Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
79 |
|
- Added two commented files backup.{include,exclude} in /etc/backup-data.d |
80 |
|
- Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
81 |
|
|
82 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
83 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
84 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
85 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
86 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
87 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
88 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
89 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
90 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
91 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
92 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
93 |
|
|
94 |
* 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 |
95 |
- Rebuild for [SME: 9393] |
- Rebuild for [SME: 9393] |
96 |
|
|
1453 |
%prep |
%prep |
1454 |
%setup |
%setup |
1455 |
%patch0 -p1 |
%patch0 -p1 |
1456 |
|
%patch1 -p1 |
1457 |
|
%patch2 -p1 |
1458 |
|
%patch3 -p1 |
1459 |
|
%patch4 -p1 |
1460 |
|
%patch5 -p1 |
1461 |
|
%patch6 -p1 |
1462 |
|
%patch7 -p1 |
1463 |
|
%patch8 -p1 |
1464 |
|
%patch9 -p1 |
1465 |
|
%patch10 -p1 |
1466 |
|
%patch11 -p1 |
1467 |
|
|
1468 |
%build |
%build |
1469 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1470 |
|
%{__mkdir} -p root/etc/backup-data.d |
1471 |
perl createlinks |
perl createlinks |
1472 |
|
|
1473 |
# 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 |