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

Contents of /rpms/e-smith-proxy/sme8/e-smith-proxy-4.14.0-AddWpadFeature.patch

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


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

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-proxy-4.14.0/createlinks mezzanine_patched_e-smith-proxy-4.14.0/createlinks
2 --- e-smith-proxy-4.14.0/createlinks 2007-11-02 21:57:00.000000000 +0000
3 +++ mezzanine_patched_e-smith-proxy-4.14.0/createlinks 2007-11-02 21:56:30.000000000 +0000
4 @@ -27,6 +27,7 @@
5
6 templates2events("/etc/rc.d/init.d/masq", "proxy-update");
7 templates2events("/etc/crontab", "proxy-update");
8 +templates2events("/etc/dhcpd.conf", "proxy-update");
9 safe_symlink("adjust", "root/etc/e-smith/events/proxy-update/services2adjust/masq");
10
11 # Daemontools links.
12 diff -Nur -x '*.orig' -x '*.rej' e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/11wpad mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/11wpad
13 --- e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/11wpad 1970-01-01 01:00:00.000000000 +0100
14 +++ mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/11wpad 2007-11-02 21:40:41.000000000 +0000
15 @@ -0,0 +1,2 @@
16 +option wpad-url code 252 = text;
17 +
18 diff -Nur -x '*.orig' -x '*.rej' e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/26wpad mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/26wpad
19 --- e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/26wpad 1970-01-01 01:00:00.000000000 +0100
20 +++ mezzanine_patched_e-smith-proxy-4.14.0/root/etc/e-smith/templates/etc/dhcpd.conf/26wpad 2007-11-02 21:51:51.000000000 +0000
21 @@ -0,0 +1,15 @@
22 +{
23 + my $transproxy = $squid{Transparent} || "yes";
24 + my $status = $squid{status} || "disabled";
25 + if ($transproxy eq "yes" && $status eq "enabled")
26 +
27 + {
28 +
29 + $OUT .= 'option wpad-url "http://wpad.yourproxy.you/proxy.pac";';
30 +}
31 + else
32 + {
33 + $OUT .= '# wpad-url disabled';
34 + }
35 +}
36 +

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