summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2007-05-17 16:57:18 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2007-05-17 16:57:18 +0000
commit7b93890b7ee9875e5c5cabb901d07574706b8911 (patch)
treed3d253c7633b8c280de34e777122a84da34f62af /net-wireless
parentMarked ~hppa (bug #178853). (diff)
downloadgentoo-2-7b93890b7ee9875e5c5cabb901d07574706b8911.tar.gz
gentoo-2-7b93890b7ee9875e5c5cabb901d07574706b8911.tar.bz2
gentoo-2-7b93890b7ee9875e5c5cabb901d07574706b8911.zip
Version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/ndiswrapper/ChangeLog8
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-1.443
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-1.44.ebuild104
3 files changed, 114 insertions, 1 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index cd9b5372faa4..eccf202c646e 100644
--- a/net-wireless/ndiswrapper/ChangeLog
+++ b/net-wireless/ndiswrapper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/ndiswrapper
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.80 2007/04/30 09:34:09 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.81 2007/05/17 16:57:18 peper Exp $
+
+*ndiswrapper-1.44 (17 May 2007)
+
+ 17 May 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +ndiswrapper-1.44.ebuild:
+ Version bump.
*ndiswrapper-1.43 (30 Apr 2007)
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.44 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.44
new file mode 100644
index 000000000000..d1c89b316ede
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.44
@@ -0,0 +1,3 @@
+MD5 968d538fddfed9350ca68b367284c33a ndiswrapper-1.44.tar.gz 195228
+RMD160 4e44e0c54bf767d0091f1188b6f1c4ae9416a79b ndiswrapper-1.44.tar.gz 195228
+SHA256 d08a2eb45917d69adac706fad5bbe7487be48846c402395ec0bca5e280dedcdc ndiswrapper-1.44.tar.gz 195228
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.44.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.44.ebuild
new file mode 100644
index 000000000000..f3cf36319937
--- /dev/null
+++ b/net-wireless/ndiswrapper/ndiswrapper-1.44.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.44.ebuild,v 1.1 2007/05/17 16:57:18 peper Exp $
+
+inherit 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="~amd64 ~x86"
+IUSE="debug usb"
+
+DEPEND="sys-apps/pciutils"
+RDEPEND="${DEPEND}
+ net-wireless/wireless-tools"
+
+CONFIG_CHECK="NET_RADIO"
+
+MODULE_NAMES="ndiswrapper(misc:${S}/driver)"
+BUILD_TARGETS="all"
+MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper")
+
+ERROR_USB="You need to enable USB support in your kernel
+to use usb support in ndiswrapper."
+
+pkg_setup() {
+ einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels."
+ echo ""
+ use usb && CONFIG_CHECK="${CONFIG_CHECK} USB"
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ convert_to_m "${S}/driver/Makefile"
+}
+
+src_compile() {
+ local params
+
+ # Enable verbose debugging information
+ if use debug; then
+ params="DEBUG=3"
+ use usb && params="${params} USB_DEBUG=1"
+ fi
+
+ cd utils
+ emake || die "Compile of utils failed!"
+
+ use usb || params="DISABLE_USB=1"
+
+ # Does not like parallel builds
+ # http://bugs.gentoo.org/show_bug.cgi?id=154213
+ # KBUILD value can't be quoted
+ # http://bugs.gentoo.org/show_bug.cgi?id=156319
+ BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1"
+ linux-mod_src_compile
+}
+
+src_install() {
+ dodoc README INSTALL AUTHORS ChangeLog
+ doman ndiswrapper.8
+
+ keepdir /etc/ndiswrapper
+
+ linux-mod_src_install
+
+ cd utils
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ echo
+ elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver"
+ elog "to function. Download these to /root for example, then"
+ elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them."
+ elog "They will be copied to the proper location."
+ elog "Once done, please run 'update-modules'."
+ echo
+ elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers"
+ I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4)
+ elog "Look for the following on that page for your driver:"
+ elog "Possible Hardware: ${I}"
+ echo
+ elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
+ elog "for the FAQ, HowTos, Tips, Configuration, and installation"
+ elog "information."
+ echo
+ einfo "ndiswrapper devs need support(_hardware_, cash)."
+ einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details."
+ echo
+
+ einfo "Attempting to automatically reinstall any Windows drivers"
+ einfo "you might already have."
+ for driver in $(ls /etc/ndiswrapper)
+ do
+ einfo "Driver: ${driver}"
+ mv /etc/ndiswrapper/${driver} ${T}
+ ndiswrapper -i ${T}/${driver}/${driver}.inf
+ done
+}