# 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.74 2007/02/23 15:57:47 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.75 2007/03/01 16:57:52 peper Exp $
+
+*ndiswrapper-1.38 (01 Mar 2007)
+
+ 01 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +ndiswrapper-1.38.ebuild:
+ Version bump.
23 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
ndiswrapper-1.33.ebuild, ndiswrapper-1.34.ebuild, ndiswrapper-1.35.ebuild,
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
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
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 15213c87274ee91e64252d5e81a1d47c ndiswrapper-1.37.ebuild 2957
RMD160 9a1d2e77bc3a3c944ab37af23ae3ae1603fba0f0 ndiswrapper-1.37.ebuild 2957
SHA256 f022036f42153dfc1580eef5723aefaab73d775deae196bf038dab2a804e038f ndiswrapper-1.37.ebuild 2957
-MISC ChangeLog 13741 RMD160 987b436059f2d4bbeb2d13ed4ae9475ee3f5e6da SHA1 86df03c9aebf1a9b23d686290376a37d91f9314e SHA256 d68b58fd25d32f8c19973269640d78d186def1ca9ce0d13b937209bb0cbee0c9
-MD5 3e86f0e96d8c41447ce3084e7f15bae6 ChangeLog 13741
-RMD160 987b436059f2d4bbeb2d13ed4ae9475ee3f5e6da ChangeLog 13741
-SHA256 d68b58fd25d32f8c19973269640d78d186def1ca9ce0d13b937209bb0cbee0c9 ChangeLog 13741
+EBUILD ndiswrapper-1.38.ebuild 2957 RMD160 a54a65a1129be8f52d9541a82a3e7a99806b37af SHA1 4831b5c32fb93b477f1d2170351ff7daf70980c5 SHA256 8b75485439fbedc07495a7e4a164299da93ed7b8fa369986725aebbe8dc82dd8
+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
MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
MD5 38191f732caed7242641f1976b83bc70 files/digest-ndiswrapper-1.37 250
RMD160 d4bbf0da0e55396d0d5630c7986e780d940b8346 files/digest-ndiswrapper-1.37 250
SHA256 8b25e25de022035eff3b813803a329e9a1d6c840d2b26f7417194b77a65748c1 files/digest-ndiswrapper-1.37 250
+MD5 84d1a2ed492e308ec979da2083838d97 files/digest-ndiswrapper-1.38 250
+RMD160 c2288b3bd7175c654aca6891e6c83ee6b3893dfe files/digest-ndiswrapper-1.38 250
+SHA256 cc5a765f2de8a50746294e891efecd57bd0495c7c7341c6810e0dc408aeddcdc files/digest-ndiswrapper-1.38 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFF3w8FppoStNGKGywRAobtAKC6BMtWIhUD+FhUvs4XVlmQXBDTdACeKg98
-87j0j5uYVk1qvY5tJNrQaXk=
-=qZNf
+iD8DBQFF5wYXppoStNGKGywRAjGgAKCAmlRCuTF7ac1FoQQB9uvkj0osLACdEyNy
+eANlwYeCpsnSBIzxi+YMrtU=
+=v7Jg
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 4d331bbdaa8e507ff6fa7a4802e68141 ndiswrapper-1.38.tar.gz 192293
+RMD160 2cdb0550ccf908a3c1570292a39308d85c9273dd ndiswrapper-1.38.tar.gz 192293
+SHA256 485893c4bf59c2b712f373f963a4fc7f9c193c504a7d48c20f70a225d982e99b ndiswrapper-1.38.tar.gz 192293
--- /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.38.ebuild,v 1.1 2007/03/01 16:57:52 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
+}