summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2004-08-25 04:57:24 +0000
committerDoug Goldstein <cardoe@gentoo.org>2004-08-25 04:57:24 +0000
commitf8f995e8222b0500ede5e38fb0e988c65285e897 (patch)
tree89ab3fe4b9f33a07f6d6bdb62f0f02d6997dd028 /net-wireless/ndiswrapper
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-f8f995e8222b0500ede5e38fb0e988c65285e897.tar.gz
gentoo-2-f8f995e8222b0500ede5e38fb0e988c65285e897.tar.bz2
gentoo-2-f8f995e8222b0500ede5e38fb0e988c65285e897.zip
revision bump
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r--net-wireless/ndiswrapper/ChangeLog11
-rw-r--r--net-wireless/ndiswrapper/Manifest14
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-0.101
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-0.10.ebuild104
4 files changed, 118 insertions, 12 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index f627c7516741..dc8878028050 100644
--- a/net-wireless/ndiswrapper/ChangeLog
+++ b/net-wireless/ndiswrapper/ChangeLog
@@ -1,6 +1,15 @@
# 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.8 2004/08/16 14:34:20 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.9 2004/08/25 04:57:24 cardoe Exp $
+
+*ndiswrapper-0.10 (23 Aug 2004)
+
+ 23 Aug 2004; Doug Goldstein <cardoe@gentoo.org> +ndiswrapper-0.10.ebuild:
+ Aside from the version bump, this ebuild removes the
+ wlan_radio_averatec_5110hx program (no longer maintained in this package), and
+ adds the ndiswrapper-buginfo utility program. There's also a short
+ informational message about the ndiswrapper WIKI at the end. All this was done
+ by Jesse Becker.
16 Aug 2004; Doug Goldstein <cardoe@gentoo.org> +ndiswrapper-0.9.ebuild,
files/ndiswrapper-0.9-modules.d:
diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest
index 647de00a3b00..d67d55ae61d9 100644
--- a/net-wireless/ndiswrapper/Manifest
+++ b/net-wireless/ndiswrapper/Manifest
@@ -1,8 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 afb3a74a3c2284825a2cff7004cb4432 ndiswrapper-0.10.ebuild 2834
MD5 658e6dca313b5223a07b455bae00fc55 ndiswrapper-0.6.ebuild 3308
-MD5 8e7f0a8a35665e00958536a9a5523a5b ndiswrapper-0.9.ebuild 2301
+MD5 5048f80ff75bcc9b8b3985d0d18b23e5 ndiswrapper-0.9.ebuild 2672
MD5 abde66f0d58f0b0a6e8a69845fa9e365 ndiswrapper-0.4.ebuild 3174
MD5 76149e92d51d4d9f3e7b889137ead1bc ndiswrapper-0.3.ebuild 2848
MD5 0dfb45e6e16bf37b171169afca958121 metadata.xml 429
@@ -20,10 +18,4 @@ MD5 f27b456e9b1d79f449548aa305378312 files/ndiswrapper.modules.d 379
MD5 5a45570913b15b02817cfdfebbd02536 files/digest-ndiswrapper-0.5 66
MD5 fec18da2febe1a066f79d692b5e5eada files/digest-ndiswrapper-0.6 66
MD5 dd6a51033bdc39b26c28ff48c5f7434d files/digest-ndiswrapper-0.8 66
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.5 (GNU/Linux)
-
-iD8DBQFBIMaKFhz/XBeRBtARApkHAJwJqbfE5OM+FCJVJiCBk1fmhZnxIgCdGZ5f
-GSK22SL54rOWsh8pFHqfTnA=
-=5+3+
------END PGP SIGNATURE-----
+MD5 0dc46f89e3f6f6bffc28f1da22926f35 files/digest-ndiswrapper-0.10 67
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.10 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.10
new file mode 100644
index 000000000000..270dc68edabb
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.10
@@ -0,0 +1 @@
+MD5 7ff4b545443b6d92de0f78773c219872 ndiswrapper-0.10.tar.gz 96809
diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.10.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.10.ebuild
new file mode 100644
index 000000000000..386d90be1e07
--- /dev/null
+++ b/net-wireless/ndiswrapper/ndiswrapper-0.10.ebuild
@@ -0,0 +1,104 @@
+# 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.10.ebuild,v 1.1 2004/08/25 04:57:24 cardoe Exp $
+
+inherit kernel-mod
+
+DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
+HOMEPAGE="http://ndiswrapper.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="sys-apps/pciutils"
+S=${WORKDIR}/${PN}-${PV}
+
+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
+ if [ ${KV_MINOR} -gt 4 ] ; then
+ unset ARCH
+ fi
+
+ emake || die "Compile Failed!"
+}
+
+src_install() {
+ if [ ${KV_MINOR} -gt 4 ]
+ then
+ MOD_SUFFIX="ko"
+ else
+ MOD_SUFFIX="o"
+ fi
+
+ dosbin ${S}/utils/ndiswrapper
+ dosbin ${S}/utils/ndiswrapper-buginfo
+
+ dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS ${S}/ChangeLog
+
+ insinto /lib/modules/${KV}/misc
+ doins ${S}/driver/ndiswrapper.${MOD_SUFFIX}
+
+ into /
+ dosbin ${S}/utils/loadndisdriver
+
+ insinto /etc/modules.d
+ newins ${FILESDIR}/${PN}-0.9-modules.d ndiswrapper
+
+ dodir /etc/ndiswrapper
+}
+
+pkg_postinst() {
+ einfo "Checking kernel module dependencies"
+ 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. 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 "One done, please run 'update-modules'."
+ einfo
+ einfo "As of release 0.9, you no longer have to call 'loadndiswrapper'"
+ einfo "explicitly. The module will handle it automatically."
+ einfo
+ einfo "check http://ndiswrapper.sf.net/supported_chipsets.html for drivers"
+ I=`lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4`
+ einfo "Look for the following on that page for your driver:"
+ einfo ${I}
+ einfo
+ einfo "Please have a look at http://ndiswrapper.sourceforge.net/wiki/"
+ einfo "for the FAQ, HowTos, Tips, Configuration, and installation"
+ einfo "information."
+ 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
+}
+