diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2004-11-01 12:22:47 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2004-11-01 12:22:47 +0000 |
commit | 55dfcd690a00827e2a16d0f8a04efc7beae48c87 (patch) | |
tree | 239758418e2b1eb5c42447d810c1ca0058167a42 /net-wireless | |
parent | Fix bug #69283. (diff) | |
download | historical-55dfcd690a00827e2a16d0f8a04efc7beae48c87.tar.gz historical-55dfcd690a00827e2a16d0f8a04efc7beae48c87.tar.bz2 historical-55dfcd690a00827e2a16d0f8a04efc7beae48c87.zip |
Initial check-in. Fixes bug #57031.
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/orinoco/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/orinoco/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/orinoco/files/digest-orinoco-0.15_rc2 | 6 | ||||
-rw-r--r-- | net-wireless/orinoco/metadata.xml | 9 | ||||
-rw-r--r-- | net-wireless/orinoco/orinoco-0.15_rc2.ebuild | 104 |
5 files changed, 128 insertions, 0 deletions
diff --git a/net-wireless/orinoco/ChangeLog b/net-wireless/orinoco/ChangeLog new file mode 100644 index 000000000000..b40a8e33cef7 --- /dev/null +++ b/net-wireless/orinoco/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for net-wireless/orinoco +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco/ChangeLog,v 1.1 2004/11/01 12:22:47 brix Exp $ + + 01 Nov 2004; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml: + Initial check-in, ebuild by me. Thanks to all who commented on bug #57031. + diff --git a/net-wireless/orinoco/Manifest b/net-wireless/orinoco/Manifest new file mode 100644 index 000000000000..862d31b35be4 --- /dev/null +++ b/net-wireless/orinoco/Manifest @@ -0,0 +1,2 @@ +MD5 78f6f433a2ac71fbb78ddfd4f02fbc14 orinoco-0.15_rc2.ebuild 2186 +MD5 85bf652db8f2f4e7c10d071cbeb13aa4 files/digest-orinoco-0.15_rc2 436 diff --git a/net-wireless/orinoco/files/digest-orinoco-0.15_rc2 b/net-wireless/orinoco/files/digest-orinoco-0.15_rc2 new file mode 100644 index 000000000000..f56ad8b85cba --- /dev/null +++ b/net-wireless/orinoco/files/digest-orinoco-0.15_rc2 @@ -0,0 +1,6 @@ +MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494 +MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 +MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 +MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034 +MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244 +MD5 2246f0879439d74f7aabc7935cec90c0 orinoco-0.15rc2.tar.gz 98693 diff --git a/net-wireless/orinoco/metadata.xml b/net-wireless/orinoco/metadata.xml new file mode 100644 index 000000000000..cfbdff13bd61 --- /dev/null +++ b/net-wireless/orinoco/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile</herd> +<maintainer> + <email>brix@gentoo.org</email> + <name>Henrik Brix Andersen</name> +</maintainer> +</pkgmetadata> diff --git a/net-wireless/orinoco/orinoco-0.15_rc2.ebuild b/net-wireless/orinoco/orinoco-0.15_rc2.ebuild new file mode 100644 index 000000000000..29d87efb5a5b --- /dev/null +++ b/net-wireless/orinoco/orinoco-0.15_rc2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco/orinoco-0.15_rc2.ebuild,v 1.1 2004/11/01 12:22:47 brix Exp $ + +inherit eutils kernel-mod pcmcia + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="ORiNOCO wireless driver" +HOMEPAGE="http://www.nongnu.org/orinoco/" +SRC_URI="${SRC_URI} http://www.ozlabs.org/people/dgibson/dldwd/${MY_P}.tar.gz" +LICENSE="GPL-2 MPL-1.1" + +KEYWORDS="~x86 ~ppc" +IUSE="" +SLOT="0" + +DEPEND="virtual/linux-sources + sys-apps/sed" +RDEPEND="net-wireless/wireless-tools" + +pkg_setup () { + local DIE=0 + + if kernel-mod_configoption_present HERMES + then + eerror "" + eerror "${P} requires Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)" + eerror "to be DISABLED in the kernel to avoid conflicting modules." + DIE=1 + fi + + if ! kernel-mod_configoption_present NET_RADIO + then + eerror "" + eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &" + eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel." + DIE=1 + fi + + kernel-mod_check_modules_supported + + if [ $DIE -eq 1 ] + then + eerror "" + die "You kernel is missing the required option(s) listed above." + fi +} + +src_unpack() { + unpack ${A} + + pcmcia_src_unpack + + if [ -n "${PCMCIA_VERSION}" ] + then + sed -i "s:^\(PCMCIA_CS\) =.*:\1 = ${PCMCIA_SOURCE_DIR}:" \ + ${S}/Makefile + fi + + sed -i "s:^\(KERNEL_SRC\) =.*:\1 = ${ROOT}/usr/src/linux/:" \ + ${S}/Makefile + + sed -i "s:^\(CONF_DIR\) = \(.*\):\1 = ${D}\2:" \ + ${S}/Makefile + + sed -i "s:^\(MODULE_DIR_TOP\) = \(.*\):\1 = ${D}\2:" \ + ${S}/Makefile + + sed -i "s:^\(MODULE_DIR_WIRELESS = \$(MODULE_DIR_TOP)\).*:\1/net:" \ + ${S}/Makefile + + sed -i "s:\$(DEPMOD).*::" ${S}/Makefile + + kernel-mod_getversion + + if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] + then + sed -i "s:SUBDIRS=:M=:" ${S}/Makefile + fi +} + +src_compile() { + pcmcia_configure + + set_arch_to_kernel + emake || die "emake failed" + set_arch_to_portage +} + +src_install() { + set_arch_to_kernel + emake install || die "emake install failed" + set_arch_to_portage + + dodoc README.orinoco +} + +pkg_postinst() { + einfo "Checking kernel module dependencies" + test -r "${ROOT}/usr/src/linux/System.map" && \ + depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} +} |