1 |
# $Id: e-smith-backup.spec,v 1.13 2017/07/18 14:37:15 unnilennium 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 13 |
%define release 30 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
21 |
Patch8: e-smith-backup-2.6.0-bz9299-consoleBackupBlockDevice.patch |
Patch8: e-smith-backup-2.6.0-bz9299-consoleBackupBlockDevice.patch |
22 |
Patch9: e-smith-backup-2.6.0-bz9127-add_lock_feature.patch |
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 |
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 |
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 |
* 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] |
- added the '-ai' flag to clean up incomplete files on fail [SME:9159] |
105 |
- Credit to Chris Sansom-Ninnes |
- Credit to Chris Sansom-Ninnes |
1515 |
%patch8 -p1 |
%patch8 -p1 |
1516 |
%patch9 -p1 |
%patch9 -p1 |
1517 |
%patch10 -p1 |
%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 |