Date: Saturday, April 7, 2018 @ 20:22:10
  Author: foutrelis
Revision: 314913

archrelease: copy trunk to community-testing-x86_64

Added:
  virtualbox-modules-arch/repos/community-testing-x86_64/PKGBUILD
    (from rev 314912, virtualbox-modules-arch/trunk/PKGBUILD)
Deleted:
  virtualbox-modules-arch/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  136 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 62 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-07 20:22:03 UTC (rev 314912)
+++ PKGBUILD    2018-04-07 20:22:10 UTC (rev 314913)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: S├ębastien Luttringer
-# Contributor: Ionut Biru <ib...@archlinux.org>
-
-pkgbase=virtualbox-modules-arch
-pkgname=('virtualbox-host-modules-arch' 'virtualbox-guest-modules-arch')
-pkgver=5.2.8
-pkgrel=13
-_linux_major=4
-_linux_minor=16
-arch=('x86_64')
-url='http://virtualbox.org'
-license=('GPL')
-makedepends=("linux>=${_linux_major}.${_linux_minor}"
-             "linux<${_linux_major}.$((_linux_minor+1))"
-             "linux-headers>=${_linux_major}.${_linux_minor}"
-             "linux-headers<${_linux_major}.$((_linux_minor+1))"
-             "virtualbox-host-dkms>=$pkgver"
-             'git')
-
-# We need to build a modified version of vboxsf for Linux 4.16. Once
-# Linux 4.17 is out, we should remove virtualbox-guest-modules-arch.
-# https://bugzilla.redhat.com/show_bug.cgi?id=1481630#c65
-_vboxsf_commit=6a782003ad95a383c8b19b570a532271f090ad35
-source=("git+https://github.com/jwrdegoede/vboxsf#commit=$_vboxsf_commit";)
-sha256sums=('SKIP')
-
-_extramodules=extramodules-${_linux_major}.${_linux_minor}-ARCH
-
-build() {
-  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
-  cd vboxsf
-  make BUILDDIR=/usr/lib/modules/$_kernver/build
-}
-
-package_virtualbox-host-modules-arch(){
-  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
-  pkgdesc='Virtualbox host kernel modules for Arch Kernel'
-  depends=("linux>=${_linux_major}.${_linux_minor}"
-           "linux<${_linux_major}.$((_linux_minor+1))")
-  replaces=('virtualbox-modules' 'virtualbox-host-modules')
-  conflicts=('virtualbox-modules' 'virtualbox-host-modules'
-                        'virtualbox-host-dkms')
-  provides=('VIRTUALBOX-HOST-MODULES')
-
-  cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module"
-  install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *
-
-  # compress each module individually
-  find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
-
-  # systemd module loading
-  printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" |
-    install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
-}
-
-package_virtualbox-guest-modules-arch(){
-  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
-  pkgdesc='Virtualbox guest kernel modules for Arch Kernel'
-  license=('GPL')
-  depends=("linux>=${_linux_major}.${_linux_minor}"
-           "linux<${_linux_major}.$((_linux_minor+1))")
-  replaces=('virtualbox-archlinux-modules' 'virtualbox-guest-modules')
-  conflicts=('virtualbox-archlinux-modules' 'virtualbox-guest-modules'
-             'virtualbox-guest-dkms')
-  provides=('VIRTUALBOX-GUEST-MODULES')
-
-  install -Dm644 -t "$pkgdir/usr/lib/modules/$_extramodules" vboxsf/vboxsf.ko
-
-  # compress each module individually
-  find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
-}
-
-# vim:set ts=2 sw=2 et:

Copied: virtualbox-modules-arch/repos/community-testing-x86_64/PKGBUILD (from 
rev 314912, virtualbox-modules-arch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-07 20:22:10 UTC (rev 314913)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: S├ębastien Luttringer
+# Contributor: Ionut Biru <ib...@archlinux.org>
+
+pkgbase=virtualbox-modules-arch
+pkgname=('virtualbox-host-modules-arch' 'virtualbox-guest-modules-arch')
+pkgver=5.2.8
+pkgrel=14
+_linux_major=4
+_linux_minor=16
+arch=('x86_64')
+url='http://virtualbox.org'
+license=('GPL')
+makedepends=("linux>=${_linux_major}.${_linux_minor}"
+             "linux<${_linux_major}.$((_linux_minor+1))"
+             "linux-headers>=${_linux_major}.${_linux_minor}"
+             "linux-headers<${_linux_major}.$((_linux_minor+1))"
+             "virtualbox-host-dkms>=$pkgver"
+             "virtualbox-guest-dkms>=$pkgver")
+
+_extramodules=extramodules-${_linux_major}.${_linux_minor}-ARCH
+
+package_virtualbox-host-modules-arch(){
+  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+  pkgdesc='Virtualbox host kernel modules for Arch Kernel'
+  depends=("linux>=${_linux_major}.${_linux_minor}"
+           "linux<${_linux_major}.$((_linux_minor+1))")
+  replaces=('virtualbox-modules' 'virtualbox-host-modules')
+  conflicts=('virtualbox-modules' 'virtualbox-host-modules'
+                        'virtualbox-host-dkms')
+  provides=('VIRTUALBOX-HOST-MODULES')
+
+  cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module"
+  install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *
+
+  # compress each module individually
+  find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
+
+  # systemd module loading
+  printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+}
+
+package_virtualbox-guest-modules-arch(){
+  _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+  pkgdesc='Virtualbox guest kernel modules for Arch Kernel'
+  license=('GPL')
+  depends=("linux>=${_linux_major}.${_linux_minor}"
+           "linux<${_linux_major}.$((_linux_minor+1))")
+  replaces=('virtualbox-archlinux-modules' 'virtualbox-guest-modules')
+  conflicts=('virtualbox-archlinux-modules' 'virtualbox-guest-modules'
+             'virtualbox-guest-dkms')
+  provides=('VIRTUALBOX-GUEST-MODULES')
+
+  cd "/var/lib/dkms/vboxsf-4.16/${pkgver}_OSE/$_kernver/$CARCH/module"
+  install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *
+
+  # compress each module individually
+  find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to