# 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.75 2007/03/01 16:57:52 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.76 2007/03/24 00:17:49 peper Exp $
+
+*ndiswrapper-1.39 (24 Mar 2007)
+
+ 24 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +ndiswrapper-1.39.ebuild:
+ Version bump.
*ndiswrapper-1.38 (01 Mar 2007)
DIST ndiswrapper-1.36.tar.gz 192482 RMD160 d2bbc34b6ac1a441c6a562105625b8abf84e44cd SHA1 f945bcf19de6858ed4b6ee17b3590c357a923e7a SHA256 cc741c973c1a7a29e6d80aeae1b258cd07ee942553934e47dbb2ae2c1f957c3c
DIST ndiswrapper-1.37.tar.gz 192561 RMD160 4041f205ffa683d8f6b6ad7ac822078429fc135b SHA1 480b08a011a8f2970e7501cb1d957a60ca763357 SHA256 a3774bcf76132843419aa6902cf65a09b921805fa09427498af2cdd9a25abb3d
DIST ndiswrapper-1.38.tar.gz 192293 RMD160 2cdb0550ccf908a3c1570292a39308d85c9273dd SHA1 4ced6796074f40bf545824eff9df8a359b5fc950 SHA256 485893c4bf59c2b712f373f963a4fc7f9c193c504a7d48c20f70a225d982e99b
+DIST ndiswrapper-1.39.tar.gz 192211 RMD160 40c085b48ec1d5fe6aea20fac01d8f8e33000e56 SHA1 cc9feb6ab786a7c950ef90fccfee087154f71ab4 SHA256 b229cc3d1f2162b50a1e41ae3edd2f35562039b96e0909f2476186481d47862f
EBUILD ndiswrapper-1.33.ebuild 3064 RMD160 22bea73e269c973e821e39584df5fb5e1d7c5402 SHA1 0d23ac2bd729c07950d159b778475bad9f3231d7 SHA256 09a8637c4066a58387ebfef86849bb87a6327a60a7486745542978c05df36f96
MD5 177bf09829287e01e9dfeeea73c06928 ndiswrapper-1.33.ebuild 3064
RMD160 22bea73e269c973e821e39584df5fb5e1d7c5402 ndiswrapper-1.33.ebuild 3064
MD5 391e9fb5efe47650099de7d138d62110 ndiswrapper-1.38.ebuild 2957
RMD160 a54a65a1129be8f52d9541a82a3e7a99806b37af ndiswrapper-1.38.ebuild 2957
SHA256 8b75485439fbedc07495a7e4a164299da93ed7b8fa369986725aebbe8dc82dd8 ndiswrapper-1.38.ebuild 2957
-MISC ChangeLog 13872 RMD160 a31611d2339b18268020f9fad706290768869390 SHA1 7a13b1a32ad26fb0f435c5e4441ea3de4ea2e6b0 SHA256 5e99024cdfc9420936a6df97c8b902187e06e428aa2fb289a47e5a2ada38e991
-MD5 917156ef31c9cced547d0cd173cd06ac ChangeLog 13872
-RMD160 a31611d2339b18268020f9fad706290768869390 ChangeLog 13872
-SHA256 5e99024cdfc9420936a6df97c8b902187e06e428aa2fb289a47e5a2ada38e991 ChangeLog 13872
+EBUILD ndiswrapper-1.39.ebuild 2957 RMD160 ce101270550c7ce600f90b0f9bafb03dc9925554 SHA1 974ecf1f42345cc6461f9c474272ebe69d27ec5b SHA256 cb8ca7a77df4b811705092206516529a2f0a4ae350e3f2fc2fbca82a3e280166
+MD5 82e47eafbcf037c144bbe1db5a2fa5be ndiswrapper-1.39.ebuild 2957
+RMD160 ce101270550c7ce600f90b0f9bafb03dc9925554 ndiswrapper-1.39.ebuild 2957
+SHA256 cb8ca7a77df4b811705092206516529a2f0a4ae350e3f2fc2fbca82a3e280166 ndiswrapper-1.39.ebuild 2957
+MISC ChangeLog 14003 RMD160 1b94fdb5c06adff748826cfaddf095a246a71f73 SHA1 8edea88fd87a858ec18bc327c2949d03647d295e SHA256 132276d927f871c4b31f68c658ed87ede29a85469090eb5a040ae67df8d87bab
+MD5 f887c18b626178b62b4f866c1805b1db ChangeLog 14003
+RMD160 1b94fdb5c06adff748826cfaddf095a246a71f73 ChangeLog 14003
+SHA256 132276d927f871c4b31f68c658ed87ede29a85469090eb5a040ae67df8d87bab ChangeLog 14003
MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
MD5 84d1a2ed492e308ec979da2083838d97 files/digest-ndiswrapper-1.38 250
RMD160 c2288b3bd7175c654aca6891e6c83ee6b3893dfe files/digest-ndiswrapper-1.38 250
SHA256 cc5a765f2de8a50746294e891efecd57bd0495c7c7341c6810e0dc408aeddcdc files/digest-ndiswrapper-1.38 250
+MD5 01674c3454601315e1873cb53a2600c8 files/digest-ndiswrapper-1.39 250
+RMD160 9a47ed3d9b2c02d413d19d65e1e5eb58051bcef3 files/digest-ndiswrapper-1.39 250
+SHA256 da320c42aa0c059a38fa5324c90c9f7692497793b3373717cdff7e9374be4ac3 files/digest-ndiswrapper-1.39 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF5wYXppoStNGKGywRAjGgAKCAmlRCuTF7ac1FoQQB9uvkj0osLACdEyNy
-eANlwYeCpsnSBIzxi+YMrtU=
-=v7Jg
+iD8DBQFGBG40ppoStNGKGywRAibrAKDAfQ6ejJwOU+/jy2JgrSKVW9sCegCdEeTY
+KyL2L3q3NuGY0uJLEI5eo4A=
+=xCV0
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 4306fb0466efdfe6426b8a45f93ec56c ndiswrapper-1.39.tar.gz 192211
+RMD160 40c085b48ec1d5fe6aea20fac01d8f8e33000e56 ndiswrapper-1.39.tar.gz 192211
+SHA256 b229cc3d1f2162b50a1e41ae3edd2f35562039b96e0909f2476186481d47862f ndiswrapper-1.39.tar.gz 192211
--- /dev/null
+# 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.39.ebuild,v 1.1 2007/03/24 00:17:49 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
+ 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
+ einfo "ndiswrapper devs need support(_hardware_, cash)."
+ einfo "Don't hesistate 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
+}