1 |
# $Id: smeserver-BackupPC.spec,v 1.4 2009/03/18 11:46:40 vip-ire Exp $ |
# $Id: smeserver-BackupPC.spec,v 1.8 2009/05/13 21:19:41 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: 10%{?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 |
|
|
30 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
31 |
BuildArch: noarch |
BuildArch: noarch |
35 |
Requires: mod_auth_tkt |
Requires: mod_auth_tkt |
36 |
Requires: BackupPC >= 3.1.0 |
Requires: BackupPC >= 3.1.0 |
37 |
Requires: smeserver-remoteuseraccess |
Requires: smeserver-remoteuseraccess |
38 |
|
Requires: openssl |
39 |
|
|
40 |
#Conflicts: smeserver-backuppc.fws |
#Conflicts: smeserver-backuppc.fws |
41 |
Obsoletes: smeserver-backuppc.fws |
Obsoletes: smeserver-backuppc.fws |
49 |
|
|
50 |
|
|
51 |
%changelog |
%changelog |
52 |
|
* Fri May 29 2009 Daniel B. <daniel@firewall-services.com> [0.1-10] |
53 |
|
- Call signal-event with it full path in smeserver-template.pl [SME: 5302] |
54 |
|
|
55 |
|
* Tue May 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-9] |
56 |
|
- Add optionnal encryption of archives generated with BackupPC_SME_localArchive |
57 |
|
BackupPC_SME_usbArchive and BackupPC_SME_remoteArchive using openssl |
58 |
|
- Generate a key and save it in /etc/BackupPC/archive.key |
59 |
|
- Fixe permission restriction on /etc/BackupPC/* |
60 |
|
|
61 |
|
* Thu May 07 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
62 |
|
- Link backuppc-checkupgrade script in post-upgrade event |
63 |
|
so the contrib is correctly configured without running backuppc-update |
64 |
|
event [SME: 5221] |
65 |
|
|
66 |
|
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
67 |
|
- Fixe permissions on /etc/BackupPC/pc |
68 |
|
|
69 |
* 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] |
70 |
- modify default httpd conf (cleanup) to use the new paths |
- modify default httpd conf (cleanup) to use the new paths |
71 |
- Add quotes in share names for *Archive.conf files |
- Add quotes in share names for *Archive.conf files |
127 |
%patch7 -p1 |
%patch7 -p1 |
128 |
%patch8 -p1 |
%patch8 -p1 |
129 |
%patch9 -p1 |
%patch9 -p1 |
130 |
|
%patch10 -p1 |
131 |
|
%patch11 -p1 |
132 |
|
%patch12 -p1 |
133 |
|
%patch13 -p1 |
134 |
|
%patch14 -p1 |
135 |
|
|
136 |
%build |
%build |
137 |
perl createlinks |
perl createlinks |
162 |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
163 |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
164 |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
165 |
|
--dir /etc/BackupPC/pc 'attr(750,backuppc,backuppc)' \ |
166 |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
167 |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
168 |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |