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 7 |
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 |
|
Patch3: phpki-ng-0.84-fix-crl.patch |
20 |
|
Patch4: phpki-ng-0.84-fix-missing-slash-certtype-detection.patch |
21 |
|
Patch5: phpki-ng-0.84-fix-html-directory-check.patch |
22 |
|
Patch6: phpki-ng-0.84-fix-download-cert.patch |
23 |
|
|
24 |
BuildArch: noarch |
BuildArch: noarch |
25 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
26 |
|
|
27 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
28 |
|
|
29 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
30 |
Requires: php |
Requires: php74-php-fpm |
31 |
Requires: openssl |
Requires: openssl |
32 |
Requires: openvpn |
Requires: openvpn |
33 |
Conflicts: phpki |
Conflicts: phpki |
36 |
%description |
%description |
37 |
http://sourceforge.net/projects/phpki/ |
http://sourceforge.net/projects/phpki/ |
38 |
https://github.com/radicand/phpki |
https://github.com/radicand/phpki |
39 |
|
https://github.com/reetp/phpki |
40 |
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. |
41 |
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 |
42 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Thu Apr 01 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-7.sme |
46 |
|
- Fix broken Download Certificate in Cert generation [SME: 11513] |
47 |
|
|
48 |
|
* Thu Mar 18 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-6.sme |
49 |
|
- Update html header info |
50 |
|
- Remove obsolete align |
51 |
|
- Remove accidentally duplicated html |
52 |
|
- Fix typo |
53 |
|
- Fix directory check |
54 |
|
- move function flush_exec to functions file |
55 |
|
|
56 |
|
* Tue Mar 09 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-5.sme |
57 |
|
- Fix missing / [SME:11435] |
58 |
|
- Update cert type detection for renew [SME: 11436] |
59 |
|
- Code formatting |
60 |
|
|
61 |
|
* Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-4.sme |
62 |
|
- Fix crl creation [SME: 11141] |
63 |
|
- Extra notes in setup page |
64 |
|
|
65 |
|
* Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-3.sme |
66 |
|
- Fix Typo in certificate password [SME: 11435] |
67 |
|
- Fix typos and preg_match issues [SME: 11436] |
68 |
|
- Add Certificate creation notification [SME: 11437] |
69 |
|
- Bit of file formatting |
70 |
|
|
71 |
|
* Wed Mar 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme |
72 |
|
- Change version to 0.84 |
73 |
|
- Fix undefined constant errors [SME: 11397] |
74 |
|
- fix tempdir [SME: 11398] |
75 |
|
- update code to be PHP 7.4+ compliant |
76 |
|
- format with CodeSniff to PSR2 |
77 |
|
|
78 |
* 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 |
79 |
- Rename to php-ng 0.84 |
- Rename to php-ng 0.84 [SME: 11192] |
80 |
- Fix date sorting in certificates |
- Fix date sorting in certificates |
81 |
|
|
82 |
* 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 |
108 |
* 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 |
109 |
- Update to 0.83 |
- Update to 0.83 |
110 |
|
|
111 |
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> |
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme |
112 |
- Fix preg_match warnings [SME:10622] |
- Fix preg_match warnings [SME:10622] |
113 |
|
|
114 |
* 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 |
180 |
|
|
181 |
%prep |
%prep |
182 |
%setup -c -n %{name} |
%setup -c -n %{name} |
183 |
|
%patch1 -p1 |
184 |
|
%patch2 -p1 |
185 |
|
%patch3 -p1 |
186 |
|
%patch4 -p1 |
187 |
|
%patch5 -p1 |
188 |
|
%patch6 -p1 |
189 |
|
|
190 |
%build |
%build |
191 |
%{__mkdir_p} root/opt/phpki/html |
%{__mkdir_p} root/opt/phpki/html |
200 |
#!/bin/bash |
#!/bin/bash |
201 |
|
|
202 |
cd /opt/phpki/bin |
cd /opt/phpki/bin |
203 |
php ./gen_crl.php 2>&1 > /dev/null |
/usr/bin/php74 ./gen_crl.php 2>&1 > /dev/null |
204 |
|
|
205 |
HERE |
HERE |
206 |
|
|