summarylogtreecommitdiffstats
path: root/matomo.install
AgeCommit message (Collapse)Author
2018-08-29Update to matamo 3.5.1, with various changesChris Morgan
As far as this AUR package is concerned, this is a major update. Packaging changes: • Use “matomo” where possible (no more “piwik” in the build scripts) • Fix pkgdesc (shouldn’t mention the package name) • License is GPL3 (GPLv3 or later), not GPL (GPLv2 or later) • PHP dependency needs to be at least 5.5.9 (so e.g. php53 from AUR wouldn’t be good enough, but php56 would be) • Replace mariadb dependency with mysql>=5.5 (mariadb provides mysql, so this way it supports any mysql, not just mariadb; I considered moving it from optdepends to depends as well, but I suppose its mysql need not be on the same server, so optdepends is correct) • Use HTTPS for downloads • Quote paths with variable expansions in the shell scripting • Removed optional php-geoip dependency, because it’s not what Matomo needs: Matomo uses geoip2, not geoip. It’s pure PHP and thus vendored in, though if you install the faster maxminddb C extension it’ll automatically use it in preference. Functional changes: • Upgrade from 3.4.0 to 3.5.1 • Move /usr/share/webapps/matomo/config/ to /etc/webapps/matomo/, leaving a symlink in its stead. • Move /usr/share/webapps/matomo/tmp/ to /usr/lib/webapps/matomo/tmp/ • Tighten the permissions of /usr/share/webapps/matomo by changing the owner from http:http to root:http, so that in it, only piwik.js and the plugins directory are writable by the http user. Note that /usr/share/webapps/matomo/plugins is excluded from the owner change: it is still owned by http:http so you can add plugins through the marketplace. • Support geoip2-database directly (install that package, and you can immediately enable proper geolocation in the Matomo admin) Upgrades should be fine with no data loss, but I still suggest caution. I have not been rigourous in verifying that everything works properly in all circumstances.
2018-04-01Update to 3.4.0 and changed to matomoNils Czernia