# 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.64 2006/12/07 18:45:41 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.65 2006/12/20 22:08:43 peper Exp $
+
+*ndiswrapper-1.31 (20 Dec 2006)
+
+ 20 Dec 2006; Piotr Jaroszyński <peper@gentoo.org> metadata.xml,
+ +ndiswrapper-1.31.ebuild:
+ Version bump, bug #158600.
07 Dec 2006; Petteri Räty <betelgeuse@gentoo.org>
ndiswrapper-1.30.ebuild:
DIST ndiswrapper-1.28.tar.gz 187576 RMD160 9fabf056f5ee3e264539fd2dedbcc2622c77be0b SHA1 c627cd529d34dfe0904ecc9b3fd51171922e2bfe SHA256 f992a79c6c8002057807bcedb30b186ba0e06b8f300b99394ad5d4dfb2791f50
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
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 ed137852d13dc532f2f068b1d8538bb1 ndiswrapper-1.30.ebuild 3193
RMD160 15379719ff5a659618527f800e1465d292f2a394 ndiswrapper-1.30.ebuild 3193
SHA256 663f482c63bdef82d05f410a6c9bb6ef238a6be100b6514440a831655253e2ee ndiswrapper-1.30.ebuild 3193
-MISC ChangeLog 11765 RMD160 1d867cedf419b5666bcd83d937e44f3c8d98fea3 SHA1 00cf023fa7aff442850451a88c026c65daa7ecf9 SHA256 8753952a0c6d3078e9c81b5cd1a9edfb4f417d111a31b664b01c5d8a3d2d3308
-MD5 57a666eebbc18782d179899db291f211 ChangeLog 11765
-RMD160 1d867cedf419b5666bcd83d937e44f3c8d98fea3 ChangeLog 11765
-SHA256 8753952a0c6d3078e9c81b5cd1a9edfb4f417d111a31b664b01c5d8a3d2d3308 ChangeLog 11765
-MISC metadata.xml 479 RMD160 e185296be581ba88ca1111761e74fc11c675c6b6 SHA1 34539dd6bf73258486bef5f3c5ea4fd144dcbd31 SHA256 57bb7c6b8c76b056c08d7e77406beed7eb18fab59f9d05abd3be5fe721c52799
-MD5 1708be22d3f1bedac71125104f201a66 metadata.xml 479
-RMD160 e185296be581ba88ca1111761e74fc11c675c6b6 metadata.xml 479
-SHA256 57bb7c6b8c76b056c08d7e77406beed7eb18fab59f9d05abd3be5fe721c52799 metadata.xml 479
+EBUILD ndiswrapper-1.31.ebuild 3225 RMD160 91af83b2d7d7b01b14ee9125e3b92be2f3fade4e SHA1 e862e5d3128e628199e6862314008372196cf872 SHA256 66e036e446f7b6a6233ee4f82e8fed07881e79215048c424cf3c8c94f5215d1c
+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
+MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
+MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
+RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
+SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66 metadata.xml 480
MD5 c469e607b88c844e8cc38fadc513d186 files/digest-ndiswrapper-1.2-r1 247
RMD160 bb949b0505ab69f635ed69e08952d328cc9353dd files/digest-ndiswrapper-1.2-r1 247
SHA256 8f56ae10d30703c082924adc3a3f11e23f868f06ff853790e7d7ffccadd20d8c files/digest-ndiswrapper-1.2-r1 247
MD5 5c1e12dd2c64e238bd39de200095cfd1 files/digest-ndiswrapper-1.30 250
RMD160 1dcbad861f33f95d5b001810c395fc46a9ccd69b files/digest-ndiswrapper-1.30 250
SHA256 235e911a768cf8ceaba80840b49c3f18cef0a598a10e34b6650307c07db7c547 files/digest-ndiswrapper-1.30 250
+MD5 2068ecb3257145b40707d63de2801858 files/digest-ndiswrapper-1.31 250
+RMD160 d67d56c7fb06a1590ac325380de153ac8f2bcadd files/digest-ndiswrapper-1.31 250
+SHA256 e7fc22a775bb7592d282fc2b37086c036c39dfee7ccd43c08985278024f5dc5b files/digest-ndiswrapper-1.31 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFeGFecxLzpIGCsLQRArhDAJ9GGAE0e9znkiYgtg75wVOpMMkW6wCdFZfD
-1a2BGgFI4GO4nCaNMq3+4BA=
-=ZWP8
+iD8DBQFFibRzppoStNGKGywRAvl/AKDS6pTMNfWF97JvmNrqTtV5SIrBXACcCj2z
+1MN5qGOu9yl7X7msXdyxLU8=
+=PoUK
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 ed848f2ff53be931b353fccdd3ee8c10 ndiswrapper-1.31.tar.gz 189315
+RMD160 f68b6d4c25d7e35e4b0d045a4782dc9a011a02c6 ndiswrapper-1.31.tar.gz 189315
+SHA256 0f9ca15a2a66346648c860acbad64e60ff0e7f203b7cfb357d74e6316f52f97c ndiswrapper-1.31.tar.gz 189315
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>mobile</herd>
-<maintainer>
- <email>betelgeuse@gentoo.org</email>
- <description>Until brad gets back</description>
-</maintainer>
-<longdescription>ndiswrapper provides a kernel module and utility for
-implementing the Windows(tm) NDIS API. This serves to provide drivers
-for wireless cards that have no native support.</longdescription>
+ <herd>mobile</herd>
+ <maintainer>
+ <email>peper@gentoo.org</email>
+ <name>Piotr Jaroszyński</name>
+ </maintainer>
+ <longdescription lang="en">ndiswrapper provides a kernel module and utility for
+ implementing the Windows(tm) NDIS API. This serves to provide drivers
+ for wireless cards that have no native support.
+ </longdescription>
</pkgmetadata>
--- /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.31.ebuild,v 1.1 2006/12/20 22:08:43 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
+}