diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2004-08-25 13:16:44 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2004-08-25 13:16:44 +0000 |
commit | c5cfdb0bbfc0614c2a6d0f7930f937dbfd39f2a8 (patch) | |
tree | 6c14fc5c1a91d906fe41dbd3841687a588518810 /net-wireless | |
parent | Fix installation bug (wrong path). (Manifest recommit) (diff) | |
download | gentoo-2-c5cfdb0bbfc0614c2a6d0f7930f937dbfd39f2a8.tar.gz gentoo-2-c5cfdb0bbfc0614c2a6d0f7930f937dbfd39f2a8.tar.bz2 gentoo-2-c5cfdb0bbfc0614c2a6d0f7930f937dbfd39f2a8.zip |
mark stable on x86
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/ndiswrapper/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-0.3.ebuild | 103 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-0.4.ebuild | 116 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-0.5.ebuild | 117 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild | 4 |
5 files changed, 7 insertions, 339 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog index dc8878028050..0dfa473db25f 100644 --- a/net-wireless/ndiswrapper/ChangeLog +++ b/net-wireless/ndiswrapper/ChangeLog @@ -1,6 +1,10 @@ # 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.9 2004/08/25 04:57:24 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.10 2004/08/25 13:16:44 cardoe Exp $ + + 25 Aug 2004; Doug Goldstein <cardoe@gentoo.org> -ndiswrapper-0.3.ebuild, + -ndiswrapper-0.4.ebuild, -ndiswrapper-0.5.ebuild, ndiswrapper-0.9.ebuild: + marked 0.9 stable on x86, got rid of non-compiling outdated versions *ndiswrapper-0.10 (23 Aug 2004) diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.3.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.3.ebuild deleted file mode 100644 index f2290ddc31e6..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-0.3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# 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.3.ebuild,v 1.2 2004/06/25 00:46:46 agriffis Exp $ - -inherit kernel-mod - -S=${WORKDIR}/${PN} -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${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 -} - -src_install() { - if [ ${KV_MINOR} -gt 4 ] - then - KV_OBJ="ko" - else - KV_OBJ="o" - fi - - dobin ${S}/utils/loaddriver - dodoc ${S}/README ${S}/AUTHORS - - insinto /lib/modules/${KV}/misc - doins ${S}/driver/ndiswrapper.${KV_OBJ} - - insinto /etc/modules.d - newins ${FILESDIR}/ndiswrapper.modules.d ndiswrapper -} - -pkg_postinst() { - kernel-mod_pkg_postinst - - einfo - einfo "Part of the ${PN} module configuration can be done by running" - einfo "# ebuild /var/db/pkg/net-wiress/${P}/${P}.ebuild config" - einfo "Please consult /etc/modules.d/ndiswrapper to finish" - einfo "configuring the driver" - einfo - einfo "In particular, ndiswrapper requires .inf and .sys files from" - einfo "a Windows(tm) driver to function. Put these somewhere like" - einfo "/usr/lib/hotplug/drivers, edit /etc/modules.d/ndiswrapper to match," - einfo "then run 'update-modules'" - einfo -} - -pkg_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 - - if ! egrep "VENDORID" /etc/modules.d/ndiswrapper - then - eerror "/etc/modules.d/ndiswrapper doesn't appear to be the one" - eerror "distributed by the ${PN} ebuild. To use this config script," - eerror "Please re-emerge ${PN} and then re-run this script." - die "Driver configuration file not usable" - else - einfo "Found acceptable config file at /etc/modules.d/ndiswrapper" - fi - - if [ `lspci -n | grep 'Class 0280:' | wc -l` -gt 1 ] - then - eerror "More than one suitable device detected. This script" - eerror "will only work with one suitable device present." - die "Too many potential devices found" - fi - - I=`lspci -n | grep 'Class 0280:' | cut -d' ' -f4` - - if [ -z "${I}" ] - then - die "No suitable devices found" - fi - - VENDOR=`echo $I | cut -d':' -f1` - DEVICEID=`echo $I | cut -d':' -f2` - - einfo "Setting the vendor ID to ${VENDOR} and the device ID to ${DEVICEID}" - sed -i -e "s:VENDORID:${VENDOR}:" \ - -e "s:DEVICEID:${DEVICEID}:" \ - -e "s:loadndisdriver:loaddriver:" \ - /etc/modules.d/ndiswrapper -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.4.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.4.ebuild deleted file mode 100644 index fecad6a2b8e2..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-0.4.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# 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.4.ebuild,v 1.3 2004/06/25 00:46:46 agriffis Exp $ - -inherit kernel-mod - -S=${WORKDIR}/${PN} -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" -DEPEND="sys-devel/flex" - -src_unpack() { - check_KV - kernel-mod_getversion - unpack ${A} - - if [ ${KV_MINOR} -eq 4 ] && [ ${KV_PATCH} -lt 23 ] - then - eerror "${P} requires a 2.4 kernel version of at" - eerror "least 2.4.23. You can either upgrade your kernel," - eerror "Or use the ndiswrapper-0.3 ebuild." - die "Kernel version not supported" - fi - - # 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 -} - -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 - dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS - - insinto /lib/modules/${KV}/misc - doins ${S}/driver/ndiswrapper.${KV_OBJ} - - insinto /etc/modules.d - newins ${FILESDIR}/ndiswrapper.modules.d ndiswrapper -} - -pkg_postinst() { - kernel-mod_pkg_postinst - - einfo - einfo "Part of the ${PN} module configuration can be done by running" - einfo "# ebuild /var/db/pkg/net-wiress/${P}/${P}.ebuild config" - einfo "Please consult /etc/modules.d/ndiswrapper to finish" - einfo "configuring the driver" - einfo - einfo "In particular, ndiswrapper requires .inf and .sys files from" - einfo "a Windows(tm) driver to function. Put these somewhere like" - einfo "/usr/lib/hotplug/drivers, edit /etc/modules.d/ndiswrapper to match," - einfo "then run 'update-modules'" - einfo -} - -pkg_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 - - if ! egrep "VENDORID" /etc/modules.d/ndiswrapper - then - eerror "/etc/modules.d/ndiswrapper doesn't appear to be the one" - eerror "distributed by the ${PN} ebuild. To use this config script," - eerror "Please re-emerge ${PN} and then re-run this script." - die "Driver configuration file not usable" - else - einfo "Found acceptable config file at /etc/modules.d/ndiswrapper" - fi - - if [ `lspci -n | grep 'Class 0280:' | wc -l` -gt 1 ] - then - eerror "More than one suitable device detected. This script" - eerror "will only work with one suitable device present." - die "Too many potential devices found" - fi - - I=`lspci -n | grep 'Class 0280:' | cut -d' ' -f4` - - if [ -z "${I}" ] - then - die "No suitable devices found" - fi - - VENDOR=`echo $I | cut -d':' -f1` - DEVICEID=`echo $I | cut -d':' -f2` - - einfo "Setting the vendor ID to ${VENDOR} and the device ID to ${DEVICEID}" - sed -i -e "s:VENDORID:${VENDOR}:" \ - -e "s:DEVICEID:${DEVICEID}:" \ - /etc/modules.d/ndiswrapper -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.5.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.5.ebuild deleted file mode 100644 index ba49d9765c2c..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-0.5.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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.5.ebuild,v 1.2 2004/06/25 00:46:46 agriffis Exp $ - -inherit kernel-mod - -S=${WORKDIR}/${P} -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" -DEPEND="sys-devel/flex" - -src_unpack() { - check_KV - kernel-mod_getversion - unpack ${A} - - if [ ${KV_MINOR} -eq 4 ] && [ ${KV_PATCH} -lt 23 ] - then - eerror "${P} requires a 2.4 kernel version of at" - eerror "least 2.4.23. You can either upgrade your kernel," - eerror "Or use the ndiswrapper-0.3 ebuild." - die "Kernel version not supported" - fi - - # 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 -} - -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 - dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS - - insinto /lib/modules/${KV}/misc - doins ${S}/driver/ndiswrapper.${KV_OBJ} - - insinto /etc/modules.d - newins ${FILESDIR}/ndiswrapper.modules.d ndiswrapper -} - -pkg_postinst() { - einfnfo "Checking kernel module dependancies" - test -r "${ROOT}/${KV_OUTPUT}/System.map" && \ - depmod -ae -F "${ROOT}/${KV_OUTPUT}/System.map" -b "${ROOT}" -r ${KV} - - einfo "Part of the ${PN} module configuration can be done by running" - einfo "# ebuild /var/db/pkg/net-wiress/${P}/${P}.ebuild config" - einfo "Please consult /etc/modules.d/ndiswrapper to finish" - einfo "configuring the driver" - einfo - einfo "In particular, ndiswrapper requires .inf and .sys files from" - einfo "a Windows(tm) driver to function. Put these somewhere like" - einfo "/usr/lib/hotplug/drivers, edit /etc/modules.d/ndiswrapper to match," - einfo "then run 'update-modules'" - einfo -} - -pkg_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 - - if ! egrep "VENDORID" /etc/modules.d/ndiswrapper - then - eerror "/etc/modules.d/ndiswrapper doesn't appear to be the one" - eerror "distributed by the ${PN} ebuild. To use this config script," - eerror "Please re-emerge ${PN} and then re-run this script." - die "Driver configuration file not usable" - else - einfo "Found acceptable config file at /etc/modules.d/ndiswrapper" - fi - - if [ `lspci -n | grep 'Class 0280:' | wc -l` -gt 1 ] - then - eerror "More than one suitable device detected. This script" - eerror "will only work with one suitable device present." - die "Too many potential devices found" - fi - - I=`lspci -n | grep 'Class 0280:' | cut -d' ' -f4` - - if [ -z "${I}" ] - then - die "No suitable devices found" - fi - - VENDOR=`echo $I | cut -d':' -f1` - DEVICEID=`echo $I | cut -d':' -f2` - - einfo "Setting the vendor ID to ${VENDOR} and the device ID to ${DEVICEID}" - sed -i -e "s:VENDORID:${VENDOR}:" \ - -e "s:DEVICEID:${DEVICEID}:" \ - /etc/modules.d/ndiswrapper -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild b/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild index f579ea405720..9b0028ba74e5 100644 --- a/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild +++ b/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild @@ -1,6 +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.9.ebuild,v 1.2 2004/08/18 06:01:39 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-0.9.ebuild,v 1.3 2004/08/25 13:16:44 cardoe Exp $ inherit kernel-mod @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="" DEPEND="sys-apps/pciutils" S=${WORKDIR}/${PN}-${PV} |