4 |
|
|
5 |
%define name phpki-ng |
%define name phpki-ng |
6 |
%define version 0.84 |
%define version 0.84 |
7 |
%define release 7 |
%define release 9 |
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} |
42 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Mon Apr 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-9.sme |
46 |
|
- Really fix the copy this time [SME: 11192] |
47 |
|
|
48 |
|
* Sat Apr 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-8.sme |
49 |
|
- copy phpki-store as a backup instead of move [SME: 11192] |
50 |
|
|
51 |
* Thu Apr 01 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-7.sme |
* Thu Apr 01 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-7.sme |
52 |
- Fix broken Download Certificate in Cert generation [SME: 11513] |
- Fix broken Download Certificate in Cert generation [SME: 11513] |
53 |
|
|
54 |
* Thu Mar 18 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-6.sme |
* Thu Mar 18 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-6.sme |
55 |
- Update html header info |
- Update html header info [SME: 11192] |
56 |
- Remove obsolete align |
- Remove obsolete align |
57 |
- Remove accidentally duplicated html |
- Remove accidentally duplicated html |
58 |
- Fix typo |
- Fix typo |
250 |
echo "* " |
echo "* " |
251 |
echo "* We cannot upgrade your existing certificates" |
echo "* We cannot upgrade your existing certificates" |
252 |
echo "* " |
echo "* " |
253 |
echo "* If we detect an existing certificate store" |
echo "* If you have existing certificates you want to use" |
254 |
echo "* we are going to move it" |
echo "* then start with a new CA, backup up, and then restore" |
255 |
|
echo "* your phpki-store directory in /opt/phpki" |
256 |
echo "* " |
echo "* " |
|
echo "* You can then start with a new CA and certificates" |
|
257 |
echo "******************************************************" |
echo "******************************************************" |
258 |
echo "" |
echo "" |
259 |
|
|
263 |
PHPKIDIR=$(( 1 + $RANDOM%99999 )) |
PHPKIDIR=$(( 1 + $RANDOM%99999 )) |
264 |
echo "Number is $PHPKIDIR" |
echo "Number is $PHPKIDIR" |
265 |
echo "moving from /opt/phpki/phpki-store to /opt/phpki/phpki-store.$PHPKIDIR" |
echo "moving from /opt/phpki/phpki-store to /opt/phpki/phpki-store.$PHPKIDIR" |
266 |
mv /opt/phpki/phpki-store "/opt/phpki/phpki-store.$PHPKIDIR" |
/bin/cp -pr /opt/phpki/phpki-store "/opt/phpki/phpki-store.$PHPKIDIR" |
267 |
echo "Directory moved...continuing installaton" |
echo "Directory moved...continuing installaton" |
268 |
else |
else |
269 |
echo "No directory detected...continuing installaton" |
echo "No directory detected...continuing installaton" |