/[smeserver]/rpms/e-smith-pptpd/sme7/e-smith-pptpd-1.12.0-misc.patch
ViewVC logotype

Contents of /rpms/e-smith-pptpd/sme7/e-smith-pptpd-1.12.0-misc.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 19:12:54 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-pptpd-1.12.0/createlinks mezzanine_patched_e-smith-pptpd-1.12.0/createlinks
2 --- e-smith-pptpd-1.12.0/createlinks 2006-03-15 14:44:34.000000000 -0500
3 +++ mezzanine_patched_e-smith-pptpd-1.12.0/createlinks 2006-03-21 15:46:45.000000000 -0500
4 @@ -50,6 +50,7 @@
5 safe_symlink("adjust", "root/etc/e-smith/events/$event/services2adjust/masq");
6 }
7
8 +event_link("clear-pptp-interfaces", "local", "50");
9
10 templates2events("/etc/rc.d/init.d/masq", qw(ip-up.pptpd ip-down));
11
12 diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces
13 --- e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces 1969-12-31 19:00:00.000000000 -0500
14 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/clear-pptp-interfaces 2006-03-21 15:45:55.000000000 -0500
15 @@ -0,0 +1,3 @@
16 +#! /bin/sh
17 +
18 +exec /sbin/e-smith/config delprop pptpd Interfaces
19 diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options
20 --- e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options 1969-12-31 19:00:00.000000000 -0500
21 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/lcp-echo-options 2006-03-21 15:48:10.000000000 -0500
22 @@ -0,0 +1,2 @@
23 +lcp-echo-interval 15
24 +lcp-echo-failure 4
25 diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink
26 --- e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink 2003-06-18 16:15:50.000000000 -0400
27 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/multilink 1969-12-31 19:00:00.000000000 -0500
28 @@ -1,4 +0,0 @@
29 -{# We don't know why, but it seems that enabling multilink
30 -# helps PPTP reliability - something to do with packet
31 -# fragmentation}
32 -multilink
33 diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive
34 --- e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive 2006-03-15 14:44:34.000000000 -0500
35 +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/templates/etc/ppp/options.pptpd/passive 2006-03-21 15:49:53.000000000 -0500
36 @@ -1 +1,4 @@
37 -passive
38 +{
39 + my $passive = $pptpd{Passive} || 'enabled';
40 + $OUT = ($passive eq 'enabled') ? "passive" : "# passive mode is disabled in db";
41 +}

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