Mercurial > hg > portage
changeset 81:aa44ff4f442e
bye-bye Intel drivers; stick to the kernel versions
author | holger@hoho.dyndns.org |
---|---|
date | Sat, 18 Oct 2008 17:39:37 +0200 |
parents | 6da0c8668e7e |
children | 5b1ff66ecc7f |
files | net-misc/e1000/Manifest net-misc/e1000/e1000-8.0.3.1.ebuild net-misc/e1000e/Manifest net-misc/e1000e/e1000e-0.4.1.7.ebuild |
diffstat | 4 files changed, 0 insertions(+), 99 deletions(-) [+] |
line wrap: on
line diff
--- a/net-misc/e1000/Manifest Tue Oct 14 04:50:48 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -DIST e1000-8.0.3.1.tar.gz 199029 RMD160 a07d3b52f80c8f7c6e3a0e8a20db38431822397f SHA1 6fef2b7f9636c70d003789593f8e211217264416 SHA256 0751afb6d5191eef568f44c0b57b6d39271df28b3f8ff1eecbc5d35373c00a59 -EBUILD e1000-8.0.3.1.ebuild 1378 RMD160 d36ce4380b793c12c5e15b1b994e53c3aca38fb4 SHA1 0a1df1551fca9cccff44672524b012dfa472cce6 SHA256 9c8e7d27e571b2ef41b840803c46a2e3f9068874054809fee2ff3795032c1ecd
--- a/net-misc/e1000/e1000-8.0.3.1.ebuild Tue Oct 14 04:50:48 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Kernel driver for Intel Pro/1000 ethernet adapters." -HOMEPAGE="http://support.intel.com/support/network/adapter/1000/index.htm" -LICENSE="GPL-2" -DEPEND="virtual/linux-sources" - -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -SLOT="0" -KEYWORDS="x86" -IUSE="" - - -src_unpack() { - unpack ${A} - cd ${S}/src - # rem out the DEPVER line, since it would cause a sandbox violation and - # since it is only needed by RPM ;-) - sed -i "/^DEPVER :=/ d" Makefile -} - - -src_compile() { - check_KV - cd "${S}/src" - - # workaround needed for some ethernet controllers to work with low end switches - if [[ ${USE_INCOMPATIBLE_SWITCH} ]] - then CFLAGS_EXTRA="CFLAGS_EXTRA=-DE_1000_MASTER_SLAVE=1" - else CFLAGS_EXTRA="" - fi - - make ${CFLAGS_EXTRA} KSRC=/usr/src/linux -} - - -src_install() { - insinto "/lib/modules/${KV}/kernel/drivers/net/e1000" - doins "${S}/src/e1000.ko" - doman e1000.7 - dodoc LICENSE README SUMS e1000.spec ldistrib.txt ${FILESDIR}/README.Gentoo - einfo "" - einfo "In case you have problems when loading the module, try to run depmod -A" - einfo "" - einfo "If you experience problems with low-end switches, read" - einfo "/usr/share/doc/${PF}/README.Gentoo.gz for a possible workaround" - einfo "" -}
--- a/net-misc/e1000e/Manifest Tue Oct 14 04:50:48 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -DIST e1000e-0.4.1.7.tar.gz 200496 RMD160 e03441ffaa7bac2d0b7b0f1b0d8c8434641af935 SHA1 b919215aa566ff00e52425447a7ec43af6170ba8 SHA256 95bd9b275166ead953ebc828597433044ea708093ede6864ed2aac4b64a62175 -EBUILD e1000e-0.4.1.7.ebuild 1187 RMD160 39892b555fbfae0f5a921640b9f7a6672a5d269a SHA1 6c992484bb31def68606054e69fb9978f27cd220 SHA256 319fb813eef746f8263ff84df28529b67733afecfd97c5fbcac8fcf4eb713c14
--- a/net-misc/e1000e/e1000e-0.4.1.7.ebuild Tue Oct 14 04:50:48 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Kernel driver for Intel Pro/1000 ethernet adapters." -HOMEPAGE="http://support.intel.com/support/network/adapter/1000/index.htm" -LICENSE="GPL-2" -DEPEND="virtual/linux-sources" - -SRC_URI="mirror://sourceforge/e1000/${P}.tar.gz" -SLOT="0" -KEYWORDS="x86" -IUSE="" - - -src_unpack() { - unpack ${A} - cd ${S}/src - # rem out the DEPVER line, since it would cause a sandbox violation and - # since it is only needed by RPM ;-) - sed -i "/^DEPVER :=/ d" Makefile -} - - -src_compile() { - check_KV - cd "${S}/src" - - # workaround needed for some ethernet controllers to work with low end switches - if [[ ${USE_INCOMPATIBLE_SWITCH} ]] - then CFLAGS_EXTRA="CFLAGS_EXTRA=-DE_1000_MASTER_SLAVE=1" - else CFLAGS_EXTRA="" - fi - - make ${CFLAGS_EXTRA} KSRC=/usr/src/linux -} - - -src_install() { - insinto "/lib/modules/${KV}/kernel/drivers/net/e1000e" - doins "${S}/src/e1000e.ko" - doman e1000e.7 - dodoc COPYING README SUMS e1000e.spec - einfo "" - einfo "In case you have problems when loading the module, try to run depmod -A" - einfo "" -}