From 0f8824f20ee3f84fe9778c13cf93c744c3d6b40e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Wed, 29 Nov 2006 17:47:50 +0000 Subject: [PATCH] Version bump. Fixes bug #156635. Package-Manager: portage-2.1.2_rc2-r2 --- net-wireless/ndiswrapper/ChangeLog | 8 +- net-wireless/ndiswrapper/Manifest | 22 ++-- .../ndiswrapper/files/digest-ndiswrapper-1.30 | 3 + .../ndiswrapper/ndiswrapper-1.30.ebuild | 109 ++++++++++++++++++ 4 files changed, 134 insertions(+), 8 deletions(-) create mode 100644 net-wireless/ndiswrapper/files/digest-ndiswrapper-1.30 create mode 100644 net-wireless/ndiswrapper/ndiswrapper-1.30.ebuild diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog index 16602beff823..c8e2002a1771 100644 --- a/net-wireless/ndiswrapper/ChangeLog +++ b/net-wireless/ndiswrapper/ChangeLog @@ -1,6 +1,12 @@ # 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.62 2006/11/26 10:33:53 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.63 2006/11/29 17:47:50 betelgeuse Exp $ + +*ndiswrapper-1.30 (29 Nov 2006) + + 29 Nov 2006; Petteri Räty + +ndiswrapper-1.30.ebuild: + Version bump. Fixes bug #156635. 26 Nov 2006; Petteri Räty ndiswrapper-1.29.ebuild: diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest index e3f416b5a4e5..cefd355459cd 100644 --- a/net-wireless/ndiswrapper/Manifest +++ b/net-wireless/ndiswrapper/Manifest @@ -22,6 +22,7 @@ DIST ndiswrapper-1.25.tar.gz 186162 RMD160 1c76d9121b53c899b6b0567528aa7cd045658 DIST ndiswrapper-1.26.tar.gz 186384 RMD160 dfa48ab65cfb5f86be0565997dc0982c65bab1eb SHA1 b07cd84f2f9fc0d9dada4eac14d1f1565a5dfaf1 SHA256 73a052d6edb38343b39628dae8ac6e77e61f0bf0ce82da1dee4f8b8ebd6f2ec4 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 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 @@ -42,10 +43,14 @@ EBUILD ndiswrapper-1.29.ebuild 3100 RMD160 1ee1bfb057bbc08298507a76b9d0ed21a98fd MD5 8da88ff99a2473d567bf38c3b6f68742 ndiswrapper-1.29.ebuild 3100 RMD160 1ee1bfb057bbc08298507a76b9d0ed21a98fd3e3 ndiswrapper-1.29.ebuild 3100 SHA256 6ce86f62e6b0e538c1dae6a1abc9ec05f8964d10aef8700fe3f145cf4f91fb1a ndiswrapper-1.29.ebuild 3100 -MISC ChangeLog 11467 RMD160 4ed633e0024fe8bba5d8905b350ec0405e05edfa SHA1 4ede3ba18923e2f0089df472fabfb82af77fb925 SHA256 516533dd5647658882a82027307a3e4eb78d9f57b4386f061f1b8b6605faa01f -MD5 c533937dee21e476eb75e0a26c39c5b3 ChangeLog 11467 -RMD160 4ed633e0024fe8bba5d8905b350ec0405e05edfa ChangeLog 11467 -SHA256 516533dd5647658882a82027307a3e4eb78d9f57b4386f061f1b8b6605faa01f ChangeLog 11467 +EBUILD ndiswrapper-1.30.ebuild 3100 RMD160 38eb374dfc930e664d35b0b477112bbb5944ba9e SHA1 eed41b1aed5c26702d616238cb11dcf90da2aebc SHA256 8e3e4add50adf387cd3abe173235b461a2f99e874075c85b1206ea4ea54bb8b0 +MD5 af6bca4f0ea422238c9022d5d46faa7e ndiswrapper-1.30.ebuild 3100 +RMD160 38eb374dfc930e664d35b0b477112bbb5944ba9e ndiswrapper-1.30.ebuild 3100 +SHA256 8e3e4add50adf387cd3abe173235b461a2f99e874075c85b1206ea4ea54bb8b0 ndiswrapper-1.30.ebuild 3100 +MISC ChangeLog 11617 RMD160 dc1813a6a984a1ee0786903d00368367181ead2d SHA1 47456cab8432da8497baa740cb5be3d2350bbf92 SHA256 9afb4a6d8c76a2c1db44cbe88402a24a1877aefe493cd4287598825dd2127bea +MD5 f4b43a85fdcf96e7bf9484aad9b27b01 ChangeLog 11617 +RMD160 dc1813a6a984a1ee0786903d00368367181ead2d ChangeLog 11617 +SHA256 9afb4a6d8c76a2c1db44cbe88402a24a1877aefe493cd4287598825dd2127bea ChangeLog 11617 MISC metadata.xml 479 RMD160 e185296be581ba88ca1111761e74fc11c675c6b6 SHA1 34539dd6bf73258486bef5f3c5ea4fd144dcbd31 SHA256 57bb7c6b8c76b056c08d7e77406beed7eb18fab59f9d05abd3be5fe721c52799 MD5 1708be22d3f1bedac71125104f201a66 metadata.xml 479 RMD160 e185296be581ba88ca1111761e74fc11c675c6b6 metadata.xml 479 @@ -65,10 +70,13 @@ SHA256 9fcffad089e0ca6bc512ce0bebfef70e48d7fbd547d40a62e80d0bd2d543ce9c files/di MD5 667db5fd71ffb9f96e8230ef0445a4be files/digest-ndiswrapper-1.29 250 RMD160 bd8a9535c9c341f70585c2d78773e4250d1f139c files/digest-ndiswrapper-1.29 250 SHA256 4fe190ed3d629be27774dfee11c2ff499342a0d4d1b2ee9c53c004ff7048c0b6 files/digest-ndiswrapper-1.29 250 +MD5 5c1e12dd2c64e238bd39de200095cfd1 files/digest-ndiswrapper-1.30 250 +RMD160 1dcbad861f33f95d5b001810c395fc46a9ccd69b files/digest-ndiswrapper-1.30 250 +SHA256 235e911a768cf8ceaba80840b49c3f18cef0a598a10e34b6650307c07db7c547 files/digest-ndiswrapper-1.30 250 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFaW3KcxLzpIGCsLQRAsoBAJ9LUL0Tc01tQ+NHk/FWj2nLHECIQwCgncBf -3Vifce2qIeFeYDlvNa+nNWk= -=6o7o +iD8DBQFFbcfKcxLzpIGCsLQRAudgAKCTc4Y50a/9CQQ4sfW+LEMAsW4RJQCeKgGm +O3H9VmJ02ZYKNKfVVyBgyd8= +=zniG -----END PGP SIGNATURE----- diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.30 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.30 new file mode 100644 index 000000000000..ad98d57c4c3e --- /dev/null +++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.30 @@ -0,0 +1,3 @@ +MD5 5a4bf573ac401ad3809ccc9fc5ab1695 ndiswrapper-1.30.tar.gz 188973 +RMD160 6b38da72e7a9daebec6579b99fa2aa0fc0fdbfa9 ndiswrapper-1.30.tar.gz 188973 +SHA256 cf6d396730dde4950b1b39d792c87e8b019790e3b26ce74454b085bf7cdd5ee3 ndiswrapper-1.30.tar.gz 188973 diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.30.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.30.ebuild new file mode 100644 index 000000000000..6fdc388a23d3 --- /dev/null +++ b/net-wireless/ndiswrapper/ndiswrapper-1.30.ebuild @@ -0,0 +1,109 @@ +# 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.30.ebuild,v 1.1 2006/11/29 17:47:50 betelgeuse 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 + + BUILD_PARAMS="KBUILD='${KERNEL_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 + make DESTDIR="${D}" install +} + +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 +} -- 2.26.2