/[smecontribs]/rpms/phpki-ng/contribs10/phpki-ng.spec
ViewVC logotype

Diff of /rpms/phpki-ng/contribs10/phpki-ng.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jcrisp, Sun Mar 7 19:16:18 2021 UTC Revision 1.10 by jcrisp, Mon Apr 5 09:40:45 2021 UTC
# Line 4  Line 4 
4    
5  %define         name phpki-ng  %define         name phpki-ng
6  %define         version 0.84  %define         version 0.84
7  %define         release 2  %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}
# Line 15  Group:                 SMEserver/addon Line 15  Group:                 SMEserver/addon
15  #wget           http://www.fooweb.com/downloads/foo-3.6.431.tar.gz  #wget           http://www.fooweb.com/downloads/foo-3.6.431.tar.gz
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
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}
# Line 37  With it, you may create and centrally ma Line 42  With it, you may create and centrally ma
42  e-mail clients, SSL servers, and VPN applications.  e-mail clients, SSL servers, and VPN applications.
43    
44  %changelog  %changelog
45  * Wed Mar 07 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme  * 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
52    - 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
55    - Update html header info [SME: 11192]
56    - Remove obsolete align
57    - Remove accidentally duplicated html
58    - Fix typo
59    - Fix directory check
60    - move function flush_exec to functions file
61    
62    * Tue Mar 09 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-5.sme
63    - Fix missing / [SME:11435]
64    - Update cert type detection for renew [SME: 11436]
65    - Code formatting
66    
67    * Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-4.sme
68    - Fix crl creation [SME: 11141]
69    - Extra notes in setup page
70    
71    * Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-3.sme
72    - Fix Typo in certificate password [SME: 11435]
73    - Fix typos and preg_match issues [SME: 11436]
74    - Add Certificate creation notification [SME: 11437]
75    - Bit of file formatting
76    
77    * Wed Mar 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme
78  - Change version to 0.84  - Change version to 0.84
79  - Fix undefined constant errors [SME: 11397]  - Fix undefined constant errors [SME: 11397]
80  - fix tempdir [SME: 11398]  - fix tempdir [SME: 11398]
# Line 150  e-mail clients, SSL servers, and VPN app Line 187  e-mail clients, SSL servers, and VPN app
187  %prep  %prep
188  %setup  -c -n %{name}  %setup  -c -n %{name}
189  %patch1 -p1  %patch1 -p1
190    %patch2 -p1
191    %patch3 -p1
192    %patch4 -p1
193    %patch5 -p1
194    %patch6 -p1
195    
196  %build  %build
197  %{__mkdir_p} root/opt/phpki/html  %{__mkdir_p} root/opt/phpki/html
# Line 208  echo "*  This contrib now has higher lev Line 250  echo "*  This contrib now has higher lev
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    
# Line 221  if [ -d /opt/phpki/phpki-store ] ; then Line 263  if [ -d /opt/phpki/phpki-store ] ; then
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"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed