From baa351b5b90862669fea1a8f2edf8ee8bc4b2b9b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Apr 2018 15:43:21 +0100 Subject: Revert "app-emulation/virtualbox : version bump" This reverts commit 9962d0ecc0c1a275828ddce9a071d3c2337babbb. --- sys-kernel/virtualbox-modules-dkms/Manifest | 2 +- sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 4 +- .../virtualbox-modules-dkms-5.2.4.ebuild | 45 ++++++++++++++++++++++ .../virtualbox-modules-dkms-5.2.8.ebuild | 45 ---------------------- 4 files changed, 49 insertions(+), 47 deletions(-) create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.8.ebuild (limited to 'sys-kernel/virtualbox-modules-dkms') diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest index d4618dfc..0ccb741a 100644 --- a/sys-kernel/virtualbox-modules-dkms/Manifest +++ b/sys-kernel/virtualbox-modules-dkms/Manifest @@ -1 +1 @@ -DIST vbox-kernel-module-src-5.2.8.tar.xz 636172 BLAKE2B 0a0be16ee830dbf60e9bd8e0aa977ad020374d65c4ea19689bd20f7399da87633ac9ef57e2297963937e4d5eb82173a50beacd8ddd1b54943fe8d24fe723e3f4 SHA512 8875048d827ebbedec37864e219033305a228903b01d7ca22b371b02de9b23099d3bc76ddef4887b633f1215e73daa5db6e35c8d2e21f90200f439b15792d05f +DIST vbox-kernel-module-src-5.2.4.tar.xz 634212 BLAKE2B d8be416f958f672c2ab50b5197f708bc1febca292d5262eec710c07561be7de810fb1dfd5961ef9367c91e0ac1b6033419f85444471e8d40406d4ab860de2a23 SHA512 3c2113a8781cde1a44954267ee469db91c843305a5b1468b1fd346af3f3626a3d98c8a958ec0e255401f569f75e652dbbb1a85fd6cc6b203cf170745c630cee1 diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf index bf066269..80cc6b40 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -1,7 +1,9 @@ PACKAGE_NAME="virtualbox-modules-dkms" -PACKAGE_VERSION="5.2.8" +PACKAGE_VERSION="5.2.4" AUTOINSTALL="yes" +MAKE[0]="'make' -j`nproc` KERNEL_UNAME=${kernelver}" + BUILT_MODULE_NAME[0]="vboxdrv" DEST_MODULE_LOCATION[0]="/extra/dkms" BUILT_MODULE_NAME[1]="vboxnetflt" diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4.ebuild new file mode 100644 index 00000000..00923566 --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MY_P=vbox-kernel-module-src-${PV} +DESCRIPTION="Kernel Modules source for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_prepare() { + grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' +} + +src_compile() { + : +} + +src_install() { + cp ${FILESDIR}/dkms.conf ${S} + dodir /usr/src/${P} + insinto /usr/src/${P} + doins -r ${S}/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.8.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.8.ebuild deleted file mode 100644 index 5bc67058..00000000 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.8.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils - -MY_P=vbox-kernel-module-src-${PV} -DESCRIPTION="Kernel Modules source for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="sys-kernel/dkms" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_prepare() { - grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' -} - -src_compile() { - : -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins -r ${S}/* - doins ${FILESDIR}/dkms.conf -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} -- cgit v1.2.3