summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2006-01-17 17:11:42 +0000
committerSeemant Kulleen <seemant@gentoo.org>2006-01-17 17:11:42 +0000
commite8d379c776cd9657244fa38759c0c52456dabbbe (patch)
tree47989b484d9150f41c4f885aa38e62910e34f661 /net-wireless/ndiswrapper
parent079 marked stable (diff)
downloadgentoo-2-e8d379c776cd9657244fa38759c0c52456dabbbe.tar.gz
gentoo-2-e8d379c776cd9657244fa38759c0c52456dabbbe.tar.bz2
gentoo-2-e8d379c776cd9657244fa38759c0c52456dabbbe.zip
version bump to 1.8. Closes bug #118724 by Morgan Collins
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r--net-wireless/ndiswrapper/ChangeLog7
-rw-r--r--net-wireless/ndiswrapper/Manifest12
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.81
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.8.ebuild92
4 files changed, 101 insertions, 11 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index 0c5c416b7397..eeb00960ff54 100644
--- a/net-wireless/ndiswrapper/ChangeLog
+++ b/net-wireless/ndiswrapper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/ndiswrapper
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.38 2006/01/07 16:22:20 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.39 2006/01/17 17:11:41 seemant Exp $
+
+*ndiswrapper-1.8 (17 Jan 2006)
+
+ 17 Jan 2006; Seemant Kulleen <seemant@gentoo.org> +ndiswrapper-1.8.ebuild:
+ version bump to 1.8. Closes bug #118724 by Morgan Collins
07 Jan 2006; Petteri Räty <betelgeuse@gentoo.org>
ndiswrapper-1.2-r1.ebuild:
diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest
index d2ffa55f9b51..ec4a27fdab48 100644
--- a/net-wireless/ndiswrapper/Manifest
+++ b/net-wireless/ndiswrapper/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 607dd752376762ab353da7d32990f8bc ChangeLog 7641
MD5 fd2f66ff609bafcd303be1db969e9185 files/digest-ndiswrapper-1.2 67
MD5 fd2f66ff609bafcd303be1db969e9185 files/digest-ndiswrapper-1.2-r1 67
MD5 7c67b35a030ab2acbc09e54ee77a6205 files/digest-ndiswrapper-1.7 67
+MD5 e9d1524fe6a825760376e41b5aa8dc39 files/digest-ndiswrapper-1.8 67
MD5 69ca885f3c7039ffb61da23aa194653c files/ndiswrapper-1.2-kernel-2.6.14.patch 1162
MD5 9cf5a13dc78b9840d419f0656d1dd920 files/ndiswrapper-1.2-suspend2.patch 553
MD5 8d922dcf7a83d54f22e5831433f2ba65 metadata.xml 542
MD5 7fb20fd0abf610e5d3111796144ed2fe ndiswrapper-1.2-r1.ebuild 2582
MD5 e0270deffdd57fbe8d7d745964b17f00 ndiswrapper-1.2.ebuild 2871
MD5 d7d611d0df86023d8db9a9c610a047b9 ndiswrapper-1.7.ebuild 2497
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDv+rKQiJ/wx066S4RAk3GAJ9LsVuusXHcExAmUmwgkQK4EhamsgCfdaK2
-5A4HFyO0wHZB2i4ZzSKr+cI=
-=gUoQ
------END PGP SIGNATURE-----
+MD5 d7d611d0df86023d8db9a9c610a047b9 ndiswrapper-1.8.ebuild 2497
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.8 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.8
new file mode 100644
index 000000000000..d43ad5f462fb
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.8
@@ -0,0 +1 @@
+MD5 3ddb605ae8ae839384e2b3b15475af85 ndiswrapper-1.8.tar.gz 175651
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.8.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.8.ebuild
new file mode 100644
index 000000000000..378ed6285360
--- /dev/null
+++ b/net-wireless/ndiswrapper/ndiswrapper-1.8.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.8.ebuild,v 1.1 2006/01/17 17:11:42 seemant Exp $
+
+inherit eutils linux-mod
+
+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")
+
+pkg_setup() {
+ einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels."
+ echo ""
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.2-suspend2.patch || die "suspend2 patch failed"
+
+ 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
+}