diff options
author | Peter Johanson <latexer@gentoo.org> | 2004-07-08 03:20:08 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2004-07-08 03:20:08 +0000 |
commit | f0e77b5af2bd3a3f1f9c0e10bb704699a6846af3 (patch) | |
tree | e9bb28f648e5a69b3cf11127b386d16eb4bb6160 /net-wireless/ndiswrapper | |
parent | Added ~sparc keyword. (Manifest recommit) (diff) | |
download | gentoo-2-f0e77b5af2bd3a3f1f9c0e10bb704699a6846af3.tar.gz gentoo-2-f0e77b5af2bd3a3f1f9c0e10bb704699a6846af3.tar.bz2 gentoo-2-f0e77b5af2bd3a3f1f9c0e10bb704699a6846af3.zip |
Bump to latest release.
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r-- | net-wireless/ndiswrapper/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/files/digest-ndiswrapper-0.8 | 1 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-0.6-r1.ebuild | 1 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-0.8.ebuild | 93 |
5 files changed, 105 insertions, 1 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog index ecc47b3cb48e..981b357229a9 100644 --- a/net-wireless/ndiswrapper/ChangeLog +++ b/net-wireless/ndiswrapper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/ndiswrapper # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.6 2004/06/25 00:46:46 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.7 2004/07/08 03:20:08 latexer Exp $ + +*ndiswrapper-0.8 (07 Jul 2004) + + 07 Jul 2004; Peter Johanson <latexer@gentoo.org> +ndiswrapper-0.8.ebuild: + Bump. Added fix for using M= with new enough kernels, and a few small tweaks + here and there. See bug #49479. *ndiswrapper-0.6-r1 (29 Mar 2004) diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest index c293409c3230..53d3b5536743 100644 --- a/net-wireless/ndiswrapper/Manifest +++ b/net-wireless/ndiswrapper/Manifest @@ -1,7 +1,9 @@ MD5 545295de78f20cfb984c2279a0aa8ab1 ndiswrapper-0.5.ebuild 3308 +MD5 39c63ace1f2ed5201309594efc813162 .#Manifest.1.9 1058 MD5 abde66f0d58f0b0a6e8a69845fa9e365 ndiswrapper-0.4.ebuild 3174 MD5 0776fae4d5ba0084ad8d6b5691862b49 ndiswrapper-0.6-r1.ebuild 1907 MD5 658e6dca313b5223a07b455bae00fc55 ndiswrapper-0.6.ebuild 3308 +MD5 8aafe9fba66d825ddd4d3f39ab5c8735 ndiswrapper-0.8.ebuild 1949 MD5 76149e92d51d4d9f3e7b889137ead1bc ndiswrapper-0.3.ebuild 2848 MD5 61e1098b0c829e0713f91a06415cb4a5 ChangeLog 1278 MD5 0dfb45e6e16bf37b171169afca958121 metadata.xml 429 @@ -11,4 +13,5 @@ MD5 d5bd4c071015eef1d33281dd95f668e7 files/digest-ndiswrapper-0.3 66 MD5 922f4572dd8899c80920a0aea4485be9 files/digest-ndiswrapper-0.4 66 MD5 5a45570913b15b02817cfdfebbd02536 files/digest-ndiswrapper-0.5 66 MD5 fec18da2febe1a066f79d692b5e5eada files/digest-ndiswrapper-0.6 66 +MD5 dd6a51033bdc39b26c28ff48c5f7434d files/digest-ndiswrapper-0.8 66 MD5 f27b456e9b1d79f449548aa305378312 files/ndiswrapper.modules.d 379 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.8 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.8 new file mode 100644 index 000000000000..e18fc948f6d8 --- /dev/null +++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.8 @@ -0,0 +1 @@ +MD5 96c484927b5938b537b09969a6de7a34 ndiswrapper-0.8.tar.gz 69625 diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.6-r1.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.6-r1.ebuild index 77aa64b021db..d757775e9396 100644 --- a/net-wireless/ndiswrapper/ndiswrapper-0.6-r1.ebuild +++ b/net-wireless/ndiswrapper/ndiswrapper-0.6-r1.ebuild @@ -1,5 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-0.6-r1.ebuild,v 1.3 2004/07/08 03:20:08 latexer Exp $ inherit kernel-mod diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.8.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.8.ebuild new file mode 100644 index 000000000000..39913baab0ac --- /dev/null +++ b/net-wireless/ndiswrapper/ndiswrapper-0.8.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-0.8.ebuild,v 1.1 2004/07/08 03:20:08 latexer Exp $ + +inherit kernel-mod + +MY_P=${PN}-${PV} +S=${WORKDIR}/${MY_P} +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" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="sys-devel/flex" + +src_unpack() { + check_KV + kernel-mod_getversion + unpack ${A} + + # Fix path to kernel and KVERS + sed -i -e "s:^KSRC.*:KSRC=${ROOT}/usr/src/linux:" \ + -e "s:^KVERS.*:KVERS=${KV_MAJOR}${KV_MINOR}:" \ + ${S}/driver/Makefile + + if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] + then + sed -i 's:SUBDIRS=:M=:g' ${S}/driver/Makefile + fi +} + +src_compile() { + # Unset ARCH for 2.5/2.6 kernel compiles + unset ARCH + emake || die +} + +src_install() { + if [ ${KV_MINOR} -gt 4 ] + then + KV_OBJ="ko" + else + KV_OBJ="o" + fi + + dobin ${S}/utils/loadndisdriver + dobin ${S}/utils/ndiswrapper + + dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS + + insinto /lib/modules/${KV}/misc + doins ${S}/driver/ndiswrapper.${KV_OBJ} + + insinto /etc/modules.d + newins ${FILESDIR}/${PN}-0.6-modules.d ndiswrapper + + dodir /etc/ndiswrapper +} + +pkg_postinst() { + einfo "Checking kernel module dependancies" + test -r "${ROOT}/usr/src/linux/System.map" && \ + depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} + + einfo + einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" + einfo "to function. Put these somewhere like /usr/lib/hotplug/drivers," + einfo "run 'ndiswrapper -i /usr/lib/hotplug/drivers/foo.inf', edit" + einfo "/etc/modules.d/ndiswrapper to add the path to subdirectory in" + einfo "/etc/ndiswrapper, then run 'update-modules'." + einfo +} + +pkg_config() { + ewarn "New versions of ndiswrapper do not require you to run config" + + if [ ! -f "/etc/modules.d/ndiswrapper" ] + then + eerror "/etc/modules.d/ndiswrapper not found. Please re-emerge" + eerror "${PN} to have this file installed, then re-run this script" + die "Driver configuration file not found" + fi + + I=`lspci -n | grep 'Class 0280:' | cut -d' ' -f4` + + if [ -z "${I}" ] + then + die "No suitable devices found" + fi +} |