[arch-commits] Commit in r8168-lts/repos (3 files)

2018-09-20 Thread Andreas Radke via arch-commits
Date: Thursday, September 20, 2018 @ 19:19:41
  Author: andyrtr
Revision: 383778

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 383777, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 383777, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   32 
 r8168-lts.install |4 
 2 files changed, 36 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 383777, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-09-20 19:19:41 UTC (rev 383778)
@@ -0,0 +1,32 @@
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.046.00
+pkgrel=5
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.71" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.71" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
383777, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-09-20 19:19:41 UTC (rev 
383778)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-09-10 Thread Andreas Radke via arch-commits
Date: Monday, September 10, 2018 @ 15:25:35
  Author: andyrtr
Revision: 379221

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 379220, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 379220, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 379220, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-09-10 15:25:35 UTC (rev 379221)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.046.00
+pkgrel=4
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.69" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.69" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
379220, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-09-10 15:25:35 UTC (rev 
379221)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-08-24 Thread Andreas Radke via arch-commits
Date: Friday, August 24, 2018 @ 15:34:40
  Author: andyrtr
Revision: 373731

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 373730, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 373730, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 373730, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-08-24 15:34:40 UTC (rev 373731)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.046.00
+pkgrel=3
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.67" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.67" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
373730, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-08-24 15:34:40 UTC (rev 
373731)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-08-15 Thread Andreas Radke via arch-commits
Date: Wednesday, August 15, 2018 @ 18:28:48
  Author: andyrtr
Revision: 371876

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 371875, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 371875, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 371875, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-08-15 18:28:48 UTC (rev 371876)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.046.00
+pkgrel=2
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.63" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.63" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
371875, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-08-15 18:28:48 UTC (rev 
371876)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-08-04 Thread Andreas Radke via arch-commits
Date: Saturday, August 4, 2018 @ 20:06:16
  Author: andyrtr
Revision: 368136

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 368135, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 368135, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 368135, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-08-04 20:06:16 UTC (rev 368136)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=19
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.60" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.60" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
368135, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-08-04 20:06:16 UTC (rev 
368136)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-05-30 Thread Christian Hesse via arch-commits
Date: Wednesday, May 30, 2018 @ 21:55:32
  Author: eworm
Revision: 333544

archrelease: copy trunk to community-staging-x86_64

Added:
  r8168-lts/repos/community-staging-x86_64/
  r8168-lts/repos/community-staging-x86_64/PKGBUILD
(from rev 333543, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-staging-x86_64/r8168-lts.install
(from rev 333543, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-staging-x86_64/PKGBUILD (from rev 333543, 
r8168-lts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-30 21:55:32 UTC (rev 333544)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=18
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.39" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.39" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-staging-x86_64/r8168-lts.install (from rev 
333543, r8168-lts/trunk/r8168-lts.install)
===
--- community-staging-x86_64/r8168-lts.install  (rev 0)
+++ community-staging-x86_64/r8168-lts.install  2018-05-30 21:55:32 UTC (rev 
333544)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:15:13
  Author: eworm
Revision: 332427

archrelease: copy trunk to community-staging-x86_64

Added:
  r8168-lts/repos/community-staging-x86_64/
  r8168-lts/repos/community-staging-x86_64/PKGBUILD
(from rev 332426, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-staging-x86_64/r8168-lts.install
(from rev 332426, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-staging-x86_64/PKGBUILD (from rev 332426, 
r8168-lts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:15:13 UTC (rev 332427)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=17
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.39" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.39" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-staging-x86_64/r8168-lts.install (from rev 
332426, r8168-lts/trunk/r8168-lts.install)
===
--- community-staging-x86_64/r8168-lts.install  (rev 0)
+++ community-staging-x86_64/r8168-lts.install  2018-05-28 11:15:13 UTC (rev 
332427)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-05-05 Thread Andreas Radke via arch-commits
Date: Saturday, May 5, 2018 @ 18:34:31
  Author: andyrtr
Revision: 318985

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 318984, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 318984, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 318984, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-05-05 18:34:31 UTC (rev 318985)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=16
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.39" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.39" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
318984, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-05-05 18:34:31 UTC (rev 
318985)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.14-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-04-24 Thread Andreas Radke via arch-commits
Date: Tuesday, April 24, 2018 @ 17:45:56
  Author: andyrtr
Revision: 317604

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 317603, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 317603, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 317603, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-04-24 17:45:56 UTC (rev 317604)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=15
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.36" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.36" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
317603, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-04-24 17:45:56 UTC (rev 
317604)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.14-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-03-06 Thread Andreas Radke via arch-commits
Date: Tuesday, March 6, 2018 @ 16:47:10
  Author: andyrtr
Revision: 303149

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 303147, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 303147, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 303147, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-06 16:47:10 UTC (rev 303149)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=14
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.24" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.24" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
303147, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-03-06 16:47:10 UTC (rev 
303149)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.14-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-02-23 Thread Andreas Radke via arch-commits
Date: Friday, February 23, 2018 @ 18:49:37
  Author: andyrtr
Revision: 297248

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 297247, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 297247, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 297247, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-02-23 18:49:37 UTC (rev 297248)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=13
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.21" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.21" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
297247, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-02-23 18:49:37 UTC (rev 
297248)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.14-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-02-08 Thread Andreas Radke via arch-commits
Date: Thursday, February 8, 2018 @ 15:15:31
  Author: andyrtr
Revision: 290302

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 290301, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 290301, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 290301, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-02-08 15:15:31 UTC (rev 290302)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=12
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.18" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.18" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
290301, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-02-08 15:15:31 UTC (rev 
290302)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.14-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-01-31 Thread Andreas Radke via arch-commits
Date: Wednesday, January 31, 2018 @ 10:30:06
  Author: andyrtr
Revision: 288374

archrelease: copy trunk to community-staging-x86_64

Added:
  r8168-lts/repos/community-staging-x86_64/
  r8168-lts/repos/community-staging-x86_64/PKGBUILD
(from rev 288373, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-staging-x86_64/r8168-lts.install
(from rev 288373, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-staging-x86_64/PKGBUILD (from rev 288373, 
r8168-lts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-01-31 10:30:06 UTC (rev 288374)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=10
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.15" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.15" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-staging-x86_64/r8168-lts.install (from rev 
288373, r8168-lts/trunk/r8168-lts.install)
===
--- community-staging-x86_64/r8168-lts.install  (rev 0)
+++ community-staging-x86_64/r8168-lts.install  2018-01-31 10:30:06 UTC (rev 
288374)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.14-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-01-23 Thread Andreas Radke via arch-commits
Date: Tuesday, January 23, 2018 @ 20:59:35
  Author: andyrtr
Revision: 286111

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 286110, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 286110, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 286110, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-01-23 20:59:35 UTC (rev 286111)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=9
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.9.78" "linux-lts<4.10")
+makedepends=("linux-lts-headers>=4.9.78" "linux-lts-headers<4.10")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.9-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
286110, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-01-23 20:59:35 UTC (rev 
286111)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.9-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-01-17 Thread Andreas Radke via arch-commits
Date: Wednesday, January 17, 2018 @ 12:51:26
  Author: andyrtr
Revision: 283652

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 283651, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 283651, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 283651, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-01-17 12:51:26 UTC (rev 283652)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=8
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.9.77" "linux-lts<4.10")
+makedepends=("linux-lts-headers>=4.9.77" "linux-lts-headers<4.10")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.9-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
283651, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-01-17 12:51:26 UTC (rev 
283652)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.9-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2018-01-05 Thread Andreas Radke via arch-commits
Date: Friday, January 5, 2018 @ 21:00:11
  Author: andyrtr
Revision: 279340

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 279339, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 279339, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 279339, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-01-05 21:00:11 UTC (rev 279340)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=7
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.9.75" "linux-lts<4.10")
+makedepends=("linux-lts-headers>=4.9.75" "linux-lts-headers<4.10")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.9-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
279339, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2018-01-05 21:00:11 UTC (rev 
279340)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.9-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2017-12-14 Thread Andreas Radke via arch-commits
Date: Thursday, December 14, 2017 @ 19:35:23
  Author: andyrtr
Revision: 274437

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 274436, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 274436, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 274436, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-12-14 19:35:23 UTC (rev 274437)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=6
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.9.69" "linux-lts<4.10")
+makedepends=("linux-lts-headers>=4.9.69" "linux-lts-headers<4.10")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.9-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
274436, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2017-12-14 19:35:23 UTC (rev 
274437)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.9-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2017-12-05 Thread Andreas Radke via arch-commits
Date: Tuesday, December 5, 2017 @ 16:47:51
  Author: andyrtr
Revision: 272252

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 272251, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 272251, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 272251, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-12-05 16:47:51 UTC (rev 272252)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=5
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.9.67" "linux-lts<4.10")
+makedepends=("linux-lts-headers>=4.9.67" "linux-lts-headers<4.10")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.9-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
272251, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2017-12-05 16:47:51 UTC (rev 
272252)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.9-lts'
+   depmod $(cat /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
+}


[arch-commits] Commit in r8168-lts/repos (3 files)

2017-11-15 Thread Andreas Radke
Date: Wednesday, November 15, 2017 @ 17:20:15
  Author: andyrtr
Revision: 266896

archrelease: copy trunk to community-testing-x86_64

Added:
  r8168-lts/repos/community-testing-x86_64/
  r8168-lts/repos/community-testing-x86_64/PKGBUILD
(from rev 266895, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-testing-x86_64/r8168-lts.install
(from rev 266895, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |   17 +
 2 files changed, 50 insertions(+)

Copied: r8168-lts/repos/community-testing-x86_64/PKGBUILD (from rev 266895, 
r8168-lts/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-11-15 17:20:15 UTC (rev 266896)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=4
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw;
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.9.62" "linux-lts<4.10")
+makedepends=("linux-lts-headers>=4.9.62" "linux-lts-headers<4.10")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.9-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-testing-x86_64/r8168-lts.install (from rev 
266895, r8168-lts/trunk/r8168-lts.install)
===
--- community-testing-x86_64/r8168-lts.install  (rev 0)
+++ community-testing-x86_64/r8168-lts.install  2017-11-15 17:20:15 UTC (rev 
266896)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+   EXTRAMODULES='extramodules-4.9-lts'
+   depmod $(cat /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
+}