From d217c506a982656c3a89f8cb1da29740d92c5e06 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 Apr 2018 22:41:00 +0100 Subject: Revert "app-emulation/virtualbox : version bump...second attempt" This reverts commit bc98eb4936a16ad14a291bccd8f67cfbee92a114. --- 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 --------------------- sys-kernel/virtualbox-modules-dkms/Manifest | 2 +- sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 2 +- .../virtualbox-modules-dkms-5.2.4-r1.ebuild | 45 ++++++++++++++++++++++ .../virtualbox-modules-dkms-5.2.8.ebuild | 45 ---------------------- 8 files changed, 92 insertions(+), 95 deletions(-) create mode 100644 sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.4-r1.ebuild delete mode 100644 sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.8.ebuild create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4-r1.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.8.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/virtualbox-guest-dkms/Manifest b/sys-kernel/virtualbox-guest-dkms/Manifest index 00be23d6..640477ef 100644 --- a/sys-kernel/virtualbox-guest-dkms/Manifest +++ b/sys-kernel/virtualbox-guest-dkms/Manifest @@ -1 +1 @@ -DIST virtualbox-guest-dkms-5.2.8-1-x86_64.pkg.tar.xz 582516 BLAKE2B 318206d4ab1acd52f7b0282fed97424f4133e39f25d09aa61d1df9e5c1d8c21a65586f042d17f8b7fcb0f802453424ce07407a97ef58e9ec907540a9ba759772 SHA512 c9042663a42c445911e933d37c1175349ae2d7c92b346fed7ab74da80682f97378aa84961c5b57ef1302c35882c80f73f89248057f6ae149e485789eb92c317d +DIST virtualbox-guest-dkms-5.2.4-1-x86_64.pkg.tar.xz 581104 BLAKE2B 6c6fea795267c60482dc960cdc4411729c05dd2b1a7918e6f84a35c3d0ddbc144c35a943181ee6a76f9e414304650bb6e91278f346b3a6e318584d56d3497b51 SHA512 f5bc71f84abd5b37653db8e57fd91363c690d2878b604bef0d1d9db1beaccf9dce2d0ce856d807c7b34c9949005ec67732646a59d4b13bde6795fee3411cde2d diff --git a/sys-kernel/virtualbox-guest-dkms/files/dkms.conf b/sys-kernel/virtualbox-guest-dkms/files/dkms.conf index 05d97078..5af9b9af 100644 --- a/sys-kernel/virtualbox-guest-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-guest-dkms/files/dkms.conf @@ -15,12 +15,9 @@ # PACKAGE_NAME="virtualbox-guest-dkms" -PACKAGE_VERSION=5.2.8 +PACKAGE_VERSION=5.2.4 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 new file mode 100644 index 00000000..5a459561 --- /dev/null +++ b/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.4-r1.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 +} 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 deleted file mode 100644 index 5a459561..00000000 --- a/sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.2.8.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-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 bd3bac01..b330bb9c 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="virtualbox-modules-dkms" -PACKAGE_VERSION="5.2.8" +PACKAGE_VERSION="5.2.4" AUTOINSTALL="yes" MAKE[0]="make KVERSION=$kernelver" diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4-r1.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4-r1.ebuild new file mode 100644 index 00000000..00923566 --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.2.4-r1.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