aboutsummaryrefslogtreecommitdiffstats
path: root/testing/virtualbox-guest-modules-grsec
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-24 12:27:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-24 12:30:02 +0000
commit54c94a12e787b5999338e00b50967103032f722e (patch)
tree0df51903fecda4f6f95a45e36b8c60f588248882 /testing/virtualbox-guest-modules-grsec
parent262629094f233d25f4c19ed7a07f556f5763b58d (diff)
downloadaports-54c94a12e787b5999338e00b50967103032f722e.tar.bz2
aports-54c94a12e787b5999338e00b50967103032f722e.tar.xz
community/virtualbox-guest-*: move from testing
ref #5722
Diffstat (limited to 'testing/virtualbox-guest-modules-grsec')
-rw-r--r--testing/virtualbox-guest-modules-grsec/APKBUILD82
1 files changed, 0 insertions, 82 deletions
diff --git a/testing/virtualbox-guest-modules-grsec/APKBUILD b/testing/virtualbox-guest-modules-grsec/APKBUILD
deleted file mode 100644
index 5ff6184fdd..0000000000
--- a/testing/virtualbox-guest-modules-grsec/APKBUILD
+++ /dev/null
@@ -1,82 +0,0 @@
-# Maintainer: Ben Allen <bensallen@me.com>
-# Contributor: Ben Allen <bensallen@me.com>
-
-_flavor=${FLAVOR:-grsec}
-_kpkg=linux-$_flavor
-_kver=4.4.44
-_kpkgrel=1
-
-# when chaning _ver we *must* bump _mypkgrel
-_ver=5.1.12
-_mypkgrel=0
-_name=virtualbox-guest-modules
-
-# verify the kernel version before entering chroot
-_kapkbuild=../../linux-${_flavor}/APKBUILD
-if [ -f $_kapkbuild ]; then
- . $_kapkbuild
- pkgname=$_name-$_flavor
- [ "$_kver" != "$pkgver" ] && die "please update _kver to $pkgver"
- [ "$_kpkgrel" != "$pkgrel" ] && die "please update _kpkgrel to $pkgrel"
-fi
-
-_kpkgver="$_kver-r$_kpkgrel"
-_abi_release=${_kver}-${_kpkgrel}-${_flavor}
-_abi_release_virtgrsec=${_kver}-${_kpkgrel}-virtgrsec
-
-pkgname=${_name}-${_flavor}
-pkgver=$_kver
-pkgrel=$(($_kpkgrel + $_mypkgrel))
-pkgdesc="VirtualBox Additions kernel modules for $_flavor "
-arch='x86 x86_64'
-url='http://virtualbox.org'
-license="GPL custom"
-makedepends="linux-grsec-dev=$_kpkgver linux-virtgrsec-dev=$_kpkgver sed coreutils"
-subpackages="$_name-virtgrsec:_virtgrsec"
-source="http://download.virtualbox.org/virtualbox/$_ver/VirtualBox-$_ver.tar.bz2
-"
-builddir="$srcdir"/VirtualBox-$_ver
-
-prepare() {
- local i
- cd "$builddir"
- $builddir/src/VBox/Additions/linux/export_modules "$builddir/vbox-kmod.tar.gz"
- for i in $_abi_release $_abi_release_virtgrsec; do
- mkdir -p "$srcdir/$i"
- tar -C "$srcdir/$i" -zxf "$builddir"/vbox-kmod.tar.gz
- done
-}
-
-build() {
- local i
- for i in $_abi_release $_abi_release_virtgrsec; do
- cd "$srcdir/$i"
- # Build Kernel Modules
- make KERN_DIR=/lib/modules/${i}/build \
- || return 1
- done
-}
-
-package() {
- local i module=
- for i in $_abi_release $_abi_release_virtgrsec; do
- cd "$srcdir/$i"
- for module in *.ko; do
- install -v -D -m644 ${module} \
- "$pkgdir/lib/modules/$i/misc/${module}"
- done
- done
-}
-
-_virtgrsec() {
- pkgdesc="VirtualBox Additions kernel modules for virtgrsec"
- mkdir -p "$subpkgdir"/lib/modules/
- # vboxvideo.ko won't load with virtgrsec kernel as it doesn't have DRM
- rm "$pkgdir"/lib/modules/$_abi_release_virtgrsec/misc/vboxvideo.ko
- mv "$pkgdir"/lib/modules/$_abi_release_virtgrsec \
- "$subpkgdir"/lib/modules/
-}
-
-md5sums="58fd51b90358ac42811e044988d53438 VirtualBox-5.1.12.tar.bz2"
-sha256sums="e6f10b1b6f3eb1be2c5223f60569f8ce35468a4354ed53db12f4c9b419393d0d VirtualBox-5.1.12.tar.bz2"
-sha512sums="0e63f778595aada4389a0d4f390aaa56fc1fb0ed0c4ce999f060787ce6d29462329d6543f34572111d2538cf49a54b799263fe04ebd115c2426506c28c809516 VirtualBox-5.1.12.tar.bz2"