1 |
Summary: A rsync-based backup program for linux, adapted to Koozali SME server 10 |
Summary: A rsync-based backup program for linux, adapted to Koozali SME server 10 |
2 |
%define name smeserver-affa |
%define name smeserver-affa |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 3.3.0 |
%define version 4.0 |
5 |
%define release 1 |
%define release |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net> //// adaptation to sme-server Arnaud Guillaume <smeserver-affa AT guedel DOT eu> |
Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net> //// adaptation to sme-server Arnaud Guillaume <smeserver-affa AT guedel DOT eu> |
16 |
AutoReq: no |
AutoReq: no |
17 |
|
|
18 |
Requires: e-smith-release >= 10 |
Requires: e-smith-release >= 10 |
19 |
|
Requires: smeserver-systemd-control |
20 |
Requires: openssh-clients |
Requires: openssh-clients |
21 |
Requires: perl-Config-IniFiles |
Requires: perl-Config-IniFiles |
22 |
Requires: perl-Filesys-DiskFree |
Requires: perl-Filesys-DiskFree |
24 |
Requires: perl-Proc-ProcessTable |
Requires: perl-Proc-ProcessTable |
25 |
Requires: perl-TimeDate |
Requires: perl-TimeDate |
26 |
Requires: perl-List-MoreUtils |
Requires: perl-List-MoreUtils |
27 |
Requires: rsync |
Requires: rsync >= 3.1.2-11 |
28 |
|
|
29 |
#Patch1: smeserver-affa-something.patch |
|
30 |
|
#Patch1: smeserver-affa-add-some-systemd-support.patch |
31 |
|
#Patch2: smeserver-affa-change-host-domain.patch |
32 |
|
#Patch3: smeserver-affa-change_to_rsa_keys.patch |
33 |
|
#Patch4: smeserver-affa-update-ssh-keys-links.patch |
34 |
|
#Patch5: smeserver-affa-fix-config-directory-name-spaces.patch |
35 |
|
#Patch6: smeserver-affa-fix-reporting-error.patch |
36 |
|
#Patch7: smeserver-affa-fix-ssh-knownhosts-error.patch |
37 |
|
#Patch8: smeserver-affa-fix-reporting-error-syntax.patch |
38 |
|
#Patch9: smeserver-affa-fix-reporting-error-2.patch |
39 |
|
#Patch10: smeserver-affa-fix-reporting-error-3.patch |
40 |
|
|
41 |
%description |
%description |
42 |
Affa is a rsync-based backup program for SMEServer + RPMCheck + Watchdog + rise. Documentation: http://affa.sf.net |
Affa is a rsync-based backup program for SMEServer + RPMCheck + Watchdog + rise. Documentation: http://affa.sf.net |
46 |
|
|
47 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
48 |
#%patch1 -p1 |
#%patch1 -p1 |
49 |
|
#%patch2 -p1 |
50 |
|
#%patch3 -p1 |
51 |
|
#%patch4 -p1 |
52 |
|
#%patch5 -p1 |
53 |
|
#%patch6 -p1 |
54 |
|
#%patch7 -p1 |
55 |
|
#%patch8 -p1 |
56 |
|
#%patch9 -p1 |
57 |
|
#%patch10 -p1 |
58 |
|
|
59 |
%build |
%build |
60 |
# perl createlinks << if required |
# perl createlinks << if required |
80 |
--file "/etc/sudoers.d/affa" "attr(0440,root,root)" \ |
--file "/etc/sudoers.d/affa" "attr(0440,root,root)" \ |
81 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
82 |
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|
|
83 |
# We could use this for docs I guess - we should standardise this sort of thing |
# We could use this for docs I guess - we should standardise this sort of thing |
84 |
#%doc README LICENSE README |
#%doc README LICENSE README |
85 |
|
echo "%doc LICENSE COPYING README WARRANTY" >> %{name}-%{version}-filelist |
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
%files -f %{name}-%{version}-filelist |
90 |
|
|
91 |
%clean |
%clean |
92 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
104 |
exit 0 |
exit 0 |
105 |
|
|
106 |
%changelog |
%changelog |
107 |
* Tue Mar 23 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.0-1.sme |
|
108 |
|
* Mon Sep 09 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0-2.sme |
109 |
|
- Various fixes for rise |
110 |
|
|
111 |
|
* Fri Apr 21 2023 John Crisp <jcrisp@safeandsoundit.co.uk>4.0-1.sme |
112 |
|
- Update to v4 |
113 |
|
- Accomodate latest rsync to user@i.p.ad.dress:// format |
114 |
|
- Rewrite the include and exclude routines |
115 |
|
- Fix multiple small bugs |
116 |
|
- Fix restore of selected backup or rise e.g daily.3 or monthly.1 |
117 |
|
- Add --cli-debug option |
118 |
|
- Add --link-dest check in rise |
119 |
|
|
120 |
|
* Tue Jul 05 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-11 |
121 |
|
- Update Regex to help clean out rsyncd.motd messages [SME: 12084] |
122 |
|
|
123 |
|
* Mon Jul 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-10 |
124 |
|
- Redo patch at -8 to fix the next if syntax [SME: 12084] |
125 |
|
|
126 |
|
* Mon Jul 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-9 |
127 |
|
- Fix my syntax errors from [SME: 11784] |
128 |
|
|
129 |
|
* Thu Jun 30 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-8 |
130 |
|
- Fix KnownHosts error [SME: 12081] |
131 |
|
- Thanks to 'gieres' for finding this |
132 |
|
|
133 |
|
* Thu Jun 30 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-7 |
134 |
|
- Fix logging parse errors [SME: 12084] |
135 |
|
- Thanks to 'sti' for finding it |
136 |
|
|
137 |
|
* Thu Jun 30 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-6 |
138 |
|
- Fix error with files with spaces in names - Credit to Trevor Drake-Brockman [SME: 11784] |
139 |
|
- Fix directory search - Credit to Trevor Drake-Brockman [SME: 11784] |
140 |
|
|
141 |
|
* Wed Sep 22 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-5 |
142 |
|
- Modify ssh key links [SME: 10783] |
143 |
|
- Untidy the ssh commands so I can see them and tidy them more easily |
144 |
|
|
145 |
|
* Wed Sep 22 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-4 |
146 |
|
- Change ssh keys from DSA to RSA 4096 [SME: 10783] |
147 |
|
- Fix missing /var/affa store dir |
148 |
|
|
149 |
|
* Tue Sep 21 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-3.sme |
150 |
|
- Fix some syntax errors. Migrate to using HostName/DomainName |
151 |
|
|
152 |
|
* Tue Sep 21 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-2.sme |
153 |
|
- Add some systemd support [SME: 11024] |
154 |
|
|
155 |
|
* Mon Mar 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.1-1.sme |
156 |
|
- Fix Warranty [SME: 11500] |
157 |
|
- Fix Licence [SME: 11501] |
158 |
|
- Remove atalk [SME: 11503] |
159 |
|
|
160 |
|
* Tue Mar 23 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.3.0-1.sme |
161 |
- New version for Koozali SME v10 [SME: 11024] |
- New version for Koozali SME v10 [SME: 11024] |
162 |
- incorporated old patches |
- incorporated old patches |
163 |
- tidied up some old git files |
- tidied up some old git files |