Changeset 149


Ignore:
Timestamp:
2004-08-27T02:42:33+02:00 (13 years ago)
Author:
mbm
Message:

various patches
nico:

buildroot-20040825-kmodules.patch.txt
buildroot-20040825-tcpdump.patch.txt
buildroot-20040825-libpcap.patch.txt
buildroot-20040825-libpthread.patch.txt
buildroot-20040825-fprobe.patch.txt
buildroot-20040825-pptp-client.patch.txt

twolife:

iproute2.patch.txt

Location:
trunk/obsolete-buildroot
Files:
78 added
9 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/obsolete-buildroot/Makefile

    r146 r149  
    9898TARGETS:=host-sed openwrt-code.bin 
    9999 
    100 PACKAGES:=oidentd iproute2 sched-modules wshaper zlib openssl openssh pppoecd dropbear chillispot dhcp-fwd ip6tables kmod-ipt6 kmod-ipv6 nfs-modules ppp-async-module ppp-mppe-module ppp pppoecd pptp-server tun-module 
     100PACKAGES:=oidentd iproute2 kmod-sched wshaper zlib openssl openssh pppoecd dropbear chillispot dhcp-fwd ip6tables kmod-ipt6 kmod-ipv6 kmod-nfs kmod-ppp-async kmod-ppp-mppe-mppc ppp pppoecd pptp-server kmod-tun fprobe libpcap libpthread pptp-client 
    101101 
    102102############################################################# 
  • trunk/obsolete-buildroot/make/iproute2.mk

    r145 r149  
    66 
    77IPROUTE2_DIR=$(BUILD_DIR)/iproute2 
     8IP_IPK_DIR=$(BUILD_DIR)/ip-2.0-ipk 
     9TC_IPK_DIR=$(BUILD_DIR)/tc-2.0-ipk 
    810 
    911#IPROUTE2_SOURCE_URL=ftp://ftp.inr.ac.ru/ip-routing/ 
     
    1618IPROUTE2_PATCH_2:=iproute2-*.patch 
    1719 
    18 IPROUTE2_IPKTARGET=iproute.ipk 
    19 IPROUTE2_IPKSRC:=iproute-pkg.tgz 
    20 IPROUTE2_IPKSITE:=http://openwrt.rozeware.bc.ca/ipkg-dev 
    21  
    2220 
    2321$(DL_DIR)/$(IPROUTE2_SOURCE): 
     
    2624$(DL_DIR)/$(IPROUTE2_PATCH): 
    2725        $(WGET) -P $(DL_DIR) $(IPROUTE2_SOURCE_URL)/$(IPROUTE2_PATCH) 
    28  
    29 $(DL_DIR)/$(IPROUTE2_IPKSRC): 
    30         $(WGET) -P $(DL_DIR) $(IPROUTE2_IPKSITE)/$(IPROUTE2_IPKSRC) 
    3126 
    3227 
     
    5954$(IPROUTE2_DIR)/tc/tc: $(IPROUTE2_DIR)/.configured 
    6055        $(MAKE) -C $(IPROUTE2_DIR) $(TARGET_CONFIGURE_OPTS) KERNEL_INCLUDE=$(LINUX_DIR)/include 
    61         $(STRIP) $(IPROUTE2_DIR)/tc/tc 
    6256 
    6357$(TARGET_DIR)/usr/sbin/tc: $(IPROUTE2_DIR)/tc/tc 
     
    7569 
    7670iproute2-dirclean: 
    77         rm -rf $(IPROUTE2_DIR) 
     71        rm -rf $(IPROUTE2_DIR) $(IP_IPK_DIR) $(TC_IPK_DIR) 
    7872         
    79 iproute2-ipk:   $(IPROUTE2_IPKTARGET) 
    8073 
    81 $(IPROUTE2_IPKTARGET):  $(IPROUTE2_DIR)/ipkg/rules 
    82         (cd $(IPROUTE2_DIR); $(IPKG_BUILDPACKAGE) ) 
    83          
    84 $(IPROUTE2_DIR)/ipkg/rules:     $(IPROUTE2_DIR)/tc/tc $(DL_DIR)/$(IPROUTE2_IPKSRC) 
    85         tar -C $(IPROUTE2_DIR) -zxf $(DL_DIR)/$(IPROUTE2_IPKSRC) 
    86          
     74iproute2-ipk:   $(IPROUTE2_DIR)/tc/tc 
     75        mkdir -p $(IP_IPK_DIR) 
     76        mkdir -p $(TC_IPK_DIR) 
     77        cp -a $(OPENWRT_IPK_DIR)/iproute/ip/CONTROL $(IP_IPK_DIR)/CONTROL 
     78        cp -a $(OPENWRT_IPK_DIR)/iproute/tc/CONTROL $(TC_IPK_DIR)/CONTROL 
     79        mkdir -p $(IP_IPK_DIR)/usr/sbin 
     80        mkdir -p $(TC_IPK_DIR)/usr/sbin 
     81        install -m 755 $(IPROUTE2_DIR)/ip/ip $(IP_IPK_DIR)/usr/sbin/ 
     82        install -m 755 $(IPROUTE2_DIR)/tc/tc $(TC_IPK_DIR)/usr/sbin/ 
     83        $(STRIP) $(IP_IPK_DIR)/usr/sbin/ip 
     84        $(STRIP) $(TC_IPK_DIR)/usr/sbin/tc 
     85        cd $(BUILD_DIR); $(IPKG_BUILD) $(IP_IPK_DIR) 
     86        cd $(BUILD_DIR); $(IPKG_BUILD) $(TC_IPK_DIR) 
  • trunk/obsolete-buildroot/make/kmod-ipt6.mk

    r145 r149  
    1 KMOD-IPT6:=kmod-ipt6 
    2 KMOD-IPT6_IPK:=$(KMOD-IPT6)_2.4.20-1_mipsel.ipk 
    3 KMOD-IPT6_IPK_DIR:=$(BUILD_DIR)/$(KMOD-IPT6)-2.4.20-ipk 
    4  
    5 $(BUILD_DIR)/$(KMOD-IPT6_IPK): 
    6         mkdir -p $(KMOD-IPT6_IPK_DIR)/CONTROL 
    7         mkdir -p $(KMOD-IPT6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6/netfilter 
    8         install -m 644 $(OPENWRT_IPK_DIR)/$(KMOD-IPT6)/$(KMOD-IPT6).control $(KMOD-IPT6_IPK_DIR)/CONTROL/control 
    9         install -m 644 $(BUILD_DIR)/linux/modules/lib/modules/2.4.20/kernel/net/ipv6/netfilter/* $(KMOD-IPT6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6/netfilter/ 
    10         cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(KMOD-IPT6_IPK_DIR) 
    11  
    12 kmod-ipt6-ipk:  $(BUILD_DIR)/$(KMOD-IPT6_IPK) 
    13  
    14 kmod-ipt6-distclean: 
    15         rm -rf $(KMOD-IPT6_IPK_DIR) 
     1kmod-ipt6-ipk: ipkg-utils $(OPENWRT_IPK_DIR)/kmod-ipt6/CONTROL/* 
     2        chmod a+x $(OPENWRT_IPK_DIR)/kmod-ipt6/CONTROL/rules 
     3        cd $(OPENWRT_IPK_DIR)/kmod-ipt6 ; $(IPKG_BUILDPACKAGE) 
     4        mv $(OPENWRT_IPK_DIR)/kmod-ipt6_*.ipk $(BUILD_DIR) 
  • trunk/obsolete-buildroot/make/kmod-ipv6.mk

    r145 r149  
    1 KMOD-IPV6:=kmod-ipv6 
    2 KMOD-IPV6_IPK:=$(KMOD-IPV6)_2.4.20-1_mipsel.ipk 
    3 KMOD-IPV6_IPK_DIR:=$(BUILD_DIR)/$(KMOD-IPV6)-2.4.20-ipk 
    4  
    5 $(BUILD_DIR)/$(KMOD-IPV6_IPK): 
    6         mkdir -p $(KMOD-IPV6_IPK_DIR)/CONTROL 
    7         mkdir -p $(KMOD-IPV6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6 
    8         install -m 644 $(OPENWRT_IPK_DIR)/$(KMOD-IPV6)/$(KMOD-IPV6).control $(KMOD-IPV6_IPK_DIR)/CONTROL/control 
    9         install -m 644 $(BUILD_DIR)/linux/modules/lib/modules/2.4.20/kernel/net/ipv6/ipv6.o $(KMOD-IPV6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6 
    10         cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(KMOD-IPV6_IPK_DIR) 
    11  
    12 kmod-ipv6-ipk:  $(BUILD_DIR)/$(KMOD-IPV6_IPK) 
    13  
    14 kmod-ipv6-distclean: 
    15         rm -rf $(KMOD-IPV6_IPK_DIR) 
     1kmod-ipv6-ipk: ipkg-utils $(OPENWRT_IPK_DIR)/kmod-ipv6/CONTROL/* 
     2        chmod a+x $(OPENWRT_IPK_DIR)/kmod-ipv6/CONTROL/rules 
     3        cd $(OPENWRT_IPK_DIR)/kmod-ipv6 ; $(IPKG_BUILDPACKAGE) 
     4        mv $(OPENWRT_IPK_DIR)/kmod-ipv6_*.ipk $(BUILD_DIR) 
  • trunk/obsolete-buildroot/make/ppp.mk

    r145 r149  
    3939        cd $(PPP_DIR)/pppd/plugins/radius/radiusclient ; \ 
    4040        rm -rf config.cache ; \ 
     41        echo > aclocal.m4; \ 
    4142        $(TARGET_CONFIGURE_OPTS) \ 
    4243        ac_cv_func_setvbuf_reversed=no \ 
Note: See TracChangeset for help on using the changeset viewer.