diff options
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/ipw3945/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/ipw3945/files/digest-ipw3945-1.1.1 | 3 | ||||
-rw-r--r-- | net-wireless/ipw3945/files/digest-ipw3945-1.1.2 | 3 | ||||
-rw-r--r-- | net-wireless/ipw3945/ipw3945-1.1.1.ebuild | 86 | ||||
-rw-r--r-- | net-wireless/ipw3945/ipw3945-1.1.2.ebuild | 86 |
5 files changed, 186 insertions, 1 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog index 297e1c79199e..d2861713a92f 100644 --- a/net-wireless/ipw3945/ChangeLog +++ b/net-wireless/ipw3945/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/ipw3945 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.11 2006/09/16 06:21:27 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.12 2006/11/04 14:45:08 phreak Exp $ + +*ipw3945-1.1.2 (04 Nov 2006) +*ipw3945-1.1.1 (04 Nov 2006) + + 04 Nov 2006; Christian Heim <phreak@gentoo.org> +ipw3945-1.1.1.ebuild, + +ipw3945-1.1.2.ebuild: + Version bump, adding ipw3945-1.1.1 and ipw3945-1.1.2. *ipw3945-1.1.0-r1 (16 Sep 2006) diff --git a/net-wireless/ipw3945/files/digest-ipw3945-1.1.1 b/net-wireless/ipw3945/files/digest-ipw3945-1.1.1 new file mode 100644 index 000000000000..9e8ac209d5fb --- /dev/null +++ b/net-wireless/ipw3945/files/digest-ipw3945-1.1.1 @@ -0,0 +1,3 @@ +MD5 ef77278aa64dbb4bea7173a2a3e14e0f ipw3945-1.1.1.tgz 196455 +RMD160 0d2fdbc397f35e798ac2cf5f81899c42153c5ab4 ipw3945-1.1.1.tgz 196455 +SHA256 37876722e88feb30b305f9d298597d5ea6c5d1976c05851fd1d06ff0a041cdab ipw3945-1.1.1.tgz 196455 diff --git a/net-wireless/ipw3945/files/digest-ipw3945-1.1.2 b/net-wireless/ipw3945/files/digest-ipw3945-1.1.2 new file mode 100644 index 000000000000..61ded77af57f --- /dev/null +++ b/net-wireless/ipw3945/files/digest-ipw3945-1.1.2 @@ -0,0 +1,3 @@ +MD5 9b215a875818154ade298b9180fe241c ipw3945-1.1.2.tgz 196846 +RMD160 c1e9a968e2378817b8e406d3be5c1ea4bd3b4bed ipw3945-1.1.2.tgz 196846 +SHA256 5bc6eaaea215c9c3f1e025fb1320a7eea102301cd6b5a4f831ad7a8c5a9927d7 ipw3945-1.1.2.tgz 196846 diff --git a/net-wireless/ipw3945/ipw3945-1.1.1.ebuild b/net-wireless/ipw3945/ipw3945-1.1.1.ebuild new file mode 100644 index 000000000000..33cd0b034f13 --- /dev/null +++ b/net-wireless/ipw3945/ipw3945-1.1.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.1.1.ebuild,v 1.1 2006/11/04 14:45:08 phreak Exp $ + +inherit linux-mod + +S=${WORKDIR}/${P/_pre/-pre} + +IEEE80211_VERSION="1.1.13-r1" +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="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="debug" +DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" +RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + >=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 !IPW3945" +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_IPW3945="${P} requires the in-kernel version of the IPW3945 driver to be disabled (CONFIG_IPW3945)" + +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 ${ROOT}/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 "${ROOT}/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} + + sed -i \ + -e "s:^#\(CONFIG_IPW3945_QOS\)=.*:\1=y:" \ + -e "s:^# \(CONFIG_IPW3945_MONITOR\)=.*:\1=y:" \ + -e "s:^# \(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=y:" \ + -e "s:^# \(CONFIG_IPW3945_PROMISCUOUS\)=.*:\1=y:" \ + "${S}"/Makefile || die + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=${debug}:" "${S}"/Makefile || die +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} diff --git a/net-wireless/ipw3945/ipw3945-1.1.2.ebuild b/net-wireless/ipw3945/ipw3945-1.1.2.ebuild new file mode 100644 index 000000000000..2f79543c510d --- /dev/null +++ b/net-wireless/ipw3945/ipw3945-1.1.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.1.2.ebuild,v 1.1 2006/11/04 14:45:08 phreak Exp $ + +inherit linux-mod + +S=${WORKDIR}/${P/_pre/-pre} + +IEEE80211_VERSION="1.1.13-r1" +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="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="debug" +DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" +RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + >=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 !IPW3945" +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_IPW3945="${P} requires the in-kernel version of the IPW3945 driver to be disabled (CONFIG_IPW3945)" + +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 ${ROOT}/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 "${ROOT}/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} + + sed -i \ + -e "s:^#\(CONFIG_IPW3945_QOS\)=.*:\1=y:" \ + -e "s:^# \(CONFIG_IPW3945_MONITOR\)=.*:\1=y:" \ + -e "s:^# \(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=y:" \ + -e "s:^# \(CONFIG_IPW3945_PROMISCUOUS\)=.*:\1=y:" \ + "${S}"/Makefile || die + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=${debug}:" "${S}"/Makefile || die +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} |