diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/virtualbox-modules-lts | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/virtualbox-modules-lts')
4 files changed, 0 insertions, 137 deletions
diff --git a/community/virtualbox-modules-lts/PKGBUILD b/community/virtualbox-modules-lts/PKGBUILD deleted file mode 100644 index 603ad9195..000000000 --- a/community/virtualbox-modules-lts/PKGBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# $Id: PKGBUILD 93526 2013-07-05 00:46:38Z seblu $ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor: Ionut Biru <ibiru@archlinux.org> -# Contributor: Sébastien Luttringer - -pkgbase=virtualbox-modules-lts -pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts') -pkgver=4.2.16 -pkgrel=1 -arch=('i686' 'x86_64') -url='http://virtualbox.org' -license=('GPL') -makedepends=('linux-lts>=3.0' 'linux-lts<3.1' - 'linux-lts-headers>=3.0' 'linux-lts-headers<3.1' - "virtualbox-host-dkms>=$pkgver" - "virtualbox-guest-dkms>=$pkgver" - 'expac' - 'sed' - 'bc') - -# remember to also adjust the .install files and the package deps below -_extramodules=extramodules-3.0-lts - -build() { - _kernver=$(cat /usr/lib/modules/$_extramodules/version) - # 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-lts(){ - _kernver=$(cat /usr/lib/modules/$_extramodules/version) - pkgdesc='Host kernel modules for VirtualBox' - depends=('linux-lts>=3.0' 'linux-lts<3.1') - replaces=('virtualbox-modules-lts') - conflicts=('virtualbox-modules-lts') - provides=("virtualbox-host-modules=$pkgver") - install=virtualbox-host-modules-lts.install - - cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" - install -dm755 "$pkgdir/usr/lib/modules/$_extramodules/" - install -m644 * "$pkgdir/usr/lib/modules/$_extramodules/" - find "$pkgdir" -name '*.ko' -exec gzip -9 {} + -} - -package_virtualbox-guest-modules-lts(){ - _kernver=$(cat /usr/lib/modules/$_extramodules/version) - pkgdesc='Guest kernel modules for VirtualBox' - license=('GPL') - depends=('linux-lts>=3.0' 'linux-lts<3.1') - replaces=('virtualbox-archlinux-modules-lts') - conflicts=('virtualbox-archlinux-modules-lts') - provides=("virtualbox-host-modules=$pkgver") - install=virtualbox-guest-modules-lts.install - - cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" - install -dm755 "$pkgdir/usr/lib/modules/$_extramodules/" - install -m644 * "$pkgdir/usr/lib/modules/$_extramodules/" - find "$pkgdir" -name '*.ko' -exec gzip -9 {} + -} - -# vim:set ts=2 sw=2 et: diff --git a/community/virtualbox-modules-lts/build.sh b/community/virtualbox-modules-lts/build.sh deleted file mode 100755 index 744f18330..000000000 --- a/community/virtualbox-modules-lts/build.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -e - -if (( $# != 1 )); then - echo "usage: $0 extra" - echo " $0 testing" - exit 1 -fi - -here=$PWD -cd /var/empty -linux32 makechrootpkg -cu -I "$here"/../../virtualbox/trunk/virtualbox-host-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686 -linux32 makechrootpkg -I "$here"/../../virtualbox/trunk/virtualbox-guest-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686 -cd "$here" -linux32 makechrootpkg -n -r /var/lib/archbuild/$1-i686 - -cd /var/empty -makechrootpkg -cu -I "$here"/../../virtualbox/trunk/virtualbox-host-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 -makechrootpkg -I "$here"/../../virtualbox/trunk/virtualbox-guest-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 -cd "$here" -makechrootpkg -n -r /var/lib/archbuild/$1-x86_64 - - -# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install b/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install deleted file mode 100644 index f7526e308..000000000 --- a/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install +++ /dev/null @@ -1,21 +0,0 @@ -_depmod() { - EXTRAMODULES='extramodules-3.0-lts' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) -} - -post_install() { - cat << EOF -===> You may want to load vboxguest, vboxsf and vboxvideo -EOF - _depmod -} - -post_upgrade() { - _depmod -} - -post_remove() { - _depmod -} - -# vim:set ts=2 sw=2 et: diff --git a/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install b/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install deleted file mode 100644 index cddbffb43..000000000 --- a/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install +++ /dev/null @@ -1,23 +0,0 @@ -_depmod() { - EXTRAMODULES='extramodules-3.0-lts' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) -} - -post_install() { - cat << EOF -===> You must load vboxdrv module before starting VirtualBox: -===> # modprobe vboxdrv -EOF - _depmod -} - -post_upgrade() { - _depmod - echo 'In order to use the new version, reload all virtualbox modules manually.' -} - -post_remove() { - _depmod -} - -# vim:set ts=2 sw=2 et: |