Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359301 - www-apps/piwik (New package)
Summary: www-apps/piwik (New package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 7 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://piwik.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 21:29 UTC by Sune Kloppenborg Jeppesen (RETIRED)
Modified: 2018-03-28 07:53 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
piwik-1.2.ebuild (piwik-1.2.ebuild,1.17 KB, text/plain)
2011-03-17 21:30 UTC, Sune Kloppenborg Jeppesen (RETIRED)
Details
files/installdoc.txt (installdoc.txt,710 bytes, text/plain)
2011-03-17 21:31 UTC, Sune Kloppenborg Jeppesen (RETIRED)
Details
piwik-1.2.1.ebuild (piwik-1.2.1.ebuild,1.02 KB, text/plain)
2011-03-18 06:49 UTC, Sune Kloppenborg Jeppesen (RETIRED)
Details
ebuild for piwik 1.2.1 (piwik-1.2.1-r1.ebuild,1.02 KB, text/plain)
2011-03-22 13:42 UTC, Momesso Andrea
Details
piwik-1.2.1.ebuild (piwik-1.2.1.ebuild,1.04 KB, text/plain)
2011-03-23 11:13 UTC, Momesso Andrea
Details
Update installdoc.txt to replace ` by ' (installdoc.txt,728 bytes, text/plain)
2011-03-31 14:46 UTC, INODE64 Sistemas
Details
piwik-1.3.ebuild (piwik-1.3.ebuild,1.04 KB, text/plain)
2011-04-18 13:22 UTC, Momesso Andrea
Details
piwik-1.4.ebuild (piwik-1.3.ebuild,1.04 KB, text/plain)
2011-05-02 16:43 UTC, Momesso Andrea
Details
piwik-1.5.ebuild (piwik-1.5.ebuild,1.04 KB, text/plain)
2011-06-22 11:16 UTC, Momesso Andrea
Details
piwik-1.5.1.ebuild (piwik-1.5.1.ebuild,1.04 KB, text/plain)
2011-07-11 13:20 UTC, Momesso Andrea
Details
piwik-1.6.ebuild (piwik-1.6.ebuild,1.04 KB, text/plain)
2011-10-18 04:22 UTC, Momesso Andrea
Details
piwik-1.6.ebuild (piwik-1.6.ebuild,1.10 KB, text/plain)
2011-12-10 15:18 UTC, Artem Sidorenko
Details
piwik-1.7.ebuild (piwik-1.7.ebuild,1.10 KB, text/plain)
2012-02-16 09:06 UTC, Momesso Andrea
Details
piwik-1.7.1.ebuild (piwik-1.7.1.ebuild,1.10 KB, text/plain)
2012-02-26 08:53 UTC, Momesso Andrea
Details
piwik-1.8.ebuild (piwik-1.8.ebuild,1.10 KB, text/plain)
2012-06-01 16:33 UTC, Momesso Andrea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2011-03-17 21:29:23 UTC
Piwik is a GPL'ed Google Analytics alternative.
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2011-03-17 21:30:23 UTC
Created attachment 266291 [details]
piwik-1.2.ebuild
Comment 2 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2011-03-17 21:31:14 UTC
Created attachment 266293 [details]
files/installdoc.txt
Comment 3 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2011-03-18 06:49:44 UTC
Created attachment 266327 [details]
piwik-1.2.1.ebuild
Comment 4 Momesso Andrea 2011-03-22 13:42:09 UTC
Created attachment 266859 [details]
ebuild for piwik 1.2.1

modified ebuild to remove require_php_with_use and to use useflags dependencies
Comment 5 Momesso Andrea 2011-03-23 11:13:53 UTC
Created attachment 266977 [details]
piwik-1.2.1.ebuild

Added missing PHP requirements (spl and reflection).

See http://dev.piwik.org/trac/ticket/1156
Comment 6 INODE64 Sistemas 2011-03-31 14:46:03 UTC
Created attachment 267983 [details]
Update installdoc.txt to replace ` by '

this show to install:

=================================================================
POST-INSTALL INSTRUCTIONS
=================================================================

To setup Piwik navigate to:
http://panel.inode64.com/

Install and upgrade instructions can be found here:
http://piwik.org/docs/installation-optimization/

For general information please read:
http://piwik.org/docs/

To setup a MySQL database modify the following SQL:
CREATE USER 'piwik'@'%' IDENTIFIED BY  'very_secret_password';

GRANT USAGE ON * . * TO  'piwik'@'%' IDENTIFIED BY  'very_secret_password' WITH
MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0
MAX_USER_CONNECTIONS 0 ;

CREATE DATABASE IF NOT EXISTS   ;

GRANT ALL PRIVILEGES ON   . * TO  'piwik'@'%';

You might want to retighten permissions on the config/ directory once you have
completed the setup.

=================================================================

and add flush!
Comment 7 Momesso Andrea 2011-04-18 13:22:52 UTC
Created attachment 270379 [details]
piwik-1.3.ebuild

Ebuild for newer version.
Comment 8 forrestfunk81 2011-04-19 15:08:52 UTC
With the 1.3 ebuild I get following error:

 * (server owned) htdocs/tmp
 * (server owned) htdocs/config
 * (server owned) htdocs/config/config.ini.sample.php
 * (server owned) htdocs/config/global.ini.php
 * (server owned) htdocs/config/manifest.inc.php
 * ebuild fault: file '/usr/local/portage/www-apps/piwik/files/installdoc.txt' not found
 * Please report this as a bug at http://bugs.gentoo.org/
 * ERROR: www-apps/piwik-1.3 failed (install phase):
 *   ebuild fault: file '/usr/local/portage/www-apps/piwik/files/installdoc.txt' not found
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 2916:  Called webapp_postinst_txt 'en' '/usr/local/portage/www-apps/piwik/files/installdoc.txt'
 *   environment, line 3708:  Called webapp_checkfileexists '/usr/local/portage/www-apps/piwik/files/installdoc.txt'
 *   environment, line 3511:  Called die
 * The specific snippet of code:
 *           die "$msg";
 *

There is no ${LOCAL_OVERLAY}/www-apps/piwik/files/ directory, thus now installdoc.txt
Comment 9 forrestfunk81 2011-04-19 15:20:18 UTC
Argh... Sorry, my fault. Overlooked the attachment.
Comment 10 Momesso Andrea 2011-05-02 16:43:28 UTC
Created attachment 271887 [details]
piwik-1.4.ebuild

Version 1.4 is out
Comment 11 Momesso Andrea 2011-06-22 11:16:19 UTC
Created attachment 277753 [details]
piwik-1.5.ebuild

Version 1.5 is out.

It contains many database schema changes so please be careful when running the Update script.
On large Piwik setups, make sure to run the Update Script from the Shell!
Comment 12 Momesso Andrea 2011-07-11 13:20:55 UTC
Created attachment 279771 [details]
piwik-1.5.1.ebuild

Minor bugfix release
Comment 13 Momesso Andrea 2011-10-18 04:22:36 UTC
Created attachment 290129 [details]
piwik-1.6.ebuild

New version 1.6 is out.
Comment 14 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2011-10-26 13:06:21 UTC
AFAIR for older PHP versions you need this:

--- piwik-1.6.ebuild.orig       2011-10-26 14:38:20.000000000 +0200
+++ piwik-1.6.ebuild    2011-10-26 14:39:42.000000000 +0200
@@ -16,5 +16,5 @@
 
 DEPEND=""
-RDEPEND="dev-lang/php[pdo,ctype,spl,reflection,xml]"
+RDEPEND="dev-lang/php[pdo,ctype,xml] || ( <dev-lang/php-5.3[spl,reflection] >=dev-lang/php-5.3 )"
Comment 15 Artem Sidorenko 2011-12-10 15:18:02 UTC
Created attachment 295377 [details]
piwik-1.6.ebuild

new ebuild with fix for php 5.3
Comment 16 Momesso Andrea 2012-02-16 09:06:05 UTC
Created attachment 302117 [details]
piwik-1.7.ebuild

Piwik 1.7 is a major upgrade, bringing many new features, security fixes, performance improvements, and many bug fixes and smaller improvements!
Comment 17 Mariusz Kozakowski 2012-02-17 18:14:35 UTC
Added to moonrise overlay. If someone wants to have it from overlay. I'll try to keep it up to date (as long as somebody post here new ebuild / write about new version).

https://github.com/Barthalion/moonrise/commit/181010e27f06bdcee21eb13f95bcb5111ee0a9b1
Comment 18 Momesso Andrea 2012-02-26 08:53:59 UTC
Created attachment 303289 [details]
piwik-1.7.1.ebuild

Piwik 1.7.1 is a minor release, bringing one new feature and resolving a few bugs.
Comment 19 Momesso Andrea 2012-06-01 16:33:22 UTC
Created attachment 313843 [details]
piwik-1.8.ebuild

Piwik 1.8 is a major release, bringing many new features, resolving many bugs, including security issues.
This release is rated critical.
Comment 20 Mariusz Kozakowski 2012-06-01 17:09:40 UTC
Bumped in moonrise.
Comment 21 A. Person 2012-07-04 07:07:17 UTC
piwik-1.8.2 was released on 06/03:

http://piwik.org/blog/2012/06/piwik-1-8-1/
Comment 22 A. Person 2012-08-13 07:43:23 UTC
OK I'm begging. :)
Comment 23 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2012-08-13 20:36:36 UTC
Just a simple bump, nothing changed: https://github.com/jaervosz/portage-overlay/blob/master/www-apps/piwik/piwik-1.8.2.ebuild
Comment 24 A. Person 2012-09-24 06:50:25 UTC
1.8.4 is out and reportedly included a major optimization.  Can the jaervosz overlay be added to layman?
Comment 25 Sergey Popov gentoo-dev 2012-09-24 09:38:06 UTC
(In reply to comment #24)
> Can the jaervosz overlay be added to layman?

Is there any request in bugzilla about it?
Comment 26 A. Person 2012-09-25 05:52:53 UTC
Yes. :)

https://bugs.gentoo.org/show_bug.cgi?id=436176
Comment 27 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2012-09-26 11:40:23 UTC
piwik-1.8.4 added.

Note I didn't add 1.8.3 since it failed to properly upgrade the db without manual intervention.
Comment 28 A. Person 2012-09-29 04:39:45 UTC
1.8.4 works great, thank you!
Comment 29 A. Person 2012-09-29 15:50:40 UTC
Are you interested in adding an ebuild for 1.9b?

http://forum.piwik.org/read.php?2,94310

There is a bug in 1.8.4 which prevents graphs from being generated.

http://dev.piwik.org/trac/ticket/3381
Comment 30 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2012-09-30 08:07:11 UTC
I just pushed 1.8.4-r1 to github it applies the patch you mention I hope it fixes your issue?

Regarding the 1.9b issue I'm not inclined yet to push it out. But I think it would work with the following slight modifications:

--- piwik-1.8.4.ebuild  2012-09-26 10:56:28.000000000 +0200
+++ piwik-1.9_beta5.ebuild      2012-09-30 10:03:10.000000000 +0200
@@ -9,5 +9,5 @@
 DESCRIPTION="Piwik is a downloadable, open source (GPL licensed) real time web analytics software program."
 HOMEPAGE="http://www.piwik.org/"
-SRC_URI="http://builds.piwik.org/piwik-${PV}.tar.gz"
+SRC_URI="http://builds.piwik.org/piwik-${PV/_beta/-b}.tar.gz"
 
 LICENSE="GPL-3"
Comment 31 A. Person 2012-10-01 04:39:10 UTC
Thanks but strangely enough, 1.8.4-r1 didn't fix my issue.  I will try 1.9b.
Comment 32 A. Person 2012-10-16 14:42:27 UTC
1.9 is out:

http://piwik.org/blog/2012/10/piwik-1-9/
Comment 33 A. Person 2012-10-25 12:48:56 UTC
Piwik 1.9.1 is out.  1.9.1 includes bug fixes reported since the release of 1.9:

http://piwik.org/blog/2012/10/piwik-1-9-1/
Comment 34 A. Person 2012-11-05 19:28:18 UTC
Just a reminder about the piwik bump.  I could really use that new version.  Thank you.
Comment 35 A. Person 2012-11-19 19:36:17 UTC
Renaming to 1.9.2 works if this line is commented:

webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
Comment 36 Jaak Ristioja 2012-11-27 12:50:36 UTC
Posting just in case:

"Backdoor found in Piwik analytics software"
http://www.h-online.com/open/news/item/Backdoor-found-in-Piwik-analytics-software-1757246.html
Comment 37 A. Person 2013-01-15 19:43:44 UTC
piwik-1.10 is out and renaming works.  I still have this ebuild line commented out:

webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
Comment 38 Leho Kraav (:macmaN @lkraav) 2013-05-28 10:28:16 UTC
Another Piwik user on board now
Comment 39 Leho Kraav (:macmaN @lkraav) 2013-05-28 12:50:19 UTC
1.11.1 installed without issues on top of jaervosz 1.8.4 ebuild
Comment 40 A. Person 2013-05-30 14:47:55 UTC
piwik-1.12 is out and renaming works fine.
Comment 41 A. Person 2013-12-17 17:35:37 UTC
piwik-2.0 is out and renaming works fine.
Comment 42 Leho Kraav (:macmaN @lkraav) 2014-03-04 10:45:54 UTC
Looks like 2.1 tarball isn't up yet, even though news item is.
Comment 43 A. Person 2014-03-04 13:46:47 UTC
Renaming to 2.1 works great.
Comment 44 A. Person 2014-04-17 16:16:37 UTC
Renaming to 2.2 works.
Comment 45 Jaak Ristioja 2018-02-07 13:28:57 UTC
Piwik is now called Matomo.

https://piwik.org/blog/2018/01/piwik-is-now-matomo/