Modifications des sources ipcop 1.4 beta3 pour que les vlan fonctionnent sous ipcop :
-------------------------------------------------------------------------------
dans le fichier : ./config/kernel/kernel.config.i386
modification de la ligne
# CONFIG_VLAN_8021Q is not set
par
CONFIG_VLAN_8021Q=m
-------------------------------------------------------------------------------
dans le fichier : ./make.sh
ajout de la ligne 535 :
ipcopmake vlan
-------------------------------------------------------------------------------
dans le fichier : ./src/ROOTFILES.i386
ajout des lignes (à la fin) :
##
## vlan.1.8
##
sbin/vconfig
-------------------------------------------------------------------------------
création du fichier ./lfs/vlan
###############################################################################
# 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 <rod@sunsetsystems.com> #
# #
# Modifications by: #
# ??-12-2003 Mark Wormgoor <
mark@wormgoor.com> #
# - Modified Makefile for IPCop build #
# #
# $Id: vlan,v 1.8 2004/02/05 15:52:40 alanh Exp $
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.8
THISAPP = vlan.$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM =
http://www.candelatech.com/~greear/vlan
DIR_APP = $(DIR_SRC)/vlan
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
install : $(TARGET)
check :
@echo "====================================== Checking $(DL_FILE) ..."
@cd $(DIR_TMP) && wget --spider -nv $(DL_FROM)/$(DL_FILE)
download : $(DIR_DL)/$(DL_FILE)
uninstall :
@echo "You don't want to uninstall this."
versions :
@cd $(DIR_TMP) && rm -f .listing && echo " " && \
echo "This makefile works with $(THISAPP)." && \
echo "Versions at $(DL_FROM)/ are:" && \
echo " " && \
wget -q --dont-remove-listing $(DL_FROM)/gurgle* && \
grep 'tar.gz' .listing | grep -v 'doc' | cut -c 33- && \
echo " " && rm -f .listing
###############################################################################
# Downloading
###############################################################################
$(DIR_DL)/$(DL_FILE) :
@echo "====================================== Downloading $(DL_FILE) ..."
@cd $(DIR_TMP) && wget -c -nv $(DL_FROM)/$(DL_FILE)
@mv $(DIR_TMP)/$(DL_FILE) $(DIR_DL)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(DIR_DL)/$(DL_FILE)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make $(EXTRA_MAKE)
@echo "cp $(DIR_APP)/vconfig /sbin"
cp $(DIR_APP)/vconfig /sbin
@rm -rf $(DIR_APP)
@$(POSTBUILD)
--------------------------------------------------------------------------------