packages: cakephp/cakephp.spec, cakephp/config.patch (NEW) - allow LOGS/CAC...
glen
glen at pld-linux.org
Tue Nov 17 16:59:27 CET 2009
Author: glen Date: Tue Nov 17 15:59:27 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- allow LOGS/CACHE constants from application side
---- Files affected:
packages/cakephp:
cakephp.spec (1.2 -> 1.3) , config.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/cakephp/cakephp.spec
diff -u packages/cakephp/cakephp.spec:1.2 packages/cakephp/cakephp.spec:1.3
--- packages/cakephp/cakephp.spec:1.2 Mon Nov 16 13:31:57 2009
+++ packages/cakephp/cakephp.spec Tue Nov 17 16:59:21 2009
@@ -1,13 +1,16 @@
# $Revision$, $Date$
+# TODO
+# - SimpleTest dependency for -tests: http://simpletest.org/en/download.html
Summary: OpenSource Rapid Development PHP Framework
Name: cakephp
Version: 1.2.1.8004
-Release: 0.4
+Release: 0.5
License: MIT
Group: Development/Languages/PHP
Source0: http://cakeforge.org/frs/download.php/697/cake_%{version}.tar.bz2/donation=%{name}-%{version}.tar.bz2
# Source0-md5: 0d01d1bc4e2df9ccf82130a838b06dd6
Patch0: console.patch
+Patch1: config.patch
URL: http://www.cakephp.org/
BuildRequires: rpmbuild(macros) >= 1.461
Requires: php-common
@@ -61,6 +64,7 @@
%prep
%setup -q -n cake_%{version}
%patch0 -p1
+%patch1 -p1
mv cake/{LICENSE,VERSION}.txt .
rm cake/console/cake.bat
@@ -103,6 +107,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/11/17 15:59:21 glen
+- allow LOGS/CACHE constants from application side
+
Revision 1.2 2009/11/16 12:31:57 glen
- subpackages for -console, -tests, -demo
================================================================
Index: packages/cakephp/config.patch
diff -u /dev/null packages/cakephp/config.patch:1.1
--- /dev/null Tue Nov 17 16:59:27 2009
+++ packages/cakephp/config.patch Tue Nov 17 16:59:21 2009
@@ -0,0 +1,18 @@
+--- cake_1.2.1.8004/cake/config/paths.php~ 2009-11-16 18:02:02.000000000 +0200
++++ cake_1.2.1.8004/cake/config/paths.php 2009-11-17 17:48:12.232914111 +0200
+@@ -156,11 +156,15 @@
+ /**
+ * Path to the logs directory.
+ */
++if (!defined('LOGS')) {
+ define('LOGS', TMP.'logs'.DS);
++}
+ /**
+ * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
+ */
++if (!defined('CACHE')) {
+ define('CACHE', TMP.'cache'.DS);
++}
+ /**
+ * Path to the vendors directory.
+ */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cakephp/cakephp.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list