]> git.pld-linux.org Git - packages/rt.git/blobdiff - rt-config.patch
- up to 4.2.12; fixes XSS - CVE-2015-5475
[packages/rt.git] / rt-config.patch
index 6c77e4f37148f0ec07f9292cc95b77a0ec35dd0b..4a5a8751ee3081b8ae6733083ccd0ac3886ead72 100644 (file)
@@ -1,12 +1,22 @@
-diff -urN rt-3.4.5.org/bin/webmux.pl.in rt-3.4.5/bin/webmux.pl.in
---- rt-3.4.5.org/bin/webmux.pl.in      2005-08-24 04:33:47.000000000 +0200
-+++ rt-3.4.5/bin/webmux.pl.in  2006-06-06 14:37:37.330487213 +0200
-@@ -62,7 +62,7 @@
+--- rt-4.2.0/sbin/rt-server.in~        2013-09-27 23:02:34.000000000 +0200
++++ rt-4.2.0/sbin/rt-server.in 2013-10-09 14:33:23.247981874 +0200
+@@ -61,7 +61,7 @@
+ BEGIN { # BEGIN RT CMD BOILERPLATE
+     require File::Spec;
+     require Cwd;
+-    my @libs = ("@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
++    my @libs = ("/etc/rt/", "@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
+     my $bin_path;
  
- }
+     for my $lib (@libs) {
+--- rt-4.2.2/sbin/rt-setup-database.in~        2014-01-08 21:31:41.000000000 +0100
++++ rt-4.2.2/sbin/rt-setup-database.in 2014-02-16 22:21:02.542677355 +0100
+@@ -414,7 +414,7 @@
  
--use lib ( "@LOCAL_LIB_PATH@", "@RT_LIB_PATH@" );
-+use lib ( "/etc/rt3/", "@LOCAL_LIB_PATH@", "@RT_LIB_PATH@" );
- use RT;
+ sub action_upgrade {
+     my %args = @_;
+-    my $base_dir = $args{'datadir'} || "./etc/upgrade";
++    my $base_dir = $args{'datadir'} || "/etc/rt/upgrade";
+     return (0, "Couldn't read dir '$base_dir' with upgrade data")
+         unless -d $base_dir || -r _;
  
- package RT::Mason;
This page took 0.08289 seconds and 4 git commands to generate.