[arch-commits] Commit in r8168/repos (6 files)
Date: Friday, April 28, 2017 @ 07:25:25 Author: tpowa Revision: 226160 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 226159, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 226159, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 226159, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 226159, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 226159, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-04-28 07:25:25 UTC (rev 226160) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 226159, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2017-04-28 07:25:25 UTC (rev 226160) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.10-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 226159, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-04-28 07:25:25 UTC (rev 226160) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid usi
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, March 18, 2017 @ 22:23:47 Author: tpowa Revision: 217191 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 217190, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 217190, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 217190, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 217190, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 217190, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-03-18 22:23:47 UTC (rev 217191) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 217190, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2017-03-18 22:23:47 UTC (rev 217191) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.10-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 217190, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-03-18 22:23:47 UTC (rev 217191) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid u
[arch-commits] Commit in r8168/repos (6 files)
Date: Sunday, February 26, 2017 @ 22:40:31 Author: heftig Revision: 213896 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 213895, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 213895, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 213895, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 213895, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 213895, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-02-26 22:40:31 UTC (rev 213896) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 213895, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2017-02-26 22:40:31 UTC (rev 213896) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.10-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 213895, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-02-26 22:40:31 UTC (rev 213896) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Sunday, February 19, 2017 @ 15:28:42 Author: heftig Revision: 213126 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 213125, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 213125, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 213125, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 213125, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 213125, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-02-19 15:28:42 UTC (rev 213126) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 213125, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2017-02-19 15:28:42 UTC (rev 213126) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.9-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 213125, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-02-19 15:28:42 UTC (rev 213126) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.044.02 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, March 7, 2016 @ 11:53:02 Author: tpowa Revision: 165470 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 165469, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 165469, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 165469, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 165469, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 165469, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-03-07 10:53:02 UTC (rev 165470) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.041.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('d56f60e4157ccbf8f8717270b1acb391b0a959d9a96c2f0b4a91c683aa8b83a5') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 165469, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2016-03-07 10:53:02 UTC (rev 165470) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.4-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 165469, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-03-07 10:53:02 UTC (rev 165470) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.041.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('d56f60e4157ccbf8f8717270b1acb391b0a959d9a96c2f0b4a91c683aa8b83a5') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, February 20, 2016 @ 15:35:24 Author: tpowa Revision: 162766 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 162765, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 162765, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 162765, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 162765, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 162765, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-02-20 14:35:24 UTC (rev 162766) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.041.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('d56f60e4157ccbf8f8717270b1acb391b0a959d9a96c2f0b4a91c683aa8b83a5') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 162765, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2016-02-20 14:35:24 UTC (rev 162766) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.4-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 162765, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-02-20 14:35:24 UTC (rev 162766) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.041.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('d56f60e4157ccbf8f8717270b1acb391b0a959d9a96c2f0b4a91c683aa8b83a5') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Thursday, January 14, 2016 @ 09:06:04 Author: tpowa Revision: 156405 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 156404, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 156404, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 156404, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 156404, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 156404, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-01-14 08:06:04 UTC (rev 156405) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.041.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('d56f60e4157ccbf8f8717270b1acb391b0a959d9a96c2f0b4a91c683aa8b83a5') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 156404, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2016-01-14 08:06:04 UTC (rev 156405) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.4-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 156404, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-01-14 08:06:04 UTC (rev 156405) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.041.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('d56f60e4157ccbf8f8717270b1acb391b0a959d9a96c2f0b4a91c683aa8b83a5') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Wednesday, November 4, 2015 @ 16:23:29 Author: tpowa Revision: 145974 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 145973, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 145973, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 145973, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 145973, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 145973, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-11-04 15:23:29 UTC (rev 145974) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=9 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 145973, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-11-04 15:23:29 UTC (rev 145974) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.3-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 145973, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-11-04 15:23:29 UTC (rev 145974) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=9 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, October 24, 2015 @ 12:03:54 Author: tpowa Revision: 144880 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 144879, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 144879, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 144879, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 144879, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 144879, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-10-24 10:03:54 UTC (rev 144880) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=8 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 144879, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-10-24 10:03:54 UTC (rev 144880) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.2-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 144879, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-10-24 10:03:54 UTC (rev 144880) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=8 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Thursday, September 3, 2015 @ 21:28:53 Author: tpowa Revision: 139160 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 139159, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 139159, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 139159, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 139159, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 139159, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-09-03 19:28:53 UTC (rev 139160) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 139159, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-09-03 19:28:53 UTC (rev 139160) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.2-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 139159, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-09-03 19:28:53 UTC (rev 139160) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Wednesday, August 12, 2015 @ 09:33:18 Author: tpowa Revision: 138268 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 138267, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 138267, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 138267, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 138267, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 44 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 44 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 138267, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-08-12 07:33:18 UTC (rev 138268) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-testing-i686/r8168.install (from rev 138267, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-08-12 07:33:18 UTC (rev 138268) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.1-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 138267, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-08-12 07:33:18 UTC (rev 138268) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Tuesday, August 4, 2015 @ 00:19:45 Author: foutrelis Revision: 137870 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: r8168/repos/community-staging-i686/ r8168/repos/community-staging-i686/PKGBUILD (from rev 137869, r8168/trunk/PKGBUILD) r8168/repos/community-staging-i686/r8168.install (from rev 137869, r8168/trunk/r8168.install) r8168/repos/community-staging-x86_64/ r8168/repos/community-staging-x86_64/PKGBUILD (from rev 137869, r8168/trunk/PKGBUILD) r8168/repos/community-staging-x86_64/r8168.install (from rev 137869, r8168/trunk/r8168.install) + community-staging-i686/PKGBUILD| 44 +++ community-staging-i686/r8168.install | 17 +++ community-staging-x86_64/PKGBUILD | 44 +++ community-staging-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-staging-i686/PKGBUILD (from rev 137869, r8168/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-08-03 22:19:45 UTC (rev 137870) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-staging-i686/r8168.install (from rev 137869, r8168/trunk/r8168.install) === --- community-staging-i686/r8168.install(rev 0) +++ community-staging-i686/r8168.install2015-08-03 22:19:45 UTC (rev 137870) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.1-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-staging-x86_64/PKGBUILD (from rev 137869, r8168/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-08-03 22:19:45 UTC (rev 137870) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Friday, July 10, 2015 @ 20:26:04 Author: foutrelis Revision: 136642 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: r8168/repos/community-staging-i686/ r8168/repos/community-staging-i686/PKGBUILD (from rev 136641, r8168/trunk/PKGBUILD) r8168/repos/community-staging-i686/r8168.install (from rev 136641, r8168/trunk/r8168.install) r8168/repos/community-staging-x86_64/ r8168/repos/community-staging-x86_64/PKGBUILD (from rev 136641, r8168/trunk/PKGBUILD) r8168/repos/community-staging-x86_64/r8168.install (from rev 136641, r8168/trunk/r8168.install) + community-staging-i686/PKGBUILD| 44 +++ community-staging-i686/r8168.install | 17 +++ community-staging-x86_64/PKGBUILD | 44 +++ community-staging-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-staging-i686/PKGBUILD (from rev 136641, r8168/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-07-10 18:26:04 UTC (rev 136642) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-staging-i686/r8168.install (from rev 136641, r8168/trunk/r8168.install) === --- community-staging-i686/r8168.install(rev 0) +++ community-staging-i686/r8168.install2015-07-10 18:26:04 UTC (rev 136642) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.1-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-staging-x86_64/PKGBUILD (from rev 136641, r8168/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-07-10 18:26:04 UTC (rev 136642) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid u
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, July 4, 2015 @ 15:38:37 Author: foutrelis Revision: 136387 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: r8168/repos/community-staging-i686/ r8168/repos/community-staging-i686/PKGBUILD (from rev 136386, r8168/trunk/PKGBUILD) r8168/repos/community-staging-i686/r8168.install (from rev 136386, r8168/trunk/r8168.install) r8168/repos/community-staging-x86_64/ r8168/repos/community-staging-x86_64/PKGBUILD (from rev 136386, r8168/trunk/PKGBUILD) r8168/repos/community-staging-x86_64/r8168.install (from rev 136386, r8168/trunk/r8168.install) + community-staging-i686/PKGBUILD| 44 +++ community-staging-i686/r8168.install | 17 +++ community-staging-x86_64/PKGBUILD | 44 +++ community-staging-x86_64/r8168.install | 17 +++ 4 files changed, 122 insertions(+) Copied: r8168/repos/community-staging-i686/PKGBUILD (from rev 136386, r8168/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-07-04 13:38:37 UTC (rev 136387) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_VERSION/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-$_kernver-ARCH|" "$startdir/$pkgname.install" +} Copied: r8168/repos/community-staging-i686/r8168.install (from rev 136386, r8168/trunk/r8168.install) === --- community-staging-i686/r8168.install(rev 0) +++ community-staging-i686/r8168.install2015-07-04 13:38:37 UTC (rev 136387) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.1-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-staging-x86_64/PKGBUILD (from rev 136386, r8168/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-07-04 13:38:37 UTC (rev 136387) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.040.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b') + +build() { + _kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#') + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid
[arch-commits] Commit in r8168/repos (6 files)
Date: Thursday, March 26, 2015 @ 15:25:32 Author: tpowa Revision: 129968 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 129967, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 129967, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 129967, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 129967, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 129967, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-03-26 14:25:32 UTC (rev 129968) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=13 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 129967, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-03-26 14:25:32 UTC (rev 129968) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 129967, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-03-26 14:25:32 UTC (rev 129968) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=13 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, February 9, 2015 @ 08:01:25 Author: tpowa Revision: 127340 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 127339, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 127339, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 127339, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 127339, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 127339, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-02-09 07:01:25 UTC (rev 127340) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=10 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 127339, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-02-09 07:01:25 UTC (rev 127340) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.19-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 127339, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-02-09 07:01:25 UTC (rev 127340) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=10 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, February 7, 2015 @ 11:14:05 Author: tpowa Revision: 127224 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 127223, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 127223, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 127223, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 127223, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 127223, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-02-07 10:14:05 UTC (rev 127224) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=9 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 127223, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-02-07 10:14:05 UTC (rev 127224) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 127223, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-02-07 10:14:05 UTC (rev 127224) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=9 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand
[arch-commits] Commit in r8168/repos (6 files)
Date: Friday, January 30, 2015 @ 13:43:20 Author: tpowa Revision: 126794 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 126793, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 126793, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 126793, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 126793, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 126793, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-01-30 12:43:20 UTC (rev 126794) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=8 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 126793, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-01-30 12:43:20 UTC (rev 126794) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 126793, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-01-30 12:43:20 UTC (rev 126794) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=8 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand +
[arch-commits] Commit in r8168/repos (6 files)
Date: Tuesday, January 27, 2015 @ 23:04:03 Author: foutrelis Revision: 126665 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 126664, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 126664, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 126664, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 126664, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 126664, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-01-27 22:04:03 UTC (rev 126665) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 126664, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2015-01-27 22:04:03 UTC (rev 126665) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 126664, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-01-27 22:04:03 UTC (rev 126665) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understa
[arch-commits] Commit in r8168/repos (6 files)
Date: Wednesday, December 17, 2014 @ 17:04:30 Author: tpowa Revision: 124034 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 124033, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 124033, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 124033, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 124033, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 124033, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-12-17 16:04:30 UTC (rev 124034) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 124033, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-12-17 16:04:30 UTC (rev 124034) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 124033, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-12-17 16:04:30 UTC (rev 124034) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understan
[arch-commits] Commit in r8168/repos (6 files)
Date: Sunday, December 7, 2014 @ 09:10:07 Author: foutrelis Revision: 123572 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 123571, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 123571, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 123571, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 123571, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 123571, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-12-07 08:10:07 UTC (rev 123572) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 123571, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-12-07 08:10:07 UTC (rev 123572) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 123571, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-12-07 08:10:07 UTC (rev 123572) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understan
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, November 22, 2014 @ 11:43:33 Author: tpowa Revision: 122911 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 122910, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 122910, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 122910, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 122910, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 122910, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-11-22 10:43:33 UTC (rev 122911) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/nic/r8168-$pkgver.tar.bz2";) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 122910, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-11-22 10:43:33 UTC (rev 122911) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 122910, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-11-22 10:43:33 UTC (rev 122911) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/nic/r8168-$pkgver.tar.bz2";) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly --
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, October 6, 2014 @ 18:34:18 Author: tpowa Revision: 120285 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 120283, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 120283, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 120284, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 120284, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 120283, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-10-06 16:34:18 UTC (rev 120285) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/nic/r8168-$pkgver.tar.bz2";) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 120283, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-10-06 16:34:18 UTC (rev 120285) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 120284, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-10-06 16:34:18 UTC (rev 120285) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/nic/r8168-$pkgver.tar.bz2";) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, October 6, 2014 @ 08:50:28 Author: tpowa Revision: 120211 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 120210, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 120210, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 120210, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 120210, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 120210, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-10-06 06:50:28 UTC (rev 120211) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/nic/r8168-$pkgver.tar.bz2";) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + Copied: r8168/repos/community-testing-i686/r8168.install (from rev 120210, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-10-06 06:50:28 UTC (rev 120211) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.16-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 120210, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-10-06 06:50:28 UTC (rev 120211) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.039.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +install=$pkgname.install +source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/nic/r8168-$pkgver.tar.bz2";) +sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd') + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it
[arch-commits] Commit in r8168/repos (6 files)
Date: Friday, July 18, 2014 @ 13:31:31 Author: tpowa Revision: 115910 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 115909, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 115909, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 115909, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 115909, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 58 +++ community-testing-i686/r8168.install | 17 + community-testing-x86_64/PKGBUILD | 58 +++ community-testing-x86_64/r8168.install | 17 + 4 files changed, 150 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 115909, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-07-18 11:31:31 UTC (rev 115910) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=8 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +prepare(){ + cd "$pkgname-$pkgver" + + # Fix build with Linux 3.15 + # https://code.google.com/p/r8168/issues/detail?id=19 + if grep -q PREPARE_DELAYED_WORK src/r8168_n.c; then + sed -i 's/PREPARE_DELAYED_WORK/INIT_DELAYED_WORK/' src/r8168_n.c + else + error 'PREPARE_DELAYED_WORK fix for Linux 3.15 is no longer needed.' + return 1 + fi +} + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 115909, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-07-18 11:31:31 UTC (rev 115910) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.15-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 115909, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-07-18 11:31:31 UTC (rev 115910) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=8 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("htt
[arch-commits] Commit in r8168/repos (6 files)
Date: Tuesday, July 1, 2014 @ 08:46:04 Author: tpowa Revision: 113843 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 113842, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 113842, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 113842, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 113842, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 58 +++ community-testing-i686/r8168.install | 17 + community-testing-x86_64/PKGBUILD | 58 +++ community-testing-x86_64/r8168.install | 17 + 4 files changed, 150 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 113842, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-07-01 06:46:04 UTC (rev 113843) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +prepare(){ + cd "$pkgname-$pkgver" + + # Fix build with Linux 3.15 + # https://code.google.com/p/r8168/issues/detail?id=19 + if grep -q PREPARE_DELAYED_WORK src/r8168_n.c; then + sed -i 's/PREPARE_DELAYED_WORK/INIT_DELAYED_WORK/' src/r8168_n.c + else + error 'PREPARE_DELAYED_WORK fix for Linux 3.15 is no longer needed.' + return 1 + fi +} + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 113842, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-07-01 06:46:04 UTC (rev 113843) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.15-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 113842, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-07-01 06:46:04 UTC (rev 113843) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("htt
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, June 9, 2014 @ 14:14:11 Author: foutrelis Revision: 112891 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 112890, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 112890, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 112890, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 112890, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 58 +++ community-testing-i686/r8168.install | 17 + community-testing-x86_64/PKGBUILD | 58 +++ community-testing-x86_64/r8168.install | 17 + 4 files changed, 150 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 112890, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-06-09 12:14:11 UTC (rev 112891) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +prepare(){ + cd "$pkgname-$pkgver" + + # Fix build with Linux 3.15 + # https://code.google.com/p/r8168/issues/detail?id=19 + if grep -q PREPARE_DELAYED_WORK src/r8168_n.c; then + sed -i 's/PREPARE_DELAYED_WORK/INIT_DELAYED_WORK/' src/r8168_n.c + else + error 'PREPARE_DELAYED_WORK fix for Linux 3.15 is no longer needed.' + return 1 + fi +} + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 112890, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-06-09 12:14:11 UTC (rev 112891) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.15-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 112890, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-06-09 12:14:11 UTC (rev 112891) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, June 2, 2014 @ 21:16:40 Author: foutrelis Revision: 112487 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 112486, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 112486, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 112486, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 112486, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 112486, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-06-02 19:16:40 UTC (rev 112487) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 112486, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-06-02 19:16:40 UTC (rev 112487) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.13-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 112486, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-06-02 19:16:40 UTC (rev 112487) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. +
[arch-commits] Commit in r8168/repos (6 files)
Date: Wednesday, April 2, 2014 @ 00:29:44 Author: thomas Revision: 108711 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 108710, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 108710, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 108710, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 108710, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 108710, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-04-01 22:29:44 UTC (rev 108711) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 108710, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-04-01 22:29:44 UTC (rev 108711) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.13-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 108710, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-04-01 22:29:44 UTC (rev 108711) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.038.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2";) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. +
[arch-commits] Commit in r8168/repos (6 files)
Date: Sunday, January 26, 2014 @ 13:36:21 Author: thomas Revision: 104808 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 104807, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 104807, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 104807, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 104807, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 104807, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-01-26 12:36:21 UTC (rev 104808) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 104807, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-01-26 12:36:21 UTC (rev 104808) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.13-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 104807, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-01-26 12:36:21 UTC (rev 104808) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=7 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_REL
[arch-commits] Commit in r8168/repos (6 files)
Date: Sunday, January 19, 2014 @ 21:27:32 Author: tpowa Revision: 104388 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 104387, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 104387, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 104387, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 104387, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 104387, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-01-19 20:27:32 UTC (rev 104388) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 104387, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-01-19 20:27:32 UTC (rev 104388) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.12-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 104387, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-01-19 20:27:32 UTC (rev 104388) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=6 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELE
[arch-commits] Commit in r8168/repos (6 files)
Date: Friday, January 10, 2014 @ 13:52:24 Author: tpowa Revision: 103713 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 103712, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 103712, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 103712, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 103712, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 103712, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-01-10 12:52:24 UTC (rev 103713) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 103712, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2014-01-10 12:52:24 UTC (rev 103713) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.12-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 103712, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-01-10 12:52:24 UTC (rev 103713) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=5 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELE
[arch-commits] Commit in r8168/repos (6 files)
Date: Saturday, December 21, 2013 @ 19:33:49 Author: tpowa Revision: 102836 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 102835, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 102835, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 102835, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 102835, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 102835, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-12-21 18:33:49 UTC (rev 102836) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 102835, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2013-12-21 18:33:49 UTC (rev 102836) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.12-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 102835, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-12-21 18:33:49 UTC (rev 102836) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_R
[arch-commits] Commit in r8168/repos (6 files)
Date: Wednesday, November 6, 2013 @ 08:28:11 Author: tpowa Revision: 100568 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 100567, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 100567, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 100567, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 100567, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 100567, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-11-06 07:28:11 UTC (rev 100568) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 100567, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2013-11-06 07:28:11 UTC (rev 100568) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.12-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 100567, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-11-06 07:28:11 UTC (rev 100568) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.037.00 +pkgrel=2 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_R
[arch-commits] Commit in r8168/repos (6 files)
Date: Tuesday, February 5, 2013 @ 18:49:58 Author: foutrelis Revision: 83844 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 83843, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 83843, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 83843, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 83843, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 83843, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-02-05 17:49:58 UTC (rev 83844) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.035.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('b904d31fc9bd6c97cc34479a0eba0e3a9bba5351a43b56dd5fff6b7dc1a5df73') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 83843, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2013-02-05 17:49:58 UTC (rev 83844) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.7-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 83843, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-02-05 17:49:58 UTC (rev 83844) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.035.00 +pkgrel=4 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/bui
[arch-commits] Commit in r8168/repos (6 files)
Date: Monday, January 28, 2013 @ 14:42:19 Author: tpowa Revision: 83222 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: r8168/repos/community-testing-i686/ r8168/repos/community-testing-i686/PKGBUILD (from rev 83221, r8168/trunk/PKGBUILD) r8168/repos/community-testing-i686/r8168.install (from rev 83221, r8168/trunk/r8168.install) r8168/repos/community-testing-x86_64/ r8168/repos/community-testing-x86_64/PKGBUILD (from rev 83221, r8168/trunk/PKGBUILD) r8168/repos/community-testing-x86_64/r8168.install (from rev 83221, r8168/trunk/r8168.install) + community-testing-i686/PKGBUILD| 45 +++ community-testing-i686/r8168.install | 17 +++ community-testing-x86_64/PKGBUILD | 45 +++ community-testing-x86_64/r8168.install | 17 +++ 4 files changed, 124 insertions(+) Copied: r8168/repos/community-testing-i686/PKGBUILD (from rev 83221, r8168/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-01-28 13:42:19 UTC (rev 83222) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.035.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \ + SUBDIRS="$srcdir/$pkgname-$pkgver/src" \ + EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \ + modules +} + +package() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + depends=("linux>=3.${_kernver}" "linux<3.$(expr ${_kernver} + 1)") + KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + msg "Kernel = $KERNEL_VERSION" + + cd "$pkgname-$pkgver" + install -Dm644 src/$pkgname.ko "$pkgdir/usr/lib/modules/extramodules-3.$_kernver-ARCH/$pkgname.ko" + find "$pkgdir" -name '*.ko' -exec gzip -9 {} + + + sed -i "s|extramodules-.*-ARCH|extramodules-3.$_kernver-ARCH|" "$startdir/$pkgname.install" +} + +sha256sums=('b904d31fc9bd6c97cc34479a0eba0e3a9bba5351a43b56dd5fff6b7dc1a5df73') Copied: r8168/repos/community-testing-i686/r8168.install (from rev 83221, r8168/trunk/r8168.install) === --- community-testing-i686/r8168.install(rev 0) +++ community-testing-i686/r8168.install2013-01-28 13:42:19 UTC (rev 83222) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.7-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} Copied: r8168/repos/community-testing-x86_64/PKGBUILD (from rev 83221, r8168/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-01-28 13:42:19 UTC (rev 83222) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip , Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.035.00 +pkgrel=3 +pkgdesc="A kernel module for Realtek 8168 network cards" +url="http://www.realtek.com.tw"; +license=("GPL") +arch=('i686' 'x86_64') +depends=('glibc' 'linux') +makedepends=('linux-headers') +source=(http://r8168.googlecode.com/files/$pkgname-$pkgver.tar.bz2) +install=$pkgname.install + +build() { + _kernver=$(pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -) + KERNEL_RELEASE=$(cat /usr/lib/modules/extramodules-3.$_kernver-ARCH/version) + + cd "$pkgname-$pkgver" + + # avoid using the Makefile directly -- it doesn't understand + # any kernel but the current. + make -C /usr/lib/modules/$KERNEL_RELEASE/build \