summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Laue <brad@gentoo.org>2005-11-06 23:43:43 +0000
committerBrad Laue <brad@gentoo.org>2005-11-06 23:43:43 +0000
commit3c3fee4115f8da343f301cec337ce7f446b8a266 (patch)
treeba298240c2185ab589f6e5718a2789e4fa13a52b /net-wireless/ndiswrapper
parentMarked ~ppc (diff)
downloadgentoo-2-3c3fee4115f8da343f301cec337ce7f446b8a266.tar.gz
gentoo-2-3c3fee4115f8da343f301cec337ce7f446b8a266.tar.bz2
gentoo-2-3c3fee4115f8da343f301cec337ce7f446b8a266.zip
revbump
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r--net-wireless/ndiswrapper/ChangeLog7
-rw-r--r--net-wireless/ndiswrapper/Manifest18
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.51
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.5.ebuild90
4 files changed, 102 insertions, 14 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index 644539f19d54..32c6f4eed79c 100644
--- a/net-wireless/ndiswrapper/ChangeLog
+++ b/net-wireless/ndiswrapper/ChangeLog
@@ -1,6 +1,11 @@
# 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.31 2005/10/25 20:34:37 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.32 2005/11/06 23:43:43 brad Exp $
+
+*ndiswrapper-1.5 (06 Nov 2005)
+
+ 06 Nov 2005; Brad Laue <brad@gentoo.org> +ndiswrapper-1.5.ebuild:
+ Bump to 1.5.
25 Oct 2005; Doug Goldstein <cardoe@gentoo.org> metadata.xml,
ndiswrapper-1.4.ebuild:
diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest
index ba3bdbc0ac32..31b4cf515fbe 100644
--- a/net-wireless/ndiswrapper/Manifest
+++ b/net-wireless/ndiswrapper/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 9e656f2969071c8ae04574216b9d7ac7 ndiswrapper-1.5.ebuild 2538
+MD5 cac3ca22dc7de36f7b39637624d8a8c8 ndiswrapper-1.2.ebuild 2532
+MD5 9e656f2969071c8ae04574216b9d7ac7 ndiswrapper-1.4.ebuild 2538
MD5 1c33e0cc3aa71eeecb004abc2f90007f ChangeLog 6696
+MD5 2f7c7c41947c7558b2ffd955781cf676 metadata.xml 475
MD5 fd2f66ff609bafcd303be1db969e9185 files/digest-ndiswrapper-1.2 67
MD5 0977cf561e0e57e90acd65fa396c46c4 files/digest-ndiswrapper-1.4 67
+MD5 99150810adb8171b788cfed921ab62bd files/digest-ndiswrapper-1.5 67
MD5 9cf5a13dc78b9840d419f0656d1dd920 files/ndiswrapper-1.2-suspend2.patch 553
-MD5 2f7c7c41947c7558b2ffd955781cf676 metadata.xml 475
-MD5 cac3ca22dc7de36f7b39637624d8a8c8 ndiswrapper-1.2.ebuild 2532
-MD5 9e656f2969071c8ae04574216b9d7ac7 ndiswrapper-1.4.ebuild 2538
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDXpcMBtvusYtCZMsRAqgHAJ4285zWor49g57Jaw4tvHJhSN1ExgCfUPvM
-2MaGAWfCGBGRZwTGOo/1uZE=
-=tCdq
------END PGP SIGNATURE-----
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.5 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.5
new file mode 100644
index 000000000000..59bb82305989
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.5
@@ -0,0 +1 @@
+MD5 3e8d66b48447a8efb8135176dbcc158f ndiswrapper-1.5.tar.gz 168549
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.5.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.5.ebuild
new file mode 100644
index 000000000000..2d831d7e2de7
--- /dev/null
+++ b/net-wireless/ndiswrapper/ndiswrapper-1.5.ebuild
@@ -0,0 +1,90 @@
+# 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.5.ebuild,v 1.1 2005/11/06 23:43:43 brad 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"
+DEPEND="sys-apps/pciutils"
+RDEPEND="${DEPEND}
+ net-wireless/wireless-tools"
+
+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}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.2-suspend2.patch || die "suspend2 patch failed"
+
+ einfo "The only kernels that will work are gentoo-sources, vanilla-sources, and suspend2-sources."
+ einfo "No other kernels are supported. Kernels like the mm kernels will NOT work."
+
+ 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/mediawiki/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 "Possible Hardware: ${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 "Attempting to automatically reinstall any Windows drivers"
+ ewarn "you might already have."
+ for driver in $(ls /etc/ndiswrapper)
+ do
+ einfo "Driver: ${driver}"
+ mv /etc/ndiswrapper/${driver} /tmp
+ ndiswrapper -i /tmp/${driver}/${driver}.inf
+ done
+}