diff options
author | Christian Heim <phreak@gentoo.org> | 2007-02-02 20:22:20 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-02-02 20:22:20 +0000 |
commit | cf48c8a7e6627066bbd89d60714c5d5175ed1954 (patch) | |
tree | eda91399e98906be4cb604357df7ad417e106c69 /net-wireless/ipw3945 | |
parent | Add media-libs/allegro:vga (diff) | |
download | gentoo-2-cf48c8a7e6627066bbd89d60714c5d5175ed1954.tar.gz gentoo-2-cf48c8a7e6627066bbd89d60714c5d5175ed1954.tar.bz2 gentoo-2-cf48c8a7e6627066bbd89d60714c5d5175ed1954.zip |
Version bump, Intel announced a new stable version for it's ipw3945 device driver.
(Portage version: 2.1.2-r6)
Diffstat (limited to 'net-wireless/ipw3945')
-rw-r--r-- | net-wireless/ipw3945/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/ipw3945/files/digest-ipw3945-1.2.0 | 15 | ||||
-rw-r--r-- | net-wireless/ipw3945/files/ipw3945-1.2.0-Makefile.patch | 63 | ||||
-rw-r--r-- | net-wireless/ipw3945/ipw3945-1.2.0.ebuild | 71 |
4 files changed, 157 insertions, 1 deletions
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 <phreak@gentoo.org> + +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 <robbat2@gentoo.org> -ipw3945-1.1.3-r1.ebuild, ipw3945-1.1.3-r2.ebuild: 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 +} |