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