From bc98eb4936a16ad14a291bccd8f67cfbee92a114 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 Apr 2018 21:37:55 +0100 Subject: app-emulation/virtualbox : version bump...second attempt --- sys-kernel/virtualbox-guest-dkms/Manifest | 2 +- sys-kernel/virtualbox-guest-dkms/files/dkms.conf | 5 ++- .../virtualbox-guest-dkms-5.2.4-r1.ebuild | 43 ---------------------- .../virtualbox-guest-dkms-5.2.8.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 48 insertions(+), 45 deletions(-) delete mode 100644 sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.4-r1.ebuild create mode 100644 sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.8.ebuild (limited to 'sys-kernel/virtualbox-guest-dkms') diff --git a/sys-kernel/virtualbox-guest-dkms/Manifest b/sys-kernel/virtualbox-guest-dkms/Manifest index 640477ef..00be23d6 100644 --- a/sys-kernel/virtualbox-guest-dkms/Manifest +++ b/sys-kernel/virtualbox-guest-dkms/Manifest @@ -1 +1 @@ -DIST virtualbox-guest-dkms-5.2.4-1-x86_64.pkg.tar.xz 581104 BLAKE2B 6c6fea795267c60482dc960cdc4411729c05dd2b1a7918e6f84a35c3d0ddbc144c35a943181ee6a76f9e414304650bb6e91278f346b3a6e318584d56d3497b51 SHA512 f5bc71f84abd5b37653db8e57fd91363c690d2878b604bef0d1d9db1beaccf9dce2d0ce856d807c7b34c9949005ec67732646a59d4b13bde6795fee3411cde2d +DIST virtualbox-guest-dkms-5.2.8-1-x86_64.pkg.tar.xz 582516 BLAKE2B 318206d4ab1acd52f7b0282fed97424f4133e39f25d09aa61d1df9e5c1d8c21a65586f042d17f8b7fcb0f802453424ce07407a97ef58e9ec907540a9ba759772 SHA512 c9042663a42c445911e933d37c1175349ae2d7c92b346fed7ab74da80682f97378aa84961c5b57ef1302c35882c80f73f89248057f6ae149e485789eb92c317d diff --git a/sys-kernel/virtualbox-guest-dkms/files/dkms.conf b/sys-kernel/virtualbox-guest-dkms/files/dkms.conf index 5af9b9af..05d97078 100644 --- a/sys-kernel/virtualbox-guest-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-guest-dkms/files/dkms.conf @@ -15,9 +15,12 @@ # PACKAGE_NAME="virtualbox-guest-dkms" -PACKAGE_VERSION=5.2.4 +PACKAGE_VERSION=5.2.8 AUTOINSTALL=yes +# Build only for kernels before Linux 4.16 +BUILD_EXCLUSIVE_KERNEL="^(4\.[0-9]\..*|4\.1[0-5]\..*|3\..*)" + MAKE[0]="make KVERSION=$kernelver" CLEAN="make clean" diff --git a/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.4-r1.ebuild b/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.4-r1.ebuild deleted file mode 100644 index 5a459561..00000000 --- a/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.4-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils - -DESCRIPTION="Kernel Modules (guest) source for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://mirror.archlinux.ro/archlinux/community/os/x86_64/${P}-1-x86_64.pkg.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="sys-kernel/dkms" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/usr/src/vboxguest-${PV}_OSE - -src_compile() { - : -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins -r ${S}/* - # delete shipped dkms.conf - rm -rf ${ED}usr/src/${P}/dkms.conf - # inject our dkms.conf - doins ${FILESDIR}/dkms.conf -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} diff --git a/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.8.ebuild b/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.8.ebuild new file mode 100644 index 00000000..5a459561 --- /dev/null +++ b/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Kernel Modules (guest) source for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://mirror.archlinux.ro/archlinux/community/os/x86_64/${P}-1-x86_64.pkg.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/usr/src/vboxguest-${PV}_OSE + +src_compile() { + : +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins -r ${S}/* + # delete shipped dkms.conf + rm -rf ${ED}usr/src/${P}/dkms.conf + # inject our dkms.conf + doins ${FILESDIR}/dkms.conf +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} -- cgit v1.2.3