/[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.1 by jcrisp, Tue Nov 24 16:17:15 2020 UTC Revision 1.5 by jcrisp, Tue Mar 9 00:16:12 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 1  %define         release 4
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 14  URL:           http://sourceforge.net/projects/p Line 14  URL:           http://sourceforge.net/projects/p
14  Group:          SMEserver/addon  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
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    
22  BuildArch:      noarch  BuildArch:      noarch
23  BuildRoot:      /var/tmp/%{name}-%{version}  BuildRoot:      /var/tmp/%{name}-%{version}
24    
25  BuildRequires:  e-smith-devtools  BuildRequires:  e-smith-devtools
26    
27  Requires:       e-smith-release >= 9.0  Requires:       e-smith-release >= 10.0
28  Requires:       php  Requires:       php74-php-fpm
29  Requires:       openssl  Requires:       openssl
30  Requires:       openvpn  Requires:       openvpn
31  Conflicts:      phpki  Conflicts:      phpki
# Line 30  AutoReqProv:   no Line 34  AutoReqProv:   no
34  %description  %description
35  http://sourceforge.net/projects/phpki/  http://sourceforge.net/projects/phpki/
36  https://github.com/radicand/phpki  https://github.com/radicand/phpki
37    https://github.com/reetp/phpki
38  PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance.  PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance.
39  With it, you may create and centrally manage X.509 certificates for use with S/MIME enabled  With it, you may create and centrally manage X.509 certificates for use with S/MIME enabled
40  e-mail clients, SSL servers, and VPN applications.  e-mail clients, SSL servers, and VPN applications.
41    
42  %changelog  %changelog
43    * Tue Mar 09 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-5.sme
44    - Fix missing / [SME:11435]
45    - Update cert type detection for renew [SME: 11436]
46    - Code formatting
47    
48    * Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-4.sme
49    - Fix crl creation [SME: 11141]
50    - Extra notes in setup page
51    
52    * Mon Mar 08 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-3.sme
53    - Fix Typo in certificate password [SME: 11435]
54    - Fix typos and preg_match issues [SME: 11436]
55    - Add Certificate creation notification [SME: 11437]
56    - Bit of file formatting
57    
58    * Wed Mar 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme
59    - Change version to 0.84
60    - Fix undefined constant errors [SME: 11397]
61    - fix tempdir [SME: 11398]
62    - update code to be PHP 7.4+ compliant
63    - format with CodeSniff to PSR2
64    
65  * Wed Apr 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-1.sme  * Wed Apr 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-1.sme
66  - Rename to php-ng 0.84  - Rename to php-ng 0.84 [SME: 11192]
67  - Fix date sorting in certificates  - Fix date sorting in certificates
68    
69  * Thu Mar 19 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-9.sme  * Thu Mar 19 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-9.sme
# Line 68  e-mail clients, SSL servers, and VPN app Line 95  e-mail clients, SSL servers, and VPN app
95  * Fri Feb 28 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-1.sme  * Fri Feb 28 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.83-1.sme
96  - Update to 0.83  - Update to 0.83
97    
98  * Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au>  * Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme
99  - Fix preg_match warnings [SME:10622]  - Fix preg_match warnings [SME:10622]
100    
101  * Mon Oct 8 2018 Daniel B. <daniel@firewall-services.com> 0.82-18.sme  * Mon Oct 8 2018 Daniel B. <daniel@firewall-services.com> 0.82-18.sme
# Line 140  e-mail clients, SSL servers, and VPN app Line 167  e-mail clients, SSL servers, and VPN app
167    
168  %prep  %prep
169  %setup  -c -n %{name}  %setup  -c -n %{name}
170    %patch1 -p1
171    %patch2 -p1
172    %patch3 -p1
173    %patch4 -p1
174    
175  %build  %build
176  %{__mkdir_p} root/opt/phpki/html  %{__mkdir_p} root/opt/phpki/html
# Line 154  cat <<"HERE" > root/%{_sysconfdir}/cron. Line 185  cat <<"HERE" > root/%{_sysconfdir}/cron.
185  #!/bin/bash  #!/bin/bash
186    
187  cd /opt/phpki/bin  cd /opt/phpki/bin
188  php ./gen_crl.php 2>&1 > /dev/null  /usr/bin/php74 ./gen_crl.php 2>&1 > /dev/null
189    
190  HERE  HERE
191    


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