lol

matomo: 3.7.0 -> 3.8.1 security update

+10 -10
+2 -2
pkgs/servers/web-apps/matomo/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "matomo-${version}"; 5 - version = "3.7.0"; 5 + version = "3.8.1"; 6 6 7 7 src = fetchurl { 8 8 # TODO: As soon as the tarballs are renamed as well on future releases, this should be enabled again 9 9 # url = "https://builds.matomo.org/${name}.tar.gz"; 10 10 url = "https://builds.matomo.org/piwik-${version}.tar.gz"; 11 - sha256 = "17ihsmwdfrx1c1v8cp5pc3swx3h0i0l9pjrc8jyww08kavfbfly6"; 11 + sha256 = "0ca4fkg2jpkfg0r9hxl45ad5xzz0gxhf404i96j059bn3c41kfi0"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+8 -8
pkgs/servers/web-apps/matomo/make-localhost-default-database-host.patch
··· 1 1 diff --git a/plugins/Installation/FormDatabaseSetup.php b/plugins/Installation/FormDatabaseSetup.php 2 - index 9364f49870..2625cbb91b 100644 2 + index 74de2535b4..bc172ad0eb 100644 3 3 --- a/plugins/Installation/FormDatabaseSetup.php 4 4 +++ b/plugins/Installation/FormDatabaseSetup.php 5 5 @@ -82,7 +82,7 @@ class FormDatabaseSetup extends QuickForm2 6 6 7 - // default values 8 - $this->addDataSource(new HTML_QuickForm2_DataSource_Array(array( 9 - - 'host' => '127.0.0.1', 10 - + 'host' => 'localhost', 11 - 'type' => $defaultDatabaseType, 12 - 'tables_prefix' => 'matomo_', 13 - ))); 7 + 8 + $defaults = array( 9 + - 'host' => '127.0.0.1', 10 + + 'host' => 'localhost', 11 + 'type' => $defaultDatabaseType, 12 + 'tables_prefix' => 'matomo_', 13 + );