]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-paths.patch
up to 3.0.3-20-g10ba91f; package config symlink to have less patching
[packages/eventum.git] / eventum-paths.patch
CommitLineData
f3f4d4af
ER
1--- eventum-3.0.2-28-g0d12f69.old/init.php 2015-09-14 13:20:59.450996838 +0300
2+++ eventum-3.0.2-28-g0d12f69/init.php 2015-09-11 23:17:34.000000000 +0300
7a906e31 3@@ -78,7 +78,7 @@
31dabce6 4 }
6c5cabb4 5
ae3e48e6
ER
6 if (!defined('APP_TPL_COMPILE_PATH')) {
7- define('APP_TPL_COMPILE_PATH', APP_PATH . '/templates_c');
8+ define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
31dabce6 9 }
9ff5b0e3 10
ae3e48e6 11 if (!defined('APP_INC_PATH')) {
f3f4d4af 12@@ -86,11 +86,11 @@
31dabce6 13 }
3955d156 14
31dabce6 15 if (!defined('APP_LOCKS_PATH')) {
ae3e48e6 16- define('APP_LOCKS_PATH', APP_PATH . '/locks');
31dabce6
ER
17+ define('APP_LOCKS_PATH', '/var/run/eventum/');
18 }
3955d156 19
31dabce6 20 if (!defined('APP_LOG_PATH')) {
ae3e48e6
ER
21- define('APP_LOG_PATH', APP_PATH . '/logs');
22+ define('APP_LOG_PATH', '/var/log/eventum');
31dabce6 23 }
3955d156 24
f3f4d4af 25 if (!defined('APP_ERROR_LOG')) {
7a906e31
ER
26--- eventum-3.0.0/htdocs/setup/index.php~ 2015-02-02 20:03:49.507010317 +0200
27+++ eventum-3.0.0/htdocs/setup/index.php 2015-02-02 20:05:00.139257552 +0200
28@@ -44,10 +44,10 @@
29 define('APP_CONFIG_PATH', APP_PATH . '/config');
ae3e48e6
ER
30 define('APP_SETUP_FILE', APP_CONFIG_PATH . '/setup.php');
31 define('APP_TPL_PATH', APP_PATH . '/templates');
32-define('APP_TPL_COMPILE_PATH', APP_PATH . '/templates_c');
33-define('APP_LOG_PATH', APP_PATH . '/logs');
31dabce6 34+define('APP_TPL_COMPILE_PATH', '/var/cache/eventum');
ae3e48e6
ER
35+define('APP_LOG_PATH', '/var/log/eventum');
36 define('APP_ERROR_LOG', APP_LOG_PATH . '/errors.log');
37-define('APP_LOCKS_PATH', APP_PATH . '/locks');
38+define('APP_LOCKS_PATH', '/var/run/eventum');
7a906e31 39 define('APP_LOCAL_PATH', APP_CONFIG_PATH);
31dabce6 40
ae3e48e6 41 header('Content-Type: text/html; charset=' . APP_CHARSET);
899100ff
ER
42@@ -254,10 +254,6 @@
43 $errors[] = "The 'file_uploads' directive needs to be enabled in your PHP.INI file in order for Eventum to work properly.";
452347b6 44 }
abac5638 45
899100ff 46- $error = checkPermissions(APP_CONFIG_PATH, "Directory '" . APP_CONFIG_PATH . "'", true);
31dabce6
ER
47- if (!empty($error)) {
48- $errors[] = $error;
49- }
098cbb72 50 $error = checkPermissions(APP_SETUP_FILE, "File '" . APP_SETUP_FILE. "'");
31dabce6
ER
51 if (!empty($error)) {
52 $errors[] = $error;
37f06e5c
ER
53--- eventum-3.0.3-13-gfefa325/irc/eventum-irc-bot.php~ 2015-10-13 20:00:48.000000000 +0300
54+++ eventum-3.0.3-13-gfefa325/irc/eventum-irc-bot.php 2015-10-13 23:33:33.408818382 +0300
55@@ -31,7 +31,7 @@
b33d41f0
ER
56
57 ini_set('memory_limit', '1024M');
58
37f06e5c 59-require_once __DIR__ . '/../init.php';
b33d41f0
ER
60+require_once '/usr/share/eventum/init.php';
61
62 if (!file_exists(APP_CONFIG_PATH . '/irc_config.php')) {
63 fwrite(STDERR, "ERROR: No config specified. Please see setup/irc_config.php for config information.\n\n");
7a906e31
ER
64--- eventum/bin/monitor.php 2010-11-24 17:24:23.000000000 +0200
65+++ eventum/bin/monitor.php 2010-11-24 18:23:09.664934996 +0200
97f6bb1b
ER
66@@ -37,17 +37,17 @@
67 $required_files = array(
68 APP_CONFIG_PATH . '/config.php' => array(
69 'check_owner' => true,
70- 'owner' => 'apache',
71+ 'owner' => 'root',
72 'check_group' => true,
73- 'group' => 'apache',
74+ 'group' => 'http',
75 'check_permission' => true,
76 'permission' => 640,
77 ),
78 APP_CONFIG_PATH . '/setup.php' => array(
79 'check_owner' => true,
80- 'owner' => 'apache',
81+ 'owner' => 'root',
82 'check_group' => true,
83- 'group' => 'apache',
84+ 'group' => 'http',
85 'check_permission' => true,
86 'permission' => 660,
87 'check_filesize' => true,
37f06e5c
ER
88--- eventum-3.0.3-13-gfefa325/config/sphinx.conf.php~ 2015-10-13 20:00:48.000000000 +0300
89+++ eventum-3.0.3-13-gfefa325/config/sphinx.conf.php 2015-10-13 23:34:19.668134549 +0300
73de38a1
ER
90@@ -26,7 +26,7 @@
91 // | Authors: Bryan Alsdorf <bryan@mysql.com> |
92 // | Authors: Elan Ruusamäe <glen@delfi.ee> |
93 // +----------------------------------------------------------------------+
37f06e5c 94-require_once __DIR__ . "/../init.php";
858c6f2a
ER
95+require_once '/usr/share/eventum/init.php';
96
97 if (!defined('SPHINX_LOG_PATH')) {
98 define('SPHINX_LOG_PATH', '/var/log/sphinx/');
This page took 0.084197 seconds and 4 git commands to generate.