Revision: 6324
http://ipcop.svn.sourceforge.net/ipcop/?rev=6324&view=rev
Author: owes
Date: 2012-02-06 08:29:40 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Add out of kernel igb network driver to support newer network cards.
Modified Paths:
--------------
ipcop/trunk/make.sh
ipcop/trunk/updates/2.0.3/information.xml
Added Paths:
-----------
ipcop/trunk/config/rootfiles/common/igb
ipcop/trunk/lfs/igb
Added: ipcop/trunk/config/rootfiles/common/igb
===================================================================
--- ipcop/trunk/config/rootfiles/common/igb (rev 0)
+++ ipcop/trunk/config/rootfiles/common/igb 2012-02-06 08:29:40 UTC (rev
6324)
@@ -0,0 +1,3 @@
+# Info only, lib/modules/KVER/kernel is already included
+#lib/modules/KVER/kernel/drivers/net/igb
+#lib/modules/KVER/kernel/drivers/net/igb/igb.ko.gz
Added: ipcop/trunk/lfs/igb
===================================================================
--- ipcop/trunk/lfs/igb (rev 0)
+++ ipcop/trunk/lfs/igb 2012-02-06 08:29:40 UTC (rev 6324)
@@ -0,0 +1,96 @@
+###############################################################################
+# 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 <[email protected]>
#
+# #
+# Modifications by: #
+# 17-03-2004 Mark Wormgoor < [email protected]> #
+# - Modified Makefile for IPCop build #
+# #
+# $Id$
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME = igb
+VER = 3.3.6
+HOST_ARCH = i486
+OTHER_SRC = yes
+KERNEL_MOD = yes
+
+THISAPP = $(PKG_NAME)-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_SFNET)/e1000
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/linux-$(KVER)-$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = b9267beb43f41d364f73b4d5b9040f1e
+
+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) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
+
+ @$(PREBUILD)
+ # build the right list of installed files (we replace kernel igb)
+ sed -i -e '/kernel\/drivers\/net\/igb/d' /usr/src/lsalr
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+ # Avoid make install as we don't want depmod to run against host kernel
+ cd $(DIR_APP)/src && make BUILD_KERNEL=$(KVER)
+ cd $(DIR_APP)/src && gzip -fn9 igb.ko
+ mkdir -p /lib/modules/$(KVER)/kernel/drivers/net/igb
+ cd $(DIR_APP)/src && install -m 0644 igb.ko.gz
/lib/modules/$(KVER)/kernel/drivers/net/igb
+
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
Property changes on: ipcop/trunk/lfs/igb
___________________________________________________________________
Added: svn:keywords
+ id
Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2012-02-06 08:15:36 UTC (rev 6323)
+++ ipcop/trunk/make.sh 2012-02-06 08:29:40 UTC (rev 6324)
@@ -1778,6 +1778,7 @@
chroot_make fcdslsl # DEBUG -- compiles, but functionality
is uncertain
fi
chroot_make firmware-extractor
+ chroot_make igb
chroot_make pulsar
chroot_make solos-pci
chroot_make wanpipe
Modified: ipcop/trunk/updates/2.0.3/information.xml
===================================================================
--- ipcop/trunk/updates/2.0.3/information.xml 2012-02-06 08:15:36 UTC (rev
6323)
+++ ipcop/trunk/updates/2.0.3/information.xml 2012-02-06 08:29:40 UTC (rev
6324)
@@ -4,6 +4,7 @@
<releasedate>2012-01-dd</releasedate>
<size>0</size>
<description>Add again capi4k-utils plugins. Add wget. Add TLS support
for sendEmail.<br />
+ Add out of kernel e1000e and igb network drivers.<br />
Disable traffic accounting with detail level High, always use
Low.<br />
Patch krb5-1.9.2 against MITKRB5-SA-2011-007.<br />
More gnupg-1.4.11 hardening. Patched ulogd-1.24.<br />
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn