summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-02-10 10:58:08 +0000
committerChristian Heim <phreak@gentoo.org>2007-02-10 10:58:08 +0000
commitc815795fca682ad4b91a6d18b24ed23726d7c318 (patch)
treeafd9a1b4a3ac5280a0734bfa533f3aa50675fb5b /net-wireless/rfswitch
parentRemove libtar automagic, bug #154194 (diff)
downloadgentoo-2-c815795fca682ad4b91a6d18b24ed23726d7c318.tar.gz
gentoo-2-c815795fca682ad4b91a6d18b24ed23726d7c318.tar.bz2
gentoo-2-c815795fca682ad4b91a6d18b24ed23726d7c318.zip
Version bump, also fixing compile issues with kernel >=2.6.19. Thanks to Sebastian T. Hafner <sonix-gentoobugs at own-hero.net> for reporting.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-wireless/rfswitch')
-rw-r--r--net-wireless/rfswitch/ChangeLog8
-rw-r--r--net-wireless/rfswitch/files/digest-rfswitch-1.13
-rw-r--r--net-wireless/rfswitch/rfswitch-1.1.ebuild52
3 files changed, 62 insertions, 1 deletions
diff --git a/net-wireless/rfswitch/ChangeLog b/net-wireless/rfswitch/ChangeLog
index 61914f48a701..6049cd2287a8 100644
--- a/net-wireless/rfswitch/ChangeLog
+++ b/net-wireless/rfswitch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/rfswitch
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/ChangeLog,v 1.4 2007/02/09 05:11:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/ChangeLog,v 1.5 2007/02/10 10:58:08 phreak Exp $
+
+*rfswitch-1.1 (10 Feb 2007)
+
+ 10 Feb 2007; Christian Heim <phreak@gentoo.org> +rfswitch-1.1.ebuild:
+ Version bump, also fixing compile issues with kernel >=2.6.19. Thanks to
+ Sebastian T. Hafner <sonix-gentoobugs at own-hero.net> for reporting.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-wireless/rfswitch/files/digest-rfswitch-1.1 b/net-wireless/rfswitch/files/digest-rfswitch-1.1
new file mode 100644
index 000000000000..b2399de743f2
--- /dev/null
+++ b/net-wireless/rfswitch/files/digest-rfswitch-1.1
@@ -0,0 +1,3 @@
+MD5 1f2233397bb95721c0f5b6d6f7868513 rfswitch-1.1.tar.gz 11888
+RMD160 4d7c57f50e0130b8da05076f88266370b6902059 rfswitch-1.1.tar.gz 11888
+SHA256 cb16d8af830e96d95d6fa9d0a24deced50c316ff3b61cd85d74608a1fab3dca6 rfswitch-1.1.tar.gz 11888
diff --git a/net-wireless/rfswitch/rfswitch-1.1.ebuild b/net-wireless/rfswitch/rfswitch-1.1.ebuild
new file mode 100644
index 000000000000..00c8e385e9b7
--- /dev/null
+++ b/net-wireless/rfswitch/rfswitch-1.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/rfswitch-1.1.ebuild,v 1.1 2007/02/10 10:58:08 phreak Exp $
+
+inherit linux-mod
+
+DESCRIPTION="Drivers for software based wireless radio switches"
+HOMEPAGE="http://rfswitch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+RDEPEND=""
+
+BUILD_TARGETS="modules"
+
+MODULE_NAMES="av5100(net/wireless:)
+ pbe5(net/wireless:)"
+MODULESD_AV5100_DOCS="README"
+
+# Use the in-kernel ipw2100 modules
+CONFIG_CHECK="IPW2100"
+ERROR_IPW2100="${P} requires support for ipw2100 (CONFIG_IPW2100)."
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4 ; then
+ die "${P} does not support building against kernel 2.4.x"
+ fi
+
+ BUILD_PARAMS="KSRC=${KV_DIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ convert_to_m "${S}"/Makefile
+
+ # Compile fixes for >=kernel-2.6.19
+ sed -i "s,#include <linux/config.h>,#include <linux/autoconf.h>," \
+ "${S}"/av5100.c "${S}"/pbe5.c
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc ISSUES
+}