diff options
-rw-r--r-- | net-wireless/ndiswrapper/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/Manifest | 24 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/files/digest-ndiswrapper-1.51 | 3 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-1.51.ebuild | 121 |
4 files changed, 148 insertions, 10 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog index 7d0d268433f7..710cd9944b57 100644 --- a/net-wireless/ndiswrapper/ChangeLog +++ b/net-wireless/ndiswrapper/ChangeLog @@ -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.99 2007/12/10 17:16:36 opfer Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.100 2008/01/01 17:24:28 peper Exp $ + +*ndiswrapper-1.51 (01 Jan 2008) + + 01 Jan 2008; Piotr Jaroszyński <peper@gentoo.org> + +ndiswrapper-1.51.ebuild: + Add 1.51. 10 Dec 2007; Christian Faulhammer <opfer@gentoo.org> ndiswrapper-1.50.ebuild: diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest index f706b942da6f..98a646f7a04d 100644 --- a/net-wireless/ndiswrapper/Manifest +++ b/net-wireless/ndiswrapper/Manifest @@ -29,6 +29,7 @@ DIST ndiswrapper-1.49rc4.tar.gz 199974 RMD160 9fc9eaad7c0da1e43cc3840bd6171bf465 DIST ndiswrapper-1.50.tar.gz 198324 RMD160 efea2b945d5fdc2e9bb7f196e23a6c2e144c16f0 SHA1 c11d4844e134020a7111e63889513468df02d4dc SHA256 c7beb16d32602314fa263f1ed2f1dd2d79d09933c369a5d01750e24d93a8dbb8 DIST ndiswrapper-1.50rc1.tar.gz 198040 RMD160 6689748ffa4015b3c61576b6bf6f45860b07021a SHA1 741f18b3087ab3442e22c53672330de68126078a SHA256 b2ae7d838ac7a4ba55a82272f3684c88d6843e1ced5a2c1e399d220200d7e37d DIST ndiswrapper-1.50rc2.tar.gz 198210 RMD160 2f4cc34d41ed6f7f01309d57a62ab706de523b26 SHA1 c9e55b652b2b189c960bca10ac4b893ae9a80d64 SHA256 5a616227d3020cd420271633571ddc21612802e48b6000400d47b0e8db7a004e +DIST ndiswrapper-1.51.tar.gz 198330 RMD160 55bbd1e101d74d2b9ca1fca417b808764f0f1421 SHA1 e264d9bc080759ee86be18614b0dcb061dd5c772 SHA256 82b6c19da4bf009ff033271ed003db90286bb07c28742c2db93158eafa4a5b76 EBUILD ndiswrapper-1.47.ebuild 2937 RMD160 438c7c626e840c9d456870e34e6e5f5d58d40026 SHA1 f4567ef957cfe9fabe82cf8348bb99cce28e9c6a SHA256 673a0d94ae61ab5472fa0929e269ddfd81368b34f0edb4c3d7e7b5ddfe26b464 MD5 74b8fe26b4e7bf3c1023cc7857984610 ndiswrapper-1.47.ebuild 2937 RMD160 438c7c626e840c9d456870e34e6e5f5d58d40026 ndiswrapper-1.47.ebuild 2937 @@ -77,10 +78,14 @@ EBUILD ndiswrapper-1.50_rc2.ebuild 2950 RMD160 b69a52a18f49fa6c2c0091082dfc36419 MD5 0dd2b2d3a5e4bc3db1a2e108aa12c211 ndiswrapper-1.50_rc2.ebuild 2950 RMD160 b69a52a18f49fa6c2c0091082dfc36419e5a8d0b ndiswrapper-1.50_rc2.ebuild 2950 SHA256 eaff6e92c753583168b07d07377002c7671c8341aa5dfb2f2c2b35c9a5049643 ndiswrapper-1.50_rc2.ebuild 2950 -MISC ChangeLog 17964 RMD160 9374b23bbc2fd71d1fbbf8151426d1a8a4aa0f83 SHA1 f66cad0b379eb72b2179c78b7b9704fc70df59cd SHA256 fdd0c3bd9af5dcb04b87a203b2571bfd904342e5be4976c3bf1488e0c453e885 -MD5 aedd70cde9ace4d790195493ec511f7a ChangeLog 17964 -RMD160 9374b23bbc2fd71d1fbbf8151426d1a8a4aa0f83 ChangeLog 17964 -SHA256 fdd0c3bd9af5dcb04b87a203b2571bfd904342e5be4976c3bf1488e0c453e885 ChangeLog 17964 +EBUILD ndiswrapper-1.51.ebuild 2946 RMD160 bb0235e729f18a4aa989b07844a884d7b9c52290 SHA1 b59a3407e701c7356dc27d7a1a9c5f900617f7b7 SHA256 9bd728fbb2230f11f59666a48caed8f6225fece6c9186554ff8f7e17d0f7fbbd +MD5 612dd61924cf0a226b3c4e6f5c08b265 ndiswrapper-1.51.ebuild 2946 +RMD160 bb0235e729f18a4aa989b07844a884d7b9c52290 ndiswrapper-1.51.ebuild 2946 +SHA256 9bd728fbb2230f11f59666a48caed8f6225fece6c9186554ff8f7e17d0f7fbbd ndiswrapper-1.51.ebuild 2946 +MISC ChangeLog 18092 RMD160 6dcfd64a8e5a20decf19a0f768a3afaaa16b21b7 SHA1 c96d115b5fdd169b8074e86c41365e9bb4a24fec SHA256 00777ef86d2a93b07466f8b8e2f7ba9d11c02926b68fe9b9d12c18e6480fa7ee +MD5 3dc9b0f6d9515deeae9cd90c46434b8a ChangeLog 18092 +RMD160 6dcfd64a8e5a20decf19a0f768a3afaaa16b21b7 ChangeLog 18092 +SHA256 00777ef86d2a93b07466f8b8e2f7ba9d11c02926b68fe9b9d12c18e6480fa7ee ChangeLog 18092 MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66 MD5 f878c9cae9bdd23eeb14c85860fc8d29 metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 metadata.xml 480 @@ -121,10 +126,13 @@ SHA256 75d2d2d63f9b6cd2d1c66ed43a68ecfe20d6baf0797d24d5d55e059e00b8c23e files/di MD5 d7e7072ce207155017e4c3f7b0a30194 files/digest-ndiswrapper-1.50_rc2 259 RMD160 155ef8b7e621afd67bcc3962986dd312c13b78fa files/digest-ndiswrapper-1.50_rc2 259 SHA256 c835a27e82336c4ba4a1e177460f6e89da6c80fecf1c1b32725f31e639838f58 files/digest-ndiswrapper-1.50_rc2 259 +MD5 5d77c843ad8a445e04c5e0d2418ada4e files/digest-ndiswrapper-1.51 250 +RMD160 69ddf8ab8d5afab1a464ba6a42857313bbe1a9eb files/digest-ndiswrapper-1.51 250 +SHA256 72198e0e75e74b6bbbbc6103d606a05cab215482989252df8ebeea79d61140ad files/digest-ndiswrapper-1.51 250 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7 (GNU/Linux) +Version: GnuPG v2.0.8 (GNU/Linux) -iD8DBQFHXXT7NQqtfCuFneMRAucKAKCC5B3yADeC4OoDTS0hBbkzd/IwcgCfcfqO -NALfsslNSqx8TvsBf5+0o9c= -=01B7 +iEYEARECAAYFAkd6d08ACgkQppoStNGKGyykKwCgp5s/49QVcVrv2XvhYDzxlcko +HF0AoL8lkzk6+aTgTJqC2rfPetiVTI+q +=PWMb -----END PGP SIGNATURE----- diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.51 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.51 new file mode 100644 index 000000000000..cdef1e5645e7 --- /dev/null +++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.51 @@ -0,0 +1,3 @@ +MD5 ba8f8cf43e7e05427a0c221a284a516c ndiswrapper-1.51.tar.gz 198330 +RMD160 55bbd1e101d74d2b9ca1fca417b808764f0f1421 ndiswrapper-1.51.tar.gz 198330 +SHA256 82b6c19da4bf009ff033271ed003db90286bb07c28742c2db93158eafa4a5b76 ndiswrapper-1.51.tar.gz 198330 diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.51.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.51.ebuild new file mode 100644 index 000000000000..49fbb6818406 --- /dev/null +++ b/net-wireless/ndiswrapper/ndiswrapper-1.51.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.51.ebuild,v 1.1 2008/01/01 17:24:28 peper Exp $ + +inherit linux-mod + +MY_P=${PN}-${PV/_/} + +DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" +HOMEPAGE="http://ndiswrapper.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="debug usb" + +DEPEND="sys-apps/pciutils" +RDEPEND="${DEPEND} + net-wireless/wireless-tools" + +CONFIG_CHECK="WIRELESS_EXT" + +S=${WORKDIR}/${MY_P} + +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() { + echo + einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml" + einfo "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 AUTHORS ChangeLog INSTALL README + doman ndiswrapper.8 || die + + keepdir /etc/ndiswrapper + + linux-mod_src_install + + cd utils + emake DESTDIR="${D}" install || die "emake install failed" +} + +pkg_postinst() { + linux-mod_pkg_postinst + + echo + elog "NDISwrapper requires .inf and .sys files from a Windows(tm) driver" + elog "to function. Download these to /root for example, then" + elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." + elog "They will be copied to /etc/ndiswrapper/." + elog "Once done, please run 'update-modules'." + elog + + elog "Please look at ${HOMEPAGE}" + elog "for the FAQ, HowTos, tips, configuration, and installation" + elog "information." + elog + + local i=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) + if [[ -n "${i}" ]] ; then + elog "Possible hardware: ${i}" + elog + fi + + elog "NDISwrapper devs need support (_hardware_, cash)." + elog "Don't hesitate if you can help." + elog "See ${HOMEPAGE} for details." + echo + + if [[ ${ROOT} == "/" ]]; then + + einfo "Attempting to automatically reinstall any Windows drivers" + einfo "you might already have." + echo + + local driver + for driver in $(ls /etc/ndiswrapper) ; do + einfo "Driver: ${driver}" + mv "/etc/ndiswrapper/${driver}" "${T}" + ndiswrapper -i "${T}/${driver}/${driver}.inf" + done + fi +} |