summarylogtreecommitdiffstats
path: root/.SRCINFO
diff options
context:
space:
mode:
authorChris Morgan2018-08-29 15:36:54 +1000
committerChris Morgan2018-08-29 15:36:54 +1000
commitff3f2bdccdeb1b1d7afaaba0a86c2b9a2376838d (patch)
treeada6591b6092f5449dc400471be13000101d18d3 /.SRCINFO
parent89e05ab76828da2a211c77923553d32b2acf2596 (diff)
downloadaur-ff3f2bdccdeb1b1d7afaaba0a86c2b9a2376838d.tar.gz
Update to matamo 3.5.1, with various changes
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.
Diffstat (limited to '.SRCINFO')
-rw-r--r--.SRCINFO27
1 files changed, 13 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c821cfd53aa6..662130d9dcb8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,23 @@
-# Generated by mksrcinfo v8
-# Sun Apr 1 09:32:41 UTC 2018
pkgbase = matomo
- pkgdesc = matomo is a real time web analytics software program, written in PHP
- pkgver = 3.4.0
+ pkgdesc = real time web analytics platform
+ pkgver = 3.5.1
pkgrel = 1
url = https://matomo.org/
install = matomo.install
arch = any
- license = GPL
- depends = php
+ license = GPL3
+ depends = php>=5.5.9
depends = php-gd
- optdepends = mariadb: Database server
- optdepends = python2: For log importer script
- optdepends = php-geoip: For GeoIP php module
+ optdepends = mysql>=5.5: database server
+ optdepends = python2: log importer script
+ optdepends = geoip2-database: GeoIP database
replaces = piwik
- backup = etc/webapps/matomo/config.ini.php
- source = http://builds.piwik.org/piwik-3.4.0.tar.gz
- source = http://builds.piwik.org/piwik-3.4.0.tar.gz.asc
- sha512sums = e9aeca686acadf5eb03a7a6c31e0f62df2fbeabe9eade4a2367a6433011d38933c8b8d8d8222566d135e2f31b2d55c0dbc665072021febdb2da54a94dc736005
- sha512sums = SKIP
+ backup = usr/share/webapps/matomo/piwik.js
+ source = https://builds.matomo.org/matomo-3.5.1.tar.gz
+ source = https://builds.matomo.org/matomo-3.5.1.tar.gz.asc
+ validpgpkeys = 814E346FA01A20DBB04B6807B5DBD5925590A237
+ sha256sums = 86bfef7e4f93aa8c5094225502f8258addf1f6920f2459e9d22b867b4ed8a734
+ sha256sums = 4cf4763827ab09407a50ebc04b44e75f040beaeda0da74d454d6a27d19462dda
pkgname = matomo