1 |
# $Id: phpki.spec,v 1.1 2013/11/11 17:01:19 vip-ire Exp $ |
# $Id: phpki.spec,v 1.7 2020/04/02 10:29:40 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 17 |
%define release 23 |
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} |
32 |
Patch16: phpki-0.82-use_sha1.patch |
Patch16: phpki-0.82-use_sha1.patch |
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 |
36 |
|
Patch20: phpki-0.82-fix-preg_match.patch |
37 |
|
Patch21: phpki-0.82-fix-dates.patch |
38 |
|
Patch22: phpki-0.82-fix-dates-2.patch |
39 |
|
Patch23: phpki-0.82-fix-dates-3.patch |
40 |
|
|
41 |
BuildArch: noarch |
BuildArch: noarch |
42 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
43 |
|
|
44 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
45 |
|
|
46 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 9.0 |
47 |
Requires: php |
Requires: php |
48 |
Requires: openssl |
Requires: openssl |
49 |
Requires: openvpn |
Requires: openvpn |
56 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Thu Apr 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.82-23.sme |
60 |
|
- Add secondary date sort after Status sort |
61 |
|
|
62 |
|
* Thu Apr 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.82-22.sme |
63 |
|
- Add the patch file which I forgot |
64 |
|
|
65 |
|
* Thu Apr 02 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.82-21.sme |
66 |
|
- Modify the dates fix to sort digitally |
67 |
|
|
68 |
|
* Tue Mar 03 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.82-20.sme |
69 |
|
- Backporting some fixes from 0.83+ |
70 |
|
- Fix start/finish/revoke dates |
71 |
|
- expand preg match statements |
72 |
|
- Fix some formatting |
73 |
|
- Bump the required release version |
74 |
|
- Fix country code check [SME:8911] |
75 |
|
|
76 |
|
* Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme |
77 |
|
- Fix preg_match warnings [SME:10622] |
78 |
|
|
79 |
|
* Mon Oct 8 2018 Daniel B. <daniel@firewall-services.com> 0.82-18.sme |
80 |
|
- Fix potential XSS with unsafe use of PHP_SELF [SME: 10626] |
81 |
|
|
82 |
* 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 |
83 |
- 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 |
84 |
|
- [SME: 10622] |
85 |
|
|
86 |
* 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 |
87 |
- 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] |
163 |
%patch16 -p1 |
%patch16 -p1 |
164 |
%patch17 -p1 |
%patch17 -p1 |
165 |
%patch18 -p1 |
%patch18 -p1 |
166 |
|
%patch19 -p1 |
167 |
|
%patch20 -p1 |
168 |
|
%patch21 -p1 |
169 |
|
%patch22 -p1 |
170 |
|
%patch23 -p1 |
171 |
|
|
172 |
%build |
%build |
173 |
%{__mkdir_p} root/opt/phpki/html |
%{__mkdir_p} root/opt/phpki/html |