]>
Commit | Line | Data |
---|---|---|
7ec23434 SP |
1 | --- otrs-3.2.1/bin/otrs.SetPermissions.pl 2013-01-24 11:21:14.000000000 +0100 |
2 | +++ otrs-3.2.1.new/bin/otrs.SetPermissions.pl 2013-01-29 12:39:39.175799680 +0100 | |
3 | @@ -82,7 +82,7 @@ | |
e6c276df SP |
4 | [--not-root] |
5 | <OTRS_HOME> | |
6 | ||
7 | -Try: otrs.SetPermissions.pl /opt/otrs | |
8 | +Try: otrs.SetPermissions.pl /usr/share/otrs | |
9 | EOF | |
10 | ||
11 | if ( $#ARGV < 0 ) { | |
7ec23434 SP |
12 | --- otrs-3.2.1/Kernel/Config/Defaults.pm 2013-01-17 10:06:52.000000000 +0100 |
13 | +++ otrs-3.2.1.new/Kernel/Config/Defaults.pm 2013-01-29 12:40:37.118464479 +0100 | |
14 | @@ -297,7 +297,7 @@ | |
e0dbed5e | 15 | # $Self->{'LogModule::SysLog::Charset'} = 'utf-8'; |
4af4f090 | 16 | |
e0dbed5e SP |
17 | # param for LogModule Kernel::System::Log::File (required!) |
18 | - $Self->{'LogModule::LogFile'} = '/tmp/otrs.log'; | |
19 | + $Self->{'LogModule::LogFile'} = '/var/log/otrs.log'; | |
4af4f090 | 20 | |
e0dbed5e SP |
21 | # param if the date (yyyy-mm) should be added as suffix to |
22 | # logfile [0|1] | |
7ec23434 | 23 | @@ -824,7 +824,7 @@ |
3a77af09 PG |
24 | # directories # |
25 | # --------------------------------------------------- # | |
26 | # root directory | |
e6c276df SP |
27 | - $Self->{Home} = '/opt/otrs'; |
28 | + $Self->{Home} = '/usr/share/otrs'; | |
3a77af09 PG |
29 | |
30 | # tmp dir | |
e6c276df | 31 | $Self->{TempDir} = '<OTRS_CONFIG_Home>/var/tmp'; |
7ec23434 | 32 | @@ -965,7 +965,7 @@ |
3a77af09 | 33 | # --------------------------------------------------- # |
e6c276df | 34 | $Self->{PGP} = 0; |
3a77af09 PG |
35 | $Self->{'PGP::Bin'} = '/usr/bin/gpg'; |
36 | - $Self->{'PGP::Options'} = '--homedir /opt/otrs/.gnupg/ --batch --no-tty --yes'; | |
37 | + $Self->{'PGP::Options'} = '--homedir /usr/share/otrs/.gnupg/ --batch --no-tty --yes'; | |
38 | ||
39 | # $Self->{'PGP::Options'} = '--batch --no-tty --yes'; | |
40 | # $Self->{'PGP::Key::Password'}->{'D2DF79FA'} = 1234; | |
7ec23434 SP |
41 | --- otrs-3.2.1/Kernel/Config/Files/Framework.xml 2013-01-03 10:12:36.000000000 +0100 |
42 | +++ otrs-3.2.1.new/Kernel/Config/Files/Framework.xml 2013-01-29 12:41:09.689962451 +0100 | |
43 | @@ -493,7 +493,7 @@ | |
e0dbed5e SP |
44 | <Group>Framework</Group> |
45 | <SubGroup>Core::Log</SubGroup> | |
46 | <Setting> | |
47 | - <String Regex="">/tmp/otrs.log</String> | |
7ec23434 | 48 | + <String Regex="">/usr/share/otrs.log</String> |
e0dbed5e SP |
49 | </Setting> |
50 | </ConfigItem> | |
51 | <ConfigItem Name="LogModule::LogFile::Date" Required="1" Valid="1"> | |
7ec23434 | 52 | @@ -2834,7 +2834,7 @@ |
3a77af09 PG |
53 | <Group>Framework</Group> |
54 | <SubGroup>Crypt::PGP</SubGroup> | |
55 | <Setting> | |
56 | - <String Regex="">--homedir /opt/otrs/.gnupg/ --batch --no-tty --yes</String> | |
7ec23434 | 57 | + <String Regex="">--homedir /usr/share/otrs/.gnupg/ --batch --no-tty --yes</String> |
3a77af09 PG |
58 | </Setting> |
59 | </ConfigItem> | |
60 | <ConfigItem Name="PGP::Key::Password" Required="1" Valid="1"> | |
7ec23434 SP |
61 | --- otrs-3.2.1/Kernel/Config.pm.dist 2012-11-22 12:43:05.000000000 +0100 |
62 | +++ otrs-3.2.1.new/Kernel/Config.pm.dist 2013-01-29 12:41:32.054324327 +0100 | |
63 | @@ -63,7 +63,7 @@ | |
e0dbed5e SP |
64 | # ---------------------------------------------------- # |
65 | # fs root directory | |
66 | # ---------------------------------------------------- # | |
67 | - $Self->{Home} = '/opt/otrs'; | |
68 | + $Self->{Home} = '/usr/share/otrs'; | |
f5f48d87 | 69 | |
e0dbed5e SP |
70 | # ---------------------------------------------------- # |
71 | # insert your own config settings "here" # | |
7ec23434 SP |
72 | --- otrs-3.2.1/scripts/apache2-httpd.include.conf 2013-01-17 10:06:55.000000000 +0100 |
73 | +++ otrs-3.2.1.new/scripts/apache2-httpd.include.conf 2013-01-29 12:42:41.307509300 +0100 | |
74 | @@ -3,8 +3,8 @@ | |
75 | # $Id: apache2-httpd.include.conf,v 1.27 2013/01/04 13:03:06 mg Exp $ | |
f5f48d87 PG |
76 | # -- |
77 | ||
f5f48d87 PG |
78 | -ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" |
79 | -Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" | |
80 | +ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" | |
81 | +Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/" | |
82 | ||
22da7cda SP |
83 | # activate this if you are using an Oracle database |
84 | #SetEnv ORACLE_HOME /path/to/your/oracle/ | |
7ec23434 | 85 | @@ -15,7 +15,7 @@ |
f5f48d87 PG |
86 | <IfModule mod_perl.c> |
87 | ||
7ec23434 | 88 | # Setup environment and preload modules |
f5f48d87 | 89 | - Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl |
7ec23434 | 90 | + Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl |
f5f48d87 | 91 | |
7ec23434 | 92 | # Reload Perl modules when changed on disk |
f5f48d87 | 93 | PerlModule Apache2::Reload |
7ec23434 SP |
94 | @@ -41,7 +41,7 @@ |
95 | ||
f5f48d87 PG |
96 | </IfModule> |
97 | ||
f5f48d87 PG |
98 | -<Directory "/opt/otrs/bin/cgi-bin/"> |
99 | +<Directory "/usr/share/otrs/bin/cgi-bin/"> | |
100 | AllowOverride None | |
101 | Options +ExecCGI -Includes | |
102 | Order allow,deny | |
7ec23434 SP |
103 | @@ -52,7 +52,7 @@ |
104 | </IfModule> | |
f5f48d87 | 105 | </Directory> |
7ec23434 | 106 | |
f5f48d87 PG |
107 | -<Directory "/opt/otrs/var/httpd/htdocs/"> |
108 | +<Directory "/usr/share/otrs/var/httpd/htdocs/"> | |
109 | AllowOverride None | |
110 | Order allow,deny | |
111 | Allow from all | |
7ec23434 | 112 | @@ -63,13 +63,13 @@ |
e6c276df SP |
113 | </Directory> |
114 | ||
115 | <IfModule mod_headers.c> | |
116 | - <Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache"> | |
117 | + <Directory "/usr/share/otrs/var/httpd/htdocs/skins/*/*/css-cache"> | |
118 | <FilesMatch "\.(css|CSS)$"> | |
119 | Header set Cache-Control "max-age=2592000 must-revalidate" | |
120 | </FilesMatch> | |
121 | </Directory> | |
122 | ||
22da7cda SP |
123 | - <Directory "/opt/otrs/var/httpd/htdocs/js/js-cache"> |
124 | + <Directory "/usr/share/otrs/var/httpd/htdocs/js/js-cache"> | |
e6c276df SP |
125 | <FilesMatch "\.(js|JS)$"> |
126 | Header set Cache-Control "max-age=2592000 must-revalidate" | |
127 | </FilesMatch> | |
7ec23434 SP |
128 | --- otrs-3.2.1/scripts/apache2-perl-startup.pl 2013-01-24 11:21:14.000000000 +0100 |
129 | +++ otrs-3.2.1.new/scripts/apache2-perl-startup.pl 2013-01-29 12:43:07.268703262 +0100 | |
130 | @@ -35,15 +35,15 @@ | |
131 | # set $0 to index.pl because this is broken in mod_perl context; | |
132 | # apart from that, on Fedora, $0 is not a path which would break OTRS. | |
133 | # see bug # 8533 | |
134 | - $0 = '/opt/otrs/bin/cgi-bin/index.pl'; | |
135 | + $0 = '/usr/share/otrs/bin/cgi-bin/index.pl'; | |
136 | } | |
137 | ||
138 | use Apache2::RequestRec; | |
e0dbed5e SP |
139 | use ModPerl::Util; |
140 | ||
e0dbed5e SP |
141 | -use lib "/opt/otrs/"; |
142 | -use lib "/opt/otrs/Kernel/cpan-lib"; | |
e6c276df | 143 | -use lib "/opt/otrs/Custom"; |
e0dbed5e | 144 | +use lib "/usr/share/otrs/"; |
e6c276df SP |
145 | +use lib "/usr/share/otrs/Kernel/cpan-lib"; |
146 | +use lib "/usr/share/otrs/Custom"; | |
e0dbed5e | 147 | |
7ec23434 SP |
148 | # Preload frequently used modules to speed up client spawning. |
149 | use CGI (); | |
7ec23434 SP |
150 | --- otrs-3.2.1/scripts/redhat-rcotrs-config 2012-10-11 09:11:09.000000000 +0200 |
151 | +++ otrs-3.2.1.new/scripts/redhat-rcotrs-config 2013-01-29 12:43:27.239621730 +0100 | |
bf325b97 SP |
152 | @@ -12,7 +12,7 @@ |
153 | # | |
154 | # OTRS home (root) directory | |
155 | # | |
156 | -OTRS_ROOT=/opt/otrs | |
157 | +OTRS_ROOT=/usr/share/otrs | |
158 | ||
159 | # if one of this is false, it will not be checked at the startup! | |
160 | # Note: (may be the database isn't on the same host! --> DB_RUNNING=0) | |
14be7800 SP |
161 | --- otrs-3.2.1.new/bin/Cron.sh 2013-01-31 09:29:55.308734799 +0100 |
162 | +++ otrs-3.2.1/bin/Cron.sh 2012-11-22 12:43:09.000000000 +0100 | |
163 | @@ -45,16 +45,16 @@ | |
164 | OTRS_HOME="`pwd`" | |
165 | cd - | |
166 | ||
167 | -#OTRS_ROOT=/usr/share/otrs | |
168 | -if test -e /etc/cron.d; then | |
169 | +#OTRS_ROOT=/opt/OpenTRS | |
170 | +if test -e $OTRS_HOME/var/cron; then | |
171 | OTRS_ROOT=$OTRS_HOME | |
172 | else | |
173 | - echo "No cronjobs in /etc/cron.d found!"; | |
174 | + echo "No cronjobs in $OTRS_HOME/var/cron found!"; | |
175 | echo " * Check the \$HOME (/etc/passwd) of the OTRS user. It must be the root dir of your OTRS system (e. g. /opt/otrs). "; | |
176 | exit 5; | |
177 | fi | |
178 | ||
179 | -CRON_DIR=/etc/cron.d | |
180 | +CRON_DIR=$OTRS_ROOT/var/cron | |
181 | CRON_TMP_FILE=$OTRS_ROOT/var/tmp/otrs-cron-tmp.$$ | |
182 | ||
183 | echo "Cron.sh - start/stop OTRS cronjobs - <\$Revision: 1.22 $> " |