From 95def50238d1fa35819d2f67079ce97dc96cd12f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 8 Jan 2014 04:51:24 -0200 Subject: remove deprecated packages --- libre/virtualbox-libre-modules-lts/PKGBUILD | 74 ---------------------- libre/virtualbox-libre-modules-lts/build.sh | 25 -------- .../virtualbox-libre-guest-modules-lts.install | 21 ------ .../virtualbox-libre-host-modules-lts.install | 23 ------- 4 files changed, 143 deletions(-) delete mode 100644 libre/virtualbox-libre-modules-lts/PKGBUILD delete mode 100755 libre/virtualbox-libre-modules-lts/build.sh delete mode 100644 libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install delete mode 100644 libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install (limited to 'libre/virtualbox-libre-modules-lts') diff --git a/libre/virtualbox-libre-modules-lts/PKGBUILD b/libre/virtualbox-libre-modules-lts/PKGBUILD deleted file mode 100644 index 6a5f9eff8..000000000 --- a/libre/virtualbox-libre-modules-lts/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# $Id: PKGBUILD 93525 2013-07-05 00:46:26Z seblu $ -# Maintainer: Bartłomiej Piotrowski -# Contributor: Ionut Biru -# Contributor: Sébastien Luttringer -# Maintainer (Parabola): André Silva -# Contributor (Parabola): Jorge López - -pkgbase=virtualbox-libre-modules-lts -pkgname=('virtualbox-libre-host-modules-lts' 'virtualbox-libre-guest-modules-lts') -pkgver=4.2.16 -pkgrel=1.1 -arch=('i686' 'x86_64') -url='http://virtualbox.org' -license=('GPL') -makedepends=('linux-libre-lts' - 'linux-libre-lts-headers' - "virtualbox-libre-host-dkms>=$pkgver" - "virtualbox-libre-guest-dkms>=$pkgver" - 'expac' - 'sed' - 'bc') - -build() { - _kernmaj=$(expac -Q '%v' linux-libre-lts|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/') - _kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/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-libre-host-modules-lts(){ - _kernmaj=$(expac -Q '%v' linux-libre-lts|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/') - _kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/version) - pkgdesc='Host kernel modules for VirtualBox (built for the linux-libre-lts kernel package)' -# depends=("linux-libre-lts>=${_kernver%.*}" "linux-libre-lts<$(echo "${_kernver%.*}+0.1"|bc)") - depends=('linux-libre-lts>=3.0' 'linux-libre-lts<3.1') - replaces=('virtualbox-host-modules-lts' 'virtualbox-modules-lts' 'virtualbox-libre-modules-lts') - conflicts=('virtualbox-host-modules-lts' 'virtualbox-modules-lts' 'virtualbox-libre-modules-lts') - provides=("virtualbox-host-modules-lts=$pkgver" "virtualbox-libre-host-modules=$pkgver") - install=virtualbox-libre-host-modules-lts.install - - cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" - install -dm755 "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/" - install -m644 * "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/" - find "$pkgdir" -name '*.ko' -exec gzip -9 {} + - sed -ie "s/VERSION='.*'/VERSION='$_kernver'/" "$startdir/virtualbox-libre-host-modules-lts.install" -} - -package_virtualbox-libre-guest-modules-lts(){ - _kernmaj=$(expac -Q '%v' linux-libre-lts|sed -r 's/([[:digit:]]+\.[[:digit:]]+).*/\1/') - _kernver=$(< /usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/version) - pkgdesc='Guest kernel modules for VirtualBox (built for the linux-libre-lts kernel package)' - license=('GPL') -# depends=("linux-libre-lts>=${_kernver%.*}" "linux-libre-lts<$(echo "${_kernver%.*}+0.1"|bc)") - depends=('linux-libre-lts>=3.0' 'linux-libre-lts<3.1') - replaces=('virtualbox-guest-modules-lts' 'virtualbox-archlinux-modules-lts' 'virtualbox-libre-parabola-modules-lts') - conflicts=('virtualbox-guest-modules-lts' 'virtualbox-archlinux-modules-lts' 'virtualbox-libre-parabola-modules-lts') - provides=("virtualbox-guest-modules-lts=$pkgver" "virtualbox-libre-host-modules=$pkgver") - install=virtualbox-libre-guest-modules-lts.install - - cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" - install -dm755 "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/" - install -m644 * "$pkgdir/usr/lib/modules/extramodules-$_kernmaj-LIBRE-LTS/" - find "$pkgdir" -name '*.ko' -exec gzip -9 {} + - sed -ie "s/VERSION='.*'/VERSION='$_kernver'/" "$startdir/virtualbox-libre-guest-modules-lts.install" -} - -# vim:set ts=2 sw=2 et: diff --git a/libre/virtualbox-libre-modules-lts/build.sh b/libre/virtualbox-libre-modules-lts/build.sh deleted file mode 100755 index 895bea0b1..000000000 --- a/libre/virtualbox-libre-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-libre-host-dkms-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686 -linux32 makechrootpkg -I "$here"/../../virtualbox/trunk/virtualbox-libre-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-libre-host-dkms-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 -makechrootpkg -I "$here"/../../virtualbox/trunk/virtualbox-libre-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/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install b/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install deleted file mode 100644 index 923bd68e3..000000000 --- a/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install +++ /dev/null @@ -1,21 +0,0 @@ -_depmod() { - EXTRAMODULES='extramodules-3.0-LIBRE-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/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install b/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install deleted file mode 100644 index 97212dba1..000000000 --- a/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install +++ /dev/null @@ -1,23 +0,0 @@ -_depmod() { - EXTRAMODULES='extramodules-3.0-LIBRE-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: -- cgit v1.2.3