/[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.2 by jcrisp, Sun Mar 7 19:16:18 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 2
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    
19  BuildArch:      noarch  BuildArch:      noarch
20  BuildRoot:      /var/tmp/%{name}-%{version}  BuildRoot:      /var/tmp/%{name}-%{version}
21    
22  BuildRequires:  e-smith-devtools  BuildRequires:  e-smith-devtools
23    
24  Requires:       e-smith-release >= 9.0  Requires:       e-smith-release >= 10.0
25  Requires:       php  Requires:       php74-php-fpm
26  Requires:       openssl  Requires:       openssl
27  Requires:       openvpn  Requires:       openvpn
28  Conflicts:      phpki  Conflicts:      phpki
# Line 30  AutoReqProv:   no Line 31  AutoReqProv:   no
31  %description  %description
32  http://sourceforge.net/projects/phpki/  http://sourceforge.net/projects/phpki/
33  https://github.com/radicand/phpki  https://github.com/radicand/phpki
34    https://github.com/reetp/phpki
35  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.
36  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
37  e-mail clients, SSL servers, and VPN applications.  e-mail clients, SSL servers, and VPN applications.
38    
39  %changelog  %changelog
40    * Wed Mar 07 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-2.sme
41    - Change version to 0.84
42    - Fix undefined constant errors [SME: 11397]
43    - fix tempdir [SME: 11398]
44    - update code to be PHP 7.4+ compliant
45    - format with CodeSniff to PSR2
46    
47  * 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
48  - Rename to php-ng 0.84  - Rename to php-ng 0.84 [SME: 11192]
49  - Fix date sorting in certificates  - Fix date sorting in certificates
50    
51  * 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 77  e-mail clients, SSL servers, and VPN app
77  * 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
78  - Update to 0.83  - Update to 0.83
79    
80  * Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au>  * Sat Nov 17 2018 Terry Fage <tfage@yahoo.com.au> 0.82-19.sme
81  - Fix preg_match warnings [SME:10622]  - Fix preg_match warnings [SME:10622]
82    
83  * 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 149  e-mail clients, SSL servers, and VPN app
149    
150  %prep  %prep
151  %setup  -c -n %{name}  %setup  -c -n %{name}
152    %patch1 -p1
153    
154  %build  %build
155  %{__mkdir_p} root/opt/phpki/html  %{__mkdir_p} root/opt/phpki/html
# Line 154  cat <<"HERE" > root/%{_sysconfdir}/cron. Line 164  cat <<"HERE" > root/%{_sysconfdir}/cron.
164  #!/bin/bash  #!/bin/bash
165    
166  cd /opt/phpki/bin  cd /opt/phpki/bin
167  php ./gen_crl.php 2>&1 > /dev/null  /usr/bin/php74 ./gen_crl.php 2>&1 > /dev/null
168    
169  HERE  HERE
170    


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