summaryrefslogtreecommitdiff
path: root/sys-kernel/virtualbox-guest-dkms
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/virtualbox-guest-dkms')
-rw-r--r--sys-kernel/virtualbox-guest-dkms/Manifest1
-rw-r--r--sys-kernel/virtualbox-guest-dkms/files/dkms.patch4
-rw-r--r--sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.1.24-r1706.ebuild43
3 files changed, 46 insertions, 2 deletions
diff --git a/sys-kernel/virtualbox-guest-dkms/Manifest b/sys-kernel/virtualbox-guest-dkms/Manifest
index af81e8f2..219bc3f5 100644
--- a/sys-kernel/virtualbox-guest-dkms/Manifest
+++ b/sys-kernel/virtualbox-guest-dkms/Manifest
@@ -1 +1,2 @@
DIST virtualbox-guest-dkms-5.1.22-2-x86_64.pkg.tar.xz 576452 SHA256 d3a2bb61b2a50eb7e8c7bca49620ef685850d7299e476ee632db6a2650e549cd SHA512 35f4adb4c7e84c094879a8974f4f943bdc56738ff8801fc9e77511738c53577c68d10a9588847433b71fd216b152cccdd4cd7f6b6a1ab42e09a85c89ccfcc863 WHIRLPOOL 8d8890657640d495d055b5bb7271561a13844c25b525de061b0ef8003f23e5a0dae38af4eeed92c4253fb2f0b6b313f9f3cddacfefdfe7e1ed9424baac51c3d8
+DIST virtualbox-guest-dkms-5.1.24-1-x86_64.pkg.tar.xz 582460 SHA256 6d20aa1783dfef7ecdba00cabeebd15db146b58e936265815a5fdf22e93d1a65 SHA512 56b81d433f0e5ce39217368e9a9e720e8b678d4e3c971e9cf0894bf587aa207d9d2c5089113428eaa038b6c2530d3d0bd8a22703a3614ee3c1ff32f7c69c1b01 WHIRLPOOL e3d5205b9d2ad334b412b1d1d0789a9026b71e2e69868e1f9bfd2afd8ad246f57b435bbb7f15375194649aaeba0e825bdaee8c170a4c9bfd99cc5c3b0fce481e
diff --git a/sys-kernel/virtualbox-guest-dkms/files/dkms.patch b/sys-kernel/virtualbox-guest-dkms/files/dkms.patch
index d935cf1f..e9d2e3a9 100644
--- a/sys-kernel/virtualbox-guest-dkms/files/dkms.patch
+++ b/sys-kernel/virtualbox-guest-dkms/files/dkms.patch
@@ -6,9 +6,9 @@ diff -Nur a/dkms.conf b/dkms.conf
#
-PACKAGE_NAME="vboxguest"
--PACKAGE_VERSION=5.1.22_OSE
+-PACKAGE_VERSION=5.1.24_OSE
+PACKAGE_NAME="virtualbox-guest-dkms"
-+PACKAGE_VERSION=5.1.22
++PACKAGE_VERSION=5.1.24
AUTOINSTALL=yes
BUILT_MODULE_NAME[0]="vboxguest"
diff --git a/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.1.24-r1706.ebuild b/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.1.24-r1706.ebuild
new file mode 100644
index 00000000..c4823e9c
--- /dev/null
+++ b/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.1.24-r1706.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_prepare() {
+ epatch ${FILESDIR}/dkms.patch
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodir /usr/src/${P}
+ insinto /usr/src/${P}
+ doins -r ${S}/*
+}
+
+pkg_postinst() {
+ dkms add ${PN}/${PV}
+}
+
+pkg_prerm() {
+ dkms remove ${PN}/${PV} --all
+}