From: Christoph Mende Date: Sun, 20 Sep 2015 11:31:21 +0000 (+0200) Subject: net-wireless/ndiswrapper: remove old version X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1111fecfa5e06d9d912ef3edd38a84cea407895;p=gentoo.git net-wireless/ndiswrapper: remove old version Package-Manager: portage-2.2.20.1 --- diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest index b226aa14e47a..d74f905ae7cc 100644 --- a/net-wireless/ndiswrapper/Manifest +++ b/net-wireless/ndiswrapper/Manifest @@ -1,2 +1 @@ -DIST ndiswrapper-1.58.tar.gz 199065 SHA256 cbd225ecb0b835be7d05012483f61518fe97a52c67f20b35846412c692be24aa SHA512 161e87df13143841ff29f424e979cd9648a0022f0ad74c1189e398c832f5c4a77834fc9dde941c8202773064f2b312968c21b39c5023167fb67ae67ebd86795a WHIRLPOOL ffa5d625ddac2b58b45415eea0713666e77ec1806830921bf605c1f28a16239f367c78abe9af8d895647b577868e2f57581eb37d94e498d8a11c53afce586031 DIST ndiswrapper-1.59.tar.gz 201257 SHA256 66a5d3ffb3fc8a63d87e381bbc627511597dfd25c4c37dda3b953ccf98f5d4bc SHA512 dd1d486b6178185e813217e4fff38f6ea6b21f8a3544c5cc25be9edbca60f34b21656e5d46b9d02cb1e43c8cc82856283aaa428964b8f85cb07146a41e40e44d WHIRLPOOL ae4dca59911625146de4e2da02b72bcf1b695e63c8d0d900a91ec9b0c5b7452c9ba0de37ad95129d330d96be16d9c4b488b5d40936f51af14dca2597281b7b84 diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.58.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.58.ebuild deleted file mode 100644 index 3e7397acbab8..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.58.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 -inherit base linux-mod toolchain-funcs - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/stable/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="amd64 x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -PATCHES=( "${FILESDIR}"/${PN}-1.56-cflags.patch "${FILESDIR}"/${P}-3.9.patch ) -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -pkg_pretend() { - CONFIG_CHECK="~WEXT_PRIV" - use usb && CONFIG_CHECK="${CONFIG_CHECK} ~USB" - ERROR_USB="You need to enable USB support in your kernel to use usb support in ndiswrapper." - ERROR_WEXT_PRIV="Your kernel does not support WEXT_PRIV. To enable it you need to enable a wireless driver that enables it, for example PRISM54 or IPW2200" - linux-mod_pkg_setup -} - -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 CC=$(tc-getCC) - - use usb || params="${params} DISABLE_USB=1" - - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD='${KV_OUT_DIR}' ${params}" - linux-mod_src_compile -} - -src_install() { - dodoc AUTHORS ChangeLog INSTALL README - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install -} - -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'." - echo - - elog "Please look at ${HOMEPAGE}" - elog "for the FAQ, HowTos, tips, configuration, and installation" - elog "information." - echo - - for i in $(lspci -n | egrep '(0280|0200):' | cut -d' ' -f1) - do - i_desc=$(lspci -nn | grep "$i" | awk -F': ' '{print $2}' | awk -F'[' '{print $1}') - if [[ -n "${i_desc}" ]] ; then - elog "Possible hardware: ${i_desc}" - fi - done - - echo - 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 -}