Changeset 32463


Ignore:
Timestamp:
2012-06-19T19:03:24+02:00 (6 years ago)
Author:
jow
Message:

[package] ppp: annotate most patches with description and S-o-b

Location:
trunk/package/ppp/patches
Files:
1 added
1 deleted
26 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ppp/patches/010-use_target_for_configure.patch

    r15958 r32463  
     1configure: Allow overriding uname results 
    12 
    2         Use values exported from $(TOPDIR)/rules.mk for determining 
    3         the target system instead of the host configuration 
     3In a cross compile setting it makes no sense to rely on the "uname" values 
     4reported by the build host system. This patch allows overriding the 
     5"uname -r", "uname -s" and "uname -m" results with the "UNAME_R", "UNAME_S" 
     6and "UNAME_M" environment variables. 
     7 
     8Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
    49 
    510--- a/configure 
  • trunk/package/ppp/patches/100-debian_ip-ip_option.patch

    r27818 r32463  
     1pppd: Allow specifying ip-up and ip-down scripts 
     2 
     3This patch implements the "ip-up-script" and "ip-down-script" options which 
     4allow to specify the path of the ip-up and ip-down scripts to call. 
     5 
     6These options default to _PATH_IPUP and _PATH_IPDOWN to retain the  
     7existing behaviour. 
     8 
     9The patch originated from the Debian project. 
     10 
     11Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     12 
    113--- a/pppd/ipcp.c 
    214+++ b/pppd/ipcp.c 
  • trunk/package/ppp/patches/101-debian_close_dev_ppp.patch

    r15958 r32463  
     1pppd: Close already open ppp descriptors 
     2 
     3When using the kernel PPPoE driver in conjunction with the "persist" option, 
     4the already open descriptor to /dev/ppp is not closed when the link is 
     5reestablished. This eventually leads to high CPU load because the stray  
     6descriptors are always reported as ready by select(). 
     7 
     8This patch closes the descriptor if it is already open when establishing a 
     9new connection. It originated from the Debian project. 
     10 
     11Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     12 
    113--- a/pppd/sys-linux.c 
    214+++ b/pppd/sys-linux.c 
  • trunk/package/ppp/patches/103-debian_fix_link_pidfile.patch

    r27818 r32463  
     1pppd: Fix creation of linkpidfile 
     2 
     3When pppd is run without "nodetach" or with "updetach", the linkpidfile is 
     4never created. The call to create_linkpidfile() is protected by a check for 
     5linkpidfile[0] but this is only filled in when create_linkpidfile() is called. 
     6 
     7This patch changes to code to allways uncondiationally call 
     8create_linkpidfile(), it originated from the Debian project. 
     9 
     10Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     11 
    112--- a/pppd/main.c 
    213+++ b/pppd/main.c 
  • trunk/package/ppp/patches/106-debian_stripMSdomain.patch

    r27818 r32463  
     1pppd: Implement option to strip domain part from MS CHAP response 
     2 
     3This patch implements a new boolean option "chapms-strip-domain" which 
     4strips the leading domain part of the username in a received MS Chap 
     5response. 
     6 
     7When the option is set, all leading chars up to and including the last 
     8backslash in the username are stripped. The option defaults to false. 
     9 
     10The patch originated from the Debian project. 
     11 
     12Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     13 
    114--- a/pppd/chap-new.c 
    215+++ b/pppd/chap-new.c 
  • trunk/package/ppp/patches/110-debian_defaultroute.patch

    r27818 r32463  
     1pppd: Add "replacedefaultroute" and "noreplacedefaultroute" options 
     2 
     3This patch implements two new options, "replacedefaultroute" to replace any 
     4existing system default route when specified and "noreplacedefaultroute" to 
     5disable the "replacedefaultroute" option, which is useful in multi user 
     6environments where the administrator wants to allow users to dial pppd 
     7connections but not allow them to change the system default route. 
     8 
     9The patch originated from the Debian project. 
     10 
     11Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     12 
    113--- a/pppd/ipcp.c 
    214+++ b/pppd/ipcp.c 
  • trunk/package/ppp/patches/120-debian_ipv6_updown_option.patch

    r31514 r32463  
     1pppd: Allow specifying ipv6-up and ipv6-down scripts 
     2 
     3This patch implements the "ipv6-up-script" and "ipv6-down-script" options 
     4which allow to specify the path of the ipv6-up and ipv6-down scripts to call. 
     5 
     6These options default to _PATH_IPV6UP and _PATH_IPV6DOWN to retain the 
     7existing behaviour. 
     8 
     9The patch originated from the Debian project. 
     10 
     11Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     12 
    113--- a/pppd/main.c 
    214+++ b/pppd/main.c 
  • trunk/package/ppp/patches/200-makefile.patch

    r19811 r32463  
     1pppd: tune Linux config defaults for OpenWrt 
     2 
     3This patch adjusts a number defaults to properly match the OpenWrt environment. 
     4It is not intended for upstream. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/pppd/Makefile.linux 
    29+++ b/pppd/Makefile.linux 
  • trunk/package/ppp/patches/201-mppe_mppc_1.1.patch

    r27818 r32463  
     1pppd: add support for MPPE and MPPC encryption and compression protocols 
     2 
     3This is a forward ported version of ppp-2.4.3-mppe-mppc-1.1.patch.gz found on 
     4http://mppe-mppc.alphacron.de/ . 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/include/linux/ppp-comp.h 
    29+++ b/include/linux/ppp-comp.h 
  • trunk/package/ppp/patches/202-no_strip.patch

    r27818 r32463  
     1build: Do not strip binaries on install 
     2 
     3Strippign executables should be handled by the distro packaging, not by ppp 
     4itself. This patch removes the "-s" (strip) switch from all "install" commands 
     5in order to install unstripped binaries into the destination prefix. 
     6 
     7Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     8 
    19--- a/chat/Makefile.linux 
    210+++ b/chat/Makefile.linux 
  • trunk/package/ppp/patches/203-opt_flags.patch

    r15958 r32463  
     1build: Move optimization flags into a separate variable 
     2 
     3Isolate optimization related compiler flags from CFLAGS and move them into a 
     4separate COPTS variable so that it is easier to override optimizations from 
     5the environment. 
     6 
     7Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     8 
    19--- a/pppd/plugins/radius/Makefile.linux 
    210+++ b/pppd/plugins/radius/Makefile.linux 
  • trunk/package/ppp/patches/205-no_exponential_timeout.patch

    r27818 r32463  
     1pppd: Don't use exponential timeout in discovery phase 
     2 
     3This patch removes the exponential timeout increase between PADO or PADS 
     4discovery attempts. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/pppd/plugins/rp-pppoe/discovery.c 
    29+++ b/pppd/plugins/rp-pppoe/discovery.c 
  • trunk/package/ppp/patches/206-compensate_time_change.patch

    r28497 r32463  
     1pppd: Watch out for time warps 
     2 
     3On many embedded systems there is no battery backed RTC and a proper system 
     4time only becomes available through NTP after establishing a connection. 
     5 
     6When the clock suddenly jumps forward, the internal accounting (connect time) 
     7is confused resulting in unreliable data. 
     8 
     9This patch implements periodic clock checking to look for time warps, if one 
     10is detected, the internal counters are adjusted accordingly. 
     11 
     12Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     13 
    114--- a/pppd/main.c 
    215+++ b/pppd/main.c 
  • trunk/package/ppp/patches/207-lcp_mtu_max.patch

    r15958 r32463  
     1pppd: Cap MTU to the user configured value 
     2 
     3This patchs caps the calculated MTU value in lcp.c to the user specified "mru" 
     4option value. Without this patch pppd would advertise a different MTU value 
     5compared to what is set on the local interface in some cases. 
     6 
     7Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     8 
    19--- a/pppd/lcp.c 
    210+++ b/pppd/lcp.c 
  • trunk/package/ppp/patches/208-fix_status_code.patch

    r28498 r32463  
     1pppd: Do not clobber exit codes on hangup 
     2 
     3When a modem hangup occurs, pppd unconditionally sets the exit status code 
     4to EXIT_HANGUP. This patch only sets EXIT_HANGUP if the exit status code is 
     5not already set to an error value. 
     6 
     7The motiviation of this patch is to allow applications which remote control 
     8pppd to react properly on errors, e.g. only redial (relaunch pppd) if there 
     9was a hangup, but not if the CHAP authentication failed. 
     10 
     11Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     12 
    113--- a/pppd/main.c 
    214+++ b/pppd/main.c 
  • trunk/package/ppp/patches/300-filter-pcap-includes-lib.patch

    r15958 r32463  
     1build: Add required CFLAGS for libpcap 
     2 
     3This patch adds some flags to required to properly link libpcap within the 
     4OpenWrt environment. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/pppd/Makefile.linux 
    29+++ b/pppd/Makefile.linux 
  • trunk/package/ppp/patches/310-precompile_filter.patch

    r28497 r32463  
     1pppd: Implement support for precompiled pcap filters 
     2 
     3This patch implements support for precompiled pcap filters which is useful to 
     4support dial-on-demand on memory constrained embedded devices without having 
     5to link the full libpcap into pppd to generate the filters during runtime. 
     6 
     7Two new options are introduced; "precompiled-pass-filter" specifies a pre- 
     8compiled filter file containing rules to match packets which should be passed, 
     9"precompiled-active-filter" specifies a filter file containing rules to match 
     10packets which are treated as active. 
     11 
     12Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     13 
    114--- a/pppd/Makefile.linux 
    215+++ b/pppd/Makefile.linux 
  • trunk/package/ppp/patches/320-custom_iface_names.patch

    r28497 r32463  
     1pppd: Support arbitrary interface names 
     2 
     3This patch implements a new string option "ifname" which allows to specify 
     4fully custom PPP interface names on Linux. It does so by renaming the 
     5allocated pppX device immediately after it has been created to the requested 
     6interface name. 
     7 
     8Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     9 
    110--- a/pppd/main.c 
    211+++ b/pppd/main.c 
  • trunk/package/ppp/patches/330-retain_foreign_default_routes.patch

    r27818 r32463  
     1pppd: Retain foreign default routes on Linux 
     2 
     3On Linux, when pppd attempts to delete its default route it does not fill 
     4the rt_dev field of the struct rtentry used to match the system default route. 
     5As a consequence, pppd happily deletes any default route even if it belongs 
     6to another interface. 
     7 
     8This patch makes pppd fill out the rt_dev field so that only own default 
     9routes are ever matched. 
     10 
     11Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     12 
    113--- a/pppd/sys-linux.c 
    214+++ b/pppd/sys-linux.c 
  • trunk/package/ppp/patches/340-populate_default_gateway.patch

    r27818 r32463  
     1pppd: Fill in default gateway on Linux 
     2 
     3On Linux, when pppd creates the default route, it does not set the peer 
     4address as gateway, leading to a default route without gateway address. 
     5 
     6This behaviour breaks various downstream programs which attempt to infer 
     7the default gateway IP address from the system default route entry. 
     8 
     9This patch addresses the issue by filling in the peer address as gateway 
     10when generating the default route entry. 
     11 
     12Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     13 
    114--- a/pppd/sys-linux.c 
    215+++ b/pppd/sys-linux.c 
  • trunk/package/ppp/patches/400-simplify_kernel_checks.patch

    r31564 r32463  
     1pppd: Remove runtime kernel checks 
     2 
     3On embedded system distributions the required kernel features for pppd are 
     4more or less guaranteed to be present, so there is not much point in 
     5performing runtime checks, it just increases the binary size. 
     6 
     7This patch removes the runtime kernel feature checks. 
     8 
     9Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     10 
    111--- a/pppd/sys-linux.c 
    212+++ b/pppd/sys-linux.c 
     
    8999--- a/pppd/plugins/pppoatm/pppoatm.c 
    90100+++ b/pppd/plugins/pppoatm/pppoatm.c 
    91 @@ -171,14 +171,6 @@ static void disconnect_pppoatm(void) 
     101@@ -170,14 +170,6 @@ static void disconnect_pppoatm(void) 
    92102  
    93103 void plugin_init(void) 
    94104 { 
    95 -#ifdef linux 
     105-#if defined(__linux__) 
    96106-       extern int new_style_driver;    /* From sys-linux.c */ 
    97107-       if (!ppp_available() && !new_style_driver) 
     
    127137  
    128138     info("RP-PPPoE plugin version %s compiled against pppd %s", 
    129 --- a/pppd/plugins/pppol2tp/pppol2tp.c  2010-11-15 12:12:43.000000000 +0000 
    130 +++ b/pppd/plugins/pppol2tp/pppol2tp.c  2012-04-24 15:53:58.806260309 +0100 
    131 @@ -488,12 +488,7 @@ static void pppol2tp_check_options(void) 
     139--- a/pppd/plugins/pppol2tp/pppol2tp.c 
     140+++ b/pppd/plugins/pppol2tp/pppol2tp.c 
     141@@ -500,12 +500,7 @@ static void pppol2tp_cleanup(void) 
    132142  
    133143 void plugin_init(void) 
  • trunk/package/ppp/patches/401-no_record_file.patch

    r27818 r32463  
     1pppd: Remove the "record" option 
     2 
     3On many embedded systems there is not enough space to record PPP session 
     4information to the permanent storage, therfore remove this option. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/pppd/pppd.h 
    29+++ b/pppd/pppd.h 
  • trunk/package/ppp/patches/403-no_wtmp.patch

    r27818 r32463  
     1pppd: Disable wtmp support 
     2 
     3Many uClibc based environments lack wtmp and utmp support, therfore remove 
     4the code updating the wtmp information. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/pppd/sys-linux.c 
    29+++ b/pppd/sys-linux.c 
  • trunk/package/ppp/patches/404-remove_obsolete_protocol_names.patch

    r28497 r32463  
     1pppd: Remove historical protocol names 
     2 
     3Remove a number of historical protocol entries from pppd's builtin list, this 
     4reduced the binary size without loss of features. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/pppd/main.c 
    29+++ b/pppd/main.c 
  • trunk/package/ppp/patches/405-no_multilink_option.patch

    r28497 r32463  
     1pppd: Support "nomp" option even if multilink support is off 
     2 
     3This patch moves the "nomp" option entry outside of the defines protecting 
     4the multilink specific code. The motivation is to allow "nomp" even if pppd 
     5does not support multilink, so that controlling programs can unconditionally 
     6pass it to pppd regardless of the compile time features. 
     7 
     8Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     9 
    110--- a/pppd/options.c 
    211+++ b/pppd/options.c 
  • trunk/package/ppp/patches/430-pppol2tpv3-struct.patch

    r27818 r32463  
     1pppol2tp: Provide struct pppol2tpv3_addr to align with Linux 
     2 
     3The struct pppol2tpv3_addr is referenced in the current Linux kernel sources 
     4but not provided by the shipped kernel headers, add it. 
     5 
     6Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> 
     7 
    18--- a/include/linux/if_pppol2tp.h 
    29+++ b/include/linux/if_pppol2tp.h 
Note: See TracChangeset for help on using the changeset viewer.