Version bump.
authorPiotr Jaroszyński <peper@gentoo.org>
Fri, 29 Dec 2006 13:34:29 +0000 (13:34 +0000)
committerPiotr Jaroszyński <peper@gentoo.org>
Fri, 29 Dec 2006 13:34:29 +0000 (13:34 +0000)
Package-Manager: portage-2.1.2_rc4-r1

net-wireless/ndiswrapper/ChangeLog
net-wireless/ndiswrapper/Manifest
net-wireless/ndiswrapper/files/digest-ndiswrapper-1.33 [new file with mode: 0644]
net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild [new file with mode: 0644]

index 92e9768714cc5e2ab81e1af0c70b58086c01bcc5..9cd0a542754052acce3029a756c0224a88652e0d 100644 (file)
@@ -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.66 2006/12/23 13:45:34 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.67 2006/12/29 13:34:29 peper Exp $
+
+*ndiswrapper-1.33 (29 Dec 2006)
+
+  29 Dec 2006; Piotr Jaroszyński <peper@gentoo.org>
+  +ndiswrapper-1.33.ebuild:
+  Version bump.
 
 *ndiswrapper-1.32 (23 Dec 2006)
 
index 12b585771e6b1a91ee1d2216decf870e530cf618..87adbe50c7da82a066a85155f9c1c3486602183c 100644 (file)
@@ -25,6 +25,7 @@ DIST ndiswrapper-1.29.tar.gz 188870 RMD160 fff3f0c82010796ef5fe614d526b55d63943b
 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
 DIST ndiswrapper-1.32.tar.gz 189546 RMD160 fc4a3645803d4fc97f943a713317de8e2a80550a SHA1 f0b92169c9402d225309b95346db91017a80d4cb SHA256 488dab60f8dd204a600798e20515d4853fd2de1807106b068b8e07312e14f802
+DIST ndiswrapper-1.33.tar.gz 189876 RMD160 bc4f94886e174b3f6276e1832aae61a63e2420f6 SHA1 d08bdef9dd8b656607c546b7f198bd89257213d2 SHA256 89658cbea3a1e23190d6ced024d016fb28269e09cdcb44093750851763aa1ad4
 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
@@ -57,10 +58,14 @@ EBUILD ndiswrapper-1.32.ebuild 3225 RMD160 dd7d7820bd2a247a4740c1036a55c20511b94
 MD5 696cfedb8ea2d3a01f1830a6f3897ef3 ndiswrapper-1.32.ebuild 3225
 RMD160 dd7d7820bd2a247a4740c1036a55c20511b945e0 ndiswrapper-1.32.ebuild 3225
 SHA256 10f69085d32e89269b5f3492343c1d030e404a8161c85826a500d85e63ac1700 ndiswrapper-1.32.ebuild 3225
-MISC ChangeLog 12049 RMD160 ddf338a94cc5cb09339a9b098f14ae5a75d96af4 SHA1 4930721c3631ef40a32f9fd879bc0813f0997345 SHA256 4c3616b4af468bf3e0ba0b47ddc69790790afac03ade121ace0472ead844a371
-MD5 a455a8b179dab03376ba1d1c7abeabea ChangeLog 12049
-RMD160 ddf338a94cc5cb09339a9b098f14ae5a75d96af4 ChangeLog 12049
-SHA256 4c3616b4af468bf3e0ba0b47ddc69790790afac03ade121ace0472ead844a371 ChangeLog 12049
+EBUILD ndiswrapper-1.33.ebuild 3074 RMD160 5e641cdea8d99925adc880fbe52a33feefe633ff SHA1 07d65ceda3373226eee26da2e15118532d0515ef SHA256 07ca305258a5c05b80c501deb95a170df5060a02222da66c02abf6c72dd62905
+MD5 e290318e47fb133c44b771de56ae6150 ndiswrapper-1.33.ebuild 3074
+RMD160 5e641cdea8d99925adc880fbe52a33feefe633ff ndiswrapper-1.33.ebuild 3074
+SHA256 07ca305258a5c05b80c501deb95a170df5060a02222da66c02abf6c72dd62905 ndiswrapper-1.33.ebuild 3074
+MISC ChangeLog 12180 RMD160 31564e2d2aebb8a59247e692332e09d60315b7bc SHA1 4a7033b970e6ca08350685c2d02dcf257e61301e SHA256 ad0480ea1d915b4ca9e1c155d59b803d89332627c7f313bd7c2ad87009b1889c
+MD5 550950ae11eafaec4e76fdc68d363aa6 ChangeLog 12180
+RMD160 31564e2d2aebb8a59247e692332e09d60315b7bc ChangeLog 12180
+SHA256 ad0480ea1d915b4ca9e1c155d59b803d89332627c7f313bd7c2ad87009b1889c ChangeLog 12180
 MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
 MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
@@ -89,10 +94,13 @@ SHA256 e7fc22a775bb7592d282fc2b37086c036c39dfee7ccd43c08985278024f5dc5b files/di
 MD5 6c6a627551a721209af5303910ca99d4 files/digest-ndiswrapper-1.32 250
 RMD160 bb36fe78628bf9fbca22070d1b8d8b7ac616ee65 files/digest-ndiswrapper-1.32 250
 SHA256 be20c96f7e325a0ab685d16f4e2321db3a07ae59cc600a10b3c03a01bd36060e files/digest-ndiswrapper-1.32 250
+MD5 349f1973a7a599f963f67f79a20102c7 files/digest-ndiswrapper-1.33 250
+RMD160 90faf3e8ee744ab48f865786bb89ade4d97c0d15 files/digest-ndiswrapper-1.33 250
+SHA256 e618e62c29132f3202d24d9edf51c9164056d88d55ae52e87c926b39b85f68ad files/digest-ndiswrapper-1.33 250
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.1 (GNU/Linux)
 
-iD8DBQFFjTMGppoStNGKGywRAmNhAJ9L0svsE7kxbHKiWbsBCqwZOdP4wACZAdhG
-vKLLMgsbupBla8/VDaCJf00=
-=QDhY
+iD8DBQFFlRlsppoStNGKGywRAs+8AKCuV1GAc1PY7huD7J3JlSpUaWpv2ACghqPo
+bBsGk/+8GeC2bYQMzkmZu5o=
+=dK5V
 -----END PGP SIGNATURE-----
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.33 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.33
new file mode 100644 (file)
index 0000000..6bed5dc
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f2ad087d7e2b935520e3eb927952d2eb ndiswrapper-1.33.tar.gz 189876
+RMD160 bc4f94886e174b3f6276e1832aae61a63e2420f6 ndiswrapper-1.33.tar.gz 189876
+SHA256 89658cbea3a1e23190d6ced024d016fb28269e09cdcb44093750851763aa1ad4 ndiswrapper-1.33.tar.gz 189876
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild
new file mode 100644 (file)
index 0000000..b43fd41
--- /dev/null
@@ -0,0 +1,108 @@
+# 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.33.ebuild,v 1.1 2006/12/29 13:34:29 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
+
+       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
+}