1 |
# $Id: smeserver-BackupPC.spec,v 1.4 2009/03/18 11:46:40 vip-ire Exp $ |
# $Id: smeserver-BackupPC.spec,v 1.10 2009/06/16 14:44:44 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
Name: smeserver-BackupPC |
Name: smeserver-BackupPC |
6 |
Version: 0.1 |
Version: 0.1 |
7 |
Release: 6%{?dist} |
Release: 12%{?dist} |
8 |
Summary: BackupPC integration into SME server |
Summary: BackupPC integration into SME server |
9 |
|
|
10 |
Group: Applications/System |
Group: Applications/System |
21 |
Patch7: smeserver-BackupPC-0.1-templates_fixes.patch |
Patch7: smeserver-BackupPC-0.1-templates_fixes.patch |
22 |
Patch8: smeserver-BackupPC-0.1-httpd_conf_cleanup.patch |
Patch8: smeserver-BackupPC-0.1-httpd_conf_cleanup.patch |
23 |
Patch9: smeserver-BackupPC-0.1-quotes_share_name.patch |
Patch9: smeserver-BackupPC-0.1-quotes_share_name.patch |
24 |
|
Patch10: smeserver-BackupPC-0.1-fixe_on_post_upgrade.patch |
25 |
|
Patch11: smeserver-BackupPC-0.1-encrypt_archives.patch |
26 |
|
Patch12: smeserver-BackupPC-0.1-generate_key_file.patch |
27 |
|
Patch13: smeserver-BackupPC-0.1-fixe_chmod.patch |
28 |
|
Patch14: smeserver-BackupPC-0.1-full_path.patch |
29 |
|
Patch15: smeserver-BackupPC-0.1-remove_quotes.patch |
30 |
|
Patch16: smeserver-BackupPC-0.1-pbzip2.patch |
31 |
|
|
32 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
33 |
BuildArch: noarch |
BuildArch: noarch |
37 |
Requires: mod_auth_tkt |
Requires: mod_auth_tkt |
38 |
Requires: BackupPC >= 3.1.0 |
Requires: BackupPC >= 3.1.0 |
39 |
Requires: smeserver-remoteuseraccess |
Requires: smeserver-remoteuseraccess |
40 |
|
Requires: openssl |
41 |
|
|
42 |
#Conflicts: smeserver-backuppc.fws |
#Conflicts: smeserver-backuppc.fws |
43 |
Obsoletes: smeserver-backuppc.fws |
Obsoletes: smeserver-backuppc.fws |
51 |
|
|
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
55 |
|
- Support pbzip2 for archiving |
56 |
|
- Use nice to reduce the priority of compression |
57 |
|
|
58 |
|
* Tue Jun 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-11] |
59 |
|
- Remove double quotes when calling signal-event with ssh [SME: 5302] |
60 |
|
|
61 |
|
* Fri May 29 2009 Daniel B. <daniel@firewall-services.com> [0.1-10] |
62 |
|
- Call signal-event with it full path in smeserver-template.pl [SME: 5302] |
63 |
|
|
64 |
|
* Tue May 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-9] |
65 |
|
- Add optionnal encryption of archives generated with BackupPC_SME_localArchive |
66 |
|
BackupPC_SME_usbArchive and BackupPC_SME_remoteArchive using openssl |
67 |
|
- Generate a key and save it in /etc/BackupPC/archive.key |
68 |
|
- Fixe permission restriction on /etc/BackupPC/* |
69 |
|
|
70 |
|
* Thu May 07 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
71 |
|
- Link backuppc-checkupgrade script in post-upgrade event |
72 |
|
so the contrib is correctly configured without running backuppc-update |
73 |
|
event [SME: 5221] |
74 |
|
|
75 |
|
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
76 |
|
- Fixe permissions on /etc/BackupPC/pc |
77 |
|
|
78 |
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
79 |
- modify default httpd conf (cleanup) to use the new paths |
- modify default httpd conf (cleanup) to use the new paths |
80 |
- Add quotes in share names for *Archive.conf files |
- Add quotes in share names for *Archive.conf files |
136 |
%patch7 -p1 |
%patch7 -p1 |
137 |
%patch8 -p1 |
%patch8 -p1 |
138 |
%patch9 -p1 |
%patch9 -p1 |
139 |
|
%patch10 -p1 |
140 |
|
%patch11 -p1 |
141 |
|
%patch12 -p1 |
142 |
|
%patch13 -p1 |
143 |
|
%patch14 -p1 |
144 |
|
%patch15 -p1 |
145 |
|
%patch16 -p1 |
146 |
|
|
147 |
%build |
%build |
148 |
perl createlinks |
perl createlinks |
173 |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
174 |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
175 |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
176 |
|
--dir /etc/BackupPC/pc 'attr(750,backuppc,backuppc)' \ |
177 |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
178 |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
179 |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |