Accepting request 744029 from home:lemmy04:branches:network:utilities
- piwik.js needs to be writable, too - more permission fixes * matomo.js needs to be owned by the apache user so that plugins can rewrite it if required * new md5sum for global.ini.php - disabled the auto updater, doesn't work with this set of permissions - Update to 3.12.0 * new comarison feature for date ranges and visitor segments * several significant performance improvements, usability improvements and fixes to security issues * full changelog is at https://matomo.org/changelog/matomo-3-12-0/ OBS-URL: https://build.opensuse.org/request/show/744029 OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=38
This commit is contained in:
parent
7dfd6595c8
commit
5ff5cab277
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:189056c5b5308595694d332a9feb19f42b26fbf51c8c8a53756d44fd7fad76b9
|
|
||||||
size 16860544
|
|
3
matomo-3.12.0.tar.gz
Normal file
3
matomo-3.12.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6549c829de9bdc8c095ee02fd41f263a9d364d25d8bb0b61664a6b36fcca48c4
|
||||||
|
size 15562734
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 09:37:33 UTC 2019 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||||
|
|
||||||
|
- piwik.js needs to be writable, too
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 09:34:03 UTC 2019 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||||
|
|
||||||
|
- more permission fixes
|
||||||
|
* matomo.js needs to be owned by the apache user so that plugins can
|
||||||
|
rewrite it if required
|
||||||
|
* new md5sum for global.ini.php
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 07:59:19 UTC 2019 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||||
|
|
||||||
|
- disabled the auto updater, doesn't work with this set of permissions
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 07:45:02 UTC 2019 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 3.12.0
|
||||||
|
* new comarison feature for date ranges and visitor segments
|
||||||
|
* several significant performance improvements, usability improvements and fixes to security issues
|
||||||
|
* full changelog is at https://matomo.org/changelog/matomo-3-12-0/
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 21 18:39:50 UTC 2019 - Mathias Homann <Mathias.Homann@opensuse.org>
|
Mon Oct 21 18:39:50 UTC 2019 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||||
|
|
||||||
|
12
matomo.spec
12
matomo.spec
@ -31,7 +31,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: matomo
|
Name: matomo
|
||||||
Version: 3.11.0
|
Version: 3.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Web analytics platform
|
Summary: Web analytics platform
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -94,6 +94,12 @@ find . -type f "(" -name .htaccess -o -name .travis.sh ")" -delete
|
|||||||
find . -type f "(" -name "*.c" -o -name "*.h" -o -name "*.js.orig" ")" -delete
|
find . -type f "(" -name "*.c" -o -name "*.h" -o -name "*.js.orig" ")" -delete
|
||||||
# env-script-interpreter
|
# env-script-interpreter
|
||||||
find . -type f -exec sed -i -e 's|\/usr\/bin\/env php|\/usr\/bin\/php|g' {} +
|
find . -type f -exec sed -i -e 's|\/usr\/bin\/env php|\/usr\/bin\/php|g' {} +
|
||||||
|
|
||||||
|
#
|
||||||
|
# disable the auto updater, it can't work properly with the new, more secure permissions and is a bad idea on a RPM based setup anyways.
|
||||||
|
#
|
||||||
|
sed -i '/enable_auto_update/s/1$/0/' config/global.ini.php
|
||||||
|
|
||||||
#
|
#
|
||||||
# Fix integrity check triggered from fix of rpmlint errors.
|
# Fix integrity check triggered from fix of rpmlint errors.
|
||||||
# Drop moved files
|
# Drop moved files
|
||||||
@ -102,7 +108,7 @@ do
|
|||||||
sed -i "/\W\"${i}\"\W/d" config/manifest.inc.php
|
sed -i "/\W\"${i}\"\W/d" config/manifest.inc.php
|
||||||
done
|
done
|
||||||
# Insert new hashes for chanded files
|
# Insert new hashes for chanded files
|
||||||
for file in console 'vendor/leafo/lessphp/plessc' 'vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php'
|
for file in console 'vendor/leafo/lessphp/plessc' 'vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php' 'config/global.ini.php'
|
||||||
do
|
do
|
||||||
size=$(ls -l $file | awk '{ print $5 }')
|
size=$(ls -l $file | awk '{ print $5 }')
|
||||||
checksum=$(md5sum $file | awk '{ print $1 }')
|
checksum=$(md5sum $file | awk '{ print $1 }')
|
||||||
@ -196,6 +202,8 @@ fi
|
|||||||
%dir %attr(0750,%{ap_usr},%{ap_grp}) /var/log/%{name}
|
%dir %attr(0750,%{ap_usr},%{ap_grp}) /var/log/%{name}
|
||||||
%config(noreplace) %attr(600,%{ap_usr},%{ap_grp}) %{_sysconfdir}/%{name}/*php
|
%config(noreplace) %attr(600,%{ap_usr},%{ap_grp}) %{_sysconfdir}/%{name}/*php
|
||||||
%{_sysconfdir}/%{name}/environment/*php
|
%{_sysconfdir}/%{name}/environment/*php
|
||||||
|
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/matomo.js
|
||||||
|
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/piwik.js
|
||||||
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/console
|
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/console
|
||||||
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/misc/cron/archive.sh
|
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/misc/cron/archive.sh
|
||||||
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/misc/log-analytics/import_logs.py
|
%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/misc/log-analytics/import_logs.py
|
||||||
|
Loading…
Reference in New Issue
Block a user