Version bump.
authorHenrik Brix Andersen <brix@gentoo.org>
Fri, 17 Feb 2006 13:10:02 +0000 (13:10 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Fri, 17 Feb 2006 13:10:02 +0000 (13:10 +0000)
Package-Manager: portage-2.0.54

net-wireless/ipw2200/ChangeLog
net-wireless/ipw2200/Manifest
net-wireless/ipw2200/files/digest-ipw2200-1.0.12 [new file with mode: 0644]
net-wireless/ipw2200/ipw2200-1.0.12.ebuild [new file with mode: 0644]

index bd6a980c18162025ee3e898020fe353350482c1c..69195a999f732a90d50c77273054081094a542a8 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/ipw2200
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.55 2006/02/15 21:27:12 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.56 2006/02/17 13:10:02 brix Exp $
+
+*ipw2200-1.0.12 (17 Feb 2006)
+
+  17 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+  +ipw2200-1.0.12.ebuild:
+  Version bump.
 
 *ipw2200-1.0.11-r1 (15 Feb 2006)
 
index ab9429a1f301ff640fcda2d2df08abfba9a28e47..fd55241f8dd5b9cc61e16f7ba86305b484dccbee 100644 (file)
@@ -1,8 +1,9 @@
-MD5 05554d7d4428bfb72b20e50188d550b9 ChangeLog 9815
+MD5 1fe1a53bcb9c1a9df62b84d3c173ff44 ChangeLog 9943
 MD5 d2a1aca212498ad4de9f4a79ac12026b files/digest-ipw2200-1.0.1 62
 MD5 0366dc766d77664dcfbe0f210a501c6a files/digest-ipw2200-1.0.10 63
 MD5 da6616526b85364cf6ef78ee68e00556 files/digest-ipw2200-1.0.11 63
 MD5 da6616526b85364cf6ef78ee68e00556 files/digest-ipw2200-1.0.11-r1 63
+MD5 032e92e7565a2ca7885798d35a141118 files/digest-ipw2200-1.0.12 63
 MD5 1953868cbb8ae6ee8eee55c5848417ab files/digest-ipw2200-1.0.3 62
 MD5 bcf142294729f1a55d7b3fd29c1a8239 files/digest-ipw2200-1.0.4 62
 MD5 0bc9168b6730de57fff46a22dacc8ea4 files/digest-ipw2200-1.0.5 62
@@ -44,6 +45,7 @@ MD5 a1d82c4728a3f608b762fe63c4910f42 ipw2200-1.0.1.ebuild 2488
 MD5 072b53c08fa85ac19eee2fc193fdf865 ipw2200-1.0.10.ebuild 2884
 MD5 ed815b8c793ab509c84913c0c16e06e4 ipw2200-1.0.11-r1.ebuild 2946
 MD5 b9e8e1f57e42dc0faca0530fb8d34c37 ipw2200-1.0.11.ebuild 2885
+MD5 68f97d07b2f1f684dd66c1ec3961b8ea ipw2200-1.0.12.ebuild 2889
 MD5 b2138b76ba85eeea301d8fa9f72470df ipw2200-1.0.3.ebuild 2488
 MD5 03551f14b4409796623fb865ed2abf97 ipw2200-1.0.4.ebuild 2449
 MD5 8a1b21691e17dc6de38c7238cd4e4522 ipw2200-1.0.5.ebuild 2145
diff --git a/net-wireless/ipw2200/files/digest-ipw2200-1.0.12 b/net-wireless/ipw2200/files/digest-ipw2200-1.0.12
new file mode 100644 (file)
index 0000000..2091fd9
--- /dev/null
@@ -0,0 +1 @@
+MD5 fa7f1476c52190def4f565ca9cc3a227 ipw2200-1.0.12.tgz 125758
diff --git a/net-wireless/ipw2200/ipw2200-1.0.12.ebuild b/net-wireless/ipw2200/ipw2200-1.0.12.ebuild
new file mode 100644 (file)
index 0000000..a198012
--- /dev/null
@@ -0,0 +1,98 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ipw2200-1.0.12.ebuild,v 1.1 2006/02/17 13:10:02 brix Exp $
+
+inherit linux-mod
+
+# The following works with both pre-releases and releases
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+IEEE80211_VERSION="1.1.12"
+FW_VERSION="2.4"
+
+DESCRIPTION="Driver for the Intel PRO/Wireless 2200BG/2915ABG miniPCI and 2225BG PCI adapters"
+HOMEPAGE="http://ipw2200.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="debug radiotap"
+DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
+               sys-apps/sed"
+RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
+               =net-wireless/ipw2200-firmware-${FW_VERSION}
+               net-wireless/wireless-tools"
+
+BUILD_TARGETS="all"
+MODULE_NAMES="ipw2200(net/wireless:)"
+MODULESD_IPW2200_DOCS="README.ipw2200"
+
+CONFIG_CHECK="NET_RADIO FW_LOADER !IPW2200"
+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_IPW2200="${P} requires the in-kernel version of the IPW2200 driver to be disabled (CONFIG_IPW2200)"
+
+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 /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 "/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" radiotap="n"
+
+       unpack ${A}
+
+       use debug && debug="y"
+       sed -i -e "s:^\(CONFIG_IPW2200_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile || die
+
+       use radiotap && radiotap="y"
+       sed -i -e "s:^#\(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=${radiotap}:" ${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
+}
+
+pkg_postinst() {
+       linux-mod_pkg_postinst
+
+       if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then
+               einfo
+               einfo "Modules from an earlier installation detected. You will need to manually"
+               einfo "remove those modules by running the following commands:"
+               einfo "  # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko"
+               einfo "  # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko"
+               einfo "  # depmod -a"
+               einfo
+       fi
+}