Version bump.
authorHenrik Brix Andersen <brix@gentoo.org>
Sun, 27 Nov 2005 18:52:27 +0000 (18:52 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Sun, 27 Nov 2005 18:52:27 +0000 (18:52 +0000)
Package-Manager: portage-2.0.51.22-r3

net-wireless/orinoco/ChangeLog
net-wireless/orinoco/Manifest
net-wireless/orinoco/files/digest-orinoco-0.15_rc3 [new file with mode: 0644]
net-wireless/orinoco/orinoco-0.15_rc3.ebuild [new file with mode: 0644]

index 9990811746df71212337fbe68a3c109b18a4f746..0470b0370f7fbaced1bad898ea39b2dc1bce146e 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/orinoco
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco/ChangeLog,v 1.8 2005/11/15 14:07:59 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco/ChangeLog,v 1.9 2005/11/27 18:52:27 brix Exp $
+
+*orinoco-0.15_rc3 (27 Nov 2005)
+
+  27 Nov 2005; Henrik Brix Andersen <brix@gentoo.org>
+  +orinoco-0.15_rc3.ebuild:
+  Version bump.
 
   15 Nov 2005; Henrik Brix Andersen <brix@gentoo.org>
   orinoco-0.15_rc2-r2.ebuild:
index c09bb90e6cda8ac7e02bc8b07e00d522ee10d178..8f493f2556ec51232f0ad24a4c6e3279f4afe17c 100644 (file)
@@ -1,6 +1,8 @@
 MD5 e93a03c1e5af887a9761d23b158ac188 orinoco-0.15_rc2-r2.ebuild 2714
-MD5 6af23fcebdb69346615cdb04267ff5f8 ChangeLog 1399
+MD5 2f624037b7bc5ee8ee9f70243ce2a173 orinoco-0.15_rc3.ebuild 2794
+MD5 1013efad7a5c5cf8509f15878ad475f1 ChangeLog 1531
 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
 MD5 1082bcf4c903a8ad9783910524fc419c files/digest-orinoco-0.15_rc2-r2 66
 MD5 f9ce2c15dccfbc14bdb019da42885031 files/orinoco-0.15rc2-firmware.patch 606
 MD5 26ab41e4c9fbbdbf80de660b20e9f233 files/orinoco-0.15rc2-2.6.10.patch 2755
+MD5 7c8b7df86c967166eb696662418f8e6a files/digest-orinoco-0.15_rc3 66
diff --git a/net-wireless/orinoco/files/digest-orinoco-0.15_rc3 b/net-wireless/orinoco/files/digest-orinoco-0.15_rc3
new file mode 100644 (file)
index 0000000..f2c8e9a
--- /dev/null
@@ -0,0 +1 @@
+MD5 c4e3e2b239174f04ff4c681fe64d9e69 orinoco-0.15rc3.tar.gz 88041
diff --git a/net-wireless/orinoco/orinoco-0.15_rc3.ebuild b/net-wireless/orinoco/orinoco-0.15_rc3.ebuild
new file mode 100644 (file)
index 0000000..52e1cd5
--- /dev/null
@@ -0,0 +1,112 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco/orinoco-0.15_rc3.ebuild,v 1.1 2005/11/27 18:52:27 brix Exp $
+
+inherit linux-mod
+
+MY_P=${P/_/}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="ORiNOCO IEEE 802.11 wireless LAN driver"
+HOMEPAGE="http://www.nongnu.org/orinoco/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 MPL-1.1"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+IUSE="pcmcia"
+RDEPEND="net-wireless/wireless-tools"
+
+BUILD_TARGETS="all"
+MODULESD_ORINOCO_DOCS="README.orinoco"
+
+CONFIG_CHECK="~FW_LOADER !HERMES NET_RADIO ~PCI ~PCMCIA"
+ERROR_HERMES="${P} requires Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) (CONFIG_HERMES) to be DISABLED."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+MODULESD_ORINOCO_NORTEL_ENABLED="no"
+MODULESD_ORINOCO_PCI_ENABLED="no"
+MODULESD_ORINOCO_PLX_ENABLED="no"
+MODULESD_ORINOCO_TMD_ENABLED="no"
+
+pkg_setup() {
+       linux-mod_pkg_setup
+
+       if kernel_is lt 2 6 11; then
+               eerror
+               eerror "${P} requires kernel 2.6.11 or above."
+               eerror
+               die "Kernel version too old."
+       fi
+
+       if kernel_is ge 2 6 15; then
+               ewarn
+               ewarn "Linux kernel 2.6.15 and above contains a more recent version of this"
+               ewarn "driver. Please consider using the in-kernel driver when using"
+               ewarn "linux-2.6.15 or above."
+               ewarn
+       fi
+
+       MODULE_NAMES="hermes(net/wireless:)
+                                 orinoco(net/wireless:)"
+
+       if linux_chkconfig_present PCI; then
+               MODULE_NAMES="${MODULE_NAMES}
+                                       orinoco_nortel(net/wireless:)
+                                       orinoco_pci(net/wireless:)
+                                       orinoco_plx(net/wireless:)
+                                       orinoco_tmd(net/wireless:)"
+       fi
+
+       if linux_chkconfig_present PPC_PMAC; then
+               MODULE_NAMES="${MODULE_NAMES} airport(net/wireless:)"
+       fi
+
+       if use pcmcia && linux_chkconfig_present PCMCIA; then
+               MODULE_NAMES="${MODULE_NAMES} orinoco_cs(net/wireless:)"
+
+               if linux_chkconfig_present FW_LOADER; then
+                       MODULE_NAMES="${MODULE_NAMES} spectrum_cs(net/wireless:)"
+               fi
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+
+       sed -i "s:^\(KERNEL_PATH\) =.*:\1 = ${KV_OUT_DIR}:" \
+               ${S}/Makefile
+}
+
+src_compile() {
+       linux-mod_src_compile
+
+       if use pcmcia; then
+               emake hermes.conf
+       fi
+}
+
+src_install() {
+       linux-mod_src_install
+
+       dodoc NEWS
+
+       if use pcmcia; then
+               insinto /etc/pcmcia
+               doins hermes.conf
+       fi
+}
+
+pkg_postinst() {
+       linux-mod_pkg_postinst
+
+       if [[ -e ${ROOT}/lib/modules/${KV_FULL}/pcmcia/orinoco.${KV_OBJ} ]]; then
+               ewarn
+               ewarn "The modules from this package conflicts with the modules installed"
+               ewarn "by the pcmcia-cs package. You will have to manually delete the"
+               ewarn "duplicate modules from the"
+               ewarn "  ${ROOT}lib/modules/${KV_FULL}/pcmcia/"
+               ewarn "directory and manually run '/sbin/depmod -ae'"
+               ewarn
+       fi
+}