summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox-modules
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/virtualbox-modules')
-rw-r--r--community-testing/virtualbox-modules/PKGBUILD69
-rwxr-xr-xcommunity-testing/virtualbox-modules/build.sh20
-rw-r--r--community-testing/virtualbox-modules/virtualbox-guest-modules.install17
-rw-r--r--community-testing/virtualbox-modules/virtualbox-host-modules.install19
4 files changed, 0 insertions, 125 deletions
diff --git a/community-testing/virtualbox-modules/PKGBUILD b/community-testing/virtualbox-modules/PKGBUILD
deleted file mode 100644
index 5cb7fc64d..000000000
--- a/community-testing/virtualbox-modules/PKGBUILD
+++ /dev/null
@@ -1,69 +0,0 @@
-# $Id: PKGBUILD 78656 2012-10-22 13:29:39Z tpowa $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgbase=virtualbox-modules
-pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules')
-pkgver=4.2.2
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://virtualbox.org'
-license=('GPL')
-makedepends=('linux-headers'
- "virtualbox-host-source>=$pkgver"
- "virtualbox-guest-source>=$pkgver"
- 'expac')
-
-build() {
- # current kernel version
- _kernver=$(expac -Q '%v' linux-headers)-ARCH
- #_kernver=3.6.0-1-ARCH
- # dkms need modification to be run as user
- cp -r /var/lib/dkms .
- echo "dkms_tree='$srcdir/dkms'" > dkms.conf
- # build host modules
- msg2 'Host modules'
- dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
- # build guest modules
- msg2 'Guest modules'
- dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
-}
-
-package_virtualbox-host-modules(){
- pkgdesc='Host kernel modules for VirtualBox'
- depends=('linux>=3.6' 'linux<3.7')
- replaces=('virtualbox-modules')
- conflicts=('virtualbox-modules')
- install=virtualbox-host-modules.install
-
- _kernver=$(expac -Q '%v' linux-headers)-ARCH
- # _kernver=3.6.0-1-ARCH
- _extraver=extramodules-${_kernver%.*}-ARCH
-
- install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
- cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
- install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-host-modules.install"
-}
-
-package_virtualbox-guest-modules(){
- pkgdesc='Guest kernel modules for VirtualBox'
- license=('GPL')
- depends=('linux>=3.6' 'linux<3.7')
- replaces=('virtualbox-archlinux-modules')
- conflicts=('virtualbox-archlinux-modules')
- install=virtualbox-guest-modules.install
-
- _kernver=$(expac -Q '%v' linux-headers)-ARCH
- #_kernver=3.6.0-1-ARCH
- _extraver=extramodules-${_kernver%.*}-ARCH
-
- install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
- cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
- install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-guest-modules.install"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/virtualbox-modules/build.sh b/community-testing/virtualbox-modules/build.sh
deleted file mode 100755
index 828448cab..000000000
--- a/community-testing/virtualbox-modules/build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-if (( $# != 1 )); then
- echo "usage: $0 extra"
- echo " $0 testing"
- exit 1
-fi
-
-$1-i686-build
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -r /var/lib/archbuild/$1-i686
-
-$1-x86_64-build
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -r /var/lib/archbuild/$1-x86_64
-
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/virtualbox-modules/virtualbox-guest-modules.install b/community-testing/virtualbox-modules/virtualbox-guest-modules.install
deleted file mode 100644
index e5d1038af..000000000
--- a/community-testing/virtualbox-modules/virtualbox-guest-modules.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
-cat << EOF
-===> You may want to load vboxguest, vboxsf and vboxvideo
-EOF
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
diff --git a/community-testing/virtualbox-modules/virtualbox-host-modules.install b/community-testing/virtualbox-modules/virtualbox-host-modules.install
deleted file mode 100644
index 3f2ed4a10..000000000
--- a/community-testing/virtualbox-modules/virtualbox-host-modules.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
-cat << EOF
-===> You must load vboxdrv module before starting VirtualBox:
-===> # modprobe vboxdrv
-EOF
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use the new version, reload all virtualbox modules manually.'
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}