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 2 |
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 |
|
|
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
21 |
|
|
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
|
|
24 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
25 |
Requires: php |
Requires: php74-php-fpm |
26 |
Requires: openssl |
Requires: openssl |
27 |
Requires: openvpn |
Requires: openvpn |
28 |
Conflicts: phpki |
Conflicts: phpki |
31 |
%description |
%description |
32 |
http://sourceforge.net/projects/phpki/ |
http://sourceforge.net/projects/phpki/ |
33 |
https://github.com/radicand/phpki |
https://github.com/radicand/phpki |
34 |
|
https://github.com/reetp/phpki |
35 |
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. |
36 |
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 |
37 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Wed Mar 07 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme |
41 |
|
- Change version to 0.84 |
42 |
|
- Fix undefined constant errors [SME: 11397] |
43 |
|
- fix tempdir [SME: 11398] |
44 |
|
- update code to be PHP 7.4+ compliant |
45 |
|
- format with CodeSniff to PSR2 |
46 |
|
|
47 |
* 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 |
48 |
- Rename to php-ng 0.84 |
- Rename to php-ng 0.84 [SME: 11192] |
49 |
- Fix date sorting in certificates |
- Fix date sorting in certificates |
50 |
|
|
51 |
* 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 |
77 |
* 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 |
78 |
- Update to 0.83 |
- Update to 0.83 |
79 |
|
|
80 |
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> |
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme |
81 |
- Fix preg_match warnings [SME:10622] |
- Fix preg_match warnings [SME:10622] |
82 |
|
|
83 |
* 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 |
149 |
|
|
150 |
%prep |
%prep |
151 |
%setup -c -n %{name} |
%setup -c -n %{name} |
152 |
|
%patch1 -p1 |
153 |
|
|
154 |
%build |
%build |
155 |
%{__mkdir_p} root/opt/phpki/html |
%{__mkdir_p} root/opt/phpki/html |
164 |
#!/bin/bash |
#!/bin/bash |
165 |
|
|
166 |
cd /opt/phpki/bin |
cd /opt/phpki/bin |
167 |
php ./gen_crl.php 2>&1 > /dev/null |
/usr/bin/php74 ./gen_crl.php 2>&1 > /dev/null |
168 |
|
|
169 |
HERE |
HERE |
170 |
|
|