diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-01 12:46:51 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-01 12:46:51 +0000 |
commit | 6d0609ee58325fcff7539ecd57361c0655b973b1 (patch) | |
tree | c3c2022d535127cf99485f707a771130d041ecf5 /net-wireless | |
parent | Non-maintainer commit: Version bump for security bug 276218. Removing vulnera... (diff) | |
download | historical-6d0609ee58325fcff7539ecd57361c0655b973b1.tar.gz historical-6d0609ee58325fcff7539ecd57361c0655b973b1.tar.bz2 historical-6d0609ee58325fcff7539ecd57361c0655b973b1.zip |
Version bump wrt #274393, thanks to Fabio Correa.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/ndiswrapper/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-1.55.ebuild | 121 |
3 files changed, 132 insertions, 3 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog index 9f6631a62dd9..2b281c886dd8 100644 --- a/net-wireless/ndiswrapper/ChangeLog +++ b/net-wireless/ndiswrapper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/ndiswrapper -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.105 2008/11/20 15:45:32 peper Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.106 2009/08/01 12:46:51 ssuominen Exp $ + +*ndiswrapper-1.55 (01 Aug 2009) + + 01 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + +ndiswrapper-1.55.ebuild: + Version bump wrt #274393, thanks to Fabio Correa. 20 Nov 2008; Piotr Jaroszyński <peper@gentoo.org> files/ndiswrapper-2.6.27.patch: diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest index 232d5fdaca98..e33681e4f4fe 100644 --- a/net-wireless/ndiswrapper/Manifest +++ b/net-wireless/ndiswrapper/Manifest @@ -11,6 +11,7 @@ DIST ndiswrapper-1.50.tar.gz 198324 RMD160 efea2b945d5fdc2e9bb7f196e23a6c2e144c1 DIST ndiswrapper-1.51.tar.gz 198330 RMD160 55bbd1e101d74d2b9ca1fca417b808764f0f1421 SHA1 e264d9bc080759ee86be18614b0dcb061dd5c772 SHA256 82b6c19da4bf009ff033271ed003db90286bb07c28742c2db93158eafa4a5b76 DIST ndiswrapper-1.52.tar.gz 198456 RMD160 4a62b7e343995e8005e558304d0f5878d1f6eef4 SHA1 e70cd3bc5081afd5878a22cd458734c642aec337 SHA256 78e844cef2b602ad3aff7783f39a839548e18ab1a07a86889d539a4193568bf6 DIST ndiswrapper-1.53.tar.gz 198629 RMD160 48ab7712b54e4a1cc8b5fadcb4f3e9554532e117 SHA1 0d27b2f1d59d6d4bcb6b384cab946f99cb1889d7 SHA256 780045e3ac60da55f411b19fd3e90839fd6f412347fc86cf4636e1a1ba15c200 +DIST ndiswrapper-1.55.tar.gz 199019 RMD160 121574be765da889cdb3446af3facab840aa2054 SHA1 84f7b08347f09df109722dccfdf18cf439fbc3be SHA256 dc9ca11c8ff6eaf8b10d4e6a04e982ad46055dfefe619b5f79914aa4fb52f0fe EBUILD ndiswrapper-1.47.ebuild 2937 RMD160 438c7c626e840c9d456870e34e6e5f5d58d40026 SHA1 f4567ef957cfe9fabe82cf8348bb99cce28e9c6a SHA256 673a0d94ae61ab5472fa0929e269ddfd81368b34f0edb4c3d7e7b5ddfe26b464 EBUILD ndiswrapper-1.48.ebuild 2946 RMD160 2405787ea4a5167cc258f686c345571a4c5c2976 SHA1 b5218484b0039d32e76aca062109b32d248a5639 SHA256 44e258c54781ea913f0da9fc63def27b782fb90249a02c9e2058affeffd5f2c8 EBUILD ndiswrapper-1.49.ebuild 2946 RMD160 0fb36a76769e61aa900caa6e1e4b954ebb453349 SHA1 5212354c05e9cfd6f991e2216411b3fd8e035709 SHA256 c8b69944831b3d486dae1dce73e7ab1e2d40756ca26f4e213a448ce130daea42 @@ -19,5 +20,6 @@ EBUILD ndiswrapper-1.51.ebuild 2946 RMD160 bb0235e729f18a4aa989b07844a884d7b9c52 EBUILD ndiswrapper-1.52.ebuild 2946 RMD160 b38da9817441a0eea032ba4ac0d020bc6e5dc7c0 SHA1 890ae187b4ce48b2f4546cf2341e0027586be228 SHA256 f819c3337caa94702a22c8d6e401f990cef384494f311b58724f7add646bae1a EBUILD ndiswrapper-1.53-r1.ebuild 3115 RMD160 9d4b0549cefd7b99d442437c4fcab5b776e43676 SHA1 c94515526657bf4c96a5d1fa3ff7c2623e289603 SHA256 2058b393b9bbc87e9d269e95a5d70b8e499f84e5df17fb7865aa32663b841907 EBUILD ndiswrapper-1.53.ebuild 2946 RMD160 374bbb2e51718b38ab33d9ee07184390362bed20 SHA1 bc9d6a89299c6a99a912d64f09c5e9e9cb66e794 SHA256 a5ad6aedd1effd912e3f0496c6a317bc81c9b936b8a179854d98685ff2b271ac -MISC ChangeLog 19112 RMD160 67ab05f287a73d41ad52918a0fbe7fb4a4144078 SHA1 a76e6d7ec8433da11e80281c36150771c0b8c6d1 SHA256 5e502d8dcaec2a1c9eeb8477fe8d8e6fec8a84d4b90d45df197d2a24e108ccfe +EBUILD ndiswrapper-1.55.ebuild 2950 RMD160 ca3769825ccfc77cfcd5f3e418999695e342f6db SHA1 5eb4c63be6963746750d40f7a1abba20f9f4ca7d SHA256 ad5952d3bbb9919014afd4f85c8a3d6e6d38290b770c63cf5f056294514becdf +MISC ChangeLog 19284 RMD160 7e626c274a789840af5567402dafa622df4d3667 SHA1 1d867c3d7f851c8c4df3a1ba576d458801f68318 SHA256 8b49edecd73f2659908410451c7cde0fb4ff1ed9bbd1f99ea1ff03ecb4539378 MISC metadata.xml 480 RMD160 bd309ddc508e0436d0b2bb4c6ac2915fb7d9cea7 SHA1 14a2b92b64b18b0b79653fe64a9c282ae16331f2 SHA256 7ca20f317d16e17be26b34401258fc10ceb6d5698e89fc853fae59aa74cb0e66 diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.55.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.55.ebuild new file mode 100644 index 000000000000..2c0262dd5310 --- /dev/null +++ b/net-wireless/ndiswrapper/ndiswrapper-1.55.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.55.ebuild,v 1.1 2009/08/01 12:46:51 ssuominen 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 +} |