summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-05-10 18:50:02 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-05-10 18:50:02 +0000
commit72b882eabcee8894b0b9ca9ac36855170eccaadb (patch)
treeda59618fb1eb9367687abed11fb345484a5f01b3 /net-wireless/ndiswrapper
parentDowngrading and masking on ppc due to compile errors; bug #91887. (diff)
downloadhistorical-72b882eabcee8894b0b9ca9ac36855170eccaadb.tar.gz
historical-72b882eabcee8894b0b9ca9ac36855170eccaadb.tar.bz2
historical-72b882eabcee8894b0b9ca9ac36855170eccaadb.zip
fixed silly dep. cleaned out old ebuilds
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r--net-wireless/ndiswrapper/ChangeLog12
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-0.12-r31
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.01
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc21
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc41
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.11
-rw-r--r--net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d10
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-0.12-r3.ebuild119
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.0.ebuild98
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.0_rc2.ebuild87
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild97
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild6
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.1.ebuild99
13 files changed, 15 insertions, 518 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index 4e4385afff94..c9cad116d029 100644
--- a/net-wireless/ndiswrapper/ChangeLog
+++ b/net-wireless/ndiswrapper/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-wireless/ndiswrapper
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.22 2005/05/07 07:52:08 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.23 2005/05/10 18:50:02 cardoe Exp $
+
+ 10 May 2005; <cardoe@gentoo.org> -files/ndiswrapper-0.9-modules.d,
+ -ndiswrapper-0.12-r3.ebuild, -ndiswrapper-1.0_rc2.ebuild,
+ -ndiswrapper-1.0_rc4.ebuild, -ndiswrapper-1.0.ebuild,
+ -ndiswrapper-1.1.ebuild, ndiswrapper-1.1-r1.ebuild:
+ clean out old ebuilds
+
+ 10 May 2005; <cardoe@gentoo.org> ndiswrapper-1.1.ebuild,
+ ndiswrapper-1.1-r1.ebuild:
+ added a common sense runtime dep on wireless-tools
*ndiswrapper-1.1-r1 (07 May 2005)
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.12-r3 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.12-r3
deleted file mode 100644
index 3bbb69314c76..000000000000
--- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.12-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 01d86483b1d53cde7ae32853672399cc ndiswrapper-0.12.tar.gz 106455
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0
deleted file mode 100644
index e646666f92d2..000000000000
--- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 99d1ca988429a8d690c47b679375f441 ndiswrapper-1.0.tar.gz 133413
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc2 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc2
deleted file mode 100644
index 94db1eb6fe63..000000000000
--- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7cfc4941980b2378643c8e1474f88696 ndiswrapper-1.0rc2.tar.gz 113023
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc4 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc4
deleted file mode 100644
index 46622ce9bb72..000000000000
--- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.0_rc4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9d9c3dac978b79c4a6eacedfbd980123 ndiswrapper-1.0rc4.tar.gz 129902
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.1 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.1
deleted file mode 100644
index ce6d999258d9..000000000000
--- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0738e511f6bbc9f1da3be1c4e35e4a1d ndiswrapper-1.1.tar.gz 135361
diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d b/net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d
deleted file mode 100644
index 4e8c9d2bc57a..000000000000
--- a/net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d
+++ /dev/null
@@ -1,10 +0,0 @@
-# Options for ndiswrapper.
-#
-
-# Set this alias to some device. Usually wlan0 unless you've got more than one
-# wireless card.
-
-#alias wlan0 ndiswrapper
-
-# It is no longer required to call loadndisdriver explictitly; please remove
-# any and all entries in the modules.d files that refer to it.
diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.12-r3.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.12-r3.ebuild
deleted file mode 100644
index 88d3fb06a3bf..000000000000
--- a/net-wireless/ndiswrapper/ndiswrapper-0.12-r3.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-0.12-r3.ebuild,v 1.3 2005/01/30 08:56:10 cardoe Exp $
-
-CONFIG_CHECK="!4KSTACKS"
-
-inherit linux-info
-
-DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
-HOMEPAGE="http://ndiswrapper.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-IUSE="debug"
-DEPEND="sys-apps/pciutils"
-S=${WORKDIR}/${PN}-${PV}
-
-src_unpack() {
- unpack ${A}
-
- SWS=`grep '# CONFIG_SOFTWARE_SUSPEND2 is not set' ${ROOT}/usr/src/linux/.config`
-
- if [ -n "${SWS}" ]
- then
- eerror "You have a kernel patched with Software Suspend 2 (swsusp2)"
- eerror "but don't have it enabled. You must remove the patch or"
- eerror "enable Software Suspend 2 (swsusp2)."
- eerror "http://bugs.gentoo.org/show_bug.cgi?id=74864"
- die "Fix your kernel"
- fi
-
- # Fix path to kernel and KVERS
- sed -i -e "s:^KSRC.*:KSRC=${ROOT}/usr/src/linux:" \
- -e "s:^KVERS.*:KVERS=${KV_MAJOR}${KV_MINOR}:" \
- ${S}/driver/Makefile
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i 's:SUBDIRS=:M=:g' ${S}/driver/Makefile
- fi
-}
-
-src_compile() {
- # Unset ARCH for 2.5/2.6 kernel compiles
- if [ ${KV_MINOR} -gt 4 ] ; then
- unset ARCH
- fi
-
- # Enable verbose debugging information
- use debug && export DEBUG=3
-
- emake || die "Compile Failed!"
-}
-
-src_install() {
- if [ ${KV_MINOR} -gt 4 ]
- then
- MOD_SUFFIX="ko"
- else
- MOD_SUFFIX="o"
- fi
-
- dosbin ${S}/utils/ndiswrapper
- dosbin ${S}/utils/ndiswrapper-buginfo
-
- dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS ${S}/ChangeLog
- doman ${S}/ndiswrapper.8
-
- insinto /lib/modules/${KV}/misc
- doins ${S}/driver/ndiswrapper.${MOD_SUFFIX}
-
- into /
- dosbin ${S}/utils/loadndisdriver
-
- insinto /etc/modules.d
- newins ${FILESDIR}/${PN}-0.9-modules.d ndiswrapper
-
- dodir /etc/ndiswrapper
-}
-
-pkg_postinst() {
- echo
- 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}
- echo
- einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver"
- einfo "to function. Download these to /root for example, then"
- einfo "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them."
- einfo "They will be copied to the proper location."
- einfo "Once done, please run 'update-modules'."
- einfo
- einfo "As of release 0.9, you no longer have to call 'loadndiswrapper'"
- einfo "explicitly. The module will handle it automatically."
- einfo
- einfo "check http://ndiswrapper.sf.net/phpwiki/index.php/List for drivers"
- I=`lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4`
- einfo "Look for the following on that page for your driver:"
- einfo ${I}
- einfo
- einfo "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
- einfo "for the FAQ, HowTos, Tips, Configuration, and installation"
- einfo "information."
- echo
-}
-
-pkg_config() {
- ewarn "New versions of ndiswrapper do not require you to run config"
-
- if [ ! -f "/etc/modules.d/ndiswrapper" ] ; then
- eerror "/etc/modules.d/ndiswrapper not found. Please re-emerge"
- eerror "${PN} to have this file installed, then re-run this script."
- die "Driver configuration file not found!"
- fi
-}
-
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.0.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.0.ebuild
deleted file mode 100644
index 092aae07a3d1..000000000000
--- a/net-wireless/ndiswrapper/ndiswrapper-1.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.0.ebuild,v 1.2 2005/03/04 21:14:42 cardoe Exp $
-
-inherit linux-mod eutils
-
-DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
-HOMEPAGE="http://ndiswrapper.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~amd64"
-
-IUSE="debug 4kstacks"
-DEPEND="sys-apps/pciutils"
-S=${WORKDIR}/${P}
-
-if use !4kstacks
-then
- CONFIG_CHECK="!4KSTACKS"
-fi
-
-#4KSTACKS_ERROR="CONFIG_4KSTACKS should not be set.\nIf you feel really confident that 4K Stacks will work for you, add '4kstacks' to your USE flags. But don't expect any support from Gentoo."
-
-CONFIG_CHECK="${CONFIG_CHECK} NET_RADIO"
-
-MODULE_NAMES="ndiswrapper(misc:${S}/driver)"
-BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}"
-BUILD_TARGETS="all"
-MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper")
-
-src_unpack() {
- unpack ${A}
-
- if grep '# CONFIG_SOFTWARE_SUSPEND2 is not set' ${ROOT}${KV_DIR}/.config
- then
- eerror "You have a kernel patched with Software Suspend 2 (swsusp2)"
- eerror "but don't have it enabled. You must remove the patch or"
- eerror "enable Software Suspend 2 (swsusp2)."
- eerror "http://bugs.gentoo.org/show_bug.cgi?id=74864"
- die "Please fix your kernel"
- fi
-
- convert_to_m ${S}/driver/Makefile
-}
-
-src_compile() {
- # Enable verbose debugging information
- use debug && export DEBUG=3
-
- cd utils
- emake || die "Compile of utils failed!"
-
- linux-mod_src_compile
-
-}
-
-src_install() {
- dosbin utils/ndiswrapper
- dosbin utils/ndiswrapper-buginfo
-
- into /
- dosbin utils/loadndisdriver
-
- dodoc README INSTALL AUTHORS ChangeLog
- doman ndiswrapper.8
-
- keepdir /etc/ndiswrapper
-
- linux-mod_src_install
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- echo
- einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver"
- einfo "to function. Download these to /root for example, then"
- einfo "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them."
- einfo "They will be copied to the proper location."
- einfo "Once done, please run 'update-modules'."
- echo
- einfo "check http://ndiswrapper.sf.net/phpwiki/index.php/List for drivers"
- I=`lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4`
- einfo "Look for the following on that page for your driver:"
- einfo ${I}
- echo
- einfo "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
- einfo "for the FAQ, HowTos, Tips, Configuration, and installation"
- einfo "information."
- echo
- ewarn "You MUST re-install your Windows drivers."
- ewarn "Best way to do this is to run the following commands"
- ewarn "mv /etc/ndiswrapper/{driver} /tmp"
- ewarn "ndiswrapper -i /tmp/{driver}/{driver}.inf"
- ebeep
- ebeep
- ebeep
-}
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.0_rc2.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.0_rc2.ebuild
deleted file mode 100644
index 11caa6114fab..000000000000
--- a/net-wireless/ndiswrapper/ndiswrapper-1.0_rc2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.0_rc2.ebuild,v 1.1 2005/01/15 21:11:28 cardoe Exp $
-
-inherit linux-mod
-
-DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
-HOMEPAGE="http://ndiswrapper.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-1.0rc2.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-
-IUSE="debug 4kstacks"
-DEPEND="sys-apps/pciutils"
-S=${WORKDIR}/${PN}-1.0rc2
-
-if use !4kstacks
-then
- CONFIG_CHECK="!4KSTACKS"
- 4KSTACKS_ERROR="CONFIG_4KSTACKS should not be set.\nIf you feel really confident that 4K Stacks will work for you, add '4kstacks' to your USE flags. But don't expect any support from Gentoo."
-fi
-
-MODULE_NAMES="ndiswrapper(misc:${S}/driver)"
-BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}"
-BUILD_TARGETS="all"
-MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper")
-
-src_unpack() {
- unpack ${A}
-
- if grep '# CONFIG_SOFTWARE_SUSPEND2 is not set' ${ROOT}${KV_DIR}/.config
- then
- eerror "You have a kernel patched with Software Suspend 2 (swsusp2)"
- eerror "but don't have it enabled. You must remove the patch or"
- eerror "enable Software Suspend 2 (swsusp2)."
- eerror "http://bugs.gentoo.org/show_bug.cgi?id=74864"
- die "Please fix your kernel"
- fi
-
- convert_to_m ${S}/driver/Makefile
-}
-
-src_compile() {
- # Enable verbose debugging information
- use debug && export DEBUG=3
-
- cd utils
- emake || die "Compile of utils failed!"
-
- linux-mod_src_compile
-
-}
-
-src_install() {
- dosbin utils/ndiswrapper
- dosbin utils/ndiswrapper-buginfo
-
- into /
- dosbin utils/loadndisdriver
-
- dodoc README INSTALL AUTHORS ChangeLog
- doman ndiswrapper.8
-
- keepdir /etc/ndiswrapper
-
- linux-mod_src_install
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver"
- einfo "to function. Download these to /root for example, then"
- einfo "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them."
- einfo "They will be copied to the proper location."
- einfo "Once done, please run 'update-modules'."
- einfo
- einfo "check http://ndiswrapper.sf.net/supported_chipsets.html for drivers"
- I=`lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4`
- einfo "Look for the following on that page for your driver:"
- einfo ${I}
- einfo
- einfo "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
- einfo "for the FAQ, HowTos, Tips, Configuration, and installation"
- einfo "information."
- echo
-}
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild
deleted file mode 100644
index a3144e5e7b66..000000000000
--- a/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild,v 1.1 2005/01/23 10:31:10 cardoe Exp $
-
-inherit linux-mod eutils
-
-DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
-HOMEPAGE="http://ndiswrapper.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-1.0rc4.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~amd64"
-
-IUSE="debug 4kstacks"
-DEPEND="sys-apps/pciutils"
-S=${WORKDIR}/${PN}-1.0rc4
-
-if use !4kstacks
-then
- CONFIG_CHECK="!4KSTACKS"
- 4KSTACKS_ERROR="CONFIG_4KSTACKS should not be set.\nIf you feel really confident that 4K Stacks will work for you, add '4kstacks' to your USE flags. But don't expect any support from Gentoo."
-fi
-
-CONFIG_CHECK="${CONFIG_CHECK} NET_RADIO"
-
-MODULE_NAMES="ndiswrapper(misc:${S}/driver)"
-BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}"
-BUILD_TARGETS="all"
-MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper")
-
-src_unpack() {
- unpack ${A}
-
- if grep '# CONFIG_SOFTWARE_SUSPEND2 is not set' ${ROOT}${KV_DIR}/.config
- then
- eerror "You have a kernel patched with Software Suspend 2 (swsusp2)"
- eerror "but don't have it enabled. You must remove the patch or"
- eerror "enable Software Suspend 2 (swsusp2)."
- eerror "http://bugs.gentoo.org/show_bug.cgi?id=74864"
- die "Please fix your kernel"
- fi
-
- convert_to_m ${S}/driver/Makefile
-}
-
-src_compile() {
- # Enable verbose debugging information
- use debug && export DEBUG=3
-
- cd utils
- emake || die "Compile of utils failed!"
-
- linux-mod_src_compile
-
-}
-
-src_install() {
- dosbin utils/ndiswrapper
- dosbin utils/ndiswrapper-buginfo
-
- into /
- dosbin utils/loadndisdriver
-
- dodoc README INSTALL AUTHORS ChangeLog
- doman ndiswrapper.8
-
- keepdir /etc/ndiswrapper
-
- linux-mod_src_install
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- echo
- einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver"
- einfo "to function. Download these to /root for example, then"
- einfo "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them."
- einfo "They will be copied to the proper location."
- einfo "Once done, please run 'update-modules'."
- echo
- einfo "check http://ndiswrapper.sf.net/supported_chipsets.html for drivers"
- I=`lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4`
- einfo "Look for the following on that page for your driver:"
- einfo ${I}
- echo
- einfo "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
- einfo "for the FAQ, HowTos, Tips, Configuration, and installation"
- einfo "information."
- echo
- einfo "You MUST re-install your Windows drivers."
- einfo "Best way to do this is to run the following commands"
- einfo "mv /etc/ndiswrapper/{driver} /tmp"
- einfo "ndiswrapper -i /tmp/{driver}/{driver}.inf"
- ebeep
- ebeep
- ebeep
-}
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild
index 6dca13d7bd73..1b571741f80b 100644
--- a/net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild
+++ b/net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild,v 1.1 2005/05/07 07:52:08 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.1-r1.ebuild,v 1.2 2005/05/10 18:50:02 cardoe Exp $
inherit linux-mod eutils
@@ -13,8 +13,10 @@ KEYWORDS="x86 ~amd64"
IUSE="debug"
DEPEND="sys-apps/pciutils"
-S=${WORKDIR}/${P}
+RDEPEND="${DEPEND}
+ net-wireless/wireless-tools"
+S=${WORKDIR}/${P}
CONFIG_CHECK="${CONFIG_CHECK} NET_RADIO"
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.1.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.1.ebuild
deleted file mode 100644
index 9c30a663c819..000000000000
--- a/net-wireless/ndiswrapper/ndiswrapper-1.1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.1.ebuild,v 1.2 2005/05/07 07:52:08 cardoe Exp $
-
-inherit linux-mod eutils
-
-DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
-HOMEPAGE="http://ndiswrapper.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="x86 ~amd64"
-
-IUSE="debug 4kstacks"
-DEPEND="sys-apps/pciutils"
-S=${WORKDIR}/${P}
-
-if use !4kstacks
-then
- CONFIG_CHECK="!4KSTACKS"
-fi
-
-#4KSTACKS_ERROR="CONFIG_4KSTACKS should not be set.\nIf you feel really confident that 4K Stacks will work for you, add '4kstacks' to your USE flags. But don't expect any support from Gentoo."
-
-CONFIG_CHECK="${CONFIG_CHECK} NET_RADIO"
-
-MODULE_NAMES="ndiswrapper(misc:${S}/driver)"
-BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}"
-BUILD_TARGETS="all"
-MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper")
-
-src_unpack() {
- unpack ${A}
-
- if grep '# CONFIG_SOFTWARE_SUSPEND2 is not set' ${ROOT}${KV_DIR}/.config
- then
- eerror "You have a kernel patched with Software Suspend 2 (swsusp2)"
- eerror "but don't have it enabled. You must remove the patch or"
- eerror "enable Software Suspend 2 (swsusp2)."
- eerror "http://bugs.gentoo.org/show_bug.cgi?id=74864"
- die "Please fix your kernel"
- fi
-
- convert_to_m ${S}/driver/Makefile
-}
-
-src_compile() {
- # Enable verbose debugging information
- use debug && export DEBUG=3
-
- cd utils
- emake || die "Compile of utils failed!"
-
- linux-mod_src_compile
-
-}
-
-src_install() {
- dosbin utils/ndiswrapper
- dosbin utils/ndiswrapper-buginfo
-
- into /
- dosbin utils/loadndisdriver
-
- dodoc README INSTALL AUTHORS ChangeLog
- doman ndiswrapper.8
-
- keepdir /etc/ndiswrapper
-
- linux-mod_src_install
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- echo
- einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver"
- einfo "to function. Download these to /root for example, then"
- einfo "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them."
- einfo "They will be copied to the proper location."
- einfo "Once done, please run 'update-modules'."
- echo
- einfo "check http://ndiswrapper.sf.net/phpwiki/index.php/List for drivers"
- I=`lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4`
- einfo "Look for the following on that page for your driver:"
- einfo ${I}
- echo
- einfo "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
- einfo "for the FAQ, HowTos, Tips, Configuration, and installation"
- einfo "information."
- echo
- ewarn "IF UPGRADING FROM PRE-1.0!!!"
- ewarn "You MUST re-install your Windows drivers."
- ewarn "Best way to do this is to run the following commands"
- ewarn "mv /etc/ndiswrapper/{driver} /tmp"
- ewarn "ndiswrapper -i /tmp/{driver}/{driver}.inf"
- ebeep
- ebeep
- ebeep
-}