packages: dokuwiki/dokuwiki.spec, dokuwiki/cliapps.patch (NEW) - set memory...

glen glen at pld-linux.org
Mon Aug 31 13:26:25 CEST 2009


Author: glen                         Date: Mon Aug 31 11:26:24 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- set memory limit and unify cli apps

---- Files affected:
packages/dokuwiki:
   dokuwiki.spec (1.53 -> 1.54) , cliapps.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/dokuwiki/dokuwiki.spec
diff -u packages/dokuwiki/dokuwiki.spec:1.53 packages/dokuwiki/dokuwiki.spec:1.54
--- packages/dokuwiki/dokuwiki.spec:1.53	Mon Aug  3 17:15:35 2009
+++ packages/dokuwiki/dokuwiki.spec	Mon Aug 31 13:26:19 2009
@@ -34,6 +34,7 @@
 Patch13:	%{name}-media-directlink.patch
 Patch14:	interwiki-outputonly.patch
 Patch15:	simplepie.patch
+Patch16:	cliapps.patch
 URL:		http://wiki.splitbrain.org/wiki:dokuwiki
 BuildRequires:	rpmbuild(macros) >= 1.520
 Requires:	geshi >= 1.0.7.19
@@ -107,6 +108,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 find -name _dummy | xargs rm
 rm -f lib/index.html lib/plugins/index.html
@@ -318,6 +320,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2009/08/31 11:26:19  glen
+- set memory limit and unify cli apps
+
 Revision 1.53  2009/08/03 15:15:35  glen
 - use system simplepie package; rel 6
 

================================================================
Index: packages/dokuwiki/cliapps.patch
diff -u /dev/null packages/dokuwiki/cliapps.patch:1.1
--- /dev/null	Mon Aug 31 13:26:25 2009
+++ packages/dokuwiki/cliapps.patch	Mon Aug 31 13:26:19 2009
@@ -0,0 +1,26 @@
+--- dokuwiki/bin/dwpage.php	2009-02-14 14:13:24.000000000 +0200
++++ dokuwiki/bin/dwpage.php	2009-08-07 15:09:50.000000000 +0300
+@@ -1,8 +1,9 @@
+ #!/usr/bin/php -d short_open_tag=on
+ <?php
+-#------------------------------------------------------------------------------
+ if ('cli' != php_sapi_name()) die();
+ 
++#------------------------------------------------------------------------------
++ini_set('memory_limit','128M');
+ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
+ require_once DOKU_INC.'inc/init.php';
+ require_once DOKU_INC.'inc/common.php';
+--- dokuwiki/bin/indexer.php	2009-02-14 14:13:24.000000000 +0200
++++ dokuwiki/bin/indexer.php	2009-08-07 15:04:00.000000000 +0300
+@@ -1,7 +1,9 @@
+-#!/usr/bin/php
++#!/usr/bin/php -d short_open_tag=on
+ <?php
+ if ('cli' != php_sapi_name()) die();
+ 
++#------------------------------------------------------------------------------
++ini_set('memory_limit','128M');
+ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
+ require_once(DOKU_INC.'inc/init.php');
+ require_once(DOKU_INC.'inc/common.php');
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki/dokuwiki.spec?r1=1.53&r2=1.54&f=u



More information about the pld-cvs-commit mailing list