Changeset 1252

Show
Ignore:
Timestamp:
12/04/06 20:34:50 (5 years ago)
Author:
dnehring
Message:

Update ppp to 2.4.4, removing patches which are very special (precompiled
filter, special default route parameter, pppoatm tuning, ppp reconnect
reimplementation). patches are now usable again.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/ppp/Makefile

    r1060 r1252  
    88 
    99PKG_NAME:=              ppp 
    10 PKG_VERSION:=           2.4.3 
    11 PKG_RELEASE:=           8 
    12 PKG_MD5SUM:=            848f6c3cafeb6074ffeb293c3af79b7c 
     10PKG_VERSION:=           2.4.4 
     11PKG_RELEASE:=           1 
     12PKG_MD5SUM:=            183800762e266132218b204dfb428d29 
    1313 
    1414PKG_SOURCE_URL:=        ftp://ftp.samba.org/pub/ppp/ 
     
    111111        $(RSTRIP) $(IDIR_PPP) 
    112112        $(IPKG_BUILD) $(IDIR_PPP) $(PACKAGE_DIR) 
    113          
     113 
    114114$(IDIR_PPP_MOD_RADIUS)/etc/ppp/radius.conf: 
    115115        $(INSTALL_DIR) $(IDIR_PPP_MOD_RADIUS)/etc/ppp 
     
    158158                $(IDIR_PPPUMTS)/etc/network/if-down.d/ 
    159159        $(IPKG_BUILD) $(IDIR_PPPUMTS) $(PACKAGE_DIR) 
    160  
  • trunk/freewrt/package/ppp/patches/200-makefile.patch

    r1 r1252  
    1 diff -ruN ppp-2.4.3-orig/pppd/Makefile.linux ppp-2.4.3-3/pppd/Makefile.linux 
    2 --- ppp-2.4.3-orig/pppd/Makefile.linux 2004-11-13 13:02:22.000000000 +0100 
    3 +++ ppp-2.4.3-3/pppd/Makefile.linux    2004-12-16 04:43:41.000000000 +0100 
     1diff -Nur ppp-2.4.4.orig/pppd/Makefile.linux ppp-2.4.4/pppd/Makefile.linux 
     2--- ppp-2.4.4.orig/pppd/Makefile.linux 2006-06-04 07:07:46.000000000 +0200 
     3+++ ppp-2.4.4/pppd/Makefile.linux      2006-12-04 14:12:41.000000000 +0100 
    44@@ -48,19 +48,19 @@ 
    55 # Uncomment the next line to include support for PPP packet filtering. 
     
    3333+COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP 
    3434  
    35  CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) 
     35 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"' 
    3636  
    37 @@ -117,12 +117,12 @@ 
     37@@ -117,10 +117,8 @@ 
    3838 #LIBS     += -lshadow $(LIBS) 
    3939 endif 
    4040  
    4141-ifneq ($(wildcard /usr/include/crypt.h),) 
    42 +#ifneq ($(wildcard /usr/include/crypt.h),) 
    43  CFLAGS   += -DHAVE_CRYPT_H=1 
    44 -endif 
    45 -ifneq ($(wildcard /usr/lib/libcrypt.*),) 
    46 +#endif 
    47 +#ifneq ($(wildcard /usr/lib/libcrypt.*),) 
     42 CFLAGS  += -DHAVE_CRYPT_H=1 
    4843 LIBS   += -lcrypt 
    4944-endif 
    50 +#endif 
    5145  
    5246 ifdef NEEDDES 
  • trunk/freewrt/package/ppp/patches/201-mppe_mppc_1.1.patch

    r1 r1252  
    100100  * Definitions for other, as yet unsupported, compression methods. 
    101101  */ 
    102 diff -ruN ppp-2.4.3.orig/pppd/ccp.c ppp-2.4.3/pppd/ccp.c 
    103 --- ppp-2.4.3.orig/pppd/ccp.c   2004-11-13 03:28:15.000000000 +0100 
    104 +++ ppp-2.4.3/pppd/ccp.c        2004-11-21 13:54:09.000000000 +0100 
     102--- ppp-2.4.4/pppd/ccp.c.orig   2005-07-09 02:23:05.000000000 +0200 
     103+++ ppp-2.4.4/pppd/ccp.c        2006-07-21 23:34:12.121546000 +0200 
    105104@@ -62,12 +62,10 @@ 
    106105 static char bsd_value[8]; 
     
    718717 static int 
    719718 ccp_nakci(f, p, len, treat_as_reject) 
    720 @@ -900,6 +1079,8 @@ 
    721      int len
     719@@ -901,6 +1080,8 @@ 
     720     int treat_as_reject
    722721 { 
    723722     ccp_options *go = &ccp_gotoptions[f->unit]; 
     
    727726     ccp_options try;           /* options to ask for next time */ 
    728727  
    729 @@ -907,28 +1088,100 @@ 
     728@@ -908,28 +1089,100 @@ 
    730729     try = *go; 
    731730  
     
    846845        && p[0] == (go->deflate_correct? CI_DEFLATE: CI_DEFLATE_DRAFT) 
    847846        && p[1] == CILEN_DEFLATE) { 
    848 @@ -1001,14 +1254,50 @@ 
     847@@ -1002,14 +1255,50 @@ 
    849848        return -1; 
    850849  
     
    901900        && p[0] == CI_DEFLATE && p[1] == CILEN_DEFLATE) { 
    902901        if (p[2] != DEFLATE_MAKE_OPT(go->deflate_size) 
    903 @@ -1072,14 +1361,15 @@ 
     902@@ -1073,14 +1362,15 @@ 
    904903     int dont_nak; 
    905904 { 
     
    921920     ret = CONFACK; 
    922921     retp = p0 = p; 
    923 @@ -1102,103 +1392,305 @@ 
     922@@ -1103,106 +1393,307 @@ 
    924923            switch (type) { 
    925924 #ifdef MPPE 
     
    11831182                } else { 
    11841183-                   /* Neither are set. */ 
     1184-                   /* We cannot accept this.  */ 
    11851185+                   /* MPPE is not compatible with other compression types */ 
    11861186+                   if (wo->mppe) { 
     
    11951195+                   p[2] = p2; 
    11961196+                   p[5] = p5; 
    1197                     newret = CONFREJ; 
    1198                     break; 
     1197                    newret = CONFNAK; 
     1198                    /* Give the peer our idea of what can be used, 
     1199                       so it can choose and confirm */ 
     1200                    ho->mppe = ao->mppe; 
    11991201                } 
    12001202  
     
    12991301            case CI_DEFLATE_DRAFT: 
    13001302                if (!ao->deflate || clen != CILEN_DEFLATE 
    1301 @@ -1340,12 +1832,6 @@ 
     1303@@ -1344,12 +1835,6 @@ 
    13021304        else 
    13031305            *lenp = retp - p0; 
     
    13121314 } 
    13131315  
    1314 @@ -1367,24 +1853,35 @@ 
     1316@@ -1371,24 +1856,35 @@ 
    13151317        char *p = result; 
    13161318        char *q = result + sizeof(result); /* 1 past result */ 
     
    13641366     case CI_DEFLATE_DRAFT: 
    13651367        if (opt2 != NULL && opt2->deflate_size != opt->deflate_size) 
    1366 @@ -1440,12 +1937,12 @@ 
     1368@@ -1444,12 +1940,12 @@ 
    13671369     } else if (ANY_COMPRESS(*ho)) 
    13681370        notice("%s transmit compression enabled", method_name(ho, NULL)); 
     
    13791381  
    13801382 /* 
    1381 @@ -1468,7 +1965,7 @@ 
     1383@@ -1472,7 +1968,7 @@ 
    13821384            lcp_close(f->unit, "MPPE disabled"); 
    13831385        } 
     
    13881390  
    13891391 /* 
    1390 @@ -1528,24 +2025,28 @@ 
     1392@@ -1532,24 +2028,28 @@ 
    13911393 #ifdef MPPE 
    13921394            case CI_MPPE: 
     
    14291431            case CI_DEFLATE_DRAFT: 
    14301432                if (optlen >= CILEN_DEFLATE) { 
    1431 @@ -1631,6 +2132,7 @@ 
     1433@@ -1635,6 +2135,7 @@ 
    14321434            error("Lost compression sync: disabling compression"); 
    14331435            ccp_close(unit, "Lost compression sync"); 
     
    14371439             * If we were doing MPPE, we must also take the link down. 
    14381440             */ 
    1439 @@ -1638,9 +2140,18 @@ 
     1441@@ -1642,9 +2143,18 @@ 
    14401442                error("Too many MPPE errors, closing LCP"); 
    14411443                lcp_close(unit, "Too many MPPE errors"); 
     
    14571459             * We don't do that if we are still waiting for an 
    14581460             * acknowledgement to a previous reset-request. 
    1459 @@ -1671,4 +2182,3 @@ 
     1461@@ -1675,4 +2185,3 @@ 
    14601462     } else 
    14611463        ccp_localstate[f->unit] &= ~RACK_PENDING; 
  • trunk/freewrt/package/ppp/patches/203-no_strip.patch

    r1 r1252  
    1 diff -ruN ppp-2.4.3-orig/chat/Makefile.linux ppp-2.4.3-3/chat/Makefile.linux 
    2 --- ppp-2.4.3-orig/chat/Makefile.linux 2004-11-03 12:51:47.000000000 +0100 
    3 +++ ppp-2.4.3-3/chat/Makefile.linux    2004-12-05 17:42:43.000000000 +0100 
     1diff -Nur ppp-2.4.4.orig/chat/Makefile.linux ppp-2.4.4/chat/Makefile.linux 
     2--- ppp-2.4.4.orig/chat/Makefile.linux 2006-06-04 07:07:46.000000000 +0200 
     3+++ ppp-2.4.4/chat/Makefile.linux      2006-12-04 14:17:39.000000000 +0100 
    44@@ -25,7 +25,7 @@ 
    55  
    66 install: chat 
    7         mkdir -p $(BINDIR) 
     7        mkdir -p $(BINDIR) $(MANDIR) 
    88-       $(INSTALL) -s -c chat $(BINDIR) 
    99+       $(INSTALL) -c chat $(BINDIR) 
     
    1111  
    1212 clean: 
    13 diff -ruN ppp-2.4.3-orig/pppd/Makefile.linux ppp-2.4.3-3/pppd/Makefile.linux 
    14 --- ppp-2.4.3-orig/pppd/Makefile.linux 2004-11-13 13:02:22.000000000 +0100 
    15 +++ ppp-2.4.3-3/pppd/Makefile.linux    2004-12-16 04:43:41.000000000 +0100 
     13diff -Nur ppp-2.4.4.orig/pppd/Makefile.linux ppp-2.4.4/pppd/Makefile.linux 
     14--- ppp-2.4.4.orig/pppd/Makefile.linux 2006-06-04 07:07:46.000000000 +0200 
     15+++ ppp-2.4.4/pppd/Makefile.linux      2006-12-04 14:17:39.000000000 +0100 
    1616@@ -99,7 +99,7 @@ 
    1717 CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include 
     
    2323 EXTRACLEAN += srp-entry.o 
    2424 NEEDDES=y 
    25 @@ -202,7 +202,7 @@ 
     25@@ -200,7 +200,7 @@ 
    2626 install: pppd 
    2727        mkdir -p $(BINDIR) $(MANDIR) 
     
    3232          chmod o-rx,u+s $(BINDIR)/pppd; fi 
    3333        $(INSTALL) -c -m 444 pppd.8 $(MANDIR) 
    34 diff -ruN ppp-2.4.3-orig/pppd/plugins/radius/Makefile.linux ppp-2.4.3-3/pppd/plugins/radius/Makefile.linux 
    35 --- ppp-2.4.3-orig/pppd/plugins/radius/Makefile.linux  2004-11-14 08:02:31.000000000 +0100 
    36 +++ ppp-2.4.3-3/pppd/plugins/radius/Makefile.linux     2004-12-05 17:43:17.000000000 +0100 
    37 @@ -36,9 +37,9 @@ 
     34diff -Nur ppp-2.4.4.orig/pppd/plugins/radius/Makefile.linux ppp-2.4.4/pppd/plugins/radius/Makefile.linux 
     35--- ppp-2.4.4.orig/pppd/plugins/radius/Makefile.linux  2006-06-04 07:04:14.000000000 +0200 
     36+++ ppp-2.4.4/pppd/plugins/radius/Makefile.linux       2006-12-04 14:17:39.000000000 +0100 
     37@@ -36,9 +36,9 @@ 
    3838  
    3939 install: all 
     
    4848        $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR) 
    4949  
    50 diff -ruN ppp-2.4.3-orig/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.3-3/pppd/plugins/rp-pppoe/Makefile.linux 
    51 --- ppp-2.4.3-orig/pppd/plugins/rp-pppoe/Makefile.linux        2004-11-14 08:58:37.000000000 +0100 
    52 +++ ppp-2.4.3-3/pppd/plugins/rp-pppoe/Makefile.linux   2004-12-05 17:43:23.000000000 +0100 
     50diff -Nur ppp-2.4.4.orig/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.4/pppd/plugins/rp-pppoe/Makefile.linux 
     51--- ppp-2.4.4.orig/pppd/plugins/rp-pppoe/Makefile.linux        2006-06-04 07:07:46.000000000 +0200 
     52+++ ppp-2.4.4/pppd/plugins/rp-pppoe/Makefile.linux     2006-12-04 14:17:39.000000000 +0100 
    5353@@ -39,9 +39,9 @@ 
    5454  
     
    6363 clean: 
    6464        rm -f *.o *.so 
    65 diff -ruN ppp-2.4.3-orig/pppdump/Makefile.linux ppp-2.4.3-3/pppdump/Makefile.linux 
    66 --- ppp-2.4.3-orig/pppdump/Makefile.linux      2004-10-31 02:36:52.000000000 +0200 
    67 +++ ppp-2.4.3-3/pppdump/Makefile.linux 2004-12-05 17:50:34.000000000 +0100 
    68 @@ -17,5 +18,5 @@ 
     65diff -Nur ppp-2.4.4.orig/pppdump/Makefile.linux ppp-2.4.4/pppdump/Makefile.linux 
     66--- ppp-2.4.4.orig/pppdump/Makefile.linux      2006-06-04 07:04:14.000000000 +0200 
     67+++ ppp-2.4.4/pppdump/Makefile.linux   2006-12-04 14:17:39.000000000 +0100 
     68@@ -17,5 +17,5 @@ 
    6969  
    7070 install: 
     
    7373+       $(INSTALL) -c pppdump $(BINDIR) 
    7474        $(INSTALL) -c -m 444 pppdump.8 $(MANDIR) 
    75 diff -ruN ppp-2.4.3-orig/pppstats/Makefile.linux ppp-2.4.3-3/pppstats/Makefile.linux 
    76 --- ppp-2.4.3-orig/pppstats/Makefile.linux     2004-10-31 23:09:03.000000000 +0100 
    77 +++ ppp-2.4.3-3/pppstats/Makefile.linux        2004-12-05 17:43:38.000000000 +0100 
     75diff -Nur ppp-2.4.4.orig/pppstats/Makefile.linux ppp-2.4.4/pppstats/Makefile.linux 
     76--- ppp-2.4.4.orig/pppstats/Makefile.linux     2006-06-04 07:07:46.000000000 +0200 
     77+++ ppp-2.4.4/pppstats/Makefile.linux  2006-12-04 14:17:39.000000000 +0100 
    7878@@ -22,7 +22,7 @@ 
    7979