]> git.pld-linux.org Git - packages/cakephp.git/commitdiff
- allow LOGS/CACHE constants from application side master
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Nov 2009 15:59:21 +0000 (15:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cakephp.spec -> 1.3
    config.patch -> 1.1

cakephp.spec
config.patch [new file with mode: 0644]

index 88a0e70930cb0790c771516a0e4242ad0564ba9a..233358b684f91d334105b3cc7c4061a9ad6c390a 100644 (file)
@@ -1,12 +1,15 @@
+# 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
@@ -60,6 +63,7 @@ Pliki demonstracyjne i przykłady dla pakietu CakePHP.
 %prep
 %setup -q -n cake_%{version}
 %patch0 -p1
+%patch1 -p1
 
 mv cake/{LICENSE,VERSION}.txt .
 rm cake/console/cake.bat
diff --git a/config.patch b/config.patch
new file mode 100644 (file)
index 0000000..c260306
--- /dev/null
@@ -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.
+  */
This page took 0.087653 seconds and 4 git commands to generate.