Version bump.
authorPiotr Jaroszyński <peper@gentoo.org>
Thu, 29 Mar 2007 18:21:34 +0000 (18:21 +0000)
committerPiotr Jaroszyński <peper@gentoo.org>
Thu, 29 Mar 2007 18:21:34 +0000 (18:21 +0000)
Package-Manager: portage-2.1.2.2

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

index a400aa7b1e242468e226d184b3d220169f66a0f7..20c3e05705844dedb72b1f49707704d41e27ae43 100644 (file)
@@ -1,6 +1,12 @@
 # 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.76 2007/03/24 00:17:49 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.77 2007/03/29 18:21:34 peper Exp $
+
+*ndiswrapper-1.40 (29 Mar 2007)
+
+  29 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
+  +ndiswrapper-1.40.ebuild:
+  Version bump.
 
 *ndiswrapper-1.39 (24 Mar 2007)
 
index c2f64e444742a07791b41eb3e5c605a79139aa50..915a5c1cad50cab56f31cd0f2737ef0bbfd8fa18 100644 (file)
@@ -12,6 +12,7 @@ DIST ndiswrapper-1.36.tar.gz 192482 RMD160 d2bbc34b6ac1a441c6a562105625b8abf84e4
 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
 DIST ndiswrapper-1.39.tar.gz 192211 RMD160 40c085b48ec1d5fe6aea20fac01d8f8e33000e56 SHA1 cc9feb6ab786a7c950ef90fccfee087154f71ab4 SHA256 b229cc3d1f2162b50a1e41ae3edd2f35562039b96e0909f2476186481d47862f
+DIST ndiswrapper-1.40.tar.gz 192481 RMD160 1a164749bf6a188a50a8798d507c4dafbcc4711b SHA1 d0169fe2de1487f2079c5a78108d7b8104d8d1eb SHA256 ad4baf3064ab7c10f190930eb30c9e5efff449e5de465afa731d63c30de652e5
 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
@@ -40,10 +41,14 @@ EBUILD ndiswrapper-1.39.ebuild 2957 RMD160 ce101270550c7ce600f90b0f9bafb03dc9925
 MD5 82e47eafbcf037c144bbe1db5a2fa5be ndiswrapper-1.39.ebuild 2957
 RMD160 ce101270550c7ce600f90b0f9bafb03dc9925554 ndiswrapper-1.39.ebuild 2957
 SHA256 cb8ca7a77df4b811705092206516529a2f0a4ae350e3f2fc2fbca82a3e280166 ndiswrapper-1.39.ebuild 2957
-MISC ChangeLog 14003 RMD160 1b94fdb5c06adff748826cfaddf095a246a71f73 SHA1 8edea88fd87a858ec18bc327c2949d03647d295e SHA256 132276d927f871c4b31f68c658ed87ede29a85469090eb5a040ae67df8d87bab
-MD5 f887c18b626178b62b4f866c1805b1db ChangeLog 14003
-RMD160 1b94fdb5c06adff748826cfaddf095a246a71f73 ChangeLog 14003
-SHA256 132276d927f871c4b31f68c658ed87ede29a85469090eb5a040ae67df8d87bab ChangeLog 14003
+EBUILD ndiswrapper-1.40.ebuild 2957 RMD160 fad1138b7587ac38f0bf01eac380badf08e9b951 SHA1 80cce9d172af8cf1e44144d77a23e768be05f36b SHA256 0a4b03b691f389b2045d67771770c5463abbb9d13e193700157989e13f2e5ca8
+MD5 d6e983df16ab65fdda3aa842e9bba8ad ndiswrapper-1.40.ebuild 2957
+RMD160 fad1138b7587ac38f0bf01eac380badf08e9b951 ndiswrapper-1.40.ebuild 2957
+SHA256 0a4b03b691f389b2045d67771770c5463abbb9d13e193700157989e13f2e5ca8 ndiswrapper-1.40.ebuild 2957
+MISC ChangeLog 14134 RMD160 d3f48ffa9525885a8c216298f0f66ab59724a838 SHA1 a562036a3dda23c4a7373d272a20e0ad18aab06e SHA256 1acb127b140358ab10846958b572f091cdfec9c00ba332ac6436410dfcc7a7fc
+MD5 601124fc32f5f950d6f89e1e42212cba ChangeLog 14134
+RMD160 d3f48ffa9525885a8c216298f0f66ab59724a838 ChangeLog 14134
+SHA256 1acb127b140358ab10846958b572f091cdfec9c00ba332ac6436410dfcc7a7fc ChangeLog 14134
 MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66
 MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480
 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480
@@ -69,10 +74,13 @@ SHA256 cc5a765f2de8a50746294e891efecd57bd0495c7c7341c6810e0dc408aeddcdc files/di
 MD5 01674c3454601315e1873cb53a2600c8 files/digest-ndiswrapper-1.39 250
 RMD160 9a47ed3d9b2c02d413d19d65e1e5eb58051bcef3 files/digest-ndiswrapper-1.39 250
 SHA256 da320c42aa0c059a38fa5324c90c9f7692497793b3373717cdff7e9374be4ac3 files/digest-ndiswrapper-1.39 250
+MD5 d89db292c3221f077b8b362176b3cb7f files/digest-ndiswrapper-1.40 250
+RMD160 a34d5261db83ca1005e9399fb8a13e2e661c51f1 files/digest-ndiswrapper-1.40 250
+SHA256 cdb9b07016feca67d3ca4505f80a437b5e9f4b70d725374f8494ae06c7f40035 files/digest-ndiswrapper-1.40 250
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFGBG40ppoStNGKGywRAibrAKDAfQ6ejJwOU+/jy2JgrSKVW9sCegCdEeTY
-KyL2L3q3NuGY0uJLEI5eo4A=
-=xCV0
+iD8DBQFGDAO1ppoStNGKGywRAj8gAJ9JB1MrkXb7OSDNGyyirBqSkCBJ7wCggAt/
+iwYLv136yXhIo2AEUaSr1KQ=
+=ZVxE
 -----END PGP SIGNATURE-----
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.40 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.40
new file mode 100644 (file)
index 0000000..38d30a4
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b4df86a3b969f665fa653b069d58c64a ndiswrapper-1.40.tar.gz 192481
+RMD160 1a164749bf6a188a50a8798d507c4dafbcc4711b ndiswrapper-1.40.tar.gz 192481
+SHA256 ad4baf3064ab7c10f190930eb30c9e5efff449e5de465afa731d63c30de652e5 ndiswrapper-1.40.tar.gz 192481
diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.40.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.40.ebuild
new file mode 100644 (file)
index 0000000..84aef06
--- /dev/null
@@ -0,0 +1,104 @@
+# 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.40.ebuild,v 1.1 2007/03/29 18:21:34 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
+}