# 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.71 2007/01/28 17:45:20 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.72 2007/02/02 21:46:54 peper Exp $
+
+*ndiswrapper-1.36 (02 Feb 2007)
+
+ 02 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +ndiswrapper-1.36.ebuild:
+ Version bump.
*ndiswrapper-1.35 (28 Jan 2007)
DIST ndiswrapper-1.33.tar.gz 189876 RMD160 bc4f94886e174b3f6276e1832aae61a63e2420f6 SHA1 d08bdef9dd8b656607c546b7f198bd89257213d2 SHA256 89658cbea3a1e23190d6ced024d016fb28269e09cdcb44093750851763aa1ad4
DIST ndiswrapper-1.34.tar.gz 190156 RMD160 a6041f32a6e2ead26a824d97c665f356545fe982 SHA1 65ff79ab7fb9eab1fee88f9f1401605c8befe9b0 SHA256 a096802bc6b01f01c4a950efd9db127227f34f4adc77fdbb8fe49a48ac43a9ae
DIST ndiswrapper-1.35.tar.gz 191277 RMD160 ffbd196a22bd6a432157df4e2d0ec203ff6dc250 SHA1 3e7e2b632dadec6ec70681c0d4e4d7d0ca1366b1 SHA256 d4f396d9dafe94fec374df4ff68283b1078d2c17de86bb430af68390cd0f999c
+DIST ndiswrapper-1.36.tar.gz 192482 RMD160 d2bbc34b6ac1a441c6a562105625b8abf84e44cd SHA1 f945bcf19de6858ed4b6ee17b3590c357a923e7a SHA256 cc741c973c1a7a29e6d80aeae1b258cd07ee942553934e47dbb2ae2c1f957c3c
EBUILD ndiswrapper-1.33.ebuild 3264 RMD160 d4b20c78acda866559d1abb1d46729f0424d4f58 SHA1 282d5cbb78545e09d4e20cecb8ecc0233b6b0755 SHA256 a7803d883ba2b3b28f9182aa20fab02a4c4afe57a06c19ab5b35e5f25188091c
MD5 e9f5394511da495df14686ce9bbb077c ndiswrapper-1.33.ebuild 3264
RMD160 d4b20c78acda866559d1abb1d46729f0424d4f58 ndiswrapper-1.33.ebuild 3264
MD5 dd27873e604e40a7d3d9425b93c5676e ndiswrapper-1.35.ebuild 3265
RMD160 890b549263964a47afe232f96b872ee092bd5ddf ndiswrapper-1.35.ebuild 3265
SHA256 623ea0092597588fabe2bbfa9cb05a24fb5edd854b699414e7b9330539d9593e ndiswrapper-1.35.ebuild 3265
-MISC ChangeLog 13274 RMD160 035658383adeab176c6d45817733e71f8731c739 SHA1 9a4b7f6eb64163f43ec26f867fb1092fadee4e98 SHA256 bbeb9c8b1d8bb83b8c3ef13b7956965ec04ed499ef44034de38fffa1f2010a21
-MD5 a1bdd6bc9c88b98c0acdf57e02560460 ChangeLog 13274
-RMD160 035658383adeab176c6d45817733e71f8731c739 ChangeLog 13274
-SHA256 bbeb9c8b1d8bb83b8c3ef13b7956965ec04ed499ef44034de38fffa1f2010a21 ChangeLog 13274
+EBUILD ndiswrapper-1.36.ebuild 3157 RMD160 ab6c12c517bf74b5ab650f5df40ec6b45199b390 SHA1 344af98865bcb9fcb5f45b61acee3a2303af4e45 SHA256 f0449ff0efda564bafb21d5554657405f6b7f2ca3b23305f30069de684a84909
+MD5 7595c5b0071dcc72dd97c5ecb571c368 ndiswrapper-1.36.ebuild 3157
+RMD160 ab6c12c517bf74b5ab650f5df40ec6b45199b390 ndiswrapper-1.36.ebuild 3157
+SHA256 f0449ff0efda564bafb21d5554657405f6b7f2ca3b23305f30069de684a84909 ndiswrapper-1.36.ebuild 3157
+MISC ChangeLog 13405 RMD160 21ce39a5652143ed781008a84daecfb868dccff1 SHA1 8141742928926c20cce54529c9c388e06fddbb29 SHA256 4c0fba271a4a72909d8d93df662afca902c7f6dd59a9aaf397fce98e11827c29
+MD5 fcca582d69312d95fe3561ddb81da0ef ChangeLog 13405
+RMD160 21ce39a5652143ed781008a84daecfb868dccff1 ChangeLog 13405
+SHA256 4c0fba271a4a72909d8d93df662afca902c7f6dd59a9aaf397fce98e11827c29 ChangeLog 13405
MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
MD5 05d70ec8df1a38db51f2b267f26f5516 files/digest-ndiswrapper-1.35 250
RMD160 fbd3a20c28d7c8af101c5fd9fa6531baa358892c files/digest-ndiswrapper-1.35 250
SHA256 b8052d4bda79665b1f9fecb1442a6ecc565724b0ec35b6a371f9181f819097a7 files/digest-ndiswrapper-1.35 250
+MD5 1ccc6ee1130f6c5771468ef083a85225 files/digest-ndiswrapper-1.36 250
+RMD160 711e0a3ace0d1389e4cbb820bff1145a6dad14af files/digest-ndiswrapper-1.36 250
+SHA256 6251924d4a7a3bfcc13fdb4a9ec9c73f8d8ce7d9c6712ec40b474d4701887371 files/digest-ndiswrapper-1.36 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFvOE7ppoStNGKGywRAtInAJ9SfR6YfGqXXoL7YprkyS1k80FEbACeOjhT
-OO/5SLJ/HAp/mw+KncNWaVo=
-=Q32l
+iD8DBQFFw7FWppoStNGKGywRAtkTAKCCI2OYdpABM2K1CGOJdfgCHbMKQwCfdWF6
+3T/SQx7b9RFpkkwhl1+pLtg=
+=Sv9y
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 667ba42463b80ea8a5082f5f0751685c ndiswrapper-1.36.tar.gz 192482
+RMD160 d2bbc34b6ac1a441c6a562105625b8abf84e44cd ndiswrapper-1.36.tar.gz 192482
+SHA256 cc741c973c1a7a29e6d80aeae1b258cd07ee942553934e47dbb2ae2c1f957c3c ndiswrapper-1.36.tar.gz 192482
--- /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.36.ebuild,v 1.1 2007/02/02 21:46:54 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_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}
+ 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
+ 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
+}