1 |
|
# $Id: smeserver-BackupPC.spec,v 1.9 2009/05/29 14:36:10 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: 2%{?dist} |
Release: 11%{?dist} |
8 |
Summary: BackupPC integration into SME server |
Summary: BackupPC integration into SME server |
9 |
|
|
10 |
Group: Applications/System |
Group: Applications/System |
11 |
License: GPL |
License: GPL |
12 |
URL: http://backuppc.sourceforge.net/ |
URL: http://backuppc.sourceforge.net/ |
13 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
14 |
Patch0: smeserver-BackupPC-0.1-logrotate.patch |
Patch0: smeserver-BackupPC-0.1-logrotate.patch |
15 |
Patch1: smeserver-BackupPC-0.1-config_path.patch |
Patch1: smeserver-BackupPC-0.1-config_path.patch |
16 |
Patch2: smeserver-BackupPC-0.1-post-upgrade_to_bootstrape.patch |
Patch2: smeserver-BackupPC-0.1-post-upgrade_to_bootstrape.patch |
17 |
Patch3: smeserver-BackupPC-0.1-sudoers.patch |
Patch3: smeserver-BackupPC-0.1-sudoers.patch |
18 |
|
Patch4: smeserver-BackupPC-0.1-smeserver_template.patch |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
Patch5: smeserver-BackupPC-0.1-fix_logrotate_event.patch |
20 |
BuildArch: noarch |
Patch6: smeserver-BackupPC-0.1-sudoers_enhancement.patch |
21 |
|
Patch7: smeserver-BackupPC-0.1-templates_fixes.patch |
22 |
BuildRequires: e-smith-devtools |
Patch8: smeserver-BackupPC-0.1-httpd_conf_cleanup.patch |
23 |
|
Patch9: smeserver-BackupPC-0.1-quotes_share_name.patch |
24 |
Requires: mod_auth_tkt |
Patch10: smeserver-BackupPC-0.1-fixe_on_post_upgrade.patch |
25 |
Requires: BackupPC >= 3.1.0 |
Patch11: smeserver-BackupPC-0.1-encrypt_archives.patch |
26 |
Requires: smeserver-remoteuseraccess |
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 |
|
|
31 |
|
BuildRoot: %{_tmppath}/%{name}-%{version} |
32 |
|
BuildArch: noarch |
33 |
|
|
34 |
|
BuildRequires: e-smith-devtools |
35 |
|
|
36 |
|
Requires: mod_auth_tkt |
37 |
|
Requires: BackupPC >= 3.1.0 |
38 |
|
Requires: smeserver-remoteuseraccess |
39 |
|
Requires: openssl |
40 |
|
|
41 |
#Conflicts: smeserver-backuppc.fws |
#Conflicts: smeserver-backuppc.fws |
42 |
Obsoletes: smeserver-backuppc.fws |
Obsoletes: smeserver-backuppc.fws |
50 |
|
|
51 |
|
|
52 |
%changelog |
%changelog |
53 |
|
* Tue Jun 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-11] |
54 |
|
- Remove double quotes when calling signal-event with ssh [SME: 5302] |
55 |
|
|
56 |
|
* Fri May 29 2009 Daniel B. <daniel@firewall-services.com> [0.1-10] |
57 |
|
- Call signal-event with it full path in smeserver-template.pl [SME: 5302] |
58 |
|
|
59 |
|
* Tue May 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-9] |
60 |
|
- Add optionnal encryption of archives generated with BackupPC_SME_localArchive |
61 |
|
BackupPC_SME_usbArchive and BackupPC_SME_remoteArchive using openssl |
62 |
|
- Generate a key and save it in /etc/BackupPC/archive.key |
63 |
|
- Fixe permission restriction on /etc/BackupPC/* |
64 |
|
|
65 |
|
* Thu May 07 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
66 |
|
- Link backuppc-checkupgrade script in post-upgrade event |
67 |
|
so the contrib is correctly configured without running backuppc-update |
68 |
|
event [SME: 5221] |
69 |
|
|
70 |
|
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
71 |
|
- Fixe permissions on /etc/BackupPC/pc |
72 |
|
|
73 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
74 |
|
- modify default httpd conf (cleanup) to use the new paths |
75 |
|
- Add quotes in share names for *Archive.conf files |
76 |
|
- Enhance provided template |
77 |
|
|
78 |
|
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
79 |
|
- Enhance sudoers templates |
80 |
|
|
81 |
|
* Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
82 |
|
- Fix logrotate issue (send a sigusr1 signal to httpd-bkpc) |
83 |
|
|
84 |
|
* Tue Jan 20 2009 Daniel B. <daniel@firewall-services.com> [0.1-3] |
85 |
|
- Update Exclude path for smeserver config example |
86 |
|
|
87 |
* Thu Dec 11 2008 Daniel B. <daniel@firewall-services.com> [0.1-2] |
* Thu Dec 11 2008 Daniel B. <daniel@firewall-services.com> [0.1-2] |
88 |
- Revert config and logs paths to their default location |
- Revert config and logs paths to their default location |
89 |
- Expand-templates during bootrape-console-save instead of post-upgrade |
- Expand-templates during bootrape-console-save instead of post-upgrade |
125 |
%patch1 -p1 |
%patch1 -p1 |
126 |
%patch2 -p1 |
%patch2 -p1 |
127 |
%patch3 -p1 |
%patch3 -p1 |
128 |
|
%patch4 -p1 |
129 |
|
%patch5 -p1 |
130 |
|
%patch6 -p1 |
131 |
|
%patch7 -p1 |
132 |
|
%patch8 -p1 |
133 |
|
%patch9 -p1 |
134 |
|
%patch10 -p1 |
135 |
|
%patch11 -p1 |
136 |
|
%patch12 -p1 |
137 |
|
%patch13 -p1 |
138 |
|
%patch14 -p1 |
139 |
|
%patch15 -p1 |
140 |
|
|
141 |
%build |
%build |
142 |
perl createlinks |
perl createlinks |
167 |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
168 |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
169 |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
170 |
|
--dir /etc/BackupPC/pc 'attr(750,backuppc,backuppc)' \ |
171 |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
172 |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
173 |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |