4 |
|
|
5 |
%define name phpki-ng |
%define name phpki-ng |
6 |
%define version 0.84 |
%define version 0.84 |
7 |
%define release 3 |
%define release 8 |
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} |
16 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
17 |
Patch1: phpki-ng-0.84-fix-for-php74-code-tidy.patch |
Patch1: phpki-ng-0.84-fix-for-php74-code-tidy.patch |
18 |
Patch2: phpki-ng-0.84-fix-pregmatch-revoke-certs.patch |
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} |
42 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Sat Apr 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-7.sme |
46 |
|
- copy phpki-store as a backup instead of move |
47 |
|
|
48 |
|
* Thu Apr 01 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-7.sme |
49 |
|
- Fix broken Download Certificate in Cert generation [SME: 11513] |
50 |
|
|
51 |
|
* Thu Mar 18 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-6.sme |
52 |
|
- Update html header info |
53 |
|
- Remove obsolete align |
54 |
|
- Remove accidentally duplicated html |
55 |
|
- Fix typo |
56 |
|
- Fix directory check |
57 |
|
- move function flush_exec to functions file |
58 |
|
|
59 |
|
* Tue Mar 09 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-5.sme |
60 |
|
- Fix missing / [SME:11435] |
61 |
|
- Update cert type detection for renew [SME: 11436] |
62 |
|
- Code formatting |
63 |
|
|
64 |
|
* Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-4.sme |
65 |
|
- Fix crl creation [SME: 11141] |
66 |
|
- Extra notes in setup page |
67 |
|
|
68 |
* Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-3.sme |
* Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-3.sme |
69 |
- Fix Typo in certificate password [SME: 11435] |
- Fix Typo in certificate password [SME: 11435] |
70 |
- Fix typos and preg_match issues [SME: 11436] |
- Fix typos and preg_match issues [SME: 11436] |
71 |
- Add Certificate ctreation notification [SME: 11437] |
- Add Certificate creation notification [SME: 11437] |
72 |
- Bit of file fomatting |
- Bit of file formatting |
73 |
|
|
74 |
* Wed Mar 07 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme |
* Wed Mar 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme |
75 |
- Change version to 0.84 |
- Change version to 0.84 |
76 |
- Fix undefined constant errors [SME: 11397] |
- Fix undefined constant errors [SME: 11397] |
77 |
- fix tempdir [SME: 11398] |
- fix tempdir [SME: 11398] |
185 |
%setup -c -n %{name} |
%setup -c -n %{name} |
186 |
%patch1 -p1 |
%patch1 -p1 |
187 |
%patch2 -p1 |
%patch2 -p1 |
188 |
|
%patch3 -p1 |
189 |
|
%patch4 -p1 |
190 |
|
%patch5 -p1 |
191 |
|
%patch6 -p1 |
192 |
|
|
193 |
%build |
%build |
194 |
%{__mkdir_p} root/opt/phpki/html |
%{__mkdir_p} root/opt/phpki/html |
247 |
echo "* " |
echo "* " |
248 |
echo "* We cannot upgrade your existing certificates" |
echo "* We cannot upgrade your existing certificates" |
249 |
echo "* " |
echo "* " |
250 |
echo "* If we detect an existing certificate store" |
echo "* If you have existing certificates you want to use" |
251 |
echo "* we are going to move it" |
echo "* then start with a new CA, backup up, and then restore" |
252 |
|
echo "* your phpki-store directory in /opt/phpki" |
253 |
echo "* " |
echo "* " |
|
echo "* You can then start with a new CA and certificates" |
|
254 |
echo "******************************************************" |
echo "******************************************************" |
255 |
echo "" |
echo "" |
256 |
|
|