Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > c386f2c367c57bd945c35da94243b8d8 > files > 8

squid-4.8-1.1.mga7.src.rpm

diff -Naurp squid-3.5.5/scripts/check_cache.pl squid-3.5.5.dlucio/scripts/check_cache.pl
--- squid-3.5.5/scripts/check_cache.pl	2015-05-28 07:06:38.000000000 -0400
+++ squid-3.5.5.dlucio/scripts/check_cache.pl	2015-06-21 15:06:56.725005378 -0400
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 #
 ## Copyright (C) 1996-2019 The Squid Software Foundation and contributors
 ##
@@ -35,7 +35,7 @@ if ($opt_h) {
 	exit;
 }
 
-$squidconf = $opt_c || "/usr/local/squid/etc/squid.conf";
+$squidconf = $opt_c || "/etc/squid/squid.conf";
 open (squidconf) || die "$squidconf: $!\n";
 $no_cachedir = 0;
 $swaplog = '';
@@ -54,7 +54,7 @@ while (<squidconf>) {
 	}
 }
 close (squidconf);
-push (@cachedir, '/usr/local/squid/cache') unless ($#cachedir > $[-1);
+push (@cachedir, '/usr/spool/squid') unless ($#cachedir > $[-1);
 $swaplog = $cachedir[0] . '/log' unless ($swaplog);
 $no_cachedir = $#cachedir + 1;
 print "$no_cachedir CACHE DIRS: ", join(' ', @cachedir), "\n" if ($opt_d);
diff -Naurp squid-3.5.5/scripts/fileno-to-pathname.pl squid-3.5.5.dlucio/scripts/fileno-to-pathname.pl
--- squid-3.5.5/scripts/fileno-to-pathname.pl	2015-05-28 07:06:38.000000000 -0400
+++ squid-3.5.5.dlucio/scripts/fileno-to-pathname.pl	2015-06-21 15:06:20.836947660 -0400
@@ -27,7 +27,7 @@ my @CD = ();
 my $SWAP_DIR_SHIFT=24;
 my $SWAP_FILE_MASK=0x00FFFFFF;
 
-my $CF = $opt_c || '/usr/local/squid/etc/squid.conf';
+my $CF = $opt_c || '/etc/squid/squid.conf';
 &usage unless (open (CF,"<$CF"));
 
 my $ncache_dirs = 0;