--- rpms/smeserver-phpki/contribs7/smeserver-phpki.spec 2011/07/20 09:06:39 1.3 +++ rpms/smeserver-phpki/contribs7/smeserver-phpki.spec 2011/10/13 16:02:58 1.4 @@ -1,10 +1,10 @@ -# $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 $ # Authority: vip-ire # Name: Daniel Berteaud Name: smeserver-phpki Version: 0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: php integration into SME server Group: Applications/System @@ -19,6 +19,7 @@ Patch4: smeserver-phpki-0.1-server-mana Patch5: smeserver-phpki-0.1-section_security.patch Patch6: smeserver-phpki-0.1-fix_logrotate_event.patch Patch7: smeserver-phpki-0.1-protect_by_location.patch +Patch8: smeserver-phpki-0.1-session_path.patch BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch @@ -38,6 +39,9 @@ This package contains specific configura %changelog +* Thu Oct 13 2011 Daniel B. - 0.1-5.sme +- Change session path [SME: 6661] + * Wed Jul 20 2011 Daniel B. - 0.1-5.sme - Protect by location (so we can set another location protected by LemonLDAP::NG) @@ -70,6 +74,7 @@ This package contains specific configura %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build perl createlinks @@ -79,6 +84,7 @@ perl createlinks %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/supervise %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/log/supervise %{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-pki +%{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/pki-session (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) @@ -91,6 +97,7 @@ perl createlinks --file /var/service/httpd-pki/log/run 'attr(0755,root,root)' \ --dir /var/service/httpd-pki/log/supervise 'attr(0700,root,root)' \ --dir /var/log/httpd-pki 'attr(0750,smelog,smelog)' \ + --dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \ > %{name}-%{version}-filelist