# 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.65 2006/12/20 22:08:43 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.66 2006/12/23 13:45:34 peper Exp $
+
+*ndiswrapper-1.32 (23 Dec 2006)
+
+ 23 Dec 2006; Piotr Jaroszyński <peper@gentoo.org>
+ +ndiswrapper-1.32.ebuild:
+ Version bump.
*ndiswrapper-1.31 (20 Dec 2006)
DIST ndiswrapper-1.29.tar.gz 188870 RMD160 fff3f0c82010796ef5fe614d526b55d63943bb06 SHA1 8d679393d4b320d475b8326dfced587ce7113205 SHA256 a4fc5a5ca668286cd3e1438197a05ab70d2e873d10e7e540cc4314fda36b39d4
DIST ndiswrapper-1.30.tar.gz 188973 RMD160 6b38da72e7a9daebec6579b99fa2aa0fc0fdbfa9 SHA1 30568f96a1422f9740d6e63b187c7303ff96dd14 SHA256 cf6d396730dde4950b1b39d792c87e8b019790e3b26ce74454b085bf7cdd5ee3
DIST ndiswrapper-1.31.tar.gz 189315 RMD160 f68b6d4c25d7e35e4b0d045a4782dc9a011a02c6 SHA1 e9b4f13c39ecea0411907241b5d34352e85c1c28 SHA256 0f9ca15a2a66346648c860acbad64e60ff0e7f203b7cfb357d74e6316f52f97c
+DIST ndiswrapper-1.32.tar.gz 189546 RMD160 fc4a3645803d4fc97f943a713317de8e2a80550a SHA1 f0b92169c9402d225309b95346db91017a80d4cb SHA256 488dab60f8dd204a600798e20515d4853fd2de1807106b068b8e07312e14f802
EBUILD ndiswrapper-1.2-r1.ebuild 2661 RMD160 f2c920779b0fb06004d2a3d465b197e626bffd6f SHA1 2541d81460b5ed372ed7d5f4d66e7181d8444e04 SHA256 aed56973b3d6c22eb9157c3fecfec133b39ce2e02699c6621781610aa131ac67
MD5 62273eab80a9e2172a977ecdb1040e93 ndiswrapper-1.2-r1.ebuild 2661
RMD160 f2c920779b0fb06004d2a3d465b197e626bffd6f ndiswrapper-1.2-r1.ebuild 2661
MD5 165a27226e049d09a53be229eff1ce4c ndiswrapper-1.31.ebuild 3225
RMD160 91af83b2d7d7b01b14ee9125e3b92be2f3fade4e ndiswrapper-1.31.ebuild 3225
SHA256 66e036e446f7b6a6233ee4f82e8fed07881e79215048c424cf3c8c94f5215d1c ndiswrapper-1.31.ebuild 3225
-MISC ChangeLog 11918 RMD160 cf5e34567a5d4c992dc78e0b8e484201b1ef42a4 SHA1 551f378c4ce5a7983c09a8bf2a0812e9cc3695d5 SHA256 3ff8337e58b2d77860159f661e8f742bd77ae0cbaf443f432a35433ec80ab8fd
-MD5 ecce73f048f0bcb5fd930dd82cedbf6e ChangeLog 11918
-RMD160 cf5e34567a5d4c992dc78e0b8e484201b1ef42a4 ChangeLog 11918
-SHA256 3ff8337e58b2d77860159f661e8f742bd77ae0cbaf443f432a35433ec80ab8fd ChangeLog 11918
+EBUILD ndiswrapper-1.32.ebuild 3225 RMD160 dd7d7820bd2a247a4740c1036a55c20511b945e0 SHA1 51e3f150109c377a990a3669e2099f0759cc138b SHA256 10f69085d32e89269b5f3492343c1d030e404a8161c85826a500d85e63ac1700
+MD5 696cfedb8ea2d3a01f1830a6f3897ef3 ndiswrapper-1.32.ebuild 3225
+RMD160 dd7d7820bd2a247a4740c1036a55c20511b945e0 ndiswrapper-1.32.ebuild 3225
+SHA256 10f69085d32e89269b5f3492343c1d030e404a8161c85826a500d85e63ac1700 ndiswrapper-1.32.ebuild 3225
+MISC ChangeLog 12049 RMD160 ddf338a94cc5cb09339a9b098f14ae5a75d96af4 SHA1 4930721c3631ef40a32f9fd879bc0813f0997345 SHA256 4c3616b4af468bf3e0ba0b47ddc69790790afac03ade121ace0472ead844a371
+MD5 a455a8b179dab03376ba1d1c7abeabea ChangeLog 12049
+RMD160 ddf338a94cc5cb09339a9b098f14ae5a75d96af4 ChangeLog 12049
+SHA256 4c3616b4af468bf3e0ba0b47ddc69790790afac03ade121ace0472ead844a371 ChangeLog 12049
MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
MD5 2068ecb3257145b40707d63de2801858 files/digest-ndiswrapper-1.31 250
RMD160 d67d56c7fb06a1590ac325380de153ac8f2bcadd files/digest-ndiswrapper-1.31 250
SHA256 e7fc22a775bb7592d282fc2b37086c036c39dfee7ccd43c08985278024f5dc5b files/digest-ndiswrapper-1.31 250
+MD5 6c6a627551a721209af5303910ca99d4 files/digest-ndiswrapper-1.32 250
+RMD160 bb36fe78628bf9fbca22070d1b8d8b7ac616ee65 files/digest-ndiswrapper-1.32 250
+SHA256 be20c96f7e325a0ab685d16f4e2321db3a07ae59cc600a10b3c03a01bd36060e files/digest-ndiswrapper-1.32 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFibRzppoStNGKGywRAvl/AKDS6pTMNfWF97JvmNrqTtV5SIrBXACcCj2z
-1MN5qGOu9yl7X7msXdyxLU8=
-=PoUK
+iD8DBQFFjTMGppoStNGKGywRAmNhAJ9L0svsE7kxbHKiWbsBCqwZOdP4wACZAdhG
+vKLLMgsbupBla8/VDaCJf00=
+=QDhY
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 b22bd1ce26c2def515ab14733eadb7c9 ndiswrapper-1.32.tar.gz 189546
+RMD160 fc4a3645803d4fc97f943a713317de8e2a80550a ndiswrapper-1.32.tar.gz 189546
+SHA256 488dab60f8dd204a600798e20515d4853fd2de1807106b068b8e07312e14f802 ndiswrapper-1.32.tar.gz 189546
--- /dev/null
+# 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.32.ebuild,v 1.1 2006/12/23 13:45:34 peper 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 usb"
+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_FULL}"
+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}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.2-suspend2.patch"
+
+ 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 trick needed to build against sources where only make
+ # modules_prepare has been run so /lib/modules/$(uname -r) does
+ # not exists yet
+ # KBUILD value can't be quoted or amd64 fails
+ # http://bugs.gentoo.org/show_bug.cgi?id=156319
+ BUILD_PARAMS="KBUILD=${KV_OUT_DIR} ${BUILD_PARAMS} ${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
+ 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 'modules-update'."
+ 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 "Windows driver configuration file format has changed since 1.5."
+# ewarn "You must re-install Windows drivers if they were installed before."
+
+ 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
+}