/[smeserver]/rpms/e-smith-proxy/sme8/e-smith-proxy-4.14.0-squid26.patch
ViewVC logotype

Annotation of /rpms/e-smith-proxy/sme8/e-smith-proxy-4.14.0-squid26.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 19:14:44 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/10HTTPPort mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/10HTTPPort
2     --- e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/10HTTPPort 2007-12-20 15:10:07.000000000 -0700
3     +++ mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/10HTTPPort 2007-12-20 15:09:47.000000000 -0700
4     @@ -1,4 +1,11 @@
5     {
6     - $OUT .= "http_port $LocalIP:" . ($squid{TCPPort} || '3128') . "\n";
7     - $OUT .= "http_port 127.0.0.1:" . ($squid{TCPPort} || '3128');
8     + my $transproxy = db_get_prop($confref, 'squid', 'Transparent') || "yes";
9     +
10     + if ($transproxy eq 'yes') {
11     + $OUT .= "http_port $LocalIP:" . ($squid{TCPPort} || '3128') . " transparent\n";
12     + $OUT .= "http_port 127.0.0.1:" . ($squid{TCPPort} || '3128') . ' transparent';
13     + } else {
14     + $OUT .= "http_port $LocalIP:" . ($squid{TCPPort} || '3128') . "\n";
15     + $OUT .= "http_port 127.0.0.1:" . ($squid{TCPPort} || '3128');
16     + }
17     }
18     diff -Nur -x '*.orig' -x '*.rej' e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/50-transproxy mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/50-transproxy
19     --- e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/50-transproxy 2002-04-19 10:45:31.000000000 -0600
20     +++ mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/50-transproxy 1969-12-31 17:00:00.000000000 -0700
21     @@ -1,12 +0,0 @@
22     -{
23     - my $transproxy = db_get_prop($confref, 'squid', 'Transparent') || "yes";
24     - $OUT = '';
25     - return unless ($transproxy eq "yes");
26     -
27     -# These squid settings set up transparent proxying - as
28     -# long as a packet redirector is also set up to forward
29     -# port 80 TCP connections into squid.
30     - $OUT .= "
31     -httpd_accel_host virtual
32     -httpd_accel_with_proxy on
33     -httpd_accel_uses_host_header on" ; }
34     diff -Nur -x '*.orig' -x '*.rej' e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/24Logfile mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/24Logfile
35     --- e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/24Logfile 1969-12-31 17:00:00.000000000 -0700
36     +++ mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/squid/squid.conf/24Logfile 2007-12-20 15:55:16.000000000 -0700
37     @@ -0,0 +1 @@
38     +access_log /var/log/squid/access.log squid

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed