--- rpms/smeserver-phplist/contribs10/smeserver-phplist.spec 2022/08/02 20:26:18 1.4 +++ rpms/smeserver-phplist/contribs10/smeserver-phplist.spec 2022/08/04 04:03:04 1.6 @@ -1,7 +1,7 @@ Summary: sme server integration of phplist Name: smeserver-phplist Version: 0.2.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GNU GPL version 2 URL: http://www.phplist.com Group: SMEserver/addon @@ -24,8 +24,11 @@ This rpm provides all the needed templat running on SME Server %changelog +* Wed Aug 03 2022 Jean-Philippe Pialasse 0.2.1-3.sme +- make http auth not the default. + * Tue Aug 02 2022 Jean-Philippe Pialasse 0.2.1-2.sme -- fix [SME: ] +- ported to SME10 * Wed Mar 18 2020 Daniel Berteaud 0.2.1-1 - new package built with tito @@ -69,8 +72,10 @@ rm -rf root/var/service/ %build perl ./createlinks -%{__mkdir_p} root/var/lib/phplist +%{__mkdir_p} root/var/lib/php/phplist/{tmp,opcache,session} %{__mkdir_p} root/var/log/phplist +%{__mkdir_p} root/var/log/php/phplist + %install rm -rf $RPM_BUILD_ROOT @@ -86,6 +91,7 @@ rm -f %{name}-%{version}-filelist --dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \ --dir /var/lib/php/phplist/session 'attr(0755,www,www)' \ --ignoredir /var/qmail/alias --ignoredir /var/lib/phplist \ + --file /usr/local/bin/phplist 'attr(0750,root,www)' \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist