summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2004-08-16 14:34:21 +0000
committerDoug Goldstein <cardoe@gentoo.org>2004-08-16 14:34:21 +0000
commit24215909ad52bf15c34589e6b9264918866360c9 (patch)
treefe480344b32fcbea4f954ae97ea7ad8e5d98ec7d /net-wireless/ndiswrapper
parentAdded ndiswrapper 0.9 to mask (diff)
downloadhistorical-24215909ad52bf15c34589e6b9264918866360c9.tar.gz
historical-24215909ad52bf15c34589e6b9264918866360c9.tar.bz2
historical-24215909ad52bf15c34589e6b9264918866360c9.zip
version bump to 0.9
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r--net-wireless/ndiswrapper/ChangeLog8
-rw-r--r--net-wireless/ndiswrapper/Manifest27
-rw-r--r--net-wireless/ndiswrapper/files/digest-ndiswrapper-0.91
-rw-r--r--net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d10
-rw-r--r--net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild93
5 files changed, 131 insertions, 8 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog
index 981b357229a9..f627c7516741 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.7 2004/07/08 03:20:08 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.8 2004/08/16 14:34:20 cardoe Exp $
+
+ 16 Aug 2004; Doug Goldstein <cardoe@gentoo.org> +ndiswrapper-0.9.ebuild,
+ files/ndiswrapper-0.9-modules.d:
+ version bump. thanks to all the bug reporters that helped out. especially bug
+ #59578. New version should simlify the use of ndiswrapper, and configuration.
+ New ebuild should reduce the chance of access violations
*ndiswrapper-0.8 (07 Jul 2004)
diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest
index f4f95f076940..647de00a3b00 100644
--- a/net-wireless/ndiswrapper/Manifest
+++ b/net-wireless/ndiswrapper/Manifest
@@ -1,16 +1,29 @@
-MD5 30a67e0313504f0247707d1f5d4a6bc2 ChangeLog 1499
-MD5 0dfb45e6e16bf37b171169afca958121 metadata.xml 429
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 658e6dca313b5223a07b455bae00fc55 ndiswrapper-0.6.ebuild 3308
+MD5 8e7f0a8a35665e00958536a9a5523a5b ndiswrapper-0.9.ebuild 2301
MD5 abde66f0d58f0b0a6e8a69845fa9e365 ndiswrapper-0.4.ebuild 3174
MD5 76149e92d51d4d9f3e7b889137ead1bc ndiswrapper-0.3.ebuild 2848
-MD5 545295de78f20cfb984c2279a0aa8ab1 ndiswrapper-0.5.ebuild 3308
-MD5 658e6dca313b5223a07b455bae00fc55 ndiswrapper-0.6.ebuild 3308
+MD5 0dfb45e6e16bf37b171169afca958121 metadata.xml 429
MD5 1ba678e85a009c75a020971124067480 ndiswrapper-0.6-r1.ebuild 2033
+MD5 3618a1d6368aaef89fe012810b39fd91 ChangeLog 1828
MD5 f497d086255f6058b0371c5ad53b3922 ndiswrapper-0.8.ebuild 2312
+MD5 545295de78f20cfb984c2279a0aa8ab1 ndiswrapper-0.5.ebuild 3308
+MD5 aa232482ba4fdfef2b472bebd374b93d files/digest-ndiswrapper-0.9 66
+MD5 d5bd4c071015eef1d33281dd95f668e7 files/digest-ndiswrapper-0.3 66
MD5 922f4572dd8899c80920a0aea4485be9 files/digest-ndiswrapper-0.4 66
+MD5 fec18da2febe1a066f79d692b5e5eada files/digest-ndiswrapper-0.6-r1 66
+MD5 e88eaf152c6824984685f326bca63a91 files/ndiswrapper-0.9-modules.d 293
+MD5 e20c0dc4a4a29e344728d59de5757e3f files/ndiswrapper-0.6-modules.d 515
MD5 f27b456e9b1d79f449548aa305378312 files/ndiswrapper.modules.d 379
-MD5 d5bd4c071015eef1d33281dd95f668e7 files/digest-ndiswrapper-0.3 66
MD5 5a45570913b15b02817cfdfebbd02536 files/digest-ndiswrapper-0.5 66
MD5 fec18da2febe1a066f79d692b5e5eada files/digest-ndiswrapper-0.6 66
-MD5 fec18da2febe1a066f79d692b5e5eada files/digest-ndiswrapper-0.6-r1 66
-MD5 e20c0dc4a4a29e344728d59de5757e3f files/ndiswrapper-0.6-modules.d 515
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-----
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.9 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.9
new file mode 100644
index 000000000000..1b191068b6f9
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-0.9
@@ -0,0 +1 @@
+MD5 21aec47201e5c3e37caa502de76b4b1c ndiswrapper-0.9.tar.gz 86114
diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d b/net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d
new file mode 100644
index 000000000000..4e8c9d2bc57a
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/ndiswrapper-0.9-modules.d
@@ -0,0 +1,10 @@
+# Options for ndiswrapper.
+#
+
+# Set this alias to some device. Usually wlan0 unless you've got more than one
+# wireless card.
+
+#alias wlan0 ndiswrapper
+
+# It is no longer required to call loadndisdriver explictitly; please remove
+# any and all entries in the modules.d files that refer to it.
diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild
new file mode 100644
index 000000000000..68724533f8c8
--- /dev/null
+++ b/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild
@@ -0,0 +1,93 @@
+# 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.9.ebuild,v 1.1 2004/08/16 14:34:21 cardoe 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=""
+
+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
+
+ dosbin ${S}/utils/ndiswrapper
+ dosbin ${S}/utils/wlan_radio_averatec_5110hx
+
+ dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS ${S}/ChangeLog
+
+ insinto /lib/modules/${KV}/misc
+ doins ${S}/driver/ndiswrapper.${KV_OBJ}
+
+ 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 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/local/lib/ndis,"
+ einfo "run 'ndiswrapper -i /usr/local/ndis/foo.inf'."
+ 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
+}
+
+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
+}
+