1 |
# $Id: smeserver-BackupPC.spec,v 1.3 2009/03/02 22:33:48 vip-ire Exp $ |
# $Id: smeserver-BackupPC.spec,v 1.6 2009/05/05 08:37:46 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: 5%{?dist} |
Release: 9%{?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 |
Patch4: smeserver-BackupPC-0.1-smeserver_template.patch |
19 |
Patch5: smeserver-BackupPC-0.1-fix_logrotate_event.patch |
Patch5: smeserver-BackupPC-0.1-fix_logrotate_event.patch |
20 |
Patch6: smeserver-BackupPC-0.1-sudoers_enhancement.patch |
Patch6: smeserver-BackupPC-0.1-sudoers_enhancement.patch |
21 |
|
Patch7: smeserver-BackupPC-0.1-templates_fixes.patch |
22 |
|
Patch8: smeserver-BackupPC-0.1-httpd_conf_cleanup.patch |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
Patch9: smeserver-BackupPC-0.1-quotes_share_name.patch |
24 |
BuildArch: noarch |
Patch10: smeserver-BackupPC-0.1-fixe_on_post_upgrade.patch |
25 |
|
Patch11: smeserver-BackupPC-0.1-encrypt_archives.patch |
26 |
BuildRequires: e-smith-devtools |
Patch12: smeserver-BackupPC-0.1-generate_key_file.patch |
27 |
|
Patch13: smeserver-BackupPC-0.1-fixe_chmod.patch |
28 |
Requires: mod_auth_tkt |
|
29 |
Requires: BackupPC >= 3.1.0 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
30 |
Requires: smeserver-remoteuseraccess |
BuildArch: noarch |
31 |
|
|
32 |
|
BuildRequires: e-smith-devtools |
33 |
|
|
34 |
|
Requires: mod_auth_tkt |
35 |
|
Requires: BackupPC >= 3.1.0 |
36 |
|
Requires: smeserver-remoteuseraccess |
37 |
|
Requires: openssl |
38 |
|
|
39 |
#Conflicts: smeserver-backuppc.fws |
#Conflicts: smeserver-backuppc.fws |
40 |
Obsoletes: smeserver-backuppc.fws |
Obsoletes: smeserver-backuppc.fws |
48 |
|
|
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Tue May 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-9] |
52 |
|
- Add optionnal encryption of archives generated with BackupPC_SME_localArchive |
53 |
|
BackupPC_SME_usbArchive and BackupPC_SME_remoteArchive using openssl |
54 |
|
- Generate a key and save it in /etc/BackupPC/archive.key |
55 |
|
- Fixe permission restriction on /etc/BackupPC/* |
56 |
|
|
57 |
|
* Thu May 07 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
58 |
|
- Link backuppc-checkupgrade script in post-upgrade event |
59 |
|
so the contrib is correctly configured without running backuppc-update |
60 |
|
event [SME: 5221] |
61 |
|
|
62 |
|
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
63 |
|
- Fixe permissions on /etc/BackupPC/pc |
64 |
|
|
65 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
66 |
|
- modify default httpd conf (cleanup) to use the new paths |
67 |
|
- Add quotes in share names for *Archive.conf files |
68 |
|
- Enhance provided template |
69 |
|
|
70 |
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
71 |
- Enhance sudoers templates |
- Enhance sudoers templates |
72 |
|
|
120 |
%patch4 -p1 |
%patch4 -p1 |
121 |
%patch5 -p1 |
%patch5 -p1 |
122 |
%patch6 -p1 |
%patch6 -p1 |
123 |
|
%patch7 -p1 |
124 |
|
%patch8 -p1 |
125 |
|
%patch9 -p1 |
126 |
|
%patch10 -p1 |
127 |
|
%patch11 -p1 |
128 |
|
%patch12 -p1 |
129 |
|
%patch13 -p1 |
130 |
|
|
131 |
|
|
132 |
%build |
%build |
158 |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
159 |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
160 |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
161 |
|
--dir /etc/BackupPC/pc 'attr(750,backuppc,backuppc)' \ |
162 |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
163 |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
164 |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |