summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-05-20 17:14:17 +0000
committerChristian Heim <phreak@gentoo.org>2007-05-20 17:14:17 +0000
commit06db726e124f4d97d7555a5c5c32b9e290965d15 (patch)
treeb1163a809c9dab7791aa254cac45a627e20919a5 /net-wireless/ipw3945
parentVersion bump, remove unused one. (diff)
downloadgentoo-2-06db726e124f4d97d7555a5c5c32b9e290965d15.tar.gz
gentoo-2-06db726e124f4d97d7555a5c5c32b9e290965d15.tar.bz2
gentoo-2-06db726e124f4d97d7555a5c5c32b9e290965d15.zip
Version bump (thanks to Pacho Ramos <pacho at condmat1.ciencias.uniovi.es> in #177696).
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-wireless/ipw3945')
-rw-r--r--net-wireless/ipw3945/ChangeLog8
-rw-r--r--net-wireless/ipw3945/files/digest-ipw3945-1.2.13
-rw-r--r--net-wireless/ipw3945/ipw3945-1.2.1.ebuild81
3 files changed, 91 insertions, 1 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog
index f32c630dbd40..1d3ec50f896c 100644
--- a/net-wireless/ipw3945/ChangeLog
+++ b/net-wireless/ipw3945/ChangeLog
@@ -1,6 +1,12 @@
# 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.26 2007/02/13 16:43:29 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.27 2007/05/20 17:14:17 phreak Exp $
+
+*ipw3945-1.2.1 (20 May 2007)
+
+ 20 May 2007; Christian Heim <phreak@gentoo.org> +ipw3945-1.2.1.ebuild:
+ Version bump (thanks to Pacho Ramos <pacho at condmat1.ciencias.uniovi.es>
+ in #177696).
13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ipw3945-1.2.0.ebuild:
Stable on amd64/x86 wrt bug #166528.
diff --git a/net-wireless/ipw3945/files/digest-ipw3945-1.2.1 b/net-wireless/ipw3945/files/digest-ipw3945-1.2.1
new file mode 100644
index 000000000000..a88d67f5de0a
--- /dev/null
+++ b/net-wireless/ipw3945/files/digest-ipw3945-1.2.1
@@ -0,0 +1,3 @@
+MD5 9d6b2116122beb33a0d1d923ea49065c ipw3945-1.2.1.tgz 200925
+RMD160 6ae2089715a6b66f3c16bd113bd3f758550d2461 ipw3945-1.2.1.tgz 200925
+SHA256 ec717823129d98265f3bc7afb0d5c888a98b8d2f2353bfb7d46fc4f579487e2b ipw3945-1.2.1.tgz 200925
diff --git a/net-wireless/ipw3945/ipw3945-1.2.1.ebuild b/net-wireless/ipw3945/ipw3945-1.2.1.ebuild
new file mode 100644
index 000000000000..d2ffebda5adf
--- /dev/null
+++ b/net-wireless/ipw3945/ipw3945-1.2.1.ebuild
@@ -0,0 +1,81 @@
+# 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.1.ebuild,v 1.1 2007/05/20 17:14:17 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="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz"
+
+LICENSE="BSD 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"
+KV_OBJ="ko"
+
+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() {
+ 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
+
+ linux-mod_pkg_setup
+
+ BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}"
+
+ # users don't read changelogs and wonder why the kernel check fails
+ # (1) check if the kernel dir (/usr/src/linux) is missing ieee80211
+
+ if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] && \
+ [[ -f ${KV_OUT_DIR}/include/config/ieee80211.h ]] && \
+ egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_OUT_DIR}/include/linux/autoconf.h; then
+ return 0
+ else
+ echo
+ ewarn "${CATEGORY}/${PF} does NOT use net-wireless/ieee80211 any more."
+ ewarn "We are now relying on the in-kernel ieee80211 instead."
+ echo
+ eerror "Please remove net-wireless/ieee80211 using emerge, and remerge"
+ eerror "your current kernel (${KV_FULL}), as it has been altered"
+ eerror "by net-wireless/ieee80211."
+ die "Incompatible ieee80211 subsystem detected in ${KV_FULL}"
+ fi
+}
+
+src_unpack() {
+ unpack ${P/_pre/-pre}.tgz
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.2.0-Makefile.patch
+
+ if use debug ; then
+ sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=y:" "${S}"/Makefile || \
+ die "Failed to enable debugging support!"
+ fi
+}
+
+src_install() {
+ linux-mod_src_install
+ dodoc CHANGES ISSUES
+}