summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-09 12:27:06 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-09 12:27:06 -0200
commit8ff03dbf00c257fa7542828dc8bf90df4e6f52e3 (patch)
tree75547a72dcf6474e866eac576267dcb1f1e44dc8 /libre/virtualbox-libre-modules
parent752fb45e2844b6e181d5e6c1086c517307452d51 (diff)
downloadabslibre-8ff03dbf00c257fa7542828dc8bf90df4e6f52e3.tar.gz
abslibre-8ff03dbf00c257fa7542828dc8bf90df4e6f52e3.tar.bz2
abslibre-8ff03dbf00c257fa7542828dc8bf90df4e6f52e3.zip
virtualbox-libre-modules-4.2.0-6: rebuild against linux-libre-3.6.1-1
Diffstat (limited to 'libre/virtualbox-libre-modules')
-rwxr-xr-xlibre/virtualbox-libre-modules/PKGBUILD12
-rwxr-xr-xlibre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install6
2 files changed, 8 insertions, 10 deletions
diff --git a/libre/virtualbox-libre-modules/PKGBUILD b/libre/virtualbox-libre-modules/PKGBUILD
index 270e14af9..3bd4616eb 100755
--- a/libre/virtualbox-libre-modules/PKGBUILD
+++ b/libre/virtualbox-libre-modules/PKGBUILD
@@ -7,7 +7,7 @@
pkgbase=virtualbox-libre-modules
pkgname=('virtualbox-libre-host-modules' 'virtualbox-libre-guest-modules')
pkgver=4.2.0
-pkgrel=5.3
+pkgrel=6
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
@@ -32,15 +32,14 @@ build() {
package_virtualbox-libre-host-modules(){
pkgdesc='Host kernel libre modules for VirtualBox'
- depends=('linux-libre>=3.5' 'linux-libre<3.6')
+ depends=('linux-libre>=3.6' 'linux-libre<3.7')
provides=("virtualbox-host-modules=${pkgver}")
replaces=('virtualbox-host-modules' 'virtualbox-modules' 'virtualbox-libre-modules')
conflicts=('virtualbox-host-modules' 'virtualbox-modules' 'virtualbox-libre-modules')
install=virtualbox-libre-host-modules.install
_kernver=$(expac -Q '%v' linux-libre-headers)-LIBRE
- #_extraver=extramodules-${_kernver%.*}-LIBRE
- _extraver=extramodules-3.5-LIBRE
+ _extraver=extramodules-${_kernver%.*}-LIBRE
install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
@@ -52,15 +51,14 @@ package_virtualbox-libre-host-modules(){
package_virtualbox-libre-guest-modules(){
pkgdesc='Guest kernel libre modules for VirtualBox'
license=('GPL')
- depends=('linux-libre>=3.5' 'linux-libre<3.6')
+ depends=('linux-libre>=3.6' 'linux-libre<3.7')
provides=("virtualbox-guest-modules=${pkgver}")
replaces=('virtualbox-guest-modules' 'virtualbox-archlinux-modules' 'virtualbox-parabola-modules')
conflicts=('virtualbox-guest-modules' 'virtualbox-archlinux-modules' 'virtualbox-parabola-modules')
install=virtualbox-libre-guest-modules.install
_kernver=$(expac -Q '%v' linux-libre-headers)-LIBRE
- #_extraver=extramodules-${_kernver%.*}-LIBRE
- _extraver=extramodules-3.5-LIBRE
+ _extraver=extramodules-${_kernver%.*}-LIBRE
install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
index c3419c991..caf59aa13 100755
--- a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
+++ b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
@@ -2,16 +2,16 @@ post_install() {
cat << EOF
===> You may want to load vboxguest, vboxsf and vboxvideo
EOF
- EXTRAMODULES='extramodules-3.5-LIBRE'
+ EXTRAMODULES='extramodules-3.6-LIBRE'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
post_upgrade() {
- EXTRAMODULES='extramodules-3.5-LIBRE'
+ EXTRAMODULES='extramodules-3.6-LIBRE'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
post_remove() {
- EXTRAMODULES='extramodules-3.5-LIBRE'
+ EXTRAMODULES='extramodules-3.6-LIBRE'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}