1 |
|
# $Id: smeserver-BackupPC.spec,v 1.5 2009/03/23 08:48:31 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: 7%{?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 |
|
25 |
Requires: BackupPC >= 3.1.0 |
|
26 |
Requires: smeserver-remoteuseraccess |
BuildRoot: %{_tmppath}/%{name}-%{version} |
27 |
|
BuildArch: noarch |
28 |
|
|
29 |
|
BuildRequires: e-smith-devtools |
30 |
|
|
31 |
|
Requires: mod_auth_tkt |
32 |
|
Requires: BackupPC >= 3.1.0 |
33 |
|
Requires: smeserver-remoteuseraccess |
34 |
|
|
35 |
#Conflicts: smeserver-backuppc.fws |
#Conflicts: smeserver-backuppc.fws |
36 |
Obsoletes: smeserver-backuppc.fws |
Obsoletes: smeserver-backuppc.fws |
44 |
|
|
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
48 |
|
- Fixe permissions on /etc/BackupPC/pc |
49 |
|
|
50 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
51 |
|
- modify default httpd conf (cleanup) to use the new paths |
52 |
|
- Add quotes in share names for *Archive.conf files |
53 |
|
- Enhance provided template |
54 |
|
|
55 |
|
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
56 |
|
- Enhance sudoers templates |
57 |
|
|
58 |
|
* Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
59 |
|
- Fix logrotate issue (send a sigusr1 signal to httpd-bkpc) |
60 |
|
|
61 |
|
* Tue Jan 20 2009 Daniel B. <daniel@firewall-services.com> [0.1-3] |
62 |
|
- Update Exclude path for smeserver config example |
63 |
|
|
64 |
* 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] |
65 |
- Revert config and logs paths to their default location |
- Revert config and logs paths to their default location |
66 |
- Expand-templates during bootrape-console-save instead of post-upgrade |
- Expand-templates during bootrape-console-save instead of post-upgrade |
102 |
%patch1 -p1 |
%patch1 -p1 |
103 |
%patch2 -p1 |
%patch2 -p1 |
104 |
%patch3 -p1 |
%patch3 -p1 |
105 |
|
%patch4 -p1 |
106 |
|
%patch5 -p1 |
107 |
|
%patch6 -p1 |
108 |
|
%patch7 -p1 |
109 |
|
%patch8 -p1 |
110 |
|
%patch9 -p1 |
111 |
|
|
112 |
|
|
113 |
%build |
%build |
114 |
perl createlinks |
perl createlinks |
139 |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
140 |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
141 |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
--file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ |
142 |
|
--dir /etc/BackupPC/pc 'attr(750,backuppc,backuppc)' \ |
143 |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
--dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ |
144 |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
--file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ |
145 |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |
--dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \ |