1 |
# $Id: smeserver-phpki.spec,v 1.2 2009/03/02 23:53:30 slords Exp $ |
# $Id: smeserver-phpki.spec,v 1.3 2011/07/20 09:06:39 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
Name: smeserver-phpki |
Name: smeserver-phpki |
6 |
Version: 0.1 |
Version: 0.1 |
7 |
Release: 5%{?dist} |
Release: 6%{?dist} |
8 |
Summary: php integration into SME server |
Summary: php integration into SME server |
9 |
|
|
10 |
Group: Applications/System |
Group: Applications/System |
19 |
Patch5: smeserver-phpki-0.1-section_security.patch |
Patch5: smeserver-phpki-0.1-section_security.patch |
20 |
Patch6: smeserver-phpki-0.1-fix_logrotate_event.patch |
Patch6: smeserver-phpki-0.1-fix_logrotate_event.patch |
21 |
Patch7: smeserver-phpki-0.1-protect_by_location.patch |
Patch7: smeserver-phpki-0.1-protect_by_location.patch |
22 |
|
Patch8: smeserver-phpki-0.1-session_path.patch |
23 |
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
25 |
BuildArch: noarch |
BuildArch: noarch |
39 |
|
|
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme |
43 |
|
- Change session path [SME: 6661] |
44 |
|
|
45 |
* Wed Jul 20 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme |
* Wed Jul 20 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme |
46 |
- Protect by location (so we can set another location protected by LemonLDAP::NG) |
- Protect by location (so we can set another location protected by LemonLDAP::NG) |
47 |
|
|
74 |
%patch5 -p1 |
%patch5 -p1 |
75 |
%patch6 -p1 |
%patch6 -p1 |
76 |
%patch7 -p1 |
%patch7 -p1 |
77 |
|
%patch8 -p1 |
78 |
|
|
79 |
%build |
%build |
80 |
perl createlinks |
perl createlinks |
84 |
%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/supervise |
%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/supervise |
85 |
%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/log/supervise |
%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/log/supervise |
86 |
%{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-pki |
%{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-pki |
87 |
|
%{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/pki-session |
88 |
|
|
89 |
|
|
90 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
97 |
--file /var/service/httpd-pki/log/run 'attr(0755,root,root)' \ |
--file /var/service/httpd-pki/log/run 'attr(0755,root,root)' \ |
98 |
--dir /var/service/httpd-pki/log/supervise 'attr(0700,root,root)' \ |
--dir /var/service/httpd-pki/log/supervise 'attr(0700,root,root)' \ |
99 |
--dir /var/log/httpd-pki 'attr(0750,smelog,smelog)' \ |
--dir /var/log/httpd-pki 'attr(0750,smelog,smelog)' \ |
100 |
|
--dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \ |
101 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
102 |
|
|
103 |
|
|