4 |
|
|
5 |
%define name phpki-ng |
%define name phpki-ng |
6 |
%define version 0.84 |
%define version 0.84 |
7 |
%define release 15 |
%define release 16 |
8 |
Summary: Phpki is a simple certificate management suite |
Summary: Phpki is a simple certificate management suite |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
46 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Sat Dec 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.84-16.sme |
50 |
|
- add dl_crl_pem.php [SME: 12272] |
51 |
|
|
52 |
* Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.84-15.sme |
* Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.84-15.sme |
53 |
- fix regex and potential code injection [SME: 12274] |
- fix regex and potential code injection [SME: 12274] |
54 |
|
|
274 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
275 |
|
|
276 |
%pre |
%pre |
277 |
|
if ! /usr/bin/id phpki &>/dev/null; then |
278 |
|
echo "Creating phpki user" |
279 |
|
/usr/sbin/useradd -c 'Phpki User' -s /sbin/nologin -r -d /opt/phpki/phpki-store phpki &>/dev/null || \ |
280 |
|
%logmsg "Unexpected error adding user \"phpki\". Abort installation." |
281 |
|
fi |
282 |
|
|
283 |
echo "******************************************************" |
echo "******************************************************" |
284 |
echo "* " |
echo "* " |
285 |
echo "* !!! IMPORTANT - READ THIS NOW !!! " |
echo "* !!! IMPORTANT - READ THIS NOW !!! " |
326 |
fi |
fi |
327 |
|
|
328 |
|
|
|
|
|
|
if ! /usr/bin/id phpki &>/dev/null; then |
|
|
echo "Creating phpki user" |
|
|
/usr/sbin/useradd -c 'Phpki User' -s /sbin/nologin -r -d /opt/phpki/phpki-store phpki &>/dev/null || \ |
|
|
%logmsg "Unexpected error adding user \"phpki\". Abort installation." |
|
|
fi |
|
|
|
|
329 |
%preun |
%preun |
330 |
|
|
331 |
|
|