Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel30.git;a=commitdiff;h=112d91024a7a670a48836d0f35186cc2b408000f

commit 112d91024a7a670a48836d0f35186cc2b408000f
Author: James Buren <r...@frugalware.org>
Date:   Sun Aug 21 07:04:34 2011 -0500

r8168-8.024.00-3-i686
* fix installation
* remove README.Frugalware (the kernel no longer ships a conflicting module)

diff --git a/source/network-extra/r8168/FrugalBuild 
b/source/network-extra/r8168/FrugalBuild
index 42c2077..03bedc6 100644
--- a/source/network-extra/r8168/FrugalBuild
+++ b/source/network-extra/r8168/FrugalBuild
@@ -4,24 +4,23 @@

pkgname=r8168
pkgver=8.024.00
-pkgrel=2
+pkgrel=3
Finclude kernel-module
pkgdesc="Realtek driver for RTL8111/RTL8168 cards."
url="http://www.realtek.com.tw";
groups=('network-extra')
archs=('i686' 'x86_64')
up2date="Flasttar http://code.google.com/p/arcon/downloads/list";
-source=(http://arcon.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 
README.Frugalware)
-sha1sums=('0a5f7611356a70c168cb683319d76d6cec64b0be' \
-          'e13c36b76076d097a2dc9696a24024f816e8b3e2')
+source=(http://arcon.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('0a5f7611356a70c168cb683319d76d6cec64b0be')

build() {
unset MAKEFLAGS
#Fcheckkernel
+       Fmkdir $_F_kernelmod_dir/kernel/drivers/net
Fbuild_kernelmod_scriptlet
-       Fmkdir ${_F_kernelmod_dir}/kernel/drivers/net
Fsed '$(shell uname -r)' "${_F_kernelmod_uname}" src/Makefile
-       Fsed 'KMISC\(.*\)/lib\(.*\)' "KMISC\1${Fdestdir}/lib\2" src/Makefile
+       Fsed '^KEXT.*:=.*$' 'KEXT := ko' src/Makefile
+       Fsed '^KMISC.*:=.*$' "KMISC := 
$Fdestdir/lib/modules/\$(KVER)/kernel/drivers/net" src/Makefile
Fbuild
-       Fmv ${_F_kernelmod_dir}/kernel/drivers/net/${pkgname}.{o,ko}
}
diff --git a/source/network-extra/r8168/README.Frugalware 
b/source/network-extra/r8168/README.Frugalware
deleted file mode 100644
index 5c7e5e5..0000000
--- a/source/network-extra/r8168/README.Frugalware
+++ /dev/null
@@ -1,24 +0,0 @@
-=== About the driver
-
-This is the r8168 driver from Realtek. This in _not_ the same r8168
-presented in Linux kernel.
-
-This driver supports: RTL8168S/8110S, RTL8168SB/8110SB, RTL8110SC
-
-=== Using the driver
-
-To use this driver you have to remove the official r8168 if loaded.
-
-----
-# rmmod r8168
-----
-
-You can load this module with
-
-----
-# modprobe realtek-r8168
-----
-
-It might be a good idea to blacklist `r8168` and add `realtek-r8168` to
-`/etc/sysconfig/modules`, so you do not have to play this game after
-every reboot.
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to