[arch-commits] Commit in ndiswrapper/repos (6 files)

2018-12-30 Thread Felix Yan via arch-commits
Date: Sunday, December 30, 2018 @ 09:12:15
  Author: felixonmars
Revision: 418970

archrelease: copy trunk to community-testing-x86_64

Added:
  ndiswrapper/repos/community-testing-x86_64/
  ndiswrapper/repos/community-testing-x86_64/PKGBUILD
(from rev 418969, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-x86_64/dkms.conf
(from rev 418969, ndiswrapper/trunk/dkms.conf)
  ndiswrapper/repos/community-testing-x86_64/linux-4.11.patch
(from rev 418969, ndiswrapper/trunk/linux-4.11.patch)
  ndiswrapper/repos/community-testing-x86_64/linux-4.13.patch
(from rev 418969, ndiswrapper/trunk/linux-4.13.patch)
  ndiswrapper/repos/community-testing-x86_64/linux-4.15.patch
(from rev 418969, ndiswrapper/trunk/linux-4.15.patch)

--+
 PKGBUILD |   66 +
 dkms.conf|   24 ++
 linux-4.11.patch |   55 ++
 linux-4.13.patch |   27 +++
 linux-4.15.patch |  199 +
 5 files changed, 371 insertions(+)

Copied: ndiswrapper/repos/community-testing-x86_64/PKGBUILD (from rev 418969, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-12-30 09:12:15 UTC (rev 418970)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+# Contributor: maz-1 
+
+pkgbase=ndiswrapper
+pkgname=(ndiswrapper-module ndiswrapper-dkms ndiswrapper)
+pkgver=1.61
+_extramodules=extramodules-ARCH
+pkgrel=6
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors"
+arch=('x86_64')
+url="http://sourceforge.net/projects/ndiswrapper/";
+license=('GPL')
+makedepends=('linux>=4.20' 'linux-headers>=4.20')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pgiri/ndiswrapper/archive/v$pkgver.tar.gz";
+'dkms.conf' 'linux-4.11.patch' 'linux-4.13.patch' 'linux-4.15.patch')
+sha512sums=('85f550f2952137529e0e9855f4d94b7bbc64cbf8a84a31c1b75a4be09d97478a997e64fa6e1ff4e0d29a97a79fc3d4dab1ebdaa9edb3d627a215f47aa4d52823'
+
'9fce255fc02ddf6e939dc61a5e29c0ea5fa1a31ecc3c390081bc53aa1cd48eddf5db621f0a1cb909634529d4ccc2995eea8827be8eb5807b34dc17e15045ecf4'
+
'5350308406457658fb31c378d6f3dd2a34c7331aebe5bdc80744bf955f1144e88181441704ccc7532f55d6fbe8d410440fb8838c2955d688dde4b55f74fc6ba5'
+
'de026a271cbfbefee99bc00a13c50be87294e5e2c5407d23cff6ce2d2a0c853542ce4f7e3e150741c7e8e32466fb1ab7cab266957da5bcca8376fb0f38e94482'
+
'52bd3d2025ffb8a3f6a4a1a1fee1b87d3811f30a210a54aaa7b37838eb256cd766bc1aeda24e4b4f4829992584931ecd97a042794c9b854bd1ebbf452dce2abf')
+
+prepare() {
+  cd ndiswrapper-$pkgver
+  patch --no-backup-if-mismatch -p1 -i "$srcdir"/linux-4.11.patch
+  patch --no-backup-if-mismatch -p1 -i "$srcdir"/linux-4.13.patch
+
+  cd ndiswrapper
+  patch --no-backup-if-mismatch -p1 -i "$srcdir"/linux-4.15.patch
+
+  cp -a driver driver-dkms
+}
+
+build() {
+  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+
+  cd ndiswrapper-$pkgver/ndiswrapper
+  make -C utils
+  make -C driver KVERS_UNAME="$_kernver"
+}
+
+package_ndiswrapper-module() {
+  depends=('linux>=4.20' 'linux<4.21')
+
+  cd ndiswrapper-$pkgver/ndiswrapper/driver
+  install -dm 755 "$pkgdir"/usr/lib/{modules/$_extramodules,modules-load.d}
+  install -m 644 ${pkgname%-*}.ko "$pkgdir"/usr/lib/modules/$_extramodules/
+  gzip "$pkgdir"/usr/lib/modules/$_extramodules/${pkgname%-*}.ko
+}
+
+package_ndiswrapper-dkms() {
+  depends=('dkms')
+  provides=('ndiswrapper-module')
+  conflicts=('ndiswrapper-module')
+
+  cd ndiswrapper-$pkgver/ndiswrapper
+  mkdir -p "$pkgdir"/usr/src
+  cp -RL ./driver-dkms "$pkgdir"/usr/src/ndiswrapper-$pkgver
+  cp "$srcdir"/dkms.conf "$pkgdir"/usr/src/ndiswrapper-$pkgver
+}
+
+package_ndiswrapper() {
+  depends=('ndiswrapper-module')
+
+  cd ndiswrapper-$pkgver/ndiswrapper
+  make -C utils sbindir=/usr/bin usrsbindir=/usr/bin DESTDIR="$pkgdir" install
+}

Copied: ndiswrapper/repos/community-testing-x86_64/dkms.conf (from rev 418969, 
ndiswrapper/trunk/dkms.conf)
===
--- community-testing-x86_64/dkms.conf  (rev 0)
+++ community-testing-x86_64/dkms.conf  2018-12-30 09:12:15 UTC (rev 418970)
@@ -0,0 +1,24 @@
+## @file
+# Linux DKMS config script for the VirtualBox guest kernel modules
+#
+
+#
+# Copyright (C) 2006-2010 Oracle Corporation
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License (GPL) as published by the Free Software
+# Foundation, in version 2 as it comes in the "COPYING" file of the
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+PACKAGE_NAME=

[arch-commits] Commit in ndiswrapper/repos (6 files)

2013-04-27 Thread Tobias Powalowski
Date: Saturday, April 27, 2013 @ 13:23:02
  Author: tpowa
Revision: 89148

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ndiswrapper/repos/community-testing-i686/
  ndiswrapper/repos/community-testing-i686/PKGBUILD
(from rev 89147, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-i686/ndiswrapper.install
(from rev 89147, ndiswrapper/trunk/ndiswrapper.install)
  ndiswrapper/repos/community-testing-x86_64/
  ndiswrapper/repos/community-testing-x86_64/PKGBUILD
(from rev 89147, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-x86_64/ndiswrapper.install
(from rev 89147, ndiswrapper/trunk/ndiswrapper.install)

--+
 community-testing-i686/PKGBUILD  |   48 +
 community-testing-i686/ndiswrapper.install   |   17 
 community-testing-x86_64/PKGBUILD|   48 +
 community-testing-x86_64/ndiswrapper.install |   17 
 4 files changed, 130 insertions(+)

Copied: ndiswrapper/repos/community-testing-i686/PKGBUILD (from rev 89147, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-27 11:23:02 UTC (rev 89148)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=7
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver DESTDIR="$pkgdir/" install
+
+  gzip "$pkgdir/usr/lib/modules/$_extramodules/$pkgname.ko"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-i686/ndiswrapper.install (from rev 
89147, ndiswrapper/trunk/ndiswrapper.install)
===
--- community-testing-i686/ndiswrapper.install  (rev 0)
+++ community-testing-i686/ndiswrapper.install  2013-04-27 11:23:02 UTC (rev 
89148)
@@ -0,0 +1,17 @@
+post_install()
+{
+  post_upgrade
+}
+
+post_upgrade()
+{
+  EXTRAMODULES='extramodules-3.8-ARCH'
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove()
+{
+  post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-x86_64/PKGBUILD (from rev 89147, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-27 11:23:02 UTC (rev 89148)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=7
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kve

[arch-commits] Commit in ndiswrapper/repos (6 files)

2013-04-22 Thread Tobias Powalowski
Date: Monday, April 22, 2013 @ 11:27:03
  Author: tpowa
Revision: 88748

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ndiswrapper/repos/community-testing-i686/
  ndiswrapper/repos/community-testing-i686/PKGBUILD
(from rev 88747, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-i686/ndiswrapper.install
(from rev 88747, ndiswrapper/trunk/ndiswrapper.install)
  ndiswrapper/repos/community-testing-x86_64/
  ndiswrapper/repos/community-testing-x86_64/PKGBUILD
(from rev 88747, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-x86_64/ndiswrapper.install
(from rev 88747, ndiswrapper/trunk/ndiswrapper.install)

--+
 community-testing-i686/PKGBUILD  |   48 +
 community-testing-i686/ndiswrapper.install   |   17 
 community-testing-x86_64/PKGBUILD|   48 +
 community-testing-x86_64/ndiswrapper.install |   17 
 4 files changed, 130 insertions(+)

Copied: ndiswrapper/repos/community-testing-i686/PKGBUILD (from rev 88747, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-22 09:27:03 UTC (rev 88748)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=6
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver DESTDIR="$pkgdir/" install
+
+  gzip "$pkgdir/usr/lib/modules/$_extramodules/$pkgname.ko"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-i686/ndiswrapper.install (from rev 
88747, ndiswrapper/trunk/ndiswrapper.install)
===
--- community-testing-i686/ndiswrapper.install  (rev 0)
+++ community-testing-i686/ndiswrapper.install  2013-04-22 09:27:03 UTC (rev 
88748)
@@ -0,0 +1,17 @@
+post_install()
+{
+  post_upgrade
+}
+
+post_upgrade()
+{
+  EXTRAMODULES='extramodules-3.8-ARCH'
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove()
+{
+  post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-x86_64/PKGBUILD (from rev 88747, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-22 09:27:03 UTC (rev 88748)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=6
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver 

[arch-commits] Commit in ndiswrapper/repos (6 files)

2013-04-06 Thread Tobias Powalowski
Date: Saturday, April 6, 2013 @ 11:30:38
  Author: tpowa
Revision: 87755

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ndiswrapper/repos/community-testing-i686/
  ndiswrapper/repos/community-testing-i686/PKGBUILD
(from rev 87754, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-i686/ndiswrapper.install
(from rev 87754, ndiswrapper/trunk/ndiswrapper.install)
  ndiswrapper/repos/community-testing-x86_64/
  ndiswrapper/repos/community-testing-x86_64/PKGBUILD
(from rev 87754, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-x86_64/ndiswrapper.install
(from rev 87754, ndiswrapper/trunk/ndiswrapper.install)

--+
 community-testing-i686/PKGBUILD  |   48 +
 community-testing-i686/ndiswrapper.install   |   17 
 community-testing-x86_64/PKGBUILD|   48 +
 community-testing-x86_64/ndiswrapper.install |   17 
 4 files changed, 130 insertions(+)

Copied: ndiswrapper/repos/community-testing-i686/PKGBUILD (from rev 87754, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-06 09:30:38 UTC (rev 87755)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=5
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver DESTDIR="$pkgdir/" install
+
+  gzip "$pkgdir/usr/lib/modules/$_extramodules/$pkgname.ko"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-i686/ndiswrapper.install (from rev 
87754, ndiswrapper/trunk/ndiswrapper.install)
===
--- community-testing-i686/ndiswrapper.install  (rev 0)
+++ community-testing-i686/ndiswrapper.install  2013-04-06 09:30:38 UTC (rev 
87755)
@@ -0,0 +1,17 @@
+post_install()
+{
+  post_upgrade
+}
+
+post_upgrade()
+{
+  EXTRAMODULES='extramodules-3.8-ARCH'
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove()
+{
+  post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-x86_64/PKGBUILD (from rev 87754, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-06 09:30:38 UTC (rev 87755)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=5
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver

[arch-commits] Commit in ndiswrapper/repos (6 files)

2013-03-30 Thread Evangelos Foutras
Date: Saturday, March 30, 2013 @ 12:08:20
  Author: foutrelis
Revision: 87365

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ndiswrapper/repos/community-testing-i686/
  ndiswrapper/repos/community-testing-i686/PKGBUILD
(from rev 87364, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-i686/ndiswrapper.install
(from rev 87364, ndiswrapper/trunk/ndiswrapper.install)
  ndiswrapper/repos/community-testing-x86_64/
  ndiswrapper/repos/community-testing-x86_64/PKGBUILD
(from rev 87364, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-testing-x86_64/ndiswrapper.install
(from rev 87364, ndiswrapper/trunk/ndiswrapper.install)

--+
 community-testing-i686/PKGBUILD  |   48 +
 community-testing-i686/ndiswrapper.install   |   17 
 community-testing-x86_64/PKGBUILD|   48 +
 community-testing-x86_64/ndiswrapper.install |   17 
 4 files changed, 130 insertions(+)

Copied: ndiswrapper/repos/community-testing-i686/PKGBUILD (from rev 87364, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-30 11:08:20 UTC (rev 87365)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=4
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver DESTDIR="$pkgdir/" install
+
+  gzip "$pkgdir/usr/lib/modules/$_extramodules/$pkgname.ko"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-i686/ndiswrapper.install (from rev 
87364, ndiswrapper/trunk/ndiswrapper.install)
===
--- community-testing-i686/ndiswrapper.install  (rev 0)
+++ community-testing-i686/ndiswrapper.install  2013-03-30 11:08:20 UTC (rev 
87365)
@@ -0,0 +1,17 @@
+post_install()
+{
+  post_upgrade
+}
+
+post_upgrade()
+{
+  EXTRAMODULES='extramodules-3.8-ARCH'
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove()
+{
+  post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-testing-x86_64/PKGBUILD (from rev 87364, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-03-30 11:08:20 UTC (rev 87365)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=4
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$

[arch-commits] Commit in ndiswrapper/repos (6 files)

2013-02-20 Thread Evangelos Foutras
Date: Thursday, February 21, 2013 @ 02:19:26
  Author: foutrelis
Revision: 84632

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ndiswrapper/repos/community-staging-i686/
  ndiswrapper/repos/community-staging-i686/PKGBUILD
(from rev 84631, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-staging-i686/ndiswrapper.install
(from rev 84631, ndiswrapper/trunk/ndiswrapper.install)
  ndiswrapper/repos/community-staging-x86_64/
  ndiswrapper/repos/community-staging-x86_64/PKGBUILD
(from rev 84631, ndiswrapper/trunk/PKGBUILD)
  ndiswrapper/repos/community-staging-x86_64/ndiswrapper.install
(from rev 84631, ndiswrapper/trunk/ndiswrapper.install)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/ndiswrapper.install   |   17 
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/ndiswrapper.install |   17 
 4 files changed, 130 insertions(+)

Copied: ndiswrapper/repos/community-staging-i686/PKGBUILD (from rev 84631, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-02-21 01:19:26 UTC (rev 84632)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=2
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVERS=$_kver DESTDIR="$pkgdir/" install
+
+  gzip "$pkgdir/usr/lib/modules/$_extramodules/$pkgname.ko"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-staging-i686/ndiswrapper.install (from rev 
84631, ndiswrapper/trunk/ndiswrapper.install)
===
--- community-staging-i686/ndiswrapper.install  (rev 0)
+++ community-staging-i686/ndiswrapper.install  2013-02-21 01:19:26 UTC (rev 
84632)
@@ -0,0 +1,17 @@
+post_install()
+{
+  post_upgrade
+}
+
+post_upgrade()
+{
+  EXTRAMODULES='extramodules-3.8-ARCH'
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove()
+{
+  post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ndiswrapper/repos/community-staging-x86_64/PKGBUILD (from rev 84631, 
ndiswrapper/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-02-21 01:19:26 UTC (rev 84632)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer:  Thorsten Töpper 
+# Contributor: SpepS 
+# Contributor: Tobias Powalowski 
+
+_extramodules=extramodules-3.8-ARCH
+pkgname=ndiswrapper
+pkgver=1.58
+pkgrel=2
+pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by 
vendors."
+license=('GPL')
+arch=('i686' 'x86_64')
+url="http://ndiswrapper.sourceforge.net";
+install=ndiswrapper.install
+depends=('linux>=3.8' 'linux<3.9' 'wireless_tools' 'perl')
+makedepends=('linux-headers')
+provides=("$pkgname-utils" "$pkgname-bin")
+replaces=("$pkgname-utils" "$pkgname-bin")
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
+options=('!strip')
+sha1sums=('a256812b3136648ed93e04146d2276a3ca70957c')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  # modinfo path fix
+  sed -i "/modinfo/s/s/usr\//" driver/Makefile
+
+  # make sure we point to the right build directory
+  sed -i "/^KBUILD/ s,.*,KBUILD = $(readlink -f 
/usr/lib/modules/$_kver/build)," driver/Makefile
+
+  make KVERS=$_kver
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  _kver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make INST_DIR="usr/lib/modules/$_extramodules" \
+KVER