1 |
# $Id: phpki.spec,v 1.2 2018/09/08 20:59:10 jcrisp Exp $ |
# $Id: phpki.spec,v 1.4 2018/11/17 13:20:42 jcrisp Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
%define name phpki |
%define name phpki |
6 |
%define version 0.82 |
%define version 0.82 |
7 |
%define release 18 |
%define release 20 |
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} |
33 |
Patch17: phpki-0.82-ca_admin_users.patch |
Patch17: phpki-0.82-ca_admin_users.patch |
34 |
Patch18: phpki-0.82.bz10622.fixphpwarnings.patch |
Patch18: phpki-0.82.bz10622.fixphpwarnings.patch |
35 |
Patch19: phpki-0.82-potential_xss_php_self.patch |
Patch19: phpki-0.82-potential_xss_php_self.patch |
36 |
|
Patch20: phpki-0.82-fix-preg_match.patch |
37 |
|
Patch21: phpki-0.82-fix-dates.patch |
38 |
|
|
39 |
BuildArch: noarch |
BuildArch: noarch |
40 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
41 |
|
|
42 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
43 |
|
|
44 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 9.0 |
45 |
Requires: php |
Requires: php |
46 |
Requires: openssl |
Requires: openssl |
47 |
Requires: openvpn |
Requires: openvpn |
54 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
55 |
|
|
56 |
%changelog |
%changelog |
57 |
|
* Tue Mar 03 2020 John Crisp <jcrsip@safeandsoundit.co.uk> 0.82-20.sme |
58 |
|
- Backporting some fixes from 0.83+ |
59 |
|
- Fix start/finish/revoke dates |
60 |
|
- expand preg match statements |
61 |
|
- Fix some formatting |
62 |
|
- Bump the required release version |
63 |
|
- Fix country code check [SME:8911] |
64 |
|
|
65 |
|
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme |
66 |
|
- Fix preg_match warnings [SME:10622] |
67 |
|
|
68 |
* 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 |
69 |
- Fix potential XSS with unsafe use of PHP_SELF [SME: 10626] |
- Fix potential XSS with unsafe use of PHP_SELF [SME: 10626] |
70 |
|
|
71 |
* Thu Sep 6 2018 brian r. <brianr@bjsystems.co.uk> 0.82-17.sme |
* Thu Sep 6 2018 brian r. <brianr@bjsystems.co.uk> 0.82-17.sme |
72 |
- Replace use of ereg by preg_replace as per deprecated in php 5.3 and removed in 7.0 |
- Replace use of ereg by preg_replace as per deprecated in php 5.3 and removed in 7.0 |
73 |
|
- [SME: 10622] |
74 |
|
|
75 |
* Mon Dec 12 2011 Daniel B. <daniel@firewall-services.com> 0.82-16.sme |
* Mon Dec 12 2011 Daniel B. <daniel@firewall-services.com> 0.82-16.sme |
76 |
- Remove php-posix dependency (not available, nor needed on SME 7.x) [SME: 6805] |
- Remove php-posix dependency (not available, nor needed on SME 7.x) [SME: 6805] |
153 |
%patch17 -p1 |
%patch17 -p1 |
154 |
%patch18 -p1 |
%patch18 -p1 |
155 |
%patch19 -p1 |
%patch19 -p1 |
156 |
|
%patch20 -p1 |
157 |
|
%patch21 -p1 |
158 |
|
|
159 |
%build |
%build |
160 |
%{__mkdir_p} root/opt/phpki/html |
%{__mkdir_p} root/opt/phpki/html |