diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-09-04 01:52:58 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-09-04 01:52:58 +0000 |
commit | 3f190dc84e639eb584ebaaabd2a11551b9878b7a (patch) | |
tree | 407f6768fa7faded828b72d36aa68bdc1e122927 /net-wireless | |
parent | remove net-wireless/zd1211, bug 177920 (diff) | |
download | historical-3f190dc84e639eb584ebaaabd2a11551b9878b7a.tar.gz historical-3f190dc84e639eb584ebaaabd2a11551b9878b7a.tar.bz2 historical-3f190dc84e639eb584ebaaabd2a11551b9878b7a.zip |
remove net-wireless/rtl8187, bug 180008
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rtl8187/ChangeLog | 26 | ||||
-rw-r--r-- | net-wireless/rtl8187/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/rtl8187/files/kernel-2.6.19.patch | 231 | ||||
-rw-r--r-- | net-wireless/rtl8187/files/module-param-and-isoc.patch | 45 | ||||
-rw-r--r-- | net-wireless/rtl8187/metadata.xml | 5 | ||||
-rw-r--r-- | net-wireless/rtl8187/rtl8187-1.10.ebuild | 81 |
6 files changed, 0 insertions, 394 deletions
diff --git a/net-wireless/rtl8187/ChangeLog b/net-wireless/rtl8187/ChangeLog deleted file mode 100644 index 63014d0e9e8f..000000000000 --- a/net-wireless/rtl8187/ChangeLog +++ /dev/null @@ -1,26 +0,0 @@ -# ChangeLog for net-wireless/rtl8187 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8187/ChangeLog,v 1.5 2007/05/09 20:00:14 genstef Exp $ - - 09 May 2007; Stefan Schweizer <genstef@gentoo.org> - +files/kernel-2.6.19.patch, rtl8187-1.10.ebuild: - 2.6.19 support for bug 161895 thanks to Christian Holler and Paul Bredbury - - 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 08 Aug 2006; Stefan Schweizer <genstef@gentoo.org> - +files/module-param-and-isoc.patch, rtl8187-1.10.ebuild: - fix build problems, bug 143103, thanks to Jack Eids_no_google_me_ness <jack - at hh.peril.org> - - 05 Jun 2006; Stefan Schweizer <genstef@gentoo.org> rtl8187-1.10.ebuild: - Add !IEEE80211 dep thanks to Thomas Schäfer <t.schaefer@bigfoot.de> in bug - 128101 - -*rtl8187-1.10 (03 Jan 2006) - - 03 Jan 2006; Stefan Schweizer <genstef@gentoo.org> +metadata.xml, - +rtl8187-1.10.ebuild: - New ebuild thanks to tuXXer <bs.net@gmx.de> in bug 117145 - diff --git a/net-wireless/rtl8187/Manifest b/net-wireless/rtl8187/Manifest deleted file mode 100644 index 1d1f3088aa19..000000000000 --- a/net-wireless/rtl8187/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX kernel-2.6.19.patch 11099 RMD160 3298c37b6cf2e9c9f26623a88102118da3af1439 SHA1 0d1088b43b3fa50df6debbfd7a4dd88205e83c4d SHA256 297539862d465ca8aa45f854d8fa8dfd6ac4efc03f53934211991832aee9b064 -AUX module-param-and-isoc.patch 1782 RMD160 c123669b05d642e7f0a815c16a7af211f5f20eba SHA1 ce9544bf43dfe82f98d0b9d4de4a95386bf8d4e0 SHA256 120b1db887036f764421b57b5873e1aa07eec935cb628b0f5438f6b0511cb309 -DIST rtl8187_linux_26.1010.zip 794171 RMD160 6782212f717f0acc4535a24bf2d8447c9b9bb899 SHA1 b952127371c4da4dfbeb0a3bf93cf11f4dc3d35f SHA256 e3c1b038bda9f21d12b77e147c97b47e500175db742872b9b61e8028b98a642e -EBUILD rtl8187-1.10.ebuild 2249 RMD160 bf959cd5fc0cf06fed62ba69fe3479c9c74c56d5 SHA1 bb289771e96c6ab961d316aff09d42f16d350900 SHA256 c71becc3eda0b07677d549bd3f0559d0897f837a0de37ca8f4596bf0a2ff736f -MISC ChangeLog 1042 RMD160 1af9ff2f8a967e2d33f8d2027c13794acafac864 SHA1 6d42ccc1669999596eadf9ecb2e755d5a496a421 SHA256 91568200941d2303c3a285d082afb5287b7ecd40f73b20d02b046282381af60d -MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f diff --git a/net-wireless/rtl8187/files/kernel-2.6.19.patch b/net-wireless/rtl8187/files/kernel-2.6.19.patch deleted file mode 100644 index a81c6223aa4f..000000000000 --- a/net-wireless/rtl8187/files/kernel-2.6.19.patch +++ /dev/null @@ -1,231 +0,0 @@ -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/r8180_wx.c ./beta-8187/r8180_wx.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/r8180_wx.c 2006-06-06 03:58:02.000000000 +0100 -+++ ./beta-8187/r8180_wx.c 2007-01-21 18:45:13.000000000 +0000 -@@ -664,7 +664,7 @@ - }; - - #if WIRELESS_EXT >= 17 --static struct iw_statistics *r8180_get_wireless_stats(struct net_device *dev) -+static struct iw_statistics *r8180_get_stats(struct net_device *dev) - { - struct r8180_priv *priv = ieee80211_priv(dev); - -@@ -680,7 +680,7 @@ - .num_private = sizeof(r8180_private_handler) / sizeof(iw_handler), - .num_private_args = sizeof(r8180_private_args) / sizeof(struct iw_priv_args), - #if WIRELESS_EXT >= 17 -- .get_wireless_stats = r8180_get_wireless_stats, -+ .get_wireless_stats = r8180_get_stats, - #endif - .private_args = (struct iw_priv_args *)r8180_private_args, - }; -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c ./beta-8187/r8187_core.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c 2007-01-21 18:43:35.000000000 +0000 -+++ ./beta-8187/r8187_core.c 2007-01-21 18:45:13.000000000 +0000 -@@ -266,7 +266,7 @@ - } - - --//irqreturn_t rtl8180_interrupt(int irq, void *netdev, struct pt_regs *regs); -+//irqreturn_t rtl8180_interrupt(int irq, void *netdev); - //void set_nic_rxring(struct net_device *dev); - //void set_nic_txring(struct net_device *dev); - static struct net_device_stats *rtl8180_stats(struct net_device *dev); -@@ -408,7 +408,7 @@ - } - - --static struct iw_statistics *r8180_get_wireless_stats(struct net_device *dev) -+static struct iw_statistics *r8180_get_stats(struct net_device *dev) - { - struct r8180_priv *priv = ieee80211_priv(dev); - -@@ -678,7 +678,7 @@ - write_nic_dword(dev,TX_CONF,tx | (TX_LOOPBACK_NONE<<TX_LOOPBACK_SHIFT)); - #endif - } --void rtl8187_rx_isr(struct urb *rx_urb, struct pt_regs *regs); -+void rtl8187_rx_isr(struct urb *rx_urb); - - - void rtl8187_rx_urbsubmit(struct net_device *dev, struct urb* rx_urb) -@@ -1048,7 +1048,7 @@ - } - - --void rtl8187_rx_isr(struct urb *rx_urb, struct pt_regs *regs) -+void rtl8187_rx_isr(struct urb *rx_urb) - { - struct net_device *dev = (struct net_device*)rx_urb->context; - struct r8180_priv *priv = ieee80211_priv(dev); -@@ -1225,7 +1225,7 @@ - - void rtl8180_try_wake_queue(struct net_device *dev, int pri); - --void rtl8187_lptx_isr(struct urb *tx_urb, struct pt_regs *regs) -+void rtl8187_lptx_isr(struct urb *tx_urb) - { - struct net_device *dev = (struct net_device*)tx_urb->context; - struct r8180_priv *priv = ieee80211_priv(dev); -@@ -1324,7 +1324,7 @@ - - } - --void rtl8187_nptx_isr(struct urb *tx_urb, struct pt_regs *regs) -+void rtl8187_nptx_isr(struct urb *tx_urb) - { - struct net_device *dev = (struct net_device*)tx_urb->context; - struct r8180_priv *priv = ieee80211_priv(dev); -@@ -2418,7 +2418,7 @@ - dev->do_ioctl = rtl8180_ioctl; - dev->set_multicast_list = r8180_set_multicast; - dev->set_mac_address = r8180_set_mac_adr; -- dev->get_wireless_stats = r8180_get_wireless_stats; -+ dev->get_stats = r8180_get_stats; - dev->type=ARPHRD_ETHER; - - if (dev_alloc_name(dev, ifname) < 0){ -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.h ./beta-8187/r8187.h ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.h 2007-01-21 18:45:06.000000000 +0000 -+++ ./beta-8187/r8187.h 2007-01-21 18:45:13.000000000 +0000 -@@ -26,7 +26,7 @@ - - #include <linux/module.h> - #include <linux/kernel.h> --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/init.h> - #include <linux/ioport.h> - #include <linux/sched.h> -@@ -285,5 +285,6 @@ - void write_phy_cck(struct net_device *dev, u8 adr, u32 data); - void write_phy_ofdm(struct net_device *dev, u8 adr, u32 data); - void rtl8185_tx_antenna(struct net_device *dev, u8 ant); -+void rtl8180_set_mode(struct net_device *dev,int mode); - void rtl8187_set_rxconf(struct net_device *dev); - #endif -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/tags ./beta-8187/tags ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/beta-8187/tags 2006-06-07 03:14:06.000000000 +0100 -+++ ./beta-8187/tags 2007-01-21 18:45:13.000000000 +0000 -@@ -1118,8 +1118,8 @@ - ps_timeout ieee80211.h /^ int ps_timeout;$/;" m struct:ieee80211_device - ps_tl ieee80211.h /^ u32 ps_tl;$/;" m struct:ieee80211_device - queue_stop ieee80211.h /^ short queue_stop;$/;" m struct:ieee80211_device --r8180_get_wireless_stats r8180_wx.c /^static struct iw_statistics *r8180_get_wireless_stats(struct net_device *dev)$/;" f file: --r8180_get_wireless_stats r8187_core.c /^static struct iw_statistics *r8180_get_wireless_stats(struct net_device *dev)$/;" f file: -+r8180_get_stats r8180_wx.c /^static struct iw_statistics *r8180_get_stats(struct net_device *dev)$/;" f file: -+r8180_get_stats r8187_core.c /^static struct iw_statistics *r8180_get_stats(struct net_device *dev)$/;" f file: - r8180_priv r8187.h /^typedef struct r8180_priv$/;" s - r8180_priv r8187.h /^}r8180_priv;$/;" t - r8180_private_args r8180_wx.c /^static const struct iw_priv_args r8180_private_args[] = { $/;" v file: -@@ -1228,11 +1228,11 @@ - rtl8187_beacon_stop r8187_core.c /^void rtl8187_beacon_stop(struct net_device *dev)$/;" f - rtl8187_beacon_tx r8187_core.c /^void rtl8187_beacon_tx(struct net_device *dev)$/;" f - rtl8187_link_change r8187_core.c /^void rtl8187_link_change(struct net_device *dev)$/;" f --rtl8187_lptx_isr r8187_core.c /^void rtl8187_lptx_isr(struct urb *tx_urb, struct pt_regs *regs)$/;" f -+rtl8187_lptx_isr r8187_core.c /^void rtl8187_lptx_isr(struct urb *tx_urb)$/;" f - rtl8187_net_update r8187_core.c /^void rtl8187_net_update(struct net_device *dev)$/;" f --rtl8187_nptx_isr r8187_core.c /^void rtl8187_nptx_isr(struct urb *tx_urb, struct pt_regs *regs)$/;" f -+rtl8187_nptx_isr r8187_core.c /^void rtl8187_nptx_isr(struct urb *tx_urb)$/;" f - rtl8187_rx_initiate r8187_core.c /^void rtl8187_rx_initiate(struct net_device *dev)$/;" f --rtl8187_rx_isr r8187_core.c /^void rtl8187_rx_isr(struct urb *rx_urb, struct pt_regs *regs)$/;" f -+rtl8187_rx_isr r8187_core.c /^void rtl8187_rx_isr(struct urb *rx_urb)$/;" f - rtl8187_rx_urbsubmit r8187_core.c /^void rtl8187_rx_urbsubmit(struct net_device *dev, struct urb* rx_urb)$/;" f - rtl8187_set_rate r8187_core.c /^void rtl8187_set_rate(struct net_device *dev)$/;" f - rtl8187_set_rxconf r8187_core.c /^void rtl8187_set_rxconf(struct net_device *dev)$/;" f -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt.c ./ieee80211/ieee80211_crypt.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt.c 2006-06-06 03:57:56.000000000 +0100 -+++ ./ieee80211/ieee80211_crypt.c 2007-01-21 18:45:13.000000000 +0000 -@@ -11,7 +11,7 @@ - * - */ - --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/version.h> - #include <linux/module.h> - #include <linux/init.h> -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.c ./ieee80211/ieee80211_crypt_ccmp.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.c 2006-06-06 03:58:00.000000000 +0100 -+++ ./ieee80211/ieee80211_crypt_ccmp.c 2007-01-21 18:45:13.000000000 +0000 -@@ -9,7 +9,7 @@ - * more details. - */ - --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/version.h> - #include <linux/module.h> - #include <linux/init.h> -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c ./ieee80211/ieee80211_crypt_tkip.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c 2006-06-06 03:57:54.000000000 +0100 -+++ ./ieee80211/ieee80211_crypt_tkip.c 2007-01-21 18:45:13.000000000 +0000 -@@ -9,7 +9,7 @@ - * more details. - */ - --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/version.h> - #include <linux/module.h> - #include <linux/init.h> -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.c ./ieee80211/ieee80211_crypt_wep.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.c 2006-06-06 03:57:54.000000000 +0100 -+++ ./ieee80211/ieee80211_crypt_wep.c 2007-01-21 18:45:13.000000000 +0000 -@@ -9,7 +9,7 @@ - * more details. - */ - --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/version.h> - #include <linux/module.h> - #include <linux/init.h> -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_module.c ./ieee80211/ieee80211_module.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_module.c 2006-06-06 03:58:00.000000000 +0100 -+++ ./ieee80211/ieee80211_module.c 2007-01-21 18:45:13.000000000 +0000 -@@ -31,7 +31,7 @@ - *******************************************************************************/ - - #include <linux/compiler.h> --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/errno.h> - #include <linux/if_arp.h> - #include <linux/in6.h> -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.c ./ieee80211/ieee80211_rx.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.c 2006-06-06 03:58:00.000000000 +0100 -+++ ./ieee80211/ieee80211_rx.c 2007-01-21 18:45:13.000000000 +0000 -@@ -22,7 +22,7 @@ - - - #include <linux/compiler.h> --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/errno.h> - #include <linux/if_arp.h> - #include <linux/in6.h> -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.c ./ieee80211/ieee80211_softmac_wx.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.c 2006-06-06 03:57:54.000000000 +0100 -+++ ./ieee80211/ieee80211_softmac_wx.c 2007-01-21 18:45:13.000000000 +0000 -@@ -356,7 +356,7 @@ - spin_lock_irqsave(&ieee->lock, flags); - - if (wrqu->essid.flags && wrqu->essid.length) { -- len = ((wrqu->essid.length-1) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length-1) : IW_ESSID_MAX_SIZE; -+ len = ((wrqu->essid.length) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length) : IW_ESSID_MAX_SIZE; - - strncpy(ieee->current_network.ssid, extra, len); - ieee->current_network.ssid_len = len; -diff -Naur ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.c ./ieee80211/ieee80211_tx.c ---- ../../../rtl8187-1.10-orig/work/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.c 2006-06-06 03:57:54.000000000 +0100 -+++ ./ieee80211/ieee80211_tx.c 2007-01-21 18:45:13.000000000 +0000 -@@ -32,7 +32,7 @@ - ******************************************************************************/ - - #include <linux/compiler.h> --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/errno.h> - #include <linux/if_arp.h> - #include <linux/in6.h> diff --git a/net-wireless/rtl8187/files/module-param-and-isoc.patch b/net-wireless/rtl8187/files/module-param-and-isoc.patch deleted file mode 100644 index 0d8f184c7e13..000000000000 --- a/net-wireless/rtl8187/files/module-param-and-isoc.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- rtl8187_linuxdrv_V1.1/beta-8187/r8187_core.c.orig 2006-08-08 10:24:24.000000000 +0200 -+++ rtl8187_linuxdrv_V1.1/beta-8187/r8187_core.c 2006-08-08 10:25:35.000000000 +0200 -@@ -105,16 +105,16 @@ - MODULE_AUTHOR("Andrea Merello <andreamrl@tiscali.it>");
- MODULE_DESCRIPTION("Linux driver for Realtek RTL8187 WiFi cards");
-
--MODULE_PARM(ifname,"s");
-+module_param(ifname, charp, 0);
- MODULE_PARM_DESC(devname," Net interface name, wlan%d=default");
- #if 0
--MODULE_PARM(hwseqnum,"i");
-+module_param(hwseqnum, int, 0);
- MODULE_PARM_DESC(hwseqnum," Try to use hardware 802.11 header sequence numbers. Zero=default");
-
--MODULE_PARM(hwwep,"i");
-+module_param(hwwep, int, 0);
- MODULE_PARM_DESC(hwwep," Try to use hardware WEP support. Still broken and not available on all cards");
- #endif
--MODULE_PARM(channels,"i");
-+module_param(channels, int, 0);
- MODULE_PARM_DESC(channels," Channel bitmask for specific locales. NYI");
-
- MODULE_VERSION("V 0.q");
-@@ -125,7 +125,6 @@ - static void __devexit rtl8187_usb_disconnect(struct usb_interface *intf);
-
- static struct usb_driver rtl8187_usb_driver = {
-- .owner = THIS_MODULE,
- .name = RTL8187_MODULE_NAME, /* Driver name */
- .id_table = rtl8187_usb_id_tbl, /* PCI_ID table */
- .probe = rtl8187_usb_probe, /* probe fn */
-@@ -2327,11 +2326,11 @@ - int rtl8180_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
- {
- struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev);
-+ struct iwreq *wrq = (struct iwreq *) rq;
-+ int ret=-1;
-
- down(&priv->wx_sem);
-
-- struct iwreq *wrq = (struct iwreq *) rq;
-- int ret=-1;
- switch (cmd) {
- case RTL_IOCTL_WPA_SUPPLICANT:
- ret = ieee80211_wpa_supplicant_ioctl(priv->ieee80211, &wrq->u.data);
diff --git a/net-wireless/rtl8187/metadata.xml b/net-wireless/rtl8187/metadata.xml deleted file mode 100644 index b27ff8eb4ed6..000000000000 --- a/net-wireless/rtl8187/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>mobile</herd> -</pkgmetadata> diff --git a/net-wireless/rtl8187/rtl8187-1.10.ebuild b/net-wireless/rtl8187/rtl8187-1.10.ebuild deleted file mode 100644 index f1bcb835d173..000000000000 --- a/net-wireless/rtl8187/rtl8187-1.10.ebuild +++ /dev/null @@ -1,81 +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/rtl8187/rtl8187-1.10.ebuild,v 1.4 2007/05/09 20:00:14 genstef Exp $ - -inherit eutils linux-mod - -FILE="rtl8187_linux_26.1010.zip" - -DESCRIPTION="Driver for the RTL8187 wireless chipset" -HOMEPAGE="http://www.realtek.com.tw" -SRC_URI="ftp://61.56.69.18/cn/wlan/${FILE} - ftp://209.216.61.149/cn/wlan/${FILE}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" - -DEPEND="app-arch/unzip" - -S=${WORKDIR}/rtl8187_linux_26.1010.0622.2006 - -MODULE_NAMES="ieee80211_crypt-rtl(net:${S}/ieee80211) ieee80211_crypt_wep-rtl(net:${S}/ieee80211) - ieee80211_crypt_tkip-rtl(net:${S}/ieee80211) ieee80211_crypt_ccmp-rtl(net:${S}/ieee80211) - ieee80211-rtl(net:${S}/ieee80211) r8187(net:${S}/beta-8187)" -BUILD_TARGETS=" " -MODULESD_R8187_ALIASES=("wlan0 r8187") - -pkg_setup() { - if ! kernel_is 2 6 ; then - eerror "This driver is for kernel version 2.6 or greater only!" - die "No kernel version 2.6 or greater detected!" - fi - - linux-mod_pkg_setup - - # Needs NET_RADIO in kernel, for wireless_send_event - local CONFIG_CHECK="NET_RADIO CRYPTO CRYPTO_ARC4 CRC32 !IEEE80211" - local ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - check_extra_config - - BUILD_PARAMS="KSRC=${KV_DIR}" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - unpack ./stack.tar.gz - unpack ./drv.tar.gz - - edos2unix beta-8187/r8187_core.c || die - edos2unix beta-8187/r8187.h || die - - cp -f ieee80211/readme ieee80211.txt - rm -f beta-8187/*~ - - epatch "${FILESDIR}/kernel-2.6.19.patch" - - einfo "Ignore the 'ieee80211* undefined' warnings." -} - -src_install() { - linux-mod_src_install - - dodoc *.txt wlan0* beta-8187/{authors,changes,readme} -} - -pkg_postinst() { - linux-mod_pkg_postinst - - elog "You may want to add the following modules to" - elog "/etc/modules.autoload.d/kernel-2.6" - elog - elog "The module itself: r8187" - elog "WEP and WPA encryption: ieee80211_crypt-rtl" - elog "WEP encryption: ieee80211_crypt_wep-rtl" - elog "WPA TKIP encryption: ieee80211_crypt_tkip-rtl" - elog "WPA CCMP encryption: ieee80211_crypt_ccmp-rtl" - elog "For the r8187 module: ieee80211-rtl" -} |