From a9349373db65c67340e11df5dad470c15025de40 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 5 Aug 2009 21:15:48 +0200 Subject: [PATCH] Updated High-Speed Option (hso) to 1.9. --- config/rootfiles/core/30/filelists/files | 1 + doc/packages-list.txt | 12 ++++ lfs/hso | 87 ++++++++++++++++++++++++ make.sh | 2 + 4 files changed, 102 insertions(+) create mode 100644 lfs/hso diff --git a/config/rootfiles/core/30/filelists/files b/config/rootfiles/core/30/filelists/files index 9061a69c04..bd50d86d37 100644 --- a/config/rootfiles/core/30/filelists/files +++ b/config/rootfiles/core/30/filelists/files @@ -1,4 +1,5 @@ lib/modules/2.6.27.25-ipfire/kernel/drivers/net/e1000e/e1000e.ko +lib/modules/2.6.27.25-ipfire/kernel/drivers/net/usb/hso.ko lib/modules/2.6.27.25-ipfire/kernel/drivers/usb/serial/option.ko var/ipfire/langs/list var/ipfire/langs/de.pl diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 1471a8a7cd..6ad47d062a 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -44,6 +44,7 @@ * as86-0.16.17 * asterisk-1.4.18 * atl2-2.0.5-kmod-2.6.27.25-ipfire +* atl2-2.0.5-kmod-2.6.27.25-ipfire-xen * autoconf-2.59 * automake-1.9.6 * backup-ipfire @@ -69,6 +70,7 @@ * cmake-2.4.8 * collectd-4.5.3 * compat-wireless-2009-06-30-kmod-2.6.27.25-ipfire +* compat-wireless-2009-06-30-kmod-2.6.27.25-ipfire-xen * coreutils-5.96 * cpio-2.6 * cpufrequtils-005 @@ -83,6 +85,8 @@ * diffutils-2.8.1 * dnsmasq-2.47 * dosfstools-2.11 +* e1000e-1.0.2.5-kmod-2.6.27.25-ipfire +* e1000e-1.0.2.5-kmod-2.6.27.25-ipfire-xen * e2fsprogs-1.39 * ebtables-v2.0.8-2 * ed-0.2 @@ -128,6 +132,8 @@ * hdparm-8.9 * hostapd-0.6.9 * hplip-2.7.10 +* hso-1.9-kmod-2.6.27.25-ipfire +* hso-1.9-kmod-2.6.27.25-ipfire-xen * htop-0.8.1 * httpd-2.2.11 * hwdata @@ -151,6 +157,7 @@ * kbd-1.12 * klibc-1.5.14 * kqemu-1.4.0pre1-kmod-2.6.27.25-ipfire +* kqemu-1.4.0pre1-kmod-2.6.27.25-ipfire-xen * kudzu-1.2.64 * l7-protocols-2009-05-10 * lame-3.97 @@ -182,6 +189,7 @@ * libxml2-2.6.26 * libxslt-1.1.17 * linux-2.6.27.25-ipfire +* linux-2.6.27.25-ipfire-xen * linux-atm-2.4.1 * linux-libc-headers-2.6.12.0 * lm_sensors-3.0.3 @@ -192,8 +200,10 @@ * lzo-2.02 * m4-1.4.4 * mISDN.git-9bf7deaa4b8829ab8fbccb34529a17aab2ddea93-kmod-2.6.27.25-ipfire +* mISDN.git-9bf7deaa4b8829ab8fbccb34529a17aab2ddea93-kmod-2.6.27.25-ipfire-xen * mISDNuser.git-54928dec57bc846f2c2186f3640e69a053cd3641 * madwifi-hal-0.10.5.6-r4031-20090529-kmod-2.6.27.25-ipfire +* madwifi-hal-0.10.5.6-r4031-20090529-kmod-2.6.27.25-ipfire-xen * make-3.81 * man-db-2.4.3 * man-pages-2.34 @@ -240,6 +250,7 @@ * openssl-0.9.8k * openswan-2.6.21 * openswan-2.6.21-kmod-2.6.27.25-ipfire +* openswan-2.6.21-kmod-2.6.27.25-ipfire-xen * openvpn-2.0.9 * p7zip_4.65 * pam_mysql-0.7RC1 @@ -315,6 +326,7 @@ * usbutils-0.72 * util-linux-2.12r * v4l-dvb-bff77ec33116-kmod-2.6.27.25-ipfire +* v4l-dvb-bff77ec33116-kmod-2.6.27.25-ipfire-xen * vdr-1.6.0 * vdradmin-am-3.6.4 * vim-7.0 diff --git a/lfs/hso b/lfs/hso new file mode 100644 index 0000000000..371d1c3991 --- /dev/null +++ b/lfs/hso @@ -0,0 +1,87 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program 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 3 of the License, or # +# (at your option) any later version. # +# # +# This program 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 this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +ifeq "$(XEN)" "1" + VERSUFIX = ipfire-xen +else + VERSUFIX = ipfire +endif + +VER = 1.9 + +THISAPP = hso-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/hso_26-v$(VER) +TARGET = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 6412b24ff8cf0527b52616e335ae24f0 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + $(PAK) + +############################################################################### +# 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 jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ \ + SUBDIRS=$(DIR_APP) modules + cd $(DIR_APP) && install -m 644 hso.ko \ + /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/usb + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 2f67a65759..ab5a40fa80 100755 --- a/make.sh +++ b/make.sh @@ -340,6 +340,7 @@ buildipfire() { ipfiremake which ipfiremake linux-xen ipfiremake atl2 XEN=1 + ipfiremake hso XEN=1 ipfiremake e1000e XEN=1 ipfiremake kqemu XEN=1 ipfiremake v4l-dvb XEN=1 @@ -350,6 +351,7 @@ buildipfire() { ipfiremake compat-wireless XEN=1 ipfiremake linux ipfiremake atl2 + ipfiremake hso ipfiremake e1000e ipfiremake kqemu ipfiremake v4l-dvb -- 2.39.2