X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Flinux;h=c9144b30ab7570b233a352bfa72ba98ec9734c66;hp=5a4488af75938b328fb6dffec6d897ad14504471;hb=10e4f2395ed42d50545ef9c3d73994b542e09dac;hpb=a2cb3a3305faeccd1df8f324ece34bc9a5f283b5 diff --git a/lfs/linux b/lfs/linux index 5a4488af75..c9144b30ab 100644 --- a/lfs/linux +++ b/lfs/linux @@ -18,12 +18,6 @@ # Makefiles are based on LFSMake, which is # # Copyright (C) 2002 Rod Roard # # # -# Modifications by: # -# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> # -# - Modified Makefile for IPCop build # -# # -# $Id: linux,v 1.42.2.57 2005/07/28 07:01:27 gespinasse Exp $ -# # ############################################################################### ############################################################################### @@ -44,15 +38,15 @@ CXXFLAGS = # Normal build or /tools build. # ifeq "$(ROOT)" "" -ifeq "$(LFS_PASS)" "ipcop" +ifeq "$(LFS_PASS)" "ipfire" ifeq "$(SMP)" "" - TARGET = $(DIR_INFO)/$(THISAPP)-ipcop + TARGET = $(DIR_INFO)/$(THISAPP)-ipfire endif ifeq "$(SMP)" "1" - TARGET = $(DIR_INFO)/$(THISAPP)-ipcop-smp + TARGET = $(DIR_INFO)/$(THISAPP)-ipfire-smp endif ifeq "$(SMP)" "installer" - TARGET = $(DIR_INFO)/$(THISAPP)-ipcop-installer + TARGET = $(DIR_INFO)/$(THISAPP)-ipfire-installer endif else TARGET = $(DIR_INFO)/$(THISAPP) @@ -74,11 +68,11 @@ objects =$(DL_FILE) \ $(DL_FILE) = $(DL_FROM)/$(DL_FILE) openswan-1.0.10rc2.tar.gz = $(URL_IPFIRE)/openswan-1.0.10rc2.tar.gz -patch-o-matic-ng-20060206.tar.bz2 = ftp://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20060206.tar.bz2 -iptables-1.3.5.tar.bz2 = http://www.netfilter.org/files/iptables-1.3.5.tar.bz2 -kbc_option_2420.patch = http://developer.osdl.org/rddunlap/patches/kbc_option_2420.patch -net4801.kernel.patch_2.4.31 = http://www.sk-tech.net/support/net4801.kernel.patch_2.4.31 -netfilter-layer7-v2.1.tar.gz = http://belnet.dl.sourceforge.net/sourceforge/l7-filter/netfilter-layer7-v2.1.tar.gz +patch-o-matic-ng-20060206.tar.bz2 = $(URL_IPFIRE)/patch-o-matic-ng-20060206.tar.bz2 +iptables-1.3.5.tar.bz2 = $(URL_IPFIRE)/iptables-1.3.5.tar.bz2 +kbc_option_2420.patch = $(URL_IPFIRE)/kbc_option_2420.patch +net4801.kernel.patch_2.4.31 = $(URL_IPFIRE)/net4801.kernel.patch_2.4.31 +netfilter-layer7-v2.1.tar.gz = $(URL_IPFIRE)/netfilter-layer7-v2.1.tar.gz $(DL_FILE)_MD5 = ea3f99fc82617886059d58d0644dab26 openswan-1.0.10rc2.tar.gz_MD5 = 20d51ff963da78f826f4e0f0ebc4bcef @@ -159,6 +153,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_SRC) && tar xzf $(DIR_DL)/netfilter-layer7-v2.1.tar.gz cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/netfilter-layer7-v2.1/kernel-2.4-layer7-2.1.patch + # ip_conntrack permissions from 440 to 444 + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ip_conntrack_standalone-patch-for-ipfire.patch + + # give kernel the name ipfire + # cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/linux-2.4.31-ipfire.patch + ifeq "$(SMP)" "" # Only do this once on the non-SMP pass cd $(DIR_SRC) && tar czf $(DIR_DL)/iptables-fixed.tar.gz iptables-1.3.5 @@ -189,7 +189,7 @@ endif # Cleanup kernel source cd $(DIR_APP) && make mrproper ifeq "$(ROOT)" "" -ifeq "$(LFS_PASS)" "ipcop" +ifeq "$(LFS_PASS)" "ipfire" ifeq "$(SMP)" "" cp $(DIR_SRC)/config/kernel/kernel.config.$(MACHINE) $(DIR_APP)/.config endif