diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-06 00:23:18 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-06 00:23:18 +0000 |
commit | f927e91f0f3782a7b6f75f56433de68dd1ea030f (patch) | |
tree | 77f63a61c057a0a4ab0f8c044b237bcb8a64cc1a /net-wireless/fwlanusb | |
parent | using special openSUSE repository for AVM drivers from now on. (diff) | |
download | gentoo-2-f927e91f0f3782a7b6f75f56433de68dd1ea030f.tar.gz gentoo-2-f927e91f0f3782a7b6f75f56433de68dd1ea030f.tar.bz2 gentoo-2-f927e91f0f3782a7b6f75f56433de68dd1ea030f.zip |
removed old files
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'net-wireless/fwlanusb')
11 files changed, 8 insertions, 496 deletions
diff --git a/net-wireless/fwlanusb/ChangeLog b/net-wireless/fwlanusb/ChangeLog index 581d7dfba51e..9a939cc90048 100644 --- a/net-wireless/fwlanusb/ChangeLog +++ b/net-wireless/fwlanusb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/fwlanusb # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/fwlanusb/ChangeLog,v 1.9 2008/01/06 00:20:37 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/fwlanusb/ChangeLog,v 1.10 2008/01/06 00:23:17 sbriesen Exp $ + + 06 Jan 2008; Stefan Briesenick <sbriesen@gentoo.org> + -files/fwlanusb-0.09.00_beta-kernel_2.6.17.diff, + -files/fwlanusb-0.09.00_beta-kernel_2.6.19.diff, + -fwlanusb-0.09.00_beta.ebuild, -fwlanusb-0.09.00_beta-r1.ebuild, + -fwlanusb-0.09.00_beta-r2.ebuild, -fwlanusb-1.00.00_rc1.ebuild: + removed old files *fwlanusb-1.00.00-r1 (06 Jan 2008) diff --git a/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta b/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta deleted file mode 100644 index 49d90feb3a19..000000000000 --- a/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta +++ /dev/null @@ -1,3 +0,0 @@ -MD5 17a944b5ee2fb499f97ad5e77f22915e fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 -RMD160 4e9a7df157ba6c56512fcc3b25929f776782a3ef fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 -SHA256 9992d44e3fbc9931bd847349c99221db1b79f6187cbf12cb7859b34fa488e038 fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 diff --git a/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta-r1 b/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta-r1 deleted file mode 100644 index 49d90feb3a19..000000000000 --- a/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 17a944b5ee2fb499f97ad5e77f22915e fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 -RMD160 4e9a7df157ba6c56512fcc3b25929f776782a3ef fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 -SHA256 9992d44e3fbc9931bd847349c99221db1b79f6187cbf12cb7859b34fa488e038 fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 diff --git a/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta-r2 b/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta-r2 deleted file mode 100644 index 49d90feb3a19..000000000000 --- a/net-wireless/fwlanusb/files/digest-fwlanusb-0.09.00_beta-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 17a944b5ee2fb499f97ad5e77f22915e fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 -RMD160 4e9a7df157ba6c56512fcc3b25929f776782a3ef fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 -SHA256 9992d44e3fbc9931bd847349c99221db1b79f6187cbf12cb7859b34fa488e038 fwlanusb-suse10.0-0.09.00-beta.tar.gz 310892 diff --git a/net-wireless/fwlanusb/files/digest-fwlanusb-1.00.00_rc1 b/net-wireless/fwlanusb/files/digest-fwlanusb-1.00.00_rc1 deleted file mode 100644 index e034cb36a11c..000000000000 --- a/net-wireless/fwlanusb/files/digest-fwlanusb-1.00.00_rc1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f2fff2911d079ff4709b4f10e5b52871 fwlanusb-suse102-1.00.00-rc1.tar.gz 636755 -RMD160 bbfc077624d775f58073da2e883f7fdee6c48df9 fwlanusb-suse102-1.00.00-rc1.tar.gz 636755 -SHA256 c345edadc6349f0c9503c4aec98e82c49d2bbbf27c52df38562cd51325ca5432 fwlanusb-suse102-1.00.00-rc1.tar.gz 636755 diff --git a/net-wireless/fwlanusb/files/fwlanusb-0.09.00_beta-kernel_2.6.17.diff b/net-wireless/fwlanusb/files/fwlanusb-0.09.00_beta-kernel_2.6.17.diff deleted file mode 100644 index b9ce745a3762..000000000000 --- a/net-wireless/fwlanusb/files/fwlanusb-0.09.00_beta-kernel_2.6.17.diff +++ /dev/null @@ -1,52 +0,0 @@ ---- src/tools.h.orig 2005-12-23 15:12:10.000000000 +0100 -+++ src/tools.h 2006-08-10 18:20:38.000000000 +0200 -@@ -25,6 +25,7 @@ - - #include <asm/atomic.h> - #include <linux/types.h> -+#include <linux/version.h> - #include <linux/spinlock.h> - #include <stdarg.h> - #include "defs.h" -@@ -72,12 +73,14 @@ - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)) - static inline unsigned long atomic_xchg ( - volatile atomic_t * v, - unsigned value - ) { - return __xchg (value, &v->counter, sizeof (unsigned)); - } /* atomic_xchg */ -+#endif - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ ---- src/main.c.orig 2006-08-10 17:46:32.000000000 +0200 -+++ src/main.c 2006-08-10 18:16:00.000000000 +0200 -@@ -20,6 +20,7 @@ - * Contact: AVM GmbH, Alt-Moabit 95, 10559 Berlin, Germany, email: info@avm.de - */ - -+#include <linux/version.h> - #include <linux/kernel.h> - #include <linux/sched.h> - #include <linux/slab.h> -@@ -62,11 +63,16 @@ - - struct usb_driver usb_driver = { - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)) - .owner = THIS_MODULE, -+#endif - .name = TARGET, - .id_table = usb_id_table, - .probe = fwlanusb_probe, - .disconnect = fwlanusb_disconnect, -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17)) -+ .no_dynamic_id = 1, -+#endif - } ; - - MODULE_DEVICE_TABLE (usb, usb_id_table); diff --git a/net-wireless/fwlanusb/files/fwlanusb-0.09.00_beta-kernel_2.6.19.diff b/net-wireless/fwlanusb/files/fwlanusb-0.09.00_beta-kernel_2.6.19.diff deleted file mode 100644 index 76cffb1c2a15..000000000000 --- a/net-wireless/fwlanusb/files/fwlanusb-0.09.00_beta-kernel_2.6.19.diff +++ /dev/null @@ -1,184 +0,0 @@ -diff -Naur src.orig/buffers.c src/buffers.c ---- src.orig/buffers.c 2005-12-23 15:12:09.000000000 +0100 -+++ src/buffers.c 2006-12-11 00:25:07.000000000 +0100 -@@ -29,8 +29,8 @@ - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ --#define lock_pool(p) spin_lock_irqsave(p->lock, flags) --#define unlock_pool(p) spin_unlock_irqrestore(p->lock, flags) -+#define lock_pool(p) spin_lock_irqsave(&p->lock, flags) -+#define unlock_pool(p) spin_unlock_irqrestore(&p->lock, flags) - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ -@@ -200,7 +200,7 @@ - if (pool->ubf[ix].flag == URB_SUBMITTED) { - num++; - if (async) { -- pool->ubf[ix].urb->transfer_flags |= URB_ASYNC_UNLINK; -+ /* pool->ubf[ix].urb->transfer_flags |= URB_ASYNC_UNLINK; */ - usb_unlink_urb (pool->ubf[ix].urb); - } else { - usb_kill_urb (pool->ubf[ix].urb); -diff -Naur src.orig/driver.c src/driver.c ---- src.orig/driver.c 2005-12-23 15:12:09.000000000 +0100 -+++ src/driver.c 2006-12-11 00:07:09.000000000 +0100 -@@ -60,9 +60,15 @@ - int net_tx (struct sk_buff *skb, struct net_device *dev); - struct net_device_stats *net_stats (struct net_device *dev); - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)) - static void usb_cmd_complete (struct urb *purb, struct pt_regs *ptr); - static void usb_read_complete (struct urb *purb, struct pt_regs *ptr); - static void usb_write_complete (struct urb *purb, struct pt_regs *ptr); -+#else -+static void usb_cmd_complete (struct urb *purb); -+static void usb_read_complete (struct urb *purb); -+static void usb_write_complete (struct urb *purb); -+#endif - - //static void rx_task (unsigned long data); - //static void tx_task (unsigned long data); -@@ -473,7 +479,11 @@ - - /*--U------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)) - static void usb_write_complete (struct urb *purb1, struct pt_regs *ptr) { -+#else -+static void usb_write_complete (struct urb *purb1) { -+#endif - - #ifdef LOG_USB - LOG("usb_write_complete: TX URB %p completed.\n", purb1); -@@ -516,7 +526,11 @@ - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)) - static void usb_read_complete (struct urb *purb1, struct pt_regs *ptr) { -+#else -+static void usb_read_complete (struct urb *purb1) { -+#endif - - #ifdef LOG_USB - LOG("usb_read_complete: RX URB %p completed.\n", purb1); -@@ -597,13 +611,17 @@ - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)) - static void usb_cmd_complete (struct urb *purb1, struct pt_regs *ptr) { -+#else -+static void usb_cmd_complete (struct urb *purb1) { -+#endif - - #ifdef LOG_USB - LOG ("usb_cmd_complete: USB cmd complete for URB: %p\n", purb1); - #endif - -- UNUSED_ARG (ptr); -+ /* UNUSED_ARG (ptr); */ - assert (purb1 != NULL); - - os_protect_lock (wlan_card, wlan_card->system_lock); -diff -Naur src.orig/lib.c src/lib.c ---- src.orig/lib.c 2005-12-23 15:12:09.000000000 +0100 -+++ src/lib.c 2006-12-11 00:22:28.000000000 +0100 -@@ -399,7 +399,7 @@ - } - #endif - -- spin_lock_irqsave (lock_data->lock, local_flags); -+ spin_lock_irqsave (&lock_data->lock, local_flags); - lock_data->flags = local_flags; - } - -@@ -423,7 +423,7 @@ - } - #endif - -- spin_unlock_irqrestore (lock_data->lock, lock_data->flags); -+ spin_unlock_irqrestore (&lock_data->lock, lock_data->flags); - } - - /*---------------------------------------------------------------------------*\ -diff -Naur src.orig/main.c src/main.c ---- src.orig/main.c 2005-12-23 15:12:10.000000000 +0100 -+++ src/main.c 2006-12-11 00:07:09.000000000 +0100 -@@ -20,6 +20,7 @@ - * Contact: AVM GmbH, Alt-Moabit 95, 10559 Berlin, Germany, email: info@avm.de - */ - -+#include <linux/version.h> - #include <linux/kernel.h> - #include <linux/sched.h> - #include <linux/slab.h> -@@ -38,6 +39,7 @@ - #define VENDOR_ID_AVM 0x057C - #if defined (__fwlanusb__) - # define PRODUCT_ID 0x5601 -+# define PRODUCT_ID2 0x6201 - #else - # error You have to define a card identifier! - #endif -@@ -57,16 +59,22 @@ - static struct usb_device_id usb_id_table[] = { - - { USB_DEVICE(VENDOR_ID_AVM, PRODUCT_ID) }, -+ { USB_DEVICE(VENDOR_ID_AVM, PRODUCT_ID2) }, - { /* Terminating entry */ } - } ; - - struct usb_driver usb_driver = { - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)) - .owner = THIS_MODULE, -+#endif - .name = TARGET, - .id_table = usb_id_table, - .probe = fwlanusb_probe, - .disconnect = fwlanusb_disconnect, -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)) -+ .no_dynamic_id = 1, -+#endif - } ; - - MODULE_DEVICE_TABLE (usb, usb_id_table); -@@ -114,7 +122,8 @@ - - /* Device identification */ - if ((VENDOR_ID_AVM != dev->descriptor.idVendor) -- || (PRODUCT_ID != dev->descriptor.idProduct)) -+ || ( (PRODUCT_ID != dev->descriptor.idProduct) -+ && (PRODUCT_ID2 != dev->descriptor.idProduct))) - { - ERROR("Unknown device!\n"); - exit_nodev: -diff -Naur src.orig/tools.h src/tools.h ---- src.orig/tools.h 2005-12-23 15:12:10.000000000 +0100 -+++ src/tools.h 2006-12-11 00:07:09.000000000 +0100 -@@ -25,6 +25,7 @@ - - #include <asm/atomic.h> - #include <linux/types.h> -+#include <linux/version.h> - #include <linux/spinlock.h> - #include <stdarg.h> - #include "defs.h" -@@ -72,12 +73,14 @@ - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)) - static inline unsigned long atomic_xchg ( - volatile atomic_t * v, - unsigned value - ) { - return __xchg (value, &v->counter, sizeof (unsigned)); - } /* atomic_xchg */ -+#endif - - /*---------------------------------------------------------------------------*\ - \*---------------------------------------------------------------------------*/ diff --git a/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r1.ebuild b/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r1.ebuild deleted file mode 100644 index 5b0d65378e66..000000000000 --- a/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r1.ebuild,v 1.1 2006/08/10 22:55:46 sbriesen Exp $ - -inherit eutils linux-mod - -SUSEVER="10.0" -MY_PV="${PV//_/-}" - -DESCRIPTION="driver for the AVM FRITZ!WLAN USB stick" -HOMEPAGE="http://www.avm.de" -SRC_URI="ftp://ftp.avm.de/cardware/fritzwlanusb.stick/linux/suse.${SUSEVER}/${PN}-suse${SUSEVER}-${MY_PV}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -S="${WORKDIR}/fritz" - -DEPEND="virtual/linux-sources" - -pkg_setup() { - linux-mod_pkg_setup - if ! kernel_is 2 6; then - die "This package works only with 2.6 kernel!" - fi - if ! linux_chkconfig_present NET_WIRELESS; then - die "You need a kernel with enabled NET_WIRELESS support!" - fi - BUILD_TARGETS="all" - BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src" - MODULE_NAMES="fwlanusb(net:${S}/src)" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # apply kernel >= 2.6.17 patch - epatch "${FILESDIR}/${P}-kernel_2.6.17.diff" - - # comment out obsolete macro - sed -i "s:^\([[:space:]]*\)\(.*URB_ASYNC_UNLINK;.*\):\1/\* \2 \*/:g" src/buffers.c - convert_to_m "src/Makefile" -} - -src_install() { - linux-mod_src_install - dohtml Liesmich.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - einfo - einfo "This is a *BETA* driver! Expect everything! ;-)" - einfo - einfo "Current limitations:" - einfo " - no WPA/WPA2 support" - einfo " - no Stick & Surf function support" - einfo " - creation of an ad hoc network isn't possible," - einfo " you can only join an existing one." - einfo -} diff --git a/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r2.ebuild b/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r2.ebuild deleted file mode 100644 index 874fa93dc69d..000000000000 --- a/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/fwlanusb/fwlanusb-0.09.00_beta-r2.ebuild,v 1.1 2006/12/10 23:36:55 sbriesen Exp $ - -inherit eutils linux-mod - -SUSEVER="10.0" -MY_PV="${PV//_/-}" - -DESCRIPTION="driver for the AVM FRITZ!WLAN USB stick" -HOMEPAGE="http://www.avm.de" -SRC_URI="ftp://ftp.avm.de/cardware/fritzwlanusb.stick/linux/suse.${SUSEVER}/${PN}-suse${SUSEVER}-${MY_PV}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -S="${WORKDIR}/fritz" - -DEPEND="virtual/linux-sources" - -pkg_setup() { - linux-mod_pkg_setup - if ! kernel_is 2 6; then - die "This package works only with 2.6 kernel!" - fi - if ! linux_chkconfig_present NET_WIRELESS; then - die "You need a kernel with enabled NET_WIRELESS support!" - fi - BUILD_TARGETS="all" - BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src" - MODULE_NAMES="fwlanusb(net:${S}/src)" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # apply patches for kernels up to 2.6.19 - epatch "${FILESDIR}/${P}-kernel_2.6.19.diff" - - convert_to_m "src/Makefile" -} - -src_install() { - linux-mod_src_install - dohtml Liesmich.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - elog - elog "This is a *BETA* driver! Expect everything! ;-)" - elog - elog "Current limitations:" - elog " - no WPA/WPA2 support" - elog " - no Stick & Surf function support" - elog " - creation of an ad hoc network isn't possible," - elog " you can only join an existing one." - elog -} diff --git a/net-wireless/fwlanusb/fwlanusb-0.09.00_beta.ebuild b/net-wireless/fwlanusb/fwlanusb-0.09.00_beta.ebuild deleted file mode 100644 index 48ca6a5710c1..000000000000 --- a/net-wireless/fwlanusb/fwlanusb-0.09.00_beta.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/fwlanusb/fwlanusb-0.09.00_beta.ebuild,v 1.4 2006/01/11 00:46:04 sbriesen Exp $ - -inherit eutils linux-mod - -SUSEVER="10.0" -MY_PV="${PV//_/-}" - -DESCRIPTION="driver for the AVM FRITZ!WLAN USB stick" -HOMEPAGE="http://www.avm.de" -SRC_URI="ftp://ftp.avm.de/cardware/fritzwlanusb.stick/linux/suse.${SUSEVER}/${PN}-suse${SUSEVER}-${MY_PV}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86 -*" -IUSE="" - -S="${WORKDIR}/fritz" - -DEPEND="virtual/linux-sources" - -pkg_setup() { - linux-mod_pkg_setup - if ! kernel_is 2 6; then - die "This package works only with 2.6 kernel!" - fi - if ! linux_chkconfig_present NET_WIRELESS; then - die "You need a kernel with enabled NET_WIRELESS support!" - fi - BUILD_TARGETS="all" - BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src" - MODULE_NAMES="fwlanusb(net:${S}/src)" -} - -src_unpack() { - unpack ${A} - cd "${S}" - # comment out obsolete macro - sed -i "s:^\([[:space:]]*\)\(.*URB_ASYNC_UNLINK;.*\):\1/\* \2 \*/:g" src/buffers.c - convert_to_m "src/Makefile" -} - -src_install() { - linux-mod_src_install - dohtml Liesmich.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - einfo - einfo "This is a *BETA* driver! Expect everything! ;-)" - einfo - einfo "AVM gives no support for this driver, but asks for" - einfo "feedback. Email: linux@avm.de" - einfo - einfo "Current limitations:" - einfo " - no WPA/WPA2 support" - einfo " - no Stick & Surf function support" - einfo " - creation of an ad hoc network isn't possible," - einfo " you can only join an existing one." - einfo -} diff --git a/net-wireless/fwlanusb/fwlanusb-1.00.00_rc1.ebuild b/net-wireless/fwlanusb/fwlanusb-1.00.00_rc1.ebuild deleted file mode 100644 index 8d0fba0d1743..000000000000 --- a/net-wireless/fwlanusb/fwlanusb-1.00.00_rc1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/fwlanusb/fwlanusb-1.00.00_rc1.ebuild,v 1.1 2007/05/21 21:54:05 sbriesen Exp $ - -inherit eutils linux-mod - -SUSEVER="10.2" -MY_PV="${PV//_/-}" - -DESCRIPTION="Driver for the AVM FRITZ!WLAN USB stick" -HOMEPAGE="http://www.avm.de" -SRC_URI="ftp://ftp.avm.de/cardware/fritzwlanusb.stick/linux/suse.${SUSEVER}/${PN}-suse${SUSEVER/.}-${MY_PV}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -S="${WORKDIR}/fritz" - -DEPEND="virtual/linux-sources" - -pkg_setup() { - linux-mod_pkg_setup - if ! kernel_is 2 6; then - die "This package works only with 2.6 kernel!" - fi - if ! linux_chkconfig_present NET_WIRELESS; then - die "You need a kernel with enabled NET_WIRELESS support!" - fi - BUILD_TARGETS="all" - BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src" - MODULE_NAMES="fwlanusb(net:${S}/src)" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - convert_to_m "src/Makefile" -} - -src_install() { - linux-mod_src_install - dohtml *.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - elog - elog "This is a *BETA* driver! Expect everything! ;-)" - elog - elog "Current limitations:" - elog " - no Stick & Surf function support" - elog " - creation of an ad hoc network isn't possible," - elog " you can only join an existing one." - elog -} |