16 |
#Patch1: smeserver-phpki-0.2.bz10267.updatetktauth.patch |
#Patch1: smeserver-phpki-0.2.bz10267.updatetktauth.patch |
17 |
|
|
18 |
Patch0: smeserver-phpki-ng-0.3-Add-extra-Loadmodules-to-httpd-conf.patch |
Patch0: smeserver-phpki-ng-0.3-Add-extra-Loadmodules-to-httpd-conf.patch |
19 |
|
Patch1: smeserver-phpki-ng-0.3-Add-in-systemd-startup.patch |
20 |
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
22 |
BuildArch: noarch |
BuildArch: noarch |
38 |
|
|
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Tue Feb 09 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-3.sme |
42 |
|
- Add-in-systemd-startup [SME: 11207] |
43 |
|
|
44 |
* Thu Nov 26 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme |
* Thu Nov 26 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme |
45 |
- Add in Loadmodules needed to pki-conf/httpd.conf [SME: 11207] |
- Add in Loadmodules needed to pki-conf/httpd.conf [SME: 11207] |
46 |
|
|
88 |
%prep |
%prep |
89 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
90 |
%patch0 -p1 |
%patch0 -p1 |
91 |
|
%patch1 -p1 |
92 |
#%patch1 -p1 |
#%patch1 -p1 |
93 |
|
|
94 |
%build |
%build |
103 |
|
|
104 |
|
|
105 |
(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) |
106 |
|
|
107 |
|
chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/httpd-pki |
108 |
|
|
109 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
110 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
111 |
--dir /var/service/httpd-pki 'attr(01755,root,root)' \ |
--dir /var/service/httpd-pki 'attr(01755,root,root)' \ |
118 |
--dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \ |
--dir /var/lib/php/pki-session 'attr(0770,root,phpki)' \ |
119 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
120 |
|
|
121 |
|
%post |
122 |
|
chmod +x /opt/phpki/html/ |
123 |
|
|
124 |
%clean |
%clean |
125 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |