From 6ee48c045a7fe5b07317c5ec21f5808bd40f3b02 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Oct 2022 13:32:50 +0100 Subject: sys-kernel/virtualbox-modules-dkms : revision bump --- sys-kernel/virtualbox-modules-dkms/Manifest | 2 +- .../virtualbox-modules-dkms-6.1.38-r1.ebuild | 55 ++++++++++++++++++++++ .../virtualbox-modules-dkms-6.1.38.ebuild | 50 -------------------- 3 files changed, 56 insertions(+), 51 deletions(-) create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest index 418c3c22..59f7f84f 100644 --- a/sys-kernel/virtualbox-modules-dkms/Manifest +++ b/sys-kernel/virtualbox-modules-dkms/Manifest @@ -1 +1 @@ -DIST vbox-kernel-module-src-6.1.38.tar.xz 678320 BLAKE2B 02fce9d8436e5e05cefae5e947c814470ff2898fa5ced2b734a7570e42fde2a84ecc98cbd2a3f0254443af1dd8131d541d565ecc4eb6a57ca88f7c638ed4994d SHA512 ef933e68942b847bd17ae9173d8c9963e12ffba73fe1d049e2fe9af10f720cc269ffdf7d2341ab75374f4737f4521c24316786574c0c71feb153a430c744eb0a +DIST virtualbox-dkms_6.1.38-dfsg-3_amd64.deb 720174 BLAKE2B 183611f0c4d160ab34470a9ee9d1b9aacb182c5198328e69b894fa3504611485c453c01025f8fed473d82b4040dfc3ecb7b89c3788dc033d0d035d0f7f5020e3 SHA512 67be48247f921a58408418bdf9f146f60b658b44a4d76937810042bc49a7fd7603d2c36fe7ae3e931d438e35456e36b57d59f9cfd91a7bfdc30f14d4556bded1 diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild new file mode 100644 index 00000000..57f78e07 --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 + +inherit eutils unpacker + +MY_PN="virtualbox-dkms" +DESCRIPTION="Kernel Modules source for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://mirrors.kernel.org/ubuntu/pool/multiverse/v/virtualbox/${MY_PN}_${PV}-dfsg-3_amd64.deb" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +RESTRICT="mirror" +IUSE="" + +DEPEND=" + sys-apps/ethtool + sys-kernel/dkms +" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + default + grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' + sed -i "s/virtualbox/${PN}/g" usr/src/virtualbox-${PV}/dkms.conf + sed -i "s/updates/extra\/dkms/g" usr/src/virtualbox-${PV}/dkms.conf +} + +src_compile() { + : +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins -r ${S}/usr/src/virtualbox-${PV}/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild deleted file mode 100644 index 9c973f1d..00000000 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=7 - -inherit eutils unpacker - -MY_P="vbox-kernel-module-src-${PV}" -DESCRIPTION="Kernel Modules source for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="https://github.com/ceamac/virtualbox-modules-dist/releases/download/v${PV}/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -RESTRICT="mirror" -IUSE="" - -DEPEND=" - sys-apps/ethtool - sys-kernel/dkms -" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_prepare() { - default - grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' -} - -src_compile() { - : -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins ${FILESDIR}/dkms.conf - doins -r ${S}/* -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} -- cgit v1.2.3