diff options
44 files changed, 27 insertions, 1672 deletions
diff --git a/net-wireless/ieee80211/ChangeLog b/net-wireless/ieee80211/ChangeLog index 4a6c1ced8727..692bffd6e85d 100644 --- a/net-wireless/ieee80211/ChangeLog +++ b/net-wireless/ieee80211/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for net-wireless/ieee80211 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.28 2006/02/22 12:29:00 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.29 2006/02/23 14:03:28 brix Exp $ + + 23 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/ieee80211-1.0.3-broadcast.patch, + -files/ieee80211-1.0.3-keep_restricted_bit.patch, + -files/ieee80211-1.0.3-open_frag.patch, + -files/ieee80211-1.1.5-broadcast.patch, -files/ieee80211-1.1.5-we18.patch, + -ieee80211-1.0.1.ebuild, -ieee80211-1.0.2.ebuild, -ieee80211-1.0.3.ebuild, + -ieee80211-1.0.3-r1.ebuild, -ieee80211-1.0.3-r2.ebuild, + -ieee80211-1.1.5.ebuild, -ieee80211-1.1.5-r1.ebuild: + Pruned old ebuilds. 22 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> ieee80211-1.1.9.ebuild: diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.1 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.1 deleted file mode 100644 index 8f1fb39a4637..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3b211ee69c6450aeac6848d5cace87f6 ieee80211-1.0.1.tgz 55641 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.2 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.2 deleted file mode 100644 index 88667cae6e4b..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4db85585abdbfaf458a56dae57312ac3 ieee80211-1.0.2.tgz 55777 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.3 deleted file mode 100644 index bb51c85dc9c8..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 49870c030278e3716194ff5b64f9cbaa ieee80211-1.0.3.tgz 63355 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r1 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r1 deleted file mode 100644 index bb51c85dc9c8..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 49870c030278e3716194ff5b64f9cbaa ieee80211-1.0.3.tgz 63355 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r2 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r2 deleted file mode 100644 index bb51c85dc9c8..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 49870c030278e3716194ff5b64f9cbaa ieee80211-1.0.3.tgz 63355 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 b/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 deleted file mode 100644 index 5f10503e90c7..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 e05fb14fab25462710955f464e1a7c5d ieee80211-1.1.5.tgz 70185 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5-r1 b/net-wireless/ieee80211/files/digest-ieee80211-1.1.5-r1 deleted file mode 100644 index 5f10503e90c7..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 e05fb14fab25462710955f464e1a7c5d ieee80211-1.1.5.tgz 70185 diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch deleted file mode 100644 index cb7ba41a2111..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -urp ieee80211-1.0.3/net/ieee80211.h ieee80211-1.0.3-broadcast/net/ieee80211.h ---- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 01:53:35.000000000 +0200 -+++ ieee80211-1.0.3-broadcast/net/ieee80211.h 2005-09-02 19:39:01.000000000 +0200 -@@ -720,6 +720,11 @@ static inline int is_multicast_ether_add - return addr[0] & 0x01; - } - #endif -+static inline int is_broadcast_ether_addr(const u8 *addr) -+{ -+ return (addr[0] == 0xff && addr[1] == 0xff && addr[2] == 0xff && -+ addr[3] == 0xff && addr[4] == 0xff && addr[5] == 0xff); -+} - - #define CFG_IEEE80211_RESERVE_FCS (1<<0) - #define CFG_IEEE80211_COMPUTE_FCS (1<<1) diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-keep_restricted_bit.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-keep_restricted_bit.patch deleted file mode 100644 index 7173adbbb55e..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.0.3-keep_restricted_bit.patch +++ /dev/null @@ -1,28 +0,0 @@ -[Bug 768] Keep auth mode unchanged after iwconfig key off/on. - -Signed-off-by: Zhu Yi <yi.zhu@intel.com> --- -diff -urp ieee80211-1.0.3/ieee80211_wx.c ieee80211-1.0.3-keep_restricted_bit/ieee80211_wx.c ---- ieee80211-1.0.3/ieee80211_wx.c 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-keep_restricted_bit/ieee80211_wx.c 2005-09-01 13:03:16.000000000 +0800 -@@ -413,11 +413,15 @@ int ieee80211_wx_set_encode(struct ieee8 - sec.flags |= SEC_ACTIVE_KEY; - } - } -- ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED); -- sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; -- sec.flags |= SEC_AUTH_MODE; -- IEEE80211_DEBUG_WX("Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? -- "OPEN" : "SHARED KEY"); -+ if (erq->flags & (IW_ENCODE_OPEN | IW_ENCODE_RESTRICTED)) { -+ ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED); -+ sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : -+ WLAN_AUTH_SHARED_KEY; -+ sec.flags |= SEC_AUTH_MODE; -+ IEEE80211_DEBUG_WX("Auth: %s\n", -+ sec.auth_mode == WLAN_AUTH_OPEN ? -+ "OPEN" : "SHARED KEY"); -+ } - - /* For now we just support WEP, so only set that security level... - * TODO: When WPA is added this is one place that needs to change */ diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-open_frag.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-open_frag.patch deleted file mode 100644 index 11dfa4ca7d83..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.0.3-open_frag.patch +++ /dev/null @@ -1,63 +0,0 @@ -Add host_open_frag to indicate if fragmentation is need to be done by host. - -Signed-off-by: Hong Liu <hong.liu@intel.com> -Signed-off-by: Zhu Yi <yi.zhu@intel.com> --- -diff -urp ieee80211-1.0.3/ieee80211_module.c ieee80211-1.0.3-open-frag/ieee80211_module.c ---- ieee80211-1.0.3/ieee80211_module.c 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-open-frag/ieee80211_module.c 2005-08-03 16:12:25.000000000 +0800 -@@ -137,6 +137,11 @@ struct net_device *alloc_ieee80211(int s - /* Default to enabling full open WEP with host based encrypt/decrypt */ - ieee->host_encrypt = 1; - ieee->host_decrypt = 1; -+ /* Host fragementation in Open mode. Default is enabled. Note host -+ * fragmentation is always enabled if host encryption is enabled. -+ * For cards can do hardware encryption, they can do hardware -+ * fragmentation as well. So we don't need a variable host_enc_frag. */ -+ ieee->host_open_frag = 1; - ieee->ieee802_1x = 1; /* Default to supporting 802.1x */ - - INIT_LIST_HEAD(&ieee->crypt_deinit_list); -@@ -151,7 +156,6 @@ struct net_device *alloc_ieee80211(int s - ieee->tkip_countermeasures = 0; - ieee->drop_unencrypted = 0; - ieee->privacy_invoked = 0; -- ieee->ieee802_1x = 1; - - return dev; - -diff -urp ieee80211-1.0.3/ieee80211_tx.c ieee80211-1.0.3-open-frag/ieee80211_tx.c ---- ieee80211-1.0.3/ieee80211_tx.c 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-open-frag/ieee80211_tx.c 2005-08-03 16:12:25.000000000 +0800 -@@ -363,7 +363,7 @@ int ieee80211_xmit(struct sk_buff *skb, - skb_pull(skb, hdr_len); - } - -- if (host_encrypt) { -+ if (host_encrypt || ieee->host_open_frag) { - /* Determine fragmentation size based on destination (multicast - * and broadcast are not fragmented) */ - if (is_multicast_ether_addr(dest)) -@@ -382,8 +382,9 @@ int ieee80211_xmit(struct sk_buff *skb, - - /* Each fragment may need to have room for encryptiong - * pre/postfix */ -- bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + -- crypt->ops->extra_mpdu_postfix_len; -+ if (host_encrypt) -+ bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + -+ crypt->ops->extra_mpdu_postfix_len; - - /* Number of fragments is the total - * bytes_per_frag / payload_per_fragment */ -diff -urp ieee80211-1.0.3/net/ieee80211.h ieee80211-1.0.3-open-frag/net/ieee80211.h ---- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-open-frag/net/ieee80211.h 2005-08-03 16:12:25.000000000 +0800 -@@ -798,6 +798,7 @@ struct ieee80211_device { - int host_encrypt; - int host_encrypt_msdu; - int host_decrypt; -+ int host_open_frag; - int ieee802_1x; /* is IEEE 802.1X used */ - - /* WPA data */ diff --git a/net-wireless/ieee80211/files/ieee80211-1.1.5-broadcast.patch b/net-wireless/ieee80211/files/ieee80211-1.1.5-broadcast.patch deleted file mode 100644 index 83f6e7de5879..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.1.5-broadcast.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -urp ieee80211-1.1.5/ieee80211_rx.c ieee80211-1.1.5-broadcast/ieee80211_rx.c ---- ieee80211-1.1.5/ieee80211_rx.c 2005-10-14 02:12:12.000000000 +0800 -+++ ieee80211-1.1.5-broadcast/ieee80211_rx.c 2005-10-19 15:52:46.000000000 +0800 -@@ -409,8 +409,9 @@ int ieee80211_rx(struct ieee80211_device - return 1; - } - -- if (is_multicast_ether_addr(hdr->addr1) ? ieee->host_mc_decrypt : -- ieee->host_decrypt) { -+ if ((is_multicast_ether_addr(hdr->addr1) || -+ ieee80211_is_broadcast_ether_addr(hdr->addr1)) ? ieee->host_mc_decrypt : -+ ieee->host_decrypt) { - int idx = 0; - if (skb->len >= hdrlen + 3) - idx = skb->data[hdrlen + 3] >> 6; -diff -urp ieee80211-1.1.5/ieee80211_tx.c ieee80211-1.1.5-broadcast/ieee80211_tx.c ---- ieee80211-1.1.5/ieee80211_tx.c 2005-10-14 02:12:12.000000000 +0800 -+++ ieee80211-1.1.5-broadcast/ieee80211_tx.c 2005-10-19 15:55:38.000000000 +0800 -@@ -338,7 +338,8 @@ int ieee80211_xmit(struct sk_buff *skb, - if (host_encrypt || ieee->host_open_frag) { - /* Determine fragmentation size based on destination (multicast - * and broadcast are not fragmented) */ -- if (is_multicast_ether_addr(dest)) -+ if (is_multicast_ether_addr(dest) || -+ ieee80211_is_broadcast_ether_addr(dest)) - frag_size = MAX_FRAG_THRESHOLD; - else - frag_size = ieee->fts; -diff -urp ieee80211-1.1.5/net/ieee80211.h ieee80211-1.1.5-broadcast/net/ieee80211.h ---- ieee80211-1.1.5/net/ieee80211.h 2005-10-14 02:12:12.000000000 +0800 -+++ ieee80211-1.1.5-broadcast/net/ieee80211.h 2005-10-19 15:51:31.000000000 +0800 -@@ -962,6 +962,12 @@ static inline int is_multicast_ether_add - } - #endif - -+static inline int ieee80211_is_broadcast_ether_addr(const u8 *addr) -+{ -+ return (addr[0] == 0xff && addr[1] == 0xff && addr[2] == 0xff && -+ addr[3] == 0xff && addr[4] == 0xff && addr[5] == 0xff); -+} -+ - static inline void *ieee80211_priv(struct net_device *dev) - { - return ((struct ieee80211_device *)netdev_priv(dev))->priv; diff --git a/net-wireless/ieee80211/files/ieee80211-1.1.5-we18.patch b/net-wireless/ieee80211/files/ieee80211-1.1.5-we18.patch deleted file mode 100644 index b8510de7c28d..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.1.5-we18.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff --git a/net/ieee80211.h b/net/ieee80211.h ---- a/net/ieee80211.h -+++ b/net/ieee80211.h -@@ -29,6 +29,21 @@ - #include <linux/kernel.h> /* ARRAY_SIZE */ - #include <linux/wireless.h> - -+#if WIRELESS_EXT < 18 -+#define IW_QUAL_QUAL_UPDATED 0x01 /* Value was updated since last read */ -+#define IW_QUAL_LEVEL_UPDATED 0x02 -+#define IW_QUAL_NOISE_UPDATED 0x04 -+#define IW_QUAL_ALL_UPDATED 0x07 -+#define IW_QUAL_QUAL_INVALID 0x10 /* Driver doesn't provide value */ -+#define IW_QUAL_LEVEL_INVALID 0x20 -+#define IW_QUAL_NOISE_INVALID 0x40 -+#define IW_QUAL_ALL_INVALID 0x70 -+#endif -+ -+#if WIRELESS_EXT < 19 -+#define IW_QUAL_DBM 0x08 /* Level + Noise are dBm */ -+#endif -+ - #define IEEE80211_VERSION "1.1.5" - - #define IEEE80211_DATA_LEN 2304 -diff --git a/ieee80211_crypt_tkip.c b/ieee80211_crypt_tkip.c ---- a/ieee80211_crypt_tkip.c -+++ b/ieee80211_crypt_tkip.c -@@ -555,6 +555,7 @@ static void ieee80211_michael_mic_failur - struct ieee80211_hdr_4addr *hdr, - int keyidx) - { -+#if WIRELESS_EXT >= 18 - union iwreq_data wrqu; - struct iw_michaelmicfailure ev; - -@@ -570,6 +571,7 @@ static void ieee80211_michael_mic_failur - memset(&wrqu, 0, sizeof(wrqu)); - wrqu.data.length = sizeof(ev); - wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); -+#endif - } - - static int ieee80211_michael_mic_verify(struct sk_buff *skb, int keyidx, -diff --git a/ieee80211_wx.c b/ieee80211_wx.c ---- a/ieee80211_wx.c -+++ b/ieee80211_wx.c -@@ -488,6 +488,7 @@ int ieee80211_wx_get_encode(struct ieee8 - return 0; - } - -+#if WIRELESS_EXT >= 18 - int ieee80211_wx_set_encodeext(struct ieee80211_device *ieee, - struct iw_request_info *info, - union iwreq_data *wrqu, char *extra) -@@ -721,6 +722,7 @@ int ieee80211_wx_get_encodeext(struct ie - - EXPORT_SYMBOL(ieee80211_wx_set_encodeext); - EXPORT_SYMBOL(ieee80211_wx_get_encodeext); -+#endif - - EXPORT_SYMBOL(ieee80211_wx_get_scan); - EXPORT_SYMBOL(ieee80211_wx_set_encode); diff --git a/net-wireless/ieee80211/ieee80211-1.0.1.ebuild b/net-wireless/ieee80211/ieee80211-1.0.1.ebuild deleted file mode 100644 index 40eed0ddbca7..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.0.1.ebuild +++ /dev/null @@ -1,87 +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/ieee80211/ieee80211-1.0.1.ebuild,v 1.4 2006/02/01 21:25:34 brix Exp $ - -inherit linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ieee80211/ieee80211-1.0.2.ebuild b/net-wireless/ieee80211/ieee80211-1.0.2.ebuild deleted file mode 100644 index cf71cbc98c18..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.0.2.ebuild +++ /dev/null @@ -1,87 +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/ieee80211/ieee80211-1.0.2.ebuild,v 1.4 2006/02/01 21:25:34 brix Exp $ - -inherit linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ieee80211/ieee80211-1.0.3-r1.ebuild b/net-wireless/ieee80211/ieee80211-1.0.3-r1.ebuild deleted file mode 100644 index a4924caa42ba..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.0.3-r1.ebuild +++ /dev/null @@ -1,90 +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/ieee80211/ieee80211-1.0.3-r1.ebuild,v 1.4 2006/02/01 21:25:34 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-broadcast.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ieee80211/ieee80211-1.0.3-r2.ebuild b/net-wireless/ieee80211/ieee80211-1.0.3-r2.ebuild deleted file mode 100644 index fda999bbfeed..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.0.3-r2.ebuild +++ /dev/null @@ -1,93 +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/ieee80211/ieee80211-1.0.3-r2.ebuild,v 1.7 2006/02/01 21:25:34 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-keep_restricted_bit.patch - epatch ${FILESDIR}/${P}-open_frag.patch - - epatch ${FILESDIR}/${P}-broadcast.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ieee80211/ieee80211-1.0.3.ebuild b/net-wireless/ieee80211/ieee80211-1.0.3.ebuild deleted file mode 100644 index 5e5107005b04..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.0.3.ebuild +++ /dev/null @@ -1,87 +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/ieee80211/ieee80211-1.0.3.ebuild,v 1.6 2006/02/01 21:25:34 brix Exp $ - -inherit linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ieee80211/ieee80211-1.1.5-r1.ebuild b/net-wireless/ieee80211/ieee80211-1.1.5-r1.ebuild deleted file mode 100644 index b363292b462d..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.1.5-r1.ebuild +++ /dev/null @@ -1,91 +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/ieee80211/ieee80211-1.1.5-r1.ebuild,v 1.6 2006/02/01 21:25:34 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-we18.patch - epatch ${FILESDIR}/${P}-broadcast.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ieee80211/ieee80211-1.1.5.ebuild b/net-wireless/ieee80211/ieee80211-1.1.5.ebuild deleted file mode 100644 index a8eb1e83f0e5..000000000000 --- a/net-wireless/ieee80211/ieee80211-1.1.5.ebuild +++ /dev/null @@ -1,90 +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/ieee80211/ieee80211-1.1.5.ebuild,v 1.7 2006/02/01 21:25:34 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" -HOMEPAGE="http://ieee80211.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="!<=net-wireless/ipw2100-1.1.0 - !<=net-wireless/ipw2200-1.0.4" -RDEPEND="${DEPEND}" - -IUSE="debug" -BUILD_TARGETS="all" -MODULE_NAMES="ieee80211(net/ieee80211:) - ieee80211_crypt(net/ieee80211:) - ieee80211_crypt_wep(net/ieee80211:) - ieee80211_crypt_ccmp(net/ieee80211:) - ieee80211_crypt_tkip(net/ieee80211:)" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." -ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \ - [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \ - egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then - eerror - eerror "Your kernel source contains an incompatible version of the" - eerror "ieee80211 subsystem, which needs to be removed before" - eerror "${P} can be installed. This can be accomplished by running:" - eerror - eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}" - eerror - eerror "Please note that this will make it impossible to use some of the" - eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." - eerror - die "Incompatible in-kernel ieee80211 subsystem detected" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || \ - linux_chkconfig_present CRYPTO_AES_X86_64 || \ - linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms." - die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-we18.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/net - doins net/*.h - - dodoc CHANGES -} diff --git a/net-wireless/ipw2100/ChangeLog b/net-wireless/ipw2100/ChangeLog index 1c7ea9ce0621..fc729629589a 100644 --- a/net-wireless/ipw2100/ChangeLog +++ b/net-wireless/ipw2100/ChangeLog @@ -1,6 +1,21 @@ # ChangeLog for net-wireless/ipw2100 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.95 2006/02/22 12:30:04 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.96 2006/02/23 13:59:22 brix Exp $ + + 23 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/ipw2100-1.0.5-is_multicast_ether_addr.patch, + -files/ipw2100-1.0.5-suspend2.patch, + -files/ipw2100-1.1.0-is_multicast_ether_addr.patch, + -files/ipw2100-1.1.0-suspend2.patch, + -files/ipw2100-1.1.2-header_data-fix.patch, + -files/ipw2100-1.1.2-ieee80211-1.0.3.patch, + -files/ipw2100-1.1.2-pci_link-fix.patch, + -files/ipw2100-1.1.2-suspend2.patch, + -files/ipw2100-1.1.2-wext-crash.patch, -ipw2100-1.0.5.ebuild, + -ipw2100-1.1.0.ebuild, -ipw2100-1.1.1.ebuild, -ipw2100-1.1.2.ebuild, + -ipw2100-1.1.2-r1.ebuild, -ipw2100-1.1.2-r2.ebuild, + -ipw2100-1.1.2-r3.ebuild: + Pruned old ebuilds. 22 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> ipw2100-1.1.5-r1.ebuild: diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.0.5 b/net-wireless/ipw2100/files/digest-ipw2100-1.0.5 deleted file mode 100644 index 728f5496bf3d..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.0.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 26f96a9a20eed00d8e4e6c963ed41d37 ipw2100-1.0.5.tgz 135129 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.0 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.0 deleted file mode 100644 index 89a56f35612c..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.1.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 d185a19e73895a4f4e8401b536f6d6ef ipw2100-1.1.0.tgz 133396 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.1 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.1 deleted file mode 100644 index 57d34ddc8f56..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 dc0e0c48cc1974a706e921421e5442db ipw2100-1.1.1.tgz 98736 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.2 deleted file mode 100644 index 4b331357f2ff..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 604d44b15a0e0653897ca323310253dc ipw2100-1.1.2.tgz 99001 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r1 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r1 deleted file mode 100644 index 4b331357f2ff..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 604d44b15a0e0653897ca323310253dc ipw2100-1.1.2.tgz 99001 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r2 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r2 deleted file mode 100644 index 4b331357f2ff..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 604d44b15a0e0653897ca323310253dc ipw2100-1.1.2.tgz 99001 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r3 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r3 deleted file mode 100644 index 4b331357f2ff..000000000000 --- a/net-wireless/ipw2100/files/digest-ipw2100-1.1.2-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 604d44b15a0e0653897ca323310253dc ipw2100-1.1.2.tgz 99001 diff --git a/net-wireless/ipw2100/files/ipw2100-1.0.5-is_multicast_ether_addr.patch b/net-wireless/ipw2100/files/ipw2100-1.0.5-is_multicast_ether_addr.patch deleted file mode 100644 index 50ef2fb59c40..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.0.5-is_multicast_ether_addr.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -urp ipw2100-1.0.5/ieee80211.h ipw2100-1.0.5-is_multicast_ether_addr/ieee80211.h ---- ipw2100-1.0.5/ieee80211.h 2005-02-08 21:38:23.000000000 +0100 -+++ ipw2100-1.0.5-is_multicast_ether_addr/ieee80211.h 2005-06-24 23:18:54.000000000 +0200 -@@ -643,10 +643,12 @@ enum ieee80211_state { - #define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5] - - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) - extern inline int is_multicast_ether_addr(const u8 *addr) - { - return ((addr[0] != 0xff) && (0x01 & addr[0])); - } -+#endif - - extern inline int is_broadcast_ether_addr(const u8 *addr) - { diff --git a/net-wireless/ipw2100/files/ipw2100-1.0.5-suspend2.patch b/net-wireless/ipw2100/files/ipw2100-1.0.5-suspend2.patch deleted file mode 100644 index 630b46ff0dc6..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.0.5-suspend2.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -urp ipw2100-1.0.5/ipw2100.c ipw2100-1.0.5-suspend2/ipw2100.c ---- ipw2100-1.0.5/ipw2100.c 2005-02-08 21:38:23.000000000 +0100 -+++ ipw2100-1.0.5-suspend2/ipw2100.c 2005-06-24 23:19:22.000000000 +0200 -@@ -6401,7 +6401,7 @@ static struct net_device *ipw2100_alloc_ - INIT_STAT(&priv->fw_pend_stat); - - --#ifdef CONFIG_SOFTWARE_SUSPEND2 -+#ifdef CONFIG_SOFTWARE_SUSPEND2_BUILTIN - priv->workqueue = create_workqueue(DRV_NAME, 0); - #else - priv->workqueue = create_workqueue(DRV_NAME); -diff -urp ipw2100-1.0.5/ipw2100.h ipw2100-1.0.5-suspend2/ipw2100.h ---- ipw2100-1.0.5/ipw2100.h 2005-02-08 21:38:23.000000000 +0100 -+++ ipw2100-1.0.5-suspend2/ipw2100.h 2005-06-24 23:19:22.000000000 +0200 -@@ -57,6 +57,13 @@ typedef void irqreturn_t; - #define IW_QUAL_NOISE_INVALID 0x40 - #endif - -+#if !defined(CONFIG_SOFTWARE_SUSPEND2_BUILTIN) && \ -+ (defined(CONFIG_SUSPEND2) || \ -+ defined(CONFIG_SOFTWARE_SUSPEND2) || \ -+ defined(CONFIG_SOFTWARE_SUSPEND2_MODULE)) -+#define CONFIG_SOFTWARE_SUSPEND2_BUILTIN -+#endif -+ - #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5) ) - #define pci_dma_sync_single_for_cpu pci_dma_sync_single - #define pci_dma_sync_single_for_device pci_dma_sync_single diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.0-is_multicast_ether_addr.patch b/net-wireless/ipw2100/files/ipw2100-1.1.0-is_multicast_ether_addr.patch deleted file mode 100644 index 00eaed5bc48f..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.0-is_multicast_ether_addr.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -urp ipw2100-1.1.0/ieee80211.h ipw2100-1.1.0-is_multicast_ether_addr/ieee80211.h ---- ipw2100-1.1.0/ieee80211.h 2005-03-14 17:54:24.000000000 +0100 -+++ ipw2100-1.1.0-is_multicast_ether_addr/ieee80211.h 2005-06-18 11:15:43.000000000 +0200 -@@ -643,10 +643,12 @@ enum ieee80211_state { - #define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5] - - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) - extern inline int is_multicast_ether_addr(const u8 *addr) - { - return ((addr[0] != 0xff) && (0x01 & addr[0])); - } -+#endif - - extern inline int is_broadcast_ether_addr(const u8 *addr) - { -Only in ipw2100-1.1.0-is_multicast_ether_addr: ieee80211.h.orig diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.0-suspend2.patch b/net-wireless/ipw2100/files/ipw2100-1.1.0-suspend2.patch deleted file mode 100644 index 6147571eb755..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.0-suspend2.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -urp ipw2100-1.1.0/ipw2100.c ipw2100-1.1.0-suspend2/ipw2100.c ---- ipw2100-1.1.0/ipw2100.c 2005-05-05 21:35:56.000000000 +0200 -+++ ipw2100-1.1.0-suspend2/ipw2100.c 2005-05-05 21:41:05.000000000 +0200 -@@ -6401,7 +6401,7 @@ static struct net_device *ipw2100_alloc_ - INIT_STAT(&priv->fw_pend_stat); - - --#ifdef CONFIG_SOFTWARE_SUSPEND2 -+#ifdef CONFIG_SOFTWARE_SUSPEND2_BUILTIN - priv->workqueue = create_workqueue(DRV_NAME, 0); - #else - priv->workqueue = create_workqueue(DRV_NAME); -diff -urp ipw2100-1.1.0/ipw2100.h ipw2100-1.1.0-suspend2/ipw2100.h ---- ipw2100-1.1.0/ipw2100.h 2005-05-05 21:35:56.000000000 +0200 -+++ ipw2100-1.1.0-suspend2/ipw2100.h 2005-05-05 21:40:30.000000000 +0200 -@@ -57,6 +57,13 @@ typedef void irqreturn_t; - #define IW_QUAL_NOISE_INVALID 0x40 - #endif - -+#if !defined(CONFIG_SOFTWARE_SUSPEND2_BUILTIN) && \ -+ (defined(CONFIG_SUSPEND2) || \ -+ defined(CONFIG_SOFTWARE_SUSPEND2) || \ -+ defined(CONFIG_SOFTWARE_SUSPEND2_MODULE)) -+#define CONFIG_SOFTWARE_SUSPEND2_BUILTIN -+#endif -+ - #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5) ) - #define pci_dma_sync_single_for_cpu pci_dma_sync_single - #define pci_dma_sync_single_for_device pci_dma_sync_single diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.2-header_data-fix.patch b/net-wireless/ipw2100/files/ipw2100-1.1.2-header_data-fix.patch deleted file mode 100644 index 12e21ee2f734..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.2-header_data-fix.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix compile with ieee80211-1.0.3 - -Signed-off-by: Zhu Yi <yi.zhu@intel.com> --- -diff -urp ipw2100-1.1.2/ipw2100.h ipw2100-1.1.2-header_data/ipw2100.h ---- ipw2100-1.1.2/ipw2100.h 2005-07-14 02:59:37.000000000 +0800 -+++ ipw2100-1.1.2-header_data/ipw2100.h 2005-08-08 14:03:57.000000000 +0800 -@@ -786,7 +786,7 @@ struct ipw2100_priv { - - - --#define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_header_data) -+#define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_hdr_3addr) - #define IPW_MAX_80211_PAYLOAD_SIZE 2304U - #define IPW_MAX_802_11_PAYLOAD_LENGTH 2312 - #define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH 1536 -@@ -801,7 +801,7 @@ struct ipw2100_priv { - IPW_802_11_FCS_LENGTH) - - #define IPW_802_11_PAYLOAD_OFFSET \ -- (sizeof(struct ieee80211_header_data) + \ -+ (sizeof(struct ieee80211_hdr_3addr) + \ - sizeof(struct ieee80211_snap_hdr)) - - struct ipw2100_rx { diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.2-ieee80211-1.0.3.patch b/net-wireless/ipw2100/files/ipw2100-1.1.2-ieee80211-1.0.3.patch deleted file mode 100644 index 56927469bc0f..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.2-ieee80211-1.0.3.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ipw2100.h 2005-07-14 10:23:54.000000000 -0500 -+++ ipw2100.h 2005-07-15 10:43:54.598311608 -0500 -@@ -782,7 +786,7 @@ struct ipw2100_priv { - - - --#define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_header_data) -+#define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_hdr_3addr) - #define IPW_MAX_80211_PAYLOAD_SIZE 2304U - #define IPW_MAX_802_11_PAYLOAD_LENGTH 2312 - #define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH 1536 diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.2-pci_link-fix.patch b/net-wireless/ipw2100/files/ipw2100-1.1.2-pci_link-fix.patch deleted file mode 100644 index 7e8f88e42d8e..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.2-pci_link-fix.patch +++ /dev/null @@ -1,59 +0,0 @@ -Free irq in ->suspend and request irq in ->resume to be compliant with -the latest PM request (Documentation/power/pci.txt). - -Signed-off-by: Zhu Yi <yi.zhu@intel.com> --- -diff -urp ipw2100-1.1.2/ipw2100.c ipw2100-1.1.2-pci_link/ipw2100.c ---- ipw2100-1.1.2/ipw2100.c 2005-07-14 02:59:37.000000000 +0800 -+++ ipw2100-1.1.2-pci_link/ipw2100.c 2005-08-09 15:58:41.000000000 +0800 -@@ -6447,6 +6447,7 @@ static int ipw2100_suspend(struct pci_de - /* Take down the device; powers it off, etc. */ - ipw2100_down(priv); - } -+ free_irq(pci_dev->irq, dev); - - /* Remove the PRESENT state of the device */ - netif_device_detach(dev); -@@ -6473,6 +6474,7 @@ static int ipw2100_resume(struct pci_dev - struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); - struct net_device *dev = priv->net_dev; - u32 val; -+ int err = 0; - - if (IPW2100_PM_DISABLED) - return 0; -@@ -6488,6 +6490,7 @@ static int ipw2100_resume(struct pci_dev - pci_set_power_state(pci_dev, PCI_D0); - #endif - pci_enable_device(pci_dev); -+ - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) - pci_restore_state(pci_dev,priv->pm_state); - #else -@@ -6504,6 +6507,14 @@ static int ipw2100_resume(struct pci_dev - if ((val & 0x0000ff00) != 0) - pci_write_config_dword(pci_dev, 0x40, val & 0xffff00ff); - -+ err = request_irq(pci_dev->irq, -+ ipw2100_interrupt, SA_SHIRQ, dev->name, priv); -+ if (err) { -+ printk(KERN_WARNING DRV_NAME -+ "Error calling request_irq: %d.\n", pci_dev->irq); -+ goto exit; -+ } -+ - /* Set the device back into the PRESENT state; this will also wake - * the queue of needed */ - netif_device_attach(dev); -@@ -6512,9 +6523,9 @@ static int ipw2100_resume(struct pci_dev - if (!(priv->status & STATUS_RF_KILL_SW)) - ipw2100_up(priv, 0); - -+exit: - up(&priv->action_sem); -- -- return 0; -+ return err; - } - #endif - diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.2-suspend2.patch b/net-wireless/ipw2100/files/ipw2100-1.1.2-suspend2.patch deleted file mode 100644 index 0b3ca2a88e5e..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.2-suspend2.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -urp ipw2100-1.1.2/ipw2100.c ipw2100-1.1.2-suspend2/ipw2100.c ---- ipw2100-1.1.2/ipw2100.c 2005-07-13 20:59:37.000000000 +0200 -+++ ipw2100-1.1.2-suspend2/ipw2100.c 2005-08-29 18:19:16.000000000 +0200 -@@ -6150,12 +6150,7 @@ static struct net_device *ipw2100_alloc_ - INIT_LIST_HEAD(&priv->fw_pend_list); - INIT_STAT(&priv->fw_pend_stat); - -- --#ifdef PF_SYNCTHREAD -- priv->workqueue = create_workqueue(DRV_NAME, 0); --#else - priv->workqueue = create_workqueue(DRV_NAME); --#endif - INIT_WORK(&priv->reset_work, - (void (*)(void *))ipw2100_reset_adapter, priv); - INIT_WORK(&priv->security_work, diff --git a/net-wireless/ipw2100/files/ipw2100-1.1.2-wext-crash.patch b/net-wireless/ipw2100/files/ipw2100-1.1.2-wext-crash.patch deleted file mode 100644 index a3b8d439f4d1..000000000000 --- a/net-wireless/ipw2100/files/ipw2100-1.1.2-wext-crash.patch +++ /dev/null @@ -1,21 +0,0 @@ -Don't set hardware WEP if we are actually using TKIP/AES. - -Signed-off-by: Hong Liu <hong.liu@intel.com> --- -diff -Nurp ipw2100-1.1.2/ipw2100.c ipw2100-1.1.2-wext-crash/ipw2100.c ---- ipw2100-1.1.2/ipw2100.c 2005-07-14 02:59:37.000000000 +0800 -+++ ipw2100-1.1.2-wext-crash/ipw2100.c 2005-08-03 16:07:06.000000000 +0800 -@@ -5186,8 +5186,11 @@ static void shim__set_security(struct ne - else - memcpy(priv->ieee->sec.keys[i], sec->keys[i], - sec->key_sizes[i]); -- priv->ieee->sec.flags |= (1 << i); -- priv->status |= STATUS_SECURITY_UPDATED; -+ if (sec->level == SEC_LEVEL_1) { -+ priv->ieee->sec.flags |= (1 << i); -+ priv->status |= STATUS_SECURITY_UPDATED; -+ } else -+ priv->ieee->sec.flags &= ~(1 << i); - } - } - diff --git a/net-wireless/ipw2100/ipw2100-1.0.5.ebuild b/net-wireless/ipw2100/ipw2100-1.0.5.ebuild deleted file mode 100644 index 3e327bb4e139..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.0.5.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.0.5.ebuild,v 1.7 2005/07/11 16:45:03 brix Exp $ - -inherit eutils linux-mod - -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" - -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="debug" -DEPEND="!net-wireless/ieee80211 - !net-wireless/ipw2200" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" - -MODULE_NAMES="ipw2100(net:) - ieee80211(net:) - ieee80211_crypt(net:) - ieee80211_crypt_wep(net:) - ieee80211_crypt_ccmp(net:) - ieee80211_crypt_tkip(net:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC FW_LOADER CRC32" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." - -pkg_setup() { - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms (i586) (CONFIG_CRYPTO_AES_586)." - eerror "This option is called CONFIG_CRYPTO_AES in kernels prior to 2.6.8." - die "CONFIG_CRYPTO_AES_586 support not detected" - fi - - linux-mod_pkg_setup - - BUILD_PARAMS="KSRC=${KV_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-suspend2.patch - epatch ${FILESDIR}/${P}-is_multicast_ether_addr.patch - - use debug && debug="y" - sed -i \ - -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" \ - -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=$debug:" \ - ${S}/Makefile - - convert_to_m ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES -} diff --git a/net-wireless/ipw2100/ipw2100-1.1.0.ebuild b/net-wireless/ipw2100/ipw2100-1.1.0.ebuild deleted file mode 100644 index 527e5f29728c..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.1.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.0.ebuild,v 1.5 2005/07/11 16:45:03 brix Exp $ - -inherit eutils linux-mod - -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" - -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="debug" -DEPEND="!net-wireless/ieee80211 - !net-wireless/ipw2200" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" - -MODULE_NAMES="ipw2100(net:) - ieee80211(net:) - ieee80211_crypt(net:) - ieee80211_crypt_wep(net:) - ieee80211_crypt_ccmp(net:) - ieee80211_crypt_tkip(net:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC FW_LOADER CRC32" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." -ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." - -pkg_setup() { - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if ! (linux_chkconfig_present CRYPTO_AES_586 || linux_chkconfig_present CRYPTO_AES); then - eerror "${P} requires support for AES cipher algorithms (i586) (CONFIG_CRYPTO_AES_586)." - eerror "This option is called CONFIG_CRYPTO_AES in kernels prior to 2.6.8." - die "CONFIG_CRYPTO_AES_586 support not detected" - fi - - linux-mod_pkg_setup - - BUILD_PARAMS="KSRC=${KV_DIR}" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-suspend2.patch - epatch ${FILESDIR}/${P}-is_multicast_ether_addr.patch - - use debug && debug="y" - sed -i \ - -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" \ - -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=$debug:" \ - ${S}/Makefile - - convert_to_m ${S}/Makefile -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES ISSUES -} diff --git a/net-wireless/ipw2100/ipw2100-1.1.1.ebuild b/net-wireless/ipw2100/ipw2100-1.1.1.ebuild deleted file mode 100644 index 84224004996d..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.1.1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.1.ebuild,v 1.1 2005/07/12 21:49:57 brix Exp $ - -inherit linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -IEEE80211_VERSION="1.0.1" -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -IUSE="debug" -DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" -MODULE_NAMES="ipw2100(net/wireless:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO FW_LOADER" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." - -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} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" ${S}/Makefile -} - -src_compile() { - einfo - einfo "You may safely ignore any errors from compilation that contain" - einfo "warnings about undefined references to the ieee80211 subsystem." - einfo - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then - einfo - einfo "Modules from an earlier installation detected. You will need to manually" - einfo "remove those modules by running the following commands:" - einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" - einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" - einfo " # depmod -a" - einfo - fi -} diff --git a/net-wireless/ipw2100/ipw2100-1.1.2-r1.ebuild b/net-wireless/ipw2100/ipw2100-1.1.2-r1.ebuild deleted file mode 100644 index 016545d548d8..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.1.2-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.2-r1.ebuild,v 1.2 2005/08/16 12:31:36 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -IEEE80211_VERSION="1.0.3" -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="debug" -DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" -MODULE_NAMES="ipw2100(net/wireless:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO FW_LOADER" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." - -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} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-ieee80211-1.0.3.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" ${S}/Makefile -} - -src_compile() { - einfo - einfo "You may safely ignore any errors from compilation that contain" - einfo "warnings about undefined references to the ieee80211 subsystem." - einfo - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then - einfo - einfo "Modules from an earlier installation detected. You will need to manually" - einfo "remove those modules by running the following commands:" - einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" - einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" - einfo " # depmod -a" - einfo - fi -} diff --git a/net-wireless/ipw2100/ipw2100-1.1.2-r2.ebuild b/net-wireless/ipw2100/ipw2100-1.1.2-r2.ebuild deleted file mode 100644 index 831aece08ce4..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.1.2-r2.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.2-r2.ebuild,v 1.1 2005/08/29 20:05:01 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -IEEE80211_VERSION="1.0.3" -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -IUSE="debug" -DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" -MODULE_NAMES="ipw2100(net/wireless:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO FW_LOADER" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." - -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} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-ieee80211-1.0.3.patch - epatch ${FILESDIR}/${P}-suspend2.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" ${S}/Makefile -} - -src_compile() { - einfo - einfo "You may safely ignore any errors from compilation that contain" - einfo "warnings about undefined references to the ieee80211 subsystem." - einfo - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then - einfo - einfo "Modules from an earlier installation detected. You will need to manually" - einfo "remove those modules by running the following commands:" - einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" - einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" - einfo " # depmod -a" - einfo - fi -} diff --git a/net-wireless/ipw2100/ipw2100-1.1.2-r3.ebuild b/net-wireless/ipw2100/ipw2100-1.1.2-r3.ebuild deleted file mode 100644 index c3e9b1a753d6..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.1.2-r3.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.2-r3.ebuild,v 1.2 2005/10/15 20:52:00 brix Exp $ - -inherit eutils linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -IEEE80211_VERSION="1.0.3" -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="debug" -DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" -MODULE_NAMES="ipw2100(net/wireless:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO FW_LOADER" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} does not support building against kernel 2.4.x" - fi - - if [[ ! -f /lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then - eerror - eerror "Looks like you forgot to remerge net-wireless/ieee80211 after" - eerror "upgrading your kernel." - eerror - eerror "Hint: use sys-kernel/module-rebuild for keeping track of which" - eerror "modules needs to be remerged after a kernel upgrade." - eerror - die "/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found" - fi - - BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-header_data-fix.patch - epatch ${FILESDIR}/${P}-pci_link-fix.patch - epatch ${FILESDIR}/${P}-wext-crash.patch - - kernel_is gt 2 6 12 && epatch ${FILESDIR}/${P}-suspend2.patch - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" ${S}/Makefile -} - -src_compile() { - linux-mod_src_compile - - einfo - einfo "You may safely ignore any errors from above compilation that contain" - einfo "warnings about undefined references to the ieee80211 subsystem." - einfo -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then - einfo - einfo "Modules from an earlier installation detected. You will need to manually" - einfo "remove those modules by running the following commands:" - einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" - einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" - einfo " # depmod -a" - einfo - fi -} diff --git a/net-wireless/ipw2100/ipw2100-1.1.2.ebuild b/net-wireless/ipw2100/ipw2100-1.1.2.ebuild deleted file mode 100644 index 4d62878988ac..000000000000 --- a/net-wireless/ipw2100/ipw2100-1.1.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.2.ebuild,v 1.1 2005/07/14 07:13:58 brix Exp $ - -inherit linux-mod - -# The following works with both pre-releases and releases -MY_P=${P/_/-} -S=${WORKDIR}/${MY_P} - -IEEE80211_VERSION="1.0.2" -FW_VERSION="1.3" - -DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" -HOMEPAGE="http://ipw2100.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -IUSE="debug" -DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" -RDEPEND="${DEPEND} - =net-wireless/ipw2100-firmware-${FW_VERSION} - >=net-wireless/wireless-tools-27_pre23" - -BUILD_TARGETS="all" -MODULE_NAMES="ipw2100(net/wireless:)" -MODULESD_IPW2100_DOCS="README.ipw2100" - -CONFIG_CHECK="NET_RADIO FW_LOADER" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." - -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} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" -} - -src_unpack() { - local debug="n" - - unpack ${A} - - use debug && debug="y" - sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" ${S}/Makefile -} - -src_compile() { - einfo - einfo "You may safely ignore any errors from compilation that contain" - einfo "warnings about undefined references to the ieee80211 subsystem." - einfo - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - - dodoc CHANGES -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then - einfo - einfo "Modules from an earlier installation detected. You will need to manually" - einfo "remove those modules by running the following commands:" - einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" - einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" - einfo " # depmod -a" - einfo - fi -} |