Update to 0.4.5 and disable automatic updates.

This commit is contained in:
giovanni 2009-10-27 08:48:04 +00:00
parent 88a4ec1eb9
commit 380f9ea8e0
4 changed files with 35 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.13 2009/10/22 08:18:54 giovanni Exp $
# $OpenBSD: Makefile,v 1.14 2009/10/27 08:48:04 giovanni Exp $
COMMENT= open source web analytics software program
DISTNAME= piwik-0.4.4
DISTNAME= piwik-0.4.5
CATEGORIES= www
HOMEPAGE= http://www.piwik.org/
@ -31,6 +31,9 @@ RUN_DEPENDS= :php${PHP_VERSION}-gd-*:www/php${PHP_VERSION}/extensions,-gd \
:php${PHP_VERSION}-mysql-*:www/php${PHP_VERSION}/extensions,-mysql \
:php${PHP_VERSION}-pdo_mysql-*:www/php${PHP_VERSION}/extensions,-pdo_mysql
post-patch:
@find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
do-install:
@cp -Rp ${WRKDIST} ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}

View File

@ -1,5 +1,5 @@
MD5 (piwik-0.4.4.tar.gz) = ixjfVn5sXufmZqWdRp1R7g==
RMD160 (piwik-0.4.4.tar.gz) = JhDdkYNZA5ZCFqevyiL/26hLwYE=
SHA1 (piwik-0.4.4.tar.gz) = jL78sM55tpHqGj0KiItcSxSh40w=
SHA256 (piwik-0.4.4.tar.gz) = koeO6hFFQaVO0iMGHeQ+IgTB1Oa4vNUqbfNSVDfKuHo=
SIZE (piwik-0.4.4.tar.gz) = 2324358
MD5 (piwik-0.4.5.tar.gz) = 9JagH8ChubZEuWBroyy7rw==
RMD160 (piwik-0.4.5.tar.gz) = yVmMyyReJ8hSTmO5S6l1U4bPqZ4=
SHA1 (piwik-0.4.5.tar.gz) = cX1mbyRB/AQgtCWRenvhb5elv1M=
SHA256 (piwik-0.4.5.tar.gz) = k+EN0ogUJ2Bu3ipTOlOXxH2U2r0ORZFuSYpJJdprmho=
SIZE (piwik-0.4.5.tar.gz) = 2328035

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-core_PluginsManager_php,v 1.1 2009/10/27 08:48:04 giovanni Exp $
--- core/PluginsManager.php.orig Tue Oct 27 09:11:07 2009
+++ core/PluginsManager.php Tue Oct 27 09:11:22 2009
@@ -42,7 +42,7 @@ class Piwik_PluginsManager
protected $loadedPlugins = array();
protected $doLoadAlwaysActivatedPlugins = true;
- protected $pluginToAlwaysActivate = array( 'CoreHome', 'CoreUpdater', 'CoreAdminHome', 'CorePluginsAdmin' );
+ protected $pluginToAlwaysActivate = array( 'CoreHome', 'CoreAdminHome', 'CorePluginsAdmin' );
static private $instance = null;

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-plugins_CoreHome_templates_header_message_tpl,v 1.1 2009/10/27 08:48:04 giovanni Exp $
--- plugins/CoreHome/templates/header_message.tpl.orig Mon Oct 26 12:17:42 2009
+++ plugins/CoreHome/templates/header_message.tpl Mon Oct 26 12:17:53 2009
@@ -1,9 +1,6 @@
<span id="header_message">
{if $piwikUrl == 'http://piwik.org/demo/'}
{'General_YouAreCurrentlyViewingDemoOfPiwik'|translate:"<a target='_blank' href='http://piwik.org'>Piwik</a>":"<a href='http://piwik.org/'>":"</a>":"<a href='http://piwik.org'>piwik.org</a>"}
-{elseif $latest_version_available}
- <img src='themes/default/images/warning_small.png' alt='' style="vertical-align: middle;">
- {'General_PiwikXIsAvailablePleaseUpdateNow'|translate:$latest_version_available:"<br /><a href='index.php?module=CoreUpdater&action=newVersionAvailable'>":"</a>":"<a href='misc/redirectToUrl.php?url=http://piwik.org/changelog/' target='_blank'>":"</a>"}
{else}
{'General_PiwikIsACollaborativeProjectYouCanContribute'|translate:"<a href='misc/redirectToUrl.php?url=http://piwik.org'>":"$piwik_version</a>":"<br />":"<a target='_blank' href='misc/redirectToUrl.php?url=http://piwik.org/contribute/'>":"</a>"}
{/if}