Date: Saturday, August 12, 2017 @ 10:17:17
  Author: tpowa
Revision: 249996

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

Added:
  virtualbox-modules-arch/repos/community-testing-i686/
  virtualbox-modules-arch/repos/community-testing-i686/PKGBUILD
    (from rev 249995, virtualbox-modules-arch/trunk/PKGBUILD)
  
virtualbox-modules-arch/repos/community-testing-i686/virtualbox-modules-arch.install
    (from rev 249995, 
virtualbox-modules-arch/trunk/virtualbox-modules-arch.install)
  virtualbox-modules-arch/repos/community-testing-x86_64/
  virtualbox-modules-arch/repos/community-testing-x86_64/PKGBUILD
    (from rev 249995, virtualbox-modules-arch/trunk/PKGBUILD)
  
virtualbox-modules-arch/repos/community-testing-x86_64/virtualbox-modules-arch.install
    (from rev 249995, 
virtualbox-modules-arch/trunk/virtualbox-modules-arch.install)

----------------------------------------------------------+
 community-testing-i686/PKGBUILD                          |   80 +++++++++++++
 community-testing-i686/virtualbox-modules-arch.install   |   23 +++
 community-testing-x86_64/PKGBUILD                        |   80 +++++++++++++
 community-testing-x86_64/virtualbox-modules-arch.install |   23 +++
 4 files changed, 206 insertions(+)

Copied: virtualbox-modules-arch/repos/community-testing-i686/PKGBUILD (from rev 
249995, virtualbox-modules-arch/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2017-08-12 10:17:17 UTC (rev 249996)
@@ -0,0 +1,80 @@
+# $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.1.26
+pkgrel=4
+# remember to also adjust the .install file!
+_linux_major=4
+_linux_minor=12
+arch=('i686' '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')
+  install=virtualbox-modules-arch.install
+
+  cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module"
+  install -dm755 "$pkgdir/usr/lib/modules/$_extramodules/"
+  install -m644 * "$pkgdir/usr/lib/modules/$_extramodules/"
+
+  # compress earch modules individually
+  find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+
+  # systemd module loading
+  install -Dm644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+  printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" >  \
+    "$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=virtualbox-modules-arch.install
+
+  cd "/var/lib/dkms/vboxguest/${pkgver}_OSE/$_kernver/$CARCH/module"
+  install -dm755 "$pkgdir/usr/lib/modules/$_extramodules/"
+  install -m644 * "$pkgdir/usr/lib/modules/$_extramodules/"
+
+  # compress earch modules individually
+  find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+
+  # systemd module loading
+  install -Dm644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+  printf "vboxguest\nvboxsf\nvboxvideo\n" >  \
+    "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:
+
+
+
+
+
+
+

Copied: 
virtualbox-modules-arch/repos/community-testing-i686/virtualbox-modules-arch.install
 (from rev 249995, 
virtualbox-modules-arch/trunk/virtualbox-modules-arch.install)
===================================================================
--- community-testing-i686/virtualbox-modules-arch.install                      
        (rev 0)
+++ community-testing-i686/virtualbox-modules-arch.install      2017-08-12 
10:17:17 UTC (rev 249996)
@@ -0,0 +1,23 @@
+_depmod() {
+  EXTRAMODULES=extramodules-4.12-ARCH
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+  cat << EOF
+==> Virtualbox kernel modules will be loaded at boot time by 
systemd-modules-load.
+==> In order to use them right now, you may want to load them manually.
+==> Read modules-load.d man page to disable module boot loading.'
+EOF
+  _depmod
+}
+
+post_upgrade() {
+  _depmod
+}
+
+post_remove() {
+  _depmod
+}
+
+# vim:set ts=2 sw=2 et:

Copied: virtualbox-modules-arch/repos/community-testing-x86_64/PKGBUILD (from 
rev 249995, virtualbox-modules-arch/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-08-12 10:17:17 UTC (rev 249996)
@@ -0,0 +1,80 @@
+# $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.1.26
+pkgrel=4
+# remember to also adjust the .install file!
+_linux_major=4
+_linux_minor=12
+arch=('i686' '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')
+  install=virtualbox-modules-arch.install
+
+  cd "/var/lib/dkms/vboxhost/${pkgver}_OSE/$_kernver/$CARCH/module"
+  install -dm755 "$pkgdir/usr/lib/modules/$_extramodules/"
+  install -m644 * "$pkgdir/usr/lib/modules/$_extramodules/"
+
+  # compress earch modules individually
+  find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+
+  # systemd module loading
+  install -Dm644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+  printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" >  \
+    "$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=virtualbox-modules-arch.install
+
+  cd "/var/lib/dkms/vboxguest/${pkgver}_OSE/$_kernver/$CARCH/module"
+  install -dm755 "$pkgdir/usr/lib/modules/$_extramodules/"
+  install -m644 * "$pkgdir/usr/lib/modules/$_extramodules/"
+
+  # compress earch modules individually
+  find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+
+  # systemd module loading
+  install -Dm644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+  printf "vboxguest\nvboxsf\nvboxvideo\n" >  \
+    "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:
+
+
+
+
+
+
+

Copied: 
virtualbox-modules-arch/repos/community-testing-x86_64/virtualbox-modules-arch.install
 (from rev 249995, 
virtualbox-modules-arch/trunk/virtualbox-modules-arch.install)
===================================================================
--- community-testing-x86_64/virtualbox-modules-arch.install                    
        (rev 0)
+++ community-testing-x86_64/virtualbox-modules-arch.install    2017-08-12 
10:17:17 UTC (rev 249996)
@@ -0,0 +1,23 @@
+_depmod() {
+  EXTRAMODULES=extramodules-4.12-ARCH
+  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+  cat << EOF
+==> Virtualbox kernel modules will be loaded at boot time by 
systemd-modules-load.
+==> In order to use them right now, you may want to load them manually.
+==> Read modules-load.d man page to disable module boot loading.'
+EOF
+  _depmod
+}
+
+post_upgrade() {
+  _depmod
+}
+
+post_remove() {
+  _depmod
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to