4 |
|
|
5 |
%define name phpki-ng |
%define name phpki-ng |
6 |
%define version 0.84 |
%define version 0.84 |
7 |
%define release 1 |
%define release 3 |
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} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
#wget http://www.fooweb.com/downloads/foo-3.6.431.tar.gz |
#wget http://www.fooweb.com/downloads/foo-3.6.431.tar.gz |
16 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
17 |
|
Patch1: phpki-ng-0.84-fix-for-php74-code-tidy.patch |
18 |
|
Patch2: phpki-ng-0.84-fix-pregmatch-revoke-certs.patch |
19 |
|
|
20 |
BuildArch: noarch |
BuildArch: noarch |
21 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
22 |
|
|
23 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
|
|
25 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
26 |
Requires: php |
Requires: php74-php-fpm |
27 |
Requires: openssl |
Requires: openssl |
28 |
Requires: openvpn |
Requires: openvpn |
29 |
Conflicts: phpki |
Conflicts: phpki |
32 |
%description |
%description |
33 |
http://sourceforge.net/projects/phpki/ |
http://sourceforge.net/projects/phpki/ |
34 |
https://github.com/radicand/phpki |
https://github.com/radicand/phpki |
35 |
|
https://github.com/reetp/phpki |
36 |
PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance. |
PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance. |
37 |
With it, you may create and centrally manage X.509 certificates for use with S/MIME enabled |
With it, you may create and centrally manage X.509 certificates for use with S/MIME enabled |
38 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-3.sme |
42 |
|
- Fix Typo in certificate password [SME: 11435] |
43 |
|
- Fix typos and preg_match issues [SME: 11436] |
44 |
|
- Add Certificate ctreation notification [SME: 11437] |
45 |
|
- Bit of file fomatting |
46 |
|
|
47 |
|
* Wed Mar 07 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme |
48 |
|
- Change version to 0.84 |
49 |
|
- Fix undefined constant errors [SME: 11397] |
50 |
|
- fix tempdir [SME: 11398] |
51 |
|
- update code to be PHP 7.4+ compliant |
52 |
|
- format with CodeSniff to PSR2 |
53 |
|
|
54 |
* Wed Apr 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-1.sme |
* Wed Apr 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-1.sme |
55 |
- Rename to php-ng 0.84 |
- Rename to php-ng 0.84 [SME: 11192] |
56 |
- Fix date sorting in certificates |
- Fix date sorting in certificates |
57 |
|
|
58 |
* Thu Mar 19 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-9.sme |
* Thu Mar 19 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-9.sme |
84 |
* Fri Feb 28 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-1.sme |
* Fri Feb 28 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-1.sme |
85 |
- Update to 0.83 |
- Update to 0.83 |
86 |
|
|
87 |
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> |
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme |
88 |
- Fix preg_match warnings [SME:10622] |
- Fix preg_match warnings [SME:10622] |
89 |
|
|
90 |
* Mon Oct 8 2018 Daniel B. <daniel@firewall-services.com> 0.82-18.sme |
* Mon Oct 8 2018 Daniel B. <daniel@firewall-services.com> 0.82-18.sme |
156 |
|
|
157 |
%prep |
%prep |
158 |
%setup -c -n %{name} |
%setup -c -n %{name} |
159 |
|
%patch1 -p1 |
160 |
|
%patch2 -p1 |
161 |
|
|
162 |
%build |
%build |
163 |
%{__mkdir_p} root/opt/phpki/html |
%{__mkdir_p} root/opt/phpki/html |
172 |
#!/bin/bash |
#!/bin/bash |
173 |
|
|
174 |
cd /opt/phpki/bin |
cd /opt/phpki/bin |
175 |
php ./gen_crl.php 2>&1 > /dev/null |
/usr/bin/php74 ./gen_crl.php 2>&1 > /dev/null |
176 |
|
|
177 |
HERE |
HERE |
178 |
|
|