Date: Monday, July 1, 2013 @ 11:17:19 Author: mtorromeo Revision: 93305
archrelease: copy trunk to community-i686, community-x86_64 Added: r8168/repos/community-i686/PKGBUILD (from rev 93304, r8168/trunk/PKGBUILD) r8168/repos/community-i686/r8168.install (from rev 93304, r8168/trunk/r8168.install) r8168/repos/community-x86_64/PKGBUILD (from rev 93304, r8168/trunk/PKGBUILD) r8168/repos/community-x86_64/r8168.install (from rev 93304, r8168/trunk/r8168.install) Deleted: r8168/repos/community-i686/PKGBUILD r8168/repos/community-i686/linux-3.8.patch r8168/repos/community-i686/r8168.install r8168/repos/community-x86_64/PKGBUILD r8168/repos/community-x86_64/linux-3.8.patch r8168/repos/community-x86_64/r8168.install ----------------------------------+ /PKGBUILD | 90 +++++++++++++++++++++++++++++++++++++ /r8168.install | 34 +++++++++++++ community-i686/PKGBUILD | 49 -------------------- community-i686/linux-3.8.patch | 48 ------------------- community-i686/r8168.install | 17 ------ community-x86_64/PKGBUILD | 49 -------------------- community-x86_64/linux-3.8.patch | 48 ------------------- community-x86_64/r8168.install | 17 ------ 8 files changed, 124 insertions(+), 228 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-07-01 09:14:20 UTC (rev 93304) +++ community-i686/PKGBUILD 2013-07-01 09:17:19 UTC (rev 93305) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Bob Fanger < bfanger(at)gmail > -# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail > - -pkgname=r8168 -pkgver=8.035.00 -pkgrel=16 -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 - linux-3.8.patch) -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" - - patch -Np1 -i "$srcdir/linux-3.8.patch" - - # 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' - 'fcf49d6147a7db3e739e6798b41230c13403cdba8ef8db93e7691c4c1e4617c3') Copied: r8168/repos/community-i686/PKGBUILD (from rev 93304, r8168/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-07-01 09:17:19 UTC (rev 93305) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.036.00 +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') +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=('937fd5d7d4cbfc95cf2859d8c3beb15a8536dc4e41752f7a53f2a25f07cdcd33') Deleted: community-i686/linux-3.8.patch =================================================================== --- community-i686/linux-3.8.patch 2013-07-01 09:14:20 UTC (rev 93304) +++ community-i686/linux-3.8.patch 2013-07-01 09:17:19 UTC (rev 93305) @@ -1,48 +0,0 @@ -diff -upr r8168-8.035.00.orig/src/r8168_n.c r8168-8.035.00/src/r8168_n.c ---- r8168-8.035.00.orig/src/r8168_n.c 2013-02-21 03:31:04.000000000 +0200 -+++ r8168-8.035.00/src/r8168_n.c 2013-02-21 03:31:56.000000000 +0200 -@@ -14541,7 +14541,7 @@ rtl8168_phy_power_down (struct net_devic - spin_unlock_irqrestore(&tp->phy_lock, flags); - } - --static int __devinit -+static int - rtl8168_init_board(struct pci_dev *pdev, - struct net_device **dev_out, - void __iomem **ioaddr_out) -@@ -14711,7 +14711,7 @@ err_out: - goto out; - } - --static void __devinit -+static void - rtl8168_init_sequence(struct rtl8168_private *tp) - { - void __iomem *ioaddr = tp->mmio_addr; -@@ -14964,7 +14964,7 @@ static const struct net_device_ops rtl81 - }; - #endif - --static int __devinit -+static int - rtl8168_init_one(struct pci_dev *pdev, - const struct pci_device_id *ent) - { -@@ -15128,7 +15128,7 @@ rtl8168_init_one(struct pci_dev *pdev, - return 0; - } - --static void __devexit -+static void - rtl8168_remove_one(struct pci_dev *pdev) - { - struct net_device *dev = pci_get_drvdata(pdev); -@@ -17649,7 +17649,7 @@ static struct pci_driver rtl8168_pci_dri - .name = MODULENAME, - .id_table = rtl8168_pci_tbl, - .probe = rtl8168_init_one, -- .remove = __devexit_p(rtl8168_remove_one), -+ .remove = rtl8168_remove_one, - #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,11) - .shutdown = rtl8168_shutdown, - #endif Deleted: community-i686/r8168.install =================================================================== --- community-i686/r8168.install 2013-07-01 09:14:20 UTC (rev 93304) +++ community-i686/r8168.install 2013-07-01 09:17:19 UTC (rev 93305) @@ -1,17 +0,0 @@ -rebuild_module_dependencies() { - EXTRAMODULES='extramodules-3.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-i686/r8168.install (from rev 93304, r8168/trunk/r8168.install) =================================================================== --- community-i686/r8168.install (rev 0) +++ community-i686/r8168.install 2013-07-01 09:17:19 UTC (rev 93305) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.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 +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-07-01 09:14:20 UTC (rev 93304) +++ community-x86_64/PKGBUILD 2013-07-01 09:17:19 UTC (rev 93305) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Bob Fanger < bfanger(at)gmail > -# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail > - -pkgname=r8168 -pkgver=8.035.00 -pkgrel=16 -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 - linux-3.8.patch) -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" - - patch -Np1 -i "$srcdir/linux-3.8.patch" - - # 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' - 'fcf49d6147a7db3e739e6798b41230c13403cdba8ef8db93e7691c4c1e4617c3') Copied: r8168/repos/community-x86_64/PKGBUILD (from rev 93304, r8168/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-07-01 09:17:19 UTC (rev 93305) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Bob Fanger < bfanger(at)gmail > +# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail > + +pkgname=r8168 +pkgver=8.036.00 +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') +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=('937fd5d7d4cbfc95cf2859d8c3beb15a8536dc4e41752f7a53f2a25f07cdcd33') Deleted: community-x86_64/linux-3.8.patch =================================================================== --- community-x86_64/linux-3.8.patch 2013-07-01 09:14:20 UTC (rev 93304) +++ community-x86_64/linux-3.8.patch 2013-07-01 09:17:19 UTC (rev 93305) @@ -1,48 +0,0 @@ -diff -upr r8168-8.035.00.orig/src/r8168_n.c r8168-8.035.00/src/r8168_n.c ---- r8168-8.035.00.orig/src/r8168_n.c 2013-02-21 03:31:04.000000000 +0200 -+++ r8168-8.035.00/src/r8168_n.c 2013-02-21 03:31:56.000000000 +0200 -@@ -14541,7 +14541,7 @@ rtl8168_phy_power_down (struct net_devic - spin_unlock_irqrestore(&tp->phy_lock, flags); - } - --static int __devinit -+static int - rtl8168_init_board(struct pci_dev *pdev, - struct net_device **dev_out, - void __iomem **ioaddr_out) -@@ -14711,7 +14711,7 @@ err_out: - goto out; - } - --static void __devinit -+static void - rtl8168_init_sequence(struct rtl8168_private *tp) - { - void __iomem *ioaddr = tp->mmio_addr; -@@ -14964,7 +14964,7 @@ static const struct net_device_ops rtl81 - }; - #endif - --static int __devinit -+static int - rtl8168_init_one(struct pci_dev *pdev, - const struct pci_device_id *ent) - { -@@ -15128,7 +15128,7 @@ rtl8168_init_one(struct pci_dev *pdev, - return 0; - } - --static void __devexit -+static void - rtl8168_remove_one(struct pci_dev *pdev) - { - struct net_device *dev = pci_get_drvdata(pdev); -@@ -17649,7 +17649,7 @@ static struct pci_driver rtl8168_pci_dri - .name = MODULENAME, - .id_table = rtl8168_pci_tbl, - .probe = rtl8168_init_one, -- .remove = __devexit_p(rtl8168_remove_one), -+ .remove = rtl8168_remove_one, - #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,11) - .shutdown = rtl8168_shutdown, - #endif Deleted: community-x86_64/r8168.install =================================================================== --- community-x86_64/r8168.install 2013-07-01 09:14:20 UTC (rev 93304) +++ community-x86_64/r8168.install 2013-07-01 09:17:19 UTC (rev 93305) @@ -1,17 +0,0 @@ -rebuild_module_dependencies() { - EXTRAMODULES='extramodules-3.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-x86_64/r8168.install (from rev 93304, r8168/trunk/r8168.install) =================================================================== --- community-x86_64/r8168.install (rev 0) +++ community-x86_64/r8168.install 2013-07-01 09:17:19 UTC (rev 93305) @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-3.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 +}