From: Franck B. <fra...@us...> - 2006-03-29 21:48:40
|
Update of /cvsroot/ipcop/ipcop/lfs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18107/lfs Modified Files: Tag: IPCOP_v1_4_0 driver.img Added Files: Tag: IPCOP_v1_4_0 wanpipe Log Message: Request #1450286: Sangoma drivers for wan boards Drivers and supporting files are installed, i386 & SMP. No ALPHA version. There is no link from ipcop/installer to this driver yet. Configuration must be done manually. I did not add new files to 'update patch' package. Will do this with 1.4.12 to not overload the 1.4.11 patch (~600Kb)! --- NEW FILE: wanpipe --- ############################################################################### # This file is part of the IPCop Firewall. # # # # IPCop is free software; you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation; either version 2 of the License, or # # (at your option) any later version. # # # # IPCop is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with IPCop; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # # Makefiles are based on LFSMake, which is # # Copyright (C) 2002 Rod Roard <ro...@su...> # # # # Modifications by: # # ??-12-2003 Mark Wormgoor < ma...@wo...> # # - Modified Makefile for IPCop build # # # # Sangoma Wanpipe 2.3.3-2 15/03/2006 Andre Newman <ip...@di...> # # Based on scripts contributed by Enrique E. Martinez Cardenas # # # ############################################################################### ############################################################################### # Definitions ############################################################################### include Config VER = 2.3.3-2 THISAPP = wanpipe-$(VER) DL_FILE = $(THISAPP).tgz DL_FROM = ftp://ftp.sangoma.com/linux/current_wanpipe DIR_APP = $(DIR_SRC)/wanpipe ifeq "$(SMP)" "" TARGET = $(DIR_INFO)/$(THISAPP) else TARGET = $(DIR_INFO)/$(THISAPP)-smp endif ############################################################################### # Top-level Rules ############################################################################### objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) $(DL_FILE)_MD5 = e8259550a72b4e5462fddbdc1fddd9b1 install : $(TARGET) check : $(patsubst %,$(DIR_CHK)/%,$(objects)) download :$(patsubst %,$(DIR_DL)/%,$(objects)) md5 : $(subst %,%_MD5,$(objects)) ############################################################################### # Downloading, checking, md5sum ############################################################################### $(patsubst %,$(DIR_CHK)/%,$(objects)) : @$(CHECK) $(patsubst %,$(DIR_DL)/%,$(objects)) : @$(LOAD) $(subst %,%_MD5,$(objects)) : @$(MD5) ############################################################################### # Installation Details ############################################################################### $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) #CLEANUP PAST BUILD MODULES ifeq "$(SMP)" "" rm -fr /lib/modules/$(KVER)/kernel/drivers/net/wan/* rm -fr /lib/modules/$(KVER)/kernel/net/wanrouter/* else # no sure it is really mandatory to patch Setup...but it works! cd $(DIR_APP) && sed -i -e 's/CONFIG_SMP=NO/CONFIG_SMP=YES/' Setup rm -fr /lib/modules/$(KVER)-smp/kernel/drivers/net/wan/* rm -fr /lib/modules/$(KVER)-smp/kernel/net/wanrouter/* endif # upgrade kernel source & build driver modules cd $(DIR_APP) && ./Setup drivers --silent --arch=i386 --with-linux=/usr/src/linux-$(KVER) ifeq "$(SMP)" "" find /lib/modules/$(KVER)/ -name '*.o' -a -type f | xargs gzip -f9 cd $(DIR_APP) && ./Setup meta --silent --arch=i386 --with-linux=/usr/src/linux-$(KVER) cd $(DIR_APP) && ./Setup utility --silent --arch=i386 --with-linux=/usr/src/linux-$(KVER) cd $(DIR_APP) && ./Setup inst --silent --arch=i386 --with-linux=/usr/src/linux-$(KVER) else find /lib/modules/$(KVER)-smp/ -name '*.o' -a -type f | xargs gzip -f9 endif @rm -rf $(DIR_APP) @$(POSTBUILD) Index: driver.img =================================================================== RCS file: /cvsroot/ipcop/ipcop/lfs/driver.img,v retrieving revision 1.24.2.9 retrieving revision 1.24.2.10 diff -C2 -d -r1.24.2.9 -r1.24.2.10 *** driver.img 14 Feb 2006 07:41:31 -0000 1.24.2.9 --- driver.img 29 Mar 2006 21:48:35 -0000 1.24.2.10 *************** *** 66,74 **** --exclude=lib/modules/$(KVER)/kernel/{arch,fs} \ --exclude=lib/modules/$(KVER)/kernel/drivers/{acpi,atm,block,char,ide,isdn,input,message,scsi} \ ! --exclude=lib/modules/$(KVER)/kernel/drivers/net/{ppp*,slip*,slhc*,tun*} \ --exclude=lib/modules/$(KVER)/kernel/drivers/usb/{host,storage} \ --exclude=lib/modules/$(KVER)/kernel/drivers/usb/{3cp4218.o.gz,acm.o.gz,amedyn.o.gz,cxacru.o.gz} \ --exclude=lib/modules/$(KVER)/kernel/drivers/usb/{speedtch.o.gz,hid.o.gz,usbcore.o.gz} \ ! --exclude=lib/modules/$(KVER)/kernel/net/{8021q,atm,ipsec,ipv4,sched} \ --exclude=lib/modules/$(KVER)/{build,extra,misc,modules.*} \ lib/modules/$(KVER) --- 66,74 ---- --exclude=lib/modules/$(KVER)/kernel/{arch,fs} \ --exclude=lib/modules/$(KVER)/kernel/drivers/{acpi,atm,block,char,ide,isdn,input,message,scsi} \ ! --exclude=lib/modules/$(KVER)/kernel/drivers/net/{wan,ppp*,slip*,slhc*,tun*} \ --exclude=lib/modules/$(KVER)/kernel/drivers/usb/{host,storage} \ --exclude=lib/modules/$(KVER)/kernel/drivers/usb/{3cp4218.o.gz,acm.o.gz,amedyn.o.gz,cxacru.o.gz} \ --exclude=lib/modules/$(KVER)/kernel/drivers/usb/{speedtch.o.gz,hid.o.gz,usbcore.o.gz} \ ! --exclude=lib/modules/$(KVER)/kernel/net/{wanrouter,8021q,atm,ipsec,ipv4,sched} \ --exclude=lib/modules/$(KVER)/{build,extra,misc,modules.*} \ lib/modules/$(KVER) |