summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-07-07 11:08:51 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-07-07 11:08:51 +0000
commita33e6bce63b7c3be5078e9968d17f95e3c522189 (patch)
tree6eb3e27b70a3378ab77a91bd50a74c3f65029a38 /net-wireless/adm8211
parentremove old vulnerable, fix help text variable (diff)
downloadhistorical-a33e6bce63b7c3be5078e9968d17f95e3c522189.tar.gz
historical-a33e6bce63b7c3be5078e9968d17f95e3c522189.tar.bz2
historical-a33e6bce63b7c3be5078e9968d17f95e3c522189.zip
Add patches for 2.6.20 thanks to redhatter in bug 181845
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'net-wireless/adm8211')
-rw-r--r--net-wireless/adm8211/ChangeLog8
-rw-r--r--net-wireless/adm8211/Manifest50
-rw-r--r--net-wireless/adm8211/adm8211-20050323.ebuild49
-rw-r--r--net-wireless/adm8211/adm8211-20050620.ebuild14
-rw-r--r--net-wireless/adm8211/files/2.6.20-no-config_h.patch20
-rw-r--r--net-wireless/adm8211/files/2.6.20.patch27
-rw-r--r--net-wireless/adm8211/files/digest-adm8211-200503233
-rw-r--r--net-wireless/adm8211/files/linux-2.6.17.patch10
-rw-r--r--net-wireless/adm8211/files/linux-2.6.19.patch32
9 files changed, 130 insertions, 83 deletions
diff --git a/net-wireless/adm8211/ChangeLog b/net-wireless/adm8211/ChangeLog
index f133872a8e70..2604bb525833 100644
--- a/net-wireless/adm8211/ChangeLog
+++ b/net-wireless/adm8211/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/adm8211
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/adm8211/ChangeLog,v 1.6 2007/02/09 05:06:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/adm8211/ChangeLog,v 1.7 2007/07/07 11:08:51 genstef Exp $
+
+ 07 Jul 2007; Stefan Schweizer <genstef@gentoo.org>
+ +files/linux-2.6.17.patch, +files/linux-2.6.19.patch,
+ +files/2.6.20-no-config_h.patch, +files/2.6.20.patch,
+ -adm8211-20050323.ebuild, adm8211-20050620.ebuild:
+ Add patches for 2.6.20 thanks to redhatter in bug 181845
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-wireless/adm8211/Manifest b/net-wireless/adm8211/Manifest
index d1b90c03478b..7e37cd0c438c 100644
--- a/net-wireless/adm8211/Manifest
+++ b/net-wireless/adm8211/Manifest
@@ -1,34 +1,32 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST adm8211-20050323.tar.bz2 41076 RMD160 5498031d6463d6f73cc5cdcad49da56e9c0f9f82 SHA1 acfe74730eaf1f12acf1cda05914d2c03b574595 SHA256 5b5ec35b3d4b0385c3189babce0b141b4daa2591c9cb34e6603f278d472f095f
+AUX 2.6.20-no-config_h.patch 522 RMD160 0adada37839914557fc5c0610638a9a47b87888b SHA1 ad904091835d968b195d429aedb9e5c8b2b2e975 SHA256 69cd05081cc875364bbdb3215317bfa78d1be155850023d70779256c66f6e031
+MD5 0f5a73301c26c0bb5105e32af4678922 files/2.6.20-no-config_h.patch 522
+RMD160 0adada37839914557fc5c0610638a9a47b87888b files/2.6.20-no-config_h.patch 522
+SHA256 69cd05081cc875364bbdb3215317bfa78d1be155850023d70779256c66f6e031 files/2.6.20-no-config_h.patch 522
+AUX 2.6.20.patch 1007 RMD160 e417e8d2757f482db95db5555b0ecb2abfea7688 SHA1 7b2865760c609febc9c129ac63f000732bd36026 SHA256 831211806bdb7fe4543a2cf9aaf8204ab4371c164dd385fefdeb9d553218563f
+MD5 eeb97af4bf690799951322ad01d6ee39 files/2.6.20.patch 1007
+RMD160 e417e8d2757f482db95db5555b0ecb2abfea7688 files/2.6.20.patch 1007
+SHA256 831211806bdb7fe4543a2cf9aaf8204ab4371c164dd385fefdeb9d553218563f files/2.6.20.patch 1007
+AUX linux-2.6.17.patch 342 RMD160 3c63e0355882e198472fed15324a2214c5e9593d SHA1 428c9f2f0c7d3c9bca4805386832b9917f8e20a1 SHA256 e528739380d4ce3335a8a36add81f760295c7007bc7d95f715af2e99fd4fc7f8
+MD5 fc6d653fa73effecf13634b958c41db2 files/linux-2.6.17.patch 342
+RMD160 3c63e0355882e198472fed15324a2214c5e9593d files/linux-2.6.17.patch 342
+SHA256 e528739380d4ce3335a8a36add81f760295c7007bc7d95f715af2e99fd4fc7f8 files/linux-2.6.17.patch 342
+AUX linux-2.6.19.patch 1211 RMD160 f0318b52a3b1a028201402d9957db2d94c226076 SHA1 c6fb0bec3cb7014f737c6d6897885862070fa5a7 SHA256 a3d7e82b759341033cd91dcebcad088d4b7d9992d0bf8588f3ac6d2336475af6
+MD5 0162d1872b83ba739f42a918fa27a345 files/linux-2.6.19.patch 1211
+RMD160 f0318b52a3b1a028201402d9957db2d94c226076 files/linux-2.6.19.patch 1211
+SHA256 a3d7e82b759341033cd91dcebcad088d4b7d9992d0bf8588f3ac6d2336475af6 files/linux-2.6.19.patch 1211
DIST adm8211-20050620.tar.bz2 41106 RMD160 e849f1993e53dd9f3ae00fc210e0a8978a1e9ea3 SHA1 425d3a667f3992f43d12c80666f0f14187138343 SHA256 301afe224f0b2ca8e6cec9170f6850b9cc3c6bfefc14c3bb7bbce47cb869468b
-EBUILD adm8211-20050323.ebuild 1161 RMD160 286fc912d4fda94442293ef4488fdd9d20758b93 SHA1 83ceba3cf78914abb9f8af133233224e6c02e594 SHA256 45420c4d57daca9341ebae1242be2535258107f98903f09b7d19c1a753b08f4a
-MD5 abc3357e05ec8ade27cf1c0401430231 adm8211-20050323.ebuild 1161
-RMD160 286fc912d4fda94442293ef4488fdd9d20758b93 adm8211-20050323.ebuild 1161
-SHA256 45420c4d57daca9341ebae1242be2535258107f98903f09b7d19c1a753b08f4a adm8211-20050323.ebuild 1161
-EBUILD adm8211-20050620.ebuild 1167 RMD160 c467e6d7df9e99cf2c7364babaff0c85669ba94b SHA1 c117478a84f15d7c93e93d6e139f5c6d1b8dcd13 SHA256 58f008eff191e88328934191d295cacdbecde56b9949dbf281a43a0979fec3a9
-MD5 4c545ab96c7c8fb2cd0c0b979cc35626 adm8211-20050620.ebuild 1167
-RMD160 c467e6d7df9e99cf2c7364babaff0c85669ba94b adm8211-20050620.ebuild 1167
-SHA256 58f008eff191e88328934191d295cacdbecde56b9949dbf281a43a0979fec3a9 adm8211-20050620.ebuild 1167
-MISC ChangeLog 830 RMD160 121e33e86ef6e653fb0b0ea6bbd543c8a3ab7ed4 SHA1 ddb0f14d2f24474f40e3b2202bdcdb369ed07c98 SHA256 234ad7b3e4b9ed3357f88b9e042d0211a42d3257aed94c6e78b7b9ac226b58d4
-MD5 9252fd3e9928519d8a67363ac52e14ec ChangeLog 830
-RMD160 121e33e86ef6e653fb0b0ea6bbd543c8a3ab7ed4 ChangeLog 830
-SHA256 234ad7b3e4b9ed3357f88b9e042d0211a42d3257aed94c6e78b7b9ac226b58d4 ChangeLog 830
+EBUILD adm8211-20050620.ebuild 1321 RMD160 7c28fe552e65a87ca0226f3f543a498b002773cd SHA1 5a89f5e77168f0047da737b0c114a62bd8acf3ef SHA256 7bbfb2fa86e85adeb56737ae038cc6d9027219397aab26994182e5d33de3ac8d
+MD5 15cc31c42b10ff8dbc640798c1b60902 adm8211-20050620.ebuild 1321
+RMD160 7c28fe552e65a87ca0226f3f543a498b002773cd adm8211-20050620.ebuild 1321
+SHA256 7bbfb2fa86e85adeb56737ae038cc6d9027219397aab26994182e5d33de3ac8d adm8211-20050620.ebuild 1321
+MISC ChangeLog 1106 RMD160 df10159ffc3cb05d59df3aed80e9ca1a1a090a37 SHA1 ea9e44e2b4205c7bfe28961a97ff37ebd282edaa SHA256 540fbc4625e2b42c9b9e7addcbdaac72b5582b57db6fb5f233090deb0921f629
+MD5 18bb6121143daa780cbf413b117e8124 ChangeLog 1106
+RMD160 df10159ffc3cb05d59df3aed80e9ca1a1a090a37 ChangeLog 1106
+SHA256 540fbc4625e2b42c9b9e7addcbdaac72b5582b57db6fb5f233090deb0921f629 ChangeLog 1106
MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f
MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 metadata.xml 159
SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f metadata.xml 159
-MD5 50b39a9186540577323d272a3feb6811 files/digest-adm8211-20050323 250
-RMD160 2922ddb112bb2d23714b3fae8cd8678e9bea246c files/digest-adm8211-20050323 250
-SHA256 6cae28155241c40adbf3d398e7fe838a4c613f9e5a58f005d39ee7ea795c1c42 files/digest-adm8211-20050323 250
MD5 b15aa210b2c3ecc64890ae429403305a files/digest-adm8211-20050620 250
RMD160 c3f6d759b90c4b967eb53ca5881da68c1d5c5601 files/digest-adm8211-20050620 250
SHA256 560b83433c9837614f7b4505cdf69867938adea82cb7b23496adf63a27d165c4 files/digest-adm8211-20050620 250
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFzAF2AiZjviIA2XgRAho6AJ0ZeW7G7ZWWviwk2lgMrknFlToPRwCffvLp
-A1039R/i2cn1rV9Jd3gpXws=
-=c28E
------END PGP SIGNATURE-----
diff --git a/net-wireless/adm8211/adm8211-20050323.ebuild b/net-wireless/adm8211/adm8211-20050323.ebuild
deleted file mode 100644
index 91d6b145859d..000000000000
--- a/net-wireless/adm8211/adm8211-20050323.ebuild
+++ /dev/null
@@ -1,49 +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/adm8211/adm8211-20050323.ebuild,v 1.3 2005/06/21 12:13:58 genstef Exp $
-
-inherit linux-mod
-
-S=${WORKDIR}/${PN}
-
-DESCRIPTION="IEEE 802.11 wireless LAN driver for adm8211 based cards"
-HOMEPAGE="http://aluminum.sourmilk.net/adm8211/"
-SRC_URI="http://aluminum.sourmilk.net/adm8211/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-
-IUSE=""
-RDEPEND="net-wireless/wireless-tools"
-
-BUILD_TARGETS="all"
-
-MODULE_NAMES="adm8211(net:)"
-
-CONFIG_CHECK="NET_RADIO CRYPTO_ARC4"
-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)."
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- if kernel_is lt 2 6 9; then
- eerror "${P} requires linux-2.6.9 or later."
- die "${P} requires linux-2.6.9 or later"
- fi
-
- BUILD_PARAMS="KDIR=${KV_DIR}"
-}
-
-src_unpack() {
- unpack ${A}
-
- convert_to_m ${S}/Makefile
-}
-
-src_install() {
- linux-mod_src_install
-
- dodoc Changelog NOTES TODO
-}
diff --git a/net-wireless/adm8211/adm8211-20050620.ebuild b/net-wireless/adm8211/adm8211-20050620.ebuild
index fbdf3e2c139d..434ae474dd02 100644
--- a/net-wireless/adm8211/adm8211-20050620.ebuild
+++ b/net-wireless/adm8211/adm8211-20050620.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/adm8211/adm8211-20050620.ebuild,v 1.2 2005/06/27 17:24:09 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/adm8211/adm8211-20050620.ebuild,v 1.3 2007/07/07 11:08:51 genstef Exp $
inherit linux-mod
@@ -21,8 +21,8 @@ BUILD_TARGETS="all"
MODULE_NAMES="adm8211(net:)"
-CONFIG_CHECK="NET_RADIO CRYPTO_ARC4"
-ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+CONFIG_CHECK="WIRELESS_EXT CRYPTO_ARC4"
+ERROR_WIRELESS_EXT="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions"
ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)."
pkg_setup() {
@@ -39,6 +39,12 @@ pkg_setup() {
src_unpack() {
unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/linux-2.6.17.patch
+ epatch ${FILESDIR}/linux-2.6.19.patch
+ epatch ${FILESDIR}/2.6.20.patch
+ epatch ${FILESDIR}/2.6.20-no-config_h.patch
+
convert_to_m ${S}/Makefile
}
diff --git a/net-wireless/adm8211/files/2.6.20-no-config_h.patch b/net-wireless/adm8211/files/2.6.20-no-config_h.patch
new file mode 100644
index 000000000000..d565eccca047
--- /dev/null
+++ b/net-wireless/adm8211/files/2.6.20-no-config_h.patch
@@ -0,0 +1,20 @@
+--- adm8211/wep.c.old 2007-06-13 11:06:07.778330430 +1000
++++ adm8211/wep.c 2007-06-13 11:06:16.442008732 +1000
+@@ -10,7 +10,6 @@
+ * more details.
+ */
+
+-#include <linux/config.h>
+ #include <linux/version.h>
+ #include <linux/module.h>
+ #include <linux/init.h>
+--- adm8211/adm8211_hw.c.old 2007-06-13 11:10:12.949927966 +1000
++++ adm8211/adm8211_hw.c 2007-06-13 11:10:23.838266881 +1000
+@@ -29,7 +29,6 @@
+ */
+
+
+-#include <linux/config.h>
+ #include <linux/version.h>
+ #include <linux/module.h>
+ #include <linux/init.h>
diff --git a/net-wireless/adm8211/files/2.6.20.patch b/net-wireless/adm8211/files/2.6.20.patch
new file mode 100644
index 000000000000..10081fbcecbb
--- /dev/null
+++ b/net-wireless/adm8211/files/2.6.20.patch
@@ -0,0 +1,27 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# T2 SDE: package/.../adm8211/2.6.20.patch
+# Copyright (C) 2007 The T2 SDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+--- adm8211/wep.c.vanilla 2007-03-30 09:36:24.446241003 +0200
++++ adm8211/wep.c 2007-03-30 09:44:01.860307546 +0200
+@@ -22,6 +22,8 @@
+ #include <linux/crc32.h>
+ #include <asm/string.h>
+ #include <asm/scatterlist.h>
++#include <asm/page.h>
++#include <linux/mm.h>
+
+ #ifndef CONFIG_CRYPTO
+ #error CONFIG_CRYPTO required to build
diff --git a/net-wireless/adm8211/files/digest-adm8211-20050323 b/net-wireless/adm8211/files/digest-adm8211-20050323
deleted file mode 100644
index 5c2fc42b7274..000000000000
--- a/net-wireless/adm8211/files/digest-adm8211-20050323
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4c5607c2197401f8411e0b9d88833fa3 adm8211-20050323.tar.bz2 41076
-RMD160 5498031d6463d6f73cc5cdcad49da56e9c0f9f82 adm8211-20050323.tar.bz2 41076
-SHA256 5b5ec35b3d4b0385c3189babce0b141b4daa2591c9cb34e6603f278d472f095f adm8211-20050323.tar.bz2 41076
diff --git a/net-wireless/adm8211/files/linux-2.6.17.patch b/net-wireless/adm8211/files/linux-2.6.17.patch
new file mode 100644
index 000000000000..f3a65428363d
--- /dev/null
+++ b/net-wireless/adm8211/files/linux-2.6.17.patch
@@ -0,0 +1,10 @@
+--- adm8211/adm8211_hw.c.vanilla 2006-07-01 17:17:45.000000000 +0000
++++ adm8211/adm8211_hw.c 2006-07-01 17:20:10.000000000 +0000
+@@ -39,6 +39,7 @@
+ #include <linux/etherdevice.h>
+ #include <linux/ioport.h>
+ #include <linux/pci.h>
++#include <linux/dma-mapping.h>
+ #include <linux/if_arp.h>
+ #include <linux/delay.h>
+ #include <linux/crc32.h>
diff --git a/net-wireless/adm8211/files/linux-2.6.19.patch b/net-wireless/adm8211/files/linux-2.6.19.patch
new file mode 100644
index 000000000000..9a3f2e57d0a2
--- /dev/null
+++ b/net-wireless/adm8211/files/linux-2.6.19.patch
@@ -0,0 +1,32 @@
+# --- T2-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# T2 SDE: package/.../adm8211/linux-2.6.19.patch
+# Copyright (C) 2007 The T2 SDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+# --- T2-COPYRIGHT-NOTE-END ---
+
+--- adm8211/adm8211_hw.c.orig 2005-03-23 12:12:02.000000000 +0100
++++ adm8211/adm8211_hw.c 2007-01-02 16:54:08.000000000 +0100
+@@ -2468,9 +2468,13 @@
+ dev->set_mac_address = adm8211_set_mac_address;
+ dev->hard_start_xmit = adm8211_hard_start_xmit;
+
++#if WIRELESS_EXT >= 12
++#if WIRELESS_EXT < 20
+ dev->get_wireless_stats = adm8211_get_wireless_stats;
++#endif
+ dev->wireless_handlers =
+ (struct iw_handler_def *) &adm8211_iw_handler_def;
++#endif
+
+ init_timer(&priv->timer);
+ priv->timer.data = (unsigned long) dev;