From 87de91ba6b81c4b5b2b1165f2c15dc2b53a06180 Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Fri, 2 Feb 2007 20:22:20 +0000 Subject: [PATCH] Version bump, Intel announced a new stable version for it's ipw3945 device driver. Package-Manager: portage-2.1.2-r6 --- net-wireless/ipw3945/ChangeLog | 9 ++- net-wireless/ipw3945/Manifest | 30 ++++++-- .../ipw3945/files/digest-ipw3945-1.2.0 | 15 ++++ .../files/ipw3945-1.2.0-Makefile.patch | 63 ++++++++++++++++ net-wireless/ipw3945/ipw3945-1.2.0.ebuild | 71 +++++++++++++++++++ 5 files changed, 183 insertions(+), 5 deletions(-) create mode 100644 net-wireless/ipw3945/files/digest-ipw3945-1.2.0 create mode 100644 net-wireless/ipw3945/files/ipw3945-1.2.0-Makefile.patch create mode 100644 net-wireless/ipw3945/ipw3945-1.2.0.ebuild diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog index 0237328741ae..736b7623b58b 100644 --- a/net-wireless/ipw3945/ChangeLog +++ b/net-wireless/ipw3945/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/ipw3945 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.19 2007/01/08 20:35:35 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.20 2007/02/02 20:22:20 phreak Exp $ + +*ipw3945-1.2.0 (02 Feb 2007) + + 02 Feb 2007; Christian Heim + +files/ipw3945-1.2.0-Makefile.patch, +ipw3945-1.2.0.ebuild: + Version bump, Intel announced a new stable version for it's ipw3945 device + driver. 08 Jan 2007; Robin H. Johnson -ipw3945-1.1.3-r1.ebuild, ipw3945-1.1.3-r2.ebuild: diff --git a/net-wireless/ipw3945/Manifest b/net-wireless/ipw3945/Manifest index 35335cdf5dee..ca178f548a60 100644 --- a/net-wireless/ipw3945/Manifest +++ b/net-wireless/ipw3945/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX ipw3945-1.0.5-linux-2.6.19.patch 356 RMD160 322ba91a6096b09dd5a5dfb2f1dfe07c1b3ea08a SHA1 06d82253361c0ab570788443e31e87f234d99730 SHA256 6d931054664ecf1545fd6f94e28e3549c1178bdbe247e0579e8f93334f9c9cd4 MD5 24592a5a90c5230c46b352538faf7149 files/ipw3945-1.0.5-linux-2.6.19.patch 356 RMD160 322ba91a6096b09dd5a5dfb2f1dfe07c1b3ea08a files/ipw3945-1.0.5-linux-2.6.19.patch 356 @@ -6,6 +9,10 @@ AUX ipw3945-1.1.3-Makefile.patch 2849 RMD160 c15b88706262569d6108bacd61c427722c9 MD5 e96ac91edc5599457c3720483e9736a3 files/ipw3945-1.1.3-Makefile.patch 2849 RMD160 c15b88706262569d6108bacd61c427722c964499 files/ipw3945-1.1.3-Makefile.patch 2849 SHA256 5c5099752e2890b32cea08705690d867ba5038132da130e16037c06ffafdee39 files/ipw3945-1.1.3-Makefile.patch 2849 +AUX ipw3945-1.2.0-Makefile.patch 2849 RMD160 0e5557d6d33f28815e98ac2801048d227f716b07 SHA1 22331e3bacbaa613748ebb7ead509ba8719ec06f SHA256 dec634d0538d12a3109f99be0481d367d423ba79a7a59a7da3c18b020dbe0009 +MD5 f4d59dd3b6bb84e99d962af4319f2515 files/ipw3945-1.2.0-Makefile.patch 2849 +RMD160 0e5557d6d33f28815e98ac2801048d227f716b07 files/ipw3945-1.2.0-Makefile.patch 2849 +SHA256 dec634d0538d12a3109f99be0481d367d423ba79a7a59a7da3c18b020dbe0009 files/ipw3945-1.2.0-Makefile.patch 2849 DIST ipw3945-1.0.5.tgz 174149 RMD160 485f8dbe3404d5e7f32d6f3a6f955de322b0d7c9 SHA1 8dc4a59a4228aaf69e605ed3ad48cabc84b41a31 SHA256 c2acb3403d623b43e432e09c34739c9265cadc586effc1dac2444ae701c4aa45 DIST ipw3945-1.1.0.tgz 196361 RMD160 6d4b8c12c253b4d00b376911e73ca48d8ab6da35 SHA1 0d1e6acb05003d2f8d40f64114236982f980a170 SHA256 be62bb249527dbe5a4031eec9cdf15e09fe1dc0fdd1b5dc374e85bc5229c1ff1 DIST ipw3945-1.1.1.tgz 196455 RMD160 0d2fdbc397f35e798ac2cf5f81899c42153c5ab4 SHA1 f86affe2450149de9a80948e241fa26479b8b85d SHA256 37876722e88feb30b305f9d298597d5ea6c5d1976c05851fd1d06ff0a041cdab @@ -15,6 +22,7 @@ DIST ipw3945-1.1.3-2.6.20-2.patch 15705 RMD160 2eaabe0f39767af9a5acb36c6eb65f099 DIST ipw3945-1.1.3-2.6.20-register.patch 1265 RMD160 69bdf87cb29c8c0d80e27a46345941ef14bc3b37 SHA1 79266297e85f6d6f30f4642954580535b331de87 SHA256 fa94249aea3bfbb176efff3276b85bc97e63a39ddc84fbe705bfda137d9e4583 DIST ipw3945-1.1.3.tgz 197586 RMD160 530cbd51ad08f110b936791dbc6ef8dc24ba56b6 SHA1 eb5a65eaf0bfb53ef19f91d1d7bd3a1da2326a14 SHA256 383bd429e8f4b2bf09c5a5078bf46c5912e02c3ab5e2856ee51e7fa1f62cc251 DIST ipw3945-1.1.4.essid.patch 880 RMD160 6379a8aa4d9c30e048c6a0606c32b8b5f9d0f2d2 SHA1 fdea4f3055be6b16ba3a12ddaf4d3e38661925f8 SHA256 8c12cc8373b9336c4837fc9be2f4227856a904c1526e6be058c5316e3c834709 +DIST ipw3945-1.2.0.tgz 200122 RMD160 333c94962e302c8dd50664f2d2d70f2c7878c84e SHA1 89d01b2cd86b3050115d230526d1eaefb6d9be5f SHA256 c581a2b9537e2b70c615ca12e6b0eff8439ea792d10e18ecaa4e8486bf20e545 EBUILD ipw3945-1.0.5.ebuild 2645 RMD160 5a5bb89186156d25d03bd394e2d9fdb3f1103de1 SHA1 a8412147786e7df4d70fc0e3c8cba525dd011702 SHA256 31628d32903a29f5fcae03b9333e8285bd6abf9959b791e5cb29a0aa4cf7c9b1 MD5 27382806a3fb85e5eb1eb087f428a56c ipw3945-1.0.5.ebuild 2645 RMD160 5a5bb89186156d25d03bd394e2d9fdb3f1103de1 ipw3945-1.0.5.ebuild 2645 @@ -43,10 +51,14 @@ EBUILD ipw3945-1.1.3.ebuild 2548 RMD160 745b2b7727878bf83820eee2ec69be96139e87e1 MD5 ec9925d3e7776d459df8dab7482c287c ipw3945-1.1.3.ebuild 2548 RMD160 745b2b7727878bf83820eee2ec69be96139e87e1 ipw3945-1.1.3.ebuild 2548 SHA256 8f35b82df0f21258926384bd203108efa3fe10acc89421db46a5ece781d7cd29 ipw3945-1.1.3.ebuild 2548 -MISC ChangeLog 3484 RMD160 feab1b94f1024d384a1bb0aa65b5ab9514be6d4d SHA1 25b587f194640c461647d8e3b3e78b00aa2605d4 SHA256 b108c88be19a88e7c9ab75dbcfc62703457409ff543d553281797337667f807f -MD5 f39a9af01c4ac0d6cdbcad6a53585a6e ChangeLog 3484 -RMD160 feab1b94f1024d384a1bb0aa65b5ab9514be6d4d ChangeLog 3484 -SHA256 b108c88be19a88e7c9ab75dbcfc62703457409ff543d553281797337667f807f ChangeLog 3484 +EBUILD ipw3945-1.2.0.ebuild 2046 RMD160 7675bcb614cf91563a18525bec368678ce36d2b5 SHA1 9a56269ea090d4d6f6a83e9c053ee00a559c577a SHA256 a81cc49d5bab3e5bc6736943c4b00874a5b8ec0b741acc97d2b05ac453257ed0 +MD5 5a137810ecef1d20da422c56e4e8e88b ipw3945-1.2.0.ebuild 2046 +RMD160 7675bcb614cf91563a18525bec368678ce36d2b5 ipw3945-1.2.0.ebuild 2046 +SHA256 a81cc49d5bab3e5bc6736943c4b00874a5b8ec0b741acc97d2b05ac453257ed0 ipw3945-1.2.0.ebuild 2046 +MISC ChangeLog 3713 RMD160 bf8f7c478c0032cfe51ec2619dbb2034c62de1ed SHA1 4311d8d0f52c5dddb3e9666f37cee06c0f4f9757 SHA256 986b77e2f74946d840989ea9b150521c0bc4f246b146eb1480260396d06f5ba2 +MD5 24e552f131803be09de88f38b344ffb5 ChangeLog 3713 +RMD160 bf8f7c478c0032cfe51ec2619dbb2034c62de1ed ChangeLog 3713 +SHA256 986b77e2f74946d840989ea9b150521c0bc4f246b146eb1480260396d06f5ba2 ChangeLog 3713 MISC metadata.xml 350 RMD160 5211e204927a69b9a6db516ada2ecb6f999b3733 SHA1 7d738b5835510288a15729917f3cc272535ec550 SHA256 4c12367eb2d4a151bfdfe4c2809f164ae6092fd2448321a800cd1a3a063c085c MD5 792d2ecc8cee12c92c45b9878fdb2192 metadata.xml 350 RMD160 5211e204927a69b9a6db516ada2ecb6f999b3733 metadata.xml 350 @@ -72,3 +84,13 @@ SHA256 4cf79d885fdb98243501092e5b00e0ba1d6223130190c0ee2ccb5bb163ac41a9 files/di MD5 5bab24aeecc2f9037f20bfa011da592d files/digest-ipw3945-1.1.3-r2 1283 RMD160 7c069b029372ffb4d9c9e8bc3f0d0c1e504a041c files/digest-ipw3945-1.1.3-r2 1283 SHA256 cdd8d4e8bd484e4b377b2ce97de7c64745d3a0fa9aa6a1432c62b17aba44191d files/digest-ipw3945-1.1.3-r2 1283 +MD5 78a214737101a92d895a1bbc2ea1cccf files/digest-ipw3945-1.2.0 1283 +RMD160 f4334585650b80cb6940e49158af95ac3ced6a07 files/digest-ipw3945-1.2.0 1283 +SHA256 ada0ca6b2183eab6a353102fee0430144506d70798842c682800fc381fb8824a files/digest-ipw3945-1.2.0 1283 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFw514yuNVb5qfaOYRAj9YAJ9h0Qpf+WobymZoXTMkCQYOfViBKACgzePC +0LZ2E8oz95pkgZaA6X4Gsro= +=rApn +-----END PGP SIGNATURE----- diff --git a/net-wireless/ipw3945/files/digest-ipw3945-1.2.0 b/net-wireless/ipw3945/files/digest-ipw3945-1.2.0 new file mode 100644 index 000000000000..1f41c37bd6eb --- /dev/null +++ b/net-wireless/ipw3945/files/digest-ipw3945-1.2.0 @@ -0,0 +1,15 @@ +MD5 ca3b8daae7db33bd2c676658f303159c ipw3945-1.1.3-2.6.20-1.patch 17518 +RMD160 34228593281ac9501e77878368072b4fa501f89f ipw3945-1.1.3-2.6.20-1.patch 17518 +SHA256 69dc7a59d747344aa903f88ac01b74da1fc081593b6c4f5756a6cf59ed4ea9b9 ipw3945-1.1.3-2.6.20-1.patch 17518 +MD5 97cf6586f088b6786eb0f5130d1cc917 ipw3945-1.1.3-2.6.20-2.patch 15705 +RMD160 2eaabe0f39767af9a5acb36c6eb65f0995e50051 ipw3945-1.1.3-2.6.20-2.patch 15705 +SHA256 fc11798485227c3826156737341622563883f4fc1e69b8274a3acb11ac40885b ipw3945-1.1.3-2.6.20-2.patch 15705 +MD5 4c730dfd0510877f6e39a89d7ccdd8e4 ipw3945-1.1.3-2.6.20-register.patch 1265 +RMD160 69bdf87cb29c8c0d80e27a46345941ef14bc3b37 ipw3945-1.1.3-2.6.20-register.patch 1265 +SHA256 fa94249aea3bfbb176efff3276b85bc97e63a39ddc84fbe705bfda137d9e4583 ipw3945-1.1.3-2.6.20-register.patch 1265 +MD5 d1704c0a03e5cb5ff43afd3964c3fec4 ipw3945-1.1.4.essid.patch 880 +RMD160 6379a8aa4d9c30e048c6a0606c32b8b5f9d0f2d2 ipw3945-1.1.4.essid.patch 880 +SHA256 8c12cc8373b9336c4837fc9be2f4227856a904c1526e6be058c5316e3c834709 ipw3945-1.1.4.essid.patch 880 +MD5 fd4cc3b52b8e1d4d1e303d30c9dcd31b ipw3945-1.2.0.tgz 200122 +RMD160 333c94962e302c8dd50664f2d2d70f2c7878c84e ipw3945-1.2.0.tgz 200122 +SHA256 c581a2b9537e2b70c615ca12e6b0eff8439ea792d10e18ecaa4e8486bf20e545 ipw3945-1.2.0.tgz 200122 diff --git a/net-wireless/ipw3945/files/ipw3945-1.2.0-Makefile.patch b/net-wireless/ipw3945/files/ipw3945-1.2.0-Makefile.patch new file mode 100644 index 000000000000..0741ce94f1a1 --- /dev/null +++ b/net-wireless/ipw3945/files/ipw3945-1.2.0-Makefile.patch @@ -0,0 +1,63 @@ +Index: ipw3945-1.2.0/Makefile +=================================================================== +--- ipw3945-1.2.0.orig/Makefile ++++ ipw3945-1.2.0/Makefile +@@ -26,20 +26,20 @@ CONFIG_IPW3945_DEBUG=y + # NOTE: If you have problems compiling due to IW_MODE_MONITOR not being + # defined then you need to update the wireless extension version + # installed in your kernel, or comment this line out. +-# CONFIG_IPW3945_MONITOR=y ++CONFIG_IPW3945_MONITOR=y + + # If you are interested in using radiotap headers in monitor mode, + # simply uncomment: + # + # NOTE: To use RADIOTAP you must also enable MONITOR above. +-# CONFIG_IEEE80211_RADIOTAP=y ++CONFIG_IEEE80211_RADIOTAP=y + + # The above monitor mode provides standard monitor mode. The following + # will create a new interface (named raw%d) which will be sent all + # 802.11 frames received on the interface + # + # NOTE: To use PROMISCUOUS you must also enable MONITOR above. +-# CONFIG_IPW3945_PROMISCUOUS=y ++CONFIG_IPW3945_PROMISCUOUS=y + + # The following, if enabled, will add a sysfs entry 'rx' that raw + # 802.11 radiotap formatted packets can be written to. Those packets +@@ -186,34 +186,6 @@ utils: + @[ ! -d util ] || make -C util IEEE80211_PATH=$(IEEE80211_PATH) + + check_inc: +- @( [ "$(IEEE80211_DUPLICATE)" ] && echo -e \ +-"\n WARNING: Your kernel contains ieee80211 symbol definitions and you\n"\ +-"are not using the kernel's default ieee80211 subsystem. (Perhaps you\n"\ +-"used the out-of-tree ieee80211 subsystem's 'make install' or have\n"\ +-"provided a path to the ieee80211 subsystem via IEEE80211_INC.)\n\n"\ +-"If you wish to use the out-of-tree ieee80211 subsystem then it is\n"\ +-"recommended to use that projects' \"make patch_kernel\" facility\n"\ +-"and rebuild your kernel to update the Module symbol version information.\n"\ +-"\n"\ +-"Failure to do this may result in build warnings and unexpected\n"\ +-"behavior when running modules which rely on the ieee80211 subsystem.\n\n"\ || \ +- exit 0) +- +- @( [ "$(IEEE80211_DUPLICATE)" ] && \ +- [ ! "$(IEEE80211_IGNORE_DUPLICATE)" ] && echo -e \ +-" Aborting the build. You can force the build to continue by adding:\n\n"\ +-"\tIEEE80211_IGNORE_DUPLICATE=y\n\n"\ +-"to your make command line.\n\n" && exit 1 || exit 0) +- +- @( [ ! "$(IEEE80211_API)" ] && echo -e \ +-"\n ERROR: A compatible subsystem was not found in the following path[s]:\n\n"\ +-"\t$(IEEE80211_RES)\n\n"\ +-"You need to install the ieee80211 subsystem from http://ieee80211.sf.net\n"\ +-"and point this build to the location where you installed those sources, eg.:\n\n"\ +-"\t% make IEEE80211_INC=/usr/src/ieee80211/\n\n"\ +-"or use the 'make patch_kernel' within the ieee80211 subsystem to patch your\n"\ +-"kernel sources.\n" && exit 1 || exit 0) +- + @echo -e \ + " Using ieee80211 subsystem version API v$(IEEE80211_API) from:\n\n" \ + "\tBase: $(IEEE80211_BASE)\n" \ diff --git a/net-wireless/ipw3945/ipw3945-1.2.0.ebuild b/net-wireless/ipw3945/ipw3945-1.2.0.ebuild new file mode 100644 index 000000000000..964e7f93fbd7 --- /dev/null +++ b/net-wireless/ipw3945/ipw3945-1.2.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.2.0.ebuild,v 1.1 2007/02/02 20:22:20 phreak Exp $ + +inherit linux-mod eutils + +S=${WORKDIR}/${P/_pre/-pre} + +UCODE_VERSION="1.13" +DAEMON_VERSION="1.7.22" + +DESCRIPTION="Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter" +HOMEPAGE="http://ipw3945.sourceforge.net/" +SRC_URI_PATCHBASE="http://${PN}.sourceforge.net/patches/${PN}" +SRC_URI="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz + ${SRC_URI_PATCHBASE}-1.1.3-2.6.20-register.patch + ${SRC_URI_PATCHBASE}-1.1.4.essid.patch + ${SRC_URI_PATCHBASE}-1.1.3-2.6.20-2.patch + ${SRC_URI_PATCHBASE}-1.1.3-2.6.20-1.patch" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug" +RDEPEND=">=net-wireless/ipw3945-ucode-${UCODE_VERSION} + >=net-wireless/ipw3945d-${DAEMON_VERSION}" + +BUILD_TARGETS="all" +MODULE_NAMES="ipw3945(net/wireless:)" +MODULESD_IPW3945_DOCS="README.ipw3945" + +CONFIG_CHECK="NET_RADIO FW_LOADER IEEE80211 IEEE80211_CRYPT_CCMP IEEE80211_CRYPT_TKIP" +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)." +ERROR_IEEE80211="${P} requires support for Generic IEEE 802.11 Networking Stack (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 kernel_is lt 2 6 18; then + die "${P} needs a kernel >=2.6.18! Please set your \ + KERNEL_DIR or /usr/src/linux suitably" + fi + + BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" +} + +src_unpack() { + unpack ${P/_pre/-pre}.tgz + + EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-Makefile.patch + + cd "${S}" + if use debug ; then + sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=y:" "${S}"/Makefile || die + fi +} + +src_compile() { + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} -- 2.26.2