1 --- otrs-3.2.1/bin/Cron.sh 2012-11-22 12:43:09.000000000 +0100
2 +++ otrs-3.2.1.new/bin/Cron.sh 2013-01-29 12:39:20.521608435 +0100
7 -#OTRS_ROOT=/opt/OpenTRS
8 +#OTRS_ROOT=/usr/share/otrs
9 if test -e $OTRS_HOME/var/cron; then
12 --- otrs-3.2.1/bin/otrs.SetPermissions.pl 2013-01-24 11:21:14.000000000 +0100
13 +++ otrs-3.2.1.new/bin/otrs.SetPermissions.pl 2013-01-29 12:39:39.175799680 +0100
18 -Try: otrs.SetPermissions.pl /opt/otrs
19 +Try: otrs.SetPermissions.pl /usr/share/otrs
23 --- otrs-3.2.1/Kernel/Config/Defaults.pm 2013-01-17 10:06:52.000000000 +0100
24 +++ otrs-3.2.1.new/Kernel/Config/Defaults.pm 2013-01-29 12:40:37.118464479 +0100
26 # $Self->{'LogModule::SysLog::Charset'} = 'utf-8';
28 # param for LogModule Kernel::System::Log::File (required!)
29 - $Self->{'LogModule::LogFile'} = '/tmp/otrs.log';
30 + $Self->{'LogModule::LogFile'} = '/var/log/otrs.log';
32 # param if the date (yyyy-mm) should be added as suffix to
36 # --------------------------------------------------- #
38 - $Self->{Home} = '/opt/otrs';
39 + $Self->{Home} = '/usr/share/otrs';
42 $Self->{TempDir} = '<OTRS_CONFIG_Home>/var/tmp';
44 # --------------------------------------------------- #
46 $Self->{'PGP::Bin'} = '/usr/bin/gpg';
47 - $Self->{'PGP::Options'} = '--homedir /opt/otrs/.gnupg/ --batch --no-tty --yes';
48 + $Self->{'PGP::Options'} = '--homedir /usr/share/otrs/.gnupg/ --batch --no-tty --yes';
50 # $Self->{'PGP::Options'} = '--batch --no-tty --yes';
51 # $Self->{'PGP::Key::Password'}->{'D2DF79FA'} = 1234;
52 --- otrs-3.2.1/Kernel/Config/Files/Framework.xml 2013-01-03 10:12:36.000000000 +0100
53 +++ otrs-3.2.1.new/Kernel/Config/Files/Framework.xml 2013-01-29 12:41:09.689962451 +0100
55 <Group>Framework</Group>
56 <SubGroup>Core::Log</SubGroup>
58 - <String Regex="">/tmp/otrs.log</String>
59 + <String Regex="">/usr/share/otrs.log</String>
62 <ConfigItem Name="LogModule::LogFile::Date" Required="1" Valid="1">
64 <Group>Framework</Group>
65 <SubGroup>Crypt::PGP</SubGroup>
67 - <String Regex="">--homedir /opt/otrs/.gnupg/ --batch --no-tty --yes</String>
68 + <String Regex="">--homedir /usr/share/otrs/.gnupg/ --batch --no-tty --yes</String>
71 <ConfigItem Name="PGP::Key::Password" Required="1" Valid="1">
72 --- otrs-3.2.1/Kernel/Config.pm.dist 2012-11-22 12:43:05.000000000 +0100
73 +++ otrs-3.2.1.new/Kernel/Config.pm.dist 2013-01-29 12:41:32.054324327 +0100
75 # ---------------------------------------------------- #
77 # ---------------------------------------------------- #
78 - $Self->{Home} = '/opt/otrs';
79 + $Self->{Home} = '/usr/share/otrs';
81 # ---------------------------------------------------- #
82 # insert your own config settings "here" #
83 --- otrs-3.2.1/scripts/apache2-httpd.include.conf 2013-01-17 10:06:55.000000000 +0100
84 +++ otrs-3.2.1.new/scripts/apache2-httpd.include.conf 2013-01-29 12:42:41.307509300 +0100
86 # $Id: apache2-httpd.include.conf,v 1.27 2013/01/04 13:03:06 mg Exp $
89 -ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
90 -Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
91 +ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/"
92 +Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
94 # activate this if you are using an Oracle database
95 #SetEnv ORACLE_HOME /path/to/your/oracle/
99 # Setup environment and preload modules
100 - Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
101 + Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
103 # Reload Perl modules when changed on disk
104 PerlModule Apache2::Reload
109 -<Directory "/opt/otrs/bin/cgi-bin/">
110 +<Directory "/usr/share/otrs/bin/cgi-bin/">
112 Options +ExecCGI -Includes
118 -<Directory "/opt/otrs/var/httpd/htdocs/">
119 +<Directory "/usr/share/otrs/var/httpd/htdocs/">
126 <IfModule mod_headers.c>
127 - <Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
128 + <Directory "/usr/share/otrs/var/httpd/htdocs/skins/*/*/css-cache">
129 <FilesMatch "\.(css|CSS)$">
130 Header set Cache-Control "max-age=2592000 must-revalidate"
134 - <Directory "/opt/otrs/var/httpd/htdocs/js/js-cache">
135 + <Directory "/usr/share/otrs/var/httpd/htdocs/js/js-cache">
136 <FilesMatch "\.(js|JS)$">
137 Header set Cache-Control "max-age=2592000 must-revalidate"
139 --- otrs-3.2.1/scripts/apache2-perl-startup.pl 2013-01-24 11:21:14.000000000 +0100
140 +++ otrs-3.2.1.new/scripts/apache2-perl-startup.pl 2013-01-29 12:43:07.268703262 +0100
142 # set $0 to index.pl because this is broken in mod_perl context;
143 # apart from that, on Fedora, $0 is not a path which would break OTRS.
145 - $0 = '/opt/otrs/bin/cgi-bin/index.pl';
146 + $0 = '/usr/share/otrs/bin/cgi-bin/index.pl';
149 use Apache2::RequestRec;
152 -use lib "/opt/otrs/";
153 -use lib "/opt/otrs/Kernel/cpan-lib";
154 -use lib "/opt/otrs/Custom";
155 +use lib "/usr/share/otrs/";
156 +use lib "/usr/share/otrs/Kernel/cpan-lib";
157 +use lib "/usr/share/otrs/Custom";
159 # Preload frequently used modules to speed up client spawning.
161 --- otrs-3.2.1/scripts/redhat-rcotrs-config 2012-10-11 09:11:09.000000000 +0200
162 +++ otrs-3.2.1.new/scripts/redhat-rcotrs-config 2013-01-29 12:43:27.239621730 +0100
165 # OTRS home (root) directory
168 +OTRS_ROOT=/usr/share/otrs
170 # if one of this is false, it will not be checked at the startup!
171 # Note: (may be the database isn't on the same host! --> DB_RUNNING=0)