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

Tobias Powalowski tpowa at archlinux.org
Thu Sep 28 06:19:22 UTC 2017


    Date: Thursday, September 28, 2017 @ 06:19:20
  Author: tpowa
Revision: 260731

db-move: moved r8168 from [community-testing] to [community] (i686, x86_64)

Added:
  r8168/repos/community-i686/PKGBUILD
    (from rev 260730, r8168/repos/community-testing-i686/PKGBUILD)
  r8168/repos/community-i686/linux-4.11.patch
    (from rev 260730, r8168/repos/community-testing-i686/linux-4.11.patch)
  r8168/repos/community-i686/r8168.install
    (from rev 260730, r8168/repos/community-testing-i686/r8168.install)
  r8168/repos/community-x86_64/PKGBUILD
    (from rev 260730, r8168/repos/community-testing-x86_64/PKGBUILD)
  r8168/repos/community-x86_64/linux-4.11.patch
    (from rev 260730, r8168/repos/community-testing-x86_64/linux-4.11.patch)
  r8168/repos/community-x86_64/r8168.install
    (from rev 260730, r8168/repos/community-testing-x86_64/r8168.install)
Deleted:
  r8168/repos/community-i686/PKGBUILD
  r8168/repos/community-i686/linux-4.11.patch
  r8168/repos/community-i686/r8168.install
  r8168/repos/community-testing-i686/
  r8168/repos/community-testing-x86_64/
  r8168/repos/community-x86_64/PKGBUILD
  r8168/repos/community-x86_64/linux-4.11.patch
  r8168/repos/community-x86_64/r8168.install

-----------------------------------+
 /PKGBUILD                         |   88 ++++++++++++++++++++++++++++++++++++
 /linux-4.11.patch                 |   28 +++++++++++
 /r8168.install                    |   34 +++++++++++++
 community-i686/PKGBUILD           |   44 ------------------
 community-i686/linux-4.11.patch   |   14 -----
 community-i686/r8168.install      |   17 ------
 community-x86_64/PKGBUILD         |   44 ------------------
 community-x86_64/linux-4.11.patch |   14 -----
 community-x86_64/r8168.install    |   17 ------
 9 files changed, 150 insertions(+), 150 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-09-28 06:19:16 UTC (rev 260730)
+++ community-i686/PKGBUILD	2017-09-28 06:19:20 UTC (rev 260731)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Bob Fanger < bfanger(at)gmail >
-# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
-
-pkgname=r8168
-pkgver=8.045.08
-pkgrel=1
-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=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
-
-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-i686/PKGBUILD (from rev 260730, r8168/repos/community-testing-i686/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-09-28 06:19:20 UTC (rev 260731)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Bob Fanger < bfanger(at)gmail >
+# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
+
+pkgname=r8168
+pkgver=8.045.08
+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=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+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"
+}

Deleted: community-i686/linux-4.11.patch
===================================================================
--- community-i686/linux-4.11.patch	2017-09-28 06:19:16 UTC (rev 260730)
+++ community-i686/linux-4.11.patch	2017-09-28 06:19:20 UTC (rev 260731)
@@ -1,14 +0,0 @@
-diff --git a/src/r8168_n.c b/src/r8168_n.c
-index 3c5a7e7..e2026bb 100755
---- a/src/r8168_n.c
-+++ b/src/r8168_n.c
-@@ -25732,7 +25732,9 @@ process_pkt:
-                         if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
-                                 rtl8168_rx_skb(tp, skb);
- 
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
-                         dev->last_rx = jiffies;
-+#endif
-                         RTLDEV->stats.rx_bytes += pkt_size;
-                         RTLDEV->stats.rx_packets++;
-                 }

Copied: r8168/repos/community-i686/linux-4.11.patch (from rev 260730, r8168/repos/community-testing-i686/linux-4.11.patch)
===================================================================
--- community-i686/linux-4.11.patch	                        (rev 0)
+++ community-i686/linux-4.11.patch	2017-09-28 06:19:20 UTC (rev 260731)
@@ -0,0 +1,14 @@
+diff --git a/src/r8168_n.c b/src/r8168_n.c
+index 3c5a7e7..e2026bb 100755
+--- a/src/r8168_n.c
++++ b/src/r8168_n.c
+@@ -25732,7 +25732,9 @@ process_pkt:
+                         if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
+                                 rtl8168_rx_skb(tp, skb);
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+                         dev->last_rx = jiffies;
++#endif
+                         RTLDEV->stats.rx_bytes += pkt_size;
+                         RTLDEV->stats.rx_packets++;
+                 }

Deleted: community-i686/r8168.install
===================================================================
--- community-i686/r8168.install	2017-09-28 06:19:16 UTC (rev 260730)
+++ community-i686/r8168.install	2017-09-28 06:19:20 UTC (rev 260731)
@@ -1,17 +0,0 @@
-rebuild_module_dependencies() {
-	EXTRAMODULES='extramodules-4.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-i686/r8168.install (from rev 260730, r8168/repos/community-testing-i686/r8168.install)
===================================================================
--- community-i686/r8168.install	                        (rev 0)
+++ community-i686/r8168.install	2017-09-28 06:19:20 UTC (rev 260731)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+	EXTRAMODULES='extramodules-4.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
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-09-28 06:19:16 UTC (rev 260730)
+++ community-x86_64/PKGBUILD	2017-09-28 06:19:20 UTC (rev 260731)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Bob Fanger < bfanger(at)gmail >
-# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
-
-pkgname=r8168
-pkgver=8.045.08
-pkgrel=1
-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=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
-
-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-x86_64/PKGBUILD (from rev 260730, r8168/repos/community-testing-x86_64/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-09-28 06:19:20 UTC (rev 260731)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Bob Fanger < bfanger(at)gmail >
+# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
+
+pkgname=r8168
+pkgver=8.045.08
+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=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+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"
+}

Deleted: community-x86_64/linux-4.11.patch
===================================================================
--- community-x86_64/linux-4.11.patch	2017-09-28 06:19:16 UTC (rev 260730)
+++ community-x86_64/linux-4.11.patch	2017-09-28 06:19:20 UTC (rev 260731)
@@ -1,14 +0,0 @@
-diff --git a/src/r8168_n.c b/src/r8168_n.c
-index 3c5a7e7..e2026bb 100755
---- a/src/r8168_n.c
-+++ b/src/r8168_n.c
-@@ -25732,7 +25732,9 @@ process_pkt:
-                         if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
-                                 rtl8168_rx_skb(tp, skb);
- 
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
-                         dev->last_rx = jiffies;
-+#endif
-                         RTLDEV->stats.rx_bytes += pkt_size;
-                         RTLDEV->stats.rx_packets++;
-                 }

Copied: r8168/repos/community-x86_64/linux-4.11.patch (from rev 260730, r8168/repos/community-testing-x86_64/linux-4.11.patch)
===================================================================
--- community-x86_64/linux-4.11.patch	                        (rev 0)
+++ community-x86_64/linux-4.11.patch	2017-09-28 06:19:20 UTC (rev 260731)
@@ -0,0 +1,14 @@
+diff --git a/src/r8168_n.c b/src/r8168_n.c
+index 3c5a7e7..e2026bb 100755
+--- a/src/r8168_n.c
++++ b/src/r8168_n.c
+@@ -25732,7 +25732,9 @@ process_pkt:
+                         if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
+                                 rtl8168_rx_skb(tp, skb);
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+                         dev->last_rx = jiffies;
++#endif
+                         RTLDEV->stats.rx_bytes += pkt_size;
+                         RTLDEV->stats.rx_packets++;
+                 }

Deleted: community-x86_64/r8168.install
===================================================================
--- community-x86_64/r8168.install	2017-09-28 06:19:16 UTC (rev 260730)
+++ community-x86_64/r8168.install	2017-09-28 06:19:20 UTC (rev 260731)
@@ -1,17 +0,0 @@
-rebuild_module_dependencies() {
-	EXTRAMODULES='extramodules-4.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-x86_64/r8168.install (from rev 260730, r8168/repos/community-testing-x86_64/r8168.install)
===================================================================
--- community-x86_64/r8168.install	                        (rev 0)
+++ community-x86_64/r8168.install	2017-09-28 06:19:20 UTC (rev 260731)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+	EXTRAMODULES='extramodules-4.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
+}



More information about the arch-commits mailing list