summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-10-23 17:38:28 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-10-23 17:38:28 +0000
commitf0ba85f80464942377b058b08e32dd316968c499 (patch)
tree22e5a51f70da4f516f09619ceb860fd223695c05
parentVersion bump, bug #108159. (diff)
downloadgentoo-2-f0ba85f80464942377b058b08e32dd316968c499.tar.gz
gentoo-2-f0ba85f80464942377b058b08e32dd316968c499.tar.bz2
gentoo-2-f0ba85f80464942377b058b08e32dd316968c499.zip
revision bump
(Portage version: 2.0.53_rc6)
-rw-r--r--net-wireless/ndiswrapper/ChangeLog7
-rw-r--r--net-wireless/ndiswrapper/Manifest18
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.41
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.4.ebuild90
4 files changed, 102 insertions, 14 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index cfb34c4ba4c9..89235b8516a4 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.29 2005/08/26 06:10:53 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.30 2005/10/23 17:38:28 cardoe Exp $
+
+*ndiswrapper-1.4 (23 Oct 2005)
+
+ 23 Oct 2005; Doug Goldstein <cardoe@gentoo.org> +ndiswrapper-1.4.ebuild:
+ Rev bump
26 Aug 2005; Doug Goldstein <cardoe@gentoo.org>
-ndiswrapper-1.1-r1.ebuild, ndiswrapper-1.2.ebuild:
diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest
index 5c915a8ba679..f7d75b0e7f73 100644
--- a/net-wireless/ndiswrapper/Manifest
+++ b/net-wireless/ndiswrapper/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 8da029b75194bf52d7bda5550cb43a60 ChangeLog 6414
-MD5 82add84ad0d2f8b69058e245396e3e89 metadata.xml 507
-MD5 cac3ca22dc7de36f7b39637624d8a8c8 ndiswrapper-1.2.ebuild 2532
+MD5 afe8ee433b1c0ab7014e5976eea66330 ChangeLog 6533
MD5 fd2f66ff609bafcd303be1db969e9185 files/digest-ndiswrapper-1.2 67
+MD5 0977cf561e0e57e90acd65fa396c46c4 files/digest-ndiswrapper-1.4 67
MD5 9cf5a13dc78b9840d419f0656d1dd920 files/ndiswrapper-1.2-suspend2.patch 553
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDDrKnBtvusYtCZMsRAqN5AJ47kJJgszSS3RzPKRbMsA99WLcEQwCePtPr
-7osL1KU0aoUJy0pRggq0kEw=
-=X/hC
------END PGP SIGNATURE-----
+MD5 82add84ad0d2f8b69058e245396e3e89 metadata.xml 507
+MD5 cac3ca22dc7de36f7b39637624d8a8c8 ndiswrapper-1.2.ebuild 2532
+MD5 f25614e685fbf0f693cf4a7c07e80d6d ndiswrapper-1.4.ebuild 2537
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.4 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.4
new file mode 100644
index 000000000000..3a5032d7bf41
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.4
@@ -0,0 +1 @@
+MD5 a2a33ba1a5e65f6c50a9699e202257de ndiswrapper-1.4.tar.gz 166703
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.4.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.4.ebuild
new file mode 100644
index 000000000000..6612e91a624d
--- /dev/null
+++ b/net-wireless/ndiswrapper/ndiswrapper-1.4.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.4.ebuild,v 1.1 2005/10/23 17:38:28 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"
+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
+}