--- rpms/smeserver-phpki-ng/contribs10/smeserver-phpki-ng.spec 2022/10/04 09:59:47 1.13 +++ rpms/smeserver-phpki-ng/contribs10/smeserver-phpki-ng.spec 2022/11/19 08:09:15 1.17 @@ -4,7 +4,7 @@ Name: smeserver-phpki-ng Version: 0.3 -Release: 9%{?dist} +Release: 13%{?dist} Summary: php integration into SME server Group: Applications/System @@ -20,6 +20,8 @@ Patch1: smeserver-phpki-ng-0.3-A Patch2: smeserver-phpki-ng-0.3-php73pool.patch Patch3: smeserver-phpki-ng-0.3-bz12021-backup.patch Patch4: smeserver-phpki-ng-0.3-bz12054-httpd24.patch +Patch5: smeserver-phpki-ng-0.3-bz12228-12198-11873-12229.patch +Patch6: smeserver-phpki-ng-0.3-bz11438-takey.patch BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch @@ -27,13 +29,15 @@ BuildArch: noarch BuildRequires: e-smith-devtools Requires: mod_auth_tkt +Requires: openvpn Requires: e-smith-base Requires: phpki-ng Requires: php-process Requires: e-smith-manager >= 2.6.0-22 Requires: e-smith-apache >= 2.6.0-19 Requires: smeserver-php >= 3.0.0-43 -Obsoletes: smeserver-phpki +Provides: smeserver-phpki +#Obsoletes: smeserver-phpki %description PHPki is an Open Source Web application for managing a multi-agency PKI for HIPAA compliance. @@ -43,6 +47,19 @@ This package contains specific configura %changelog +* Fri Nov 18 2022 Jean-Philippe Pialasse 0.3-13.sme +- add some more needed bins which cat and egrep [SME: 11438] + +* Fri Nov 18 2022 Jean-Philippe Pialasse 0.3-11.sme +- fix missing takey [SME: 11438] + +* Fri Nov 18 2022 Jean-Philippe Pialasse 0.3-10.sme +- ease migration from smeserver-phpki smeserver-phpki-ng using Provides [SME: 12222] +- fix ownership on migration (backup/restore) [SME: 12228] +- remove /var/service/httpd-pki [SME: 12229] +- remove old logrotate [SME: 11873] +- remove /var/log/phpki and /var/log/httpd-pki [SME: 12198] + * Tue Oct 04 2022 John Crisp 0.3-9.sme - Fix spec file versioning @@ -124,15 +141,16 @@ rm -rf root/var/lib/php/pki-session mkdir -p root/var/log/phpki %patch3 -p1 %patch4 -p1 +%patch5 -p1 +rm -rf root/var/service/httpd-pki +rm -rf root/var/log/phpki +%patch6 -p1 %build perl createlinks %install -%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/supervise -%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-pki/log/supervise -%{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-pki %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/pki-session @@ -142,23 +160,13 @@ chmod +x $RPM_BUILD_ROOT/usr/sbin/system /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ - --dir /var/service/httpd-pki 'attr(01755,root,root)' \ - --file /var/service/httpd-pki/run 'attr(0700,root,root)' \ - --dir /var/service/httpd-pki/supervise 'attr(0700,root,root)' \ - --dir /var/service/httpd-pki/log 'attr(0755,root,root)' \ - --file /var/service/httpd-pki/log/run 'attr(0755,root,root)' \ - --dir /var/service/httpd-pki/log/supervise 'attr(0700,root,root)' \ - --dir /var/log/httpd-pki 'attr(0750,smelog,smelog)' \ --dir /var/lib/php/phpki 'attr(0770,root,phpki)' \ --dir /var/lib/php/phpki/session 'attr(0770,root,phpki)' \ --dir /var/lib/php/phpki/opcache 'attr(0770,root,phpki)' \ --dir /var/lib/php/phpki/tmp 'attr(0770,root,phpki)' \ - --dir /var/log/phpki/tmp 'attr(0770,root,phpki)' \ > %{name}-%{version}-filelist %post -chmod +x /opt/phpki/html/ -chmod +x /opt/phpki/html/ca %clean rm -rf $RPM_BUILD_ROOT