diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-15 13:00:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-15 13:00:38 +0100 |
commit | 1bb4e2f999ee3c1ee5cf773aca6c6a71a54d5a9e (patch) | |
tree | 79664b5bd5cee26634584fcfeef197daf6e0d3c6 /sys-kernel/virtualbox-modules-dkms | |
parent | fa98ff7f7eeadad1e337163836ec30a9471d5ce8 (diff) |
sys-kernel/virtualbox-modules-dkms : version bump
Diffstat (limited to 'sys-kernel/virtualbox-modules-dkms')
-rw-r--r-- | sys-kernel/virtualbox-modules-dkms/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 14 | ||||
-rw-r--r-- | sys-kernel/virtualbox-modules-dkms/files/kernel-5.11.patch | 11 | ||||
-rw-r--r-- | sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild (renamed from sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.18-r2.ebuild) | 18 |
4 files changed, 20 insertions, 25 deletions
diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest index 5b9b8ea2..418c3c22 100644 --- a/sys-kernel/virtualbox-modules-dkms/Manifest +++ b/sys-kernel/virtualbox-modules-dkms/Manifest @@ -1 +1 @@ -DIST virtualbox-dkms_6.1.18-dfsg-2_amd64.deb 692560 BLAKE2B 1f252da5edac9c7d063bd0a477f4aba35692e2baaf65aca9d3a1c9c41cc5e735950f1bd22615b8e5687d3e89d12111631ac8c1d36febe4fb7d81109cfc7b931c SHA512 2466d6176cbfe82c773cc69342e6010e11e206bbbd5c8302942e6d180c6e05283a36a446a0f7364e7ed9971a630a69455d563fda96d961306d8427f6bbe02d31 +DIST vbox-kernel-module-src-6.1.38.tar.xz 678320 BLAKE2B 02fce9d8436e5e05cefae5e947c814470ff2898fa5ced2b734a7570e42fde2a84ecc98cbd2a3f0254443af1dd8131d541d565ecc4eb6a57ca88f7c638ed4994d SHA512 ef933e68942b847bd17ae9173d8c9963e12ffba73fe1d049e2fe9af10f720cc269ffdf7d2341ab75374f4737f4521c24316786574c0c71feb153a430c744eb0a diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf new file mode 100644 index 00000000..5ba4200d --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -0,0 +1,14 @@ +PACKAGE_NAME="virtualbox-modules-dkms" +PACKAGE_VERSION="6.1.38" +MAKE[0]="make KVER=$kernelver" +MAKE[0]="make KV_FULL=$kernelver" +BUILT_MODULE_NAME[0]="vboxdrv" +BUILT_MODULE_LOCATION[0]="vboxdrv" +DEST_MODULE_LOCATION[0]="/extra/dkms" +BUILT_MODULE_NAME[1]="vboxnetadp" +BUILT_MODULE_LOCATION[1]="vboxnetadp" +DEST_MODULE_LOCATION[1]="/extra/dkms" +BUILT_MODULE_NAME[2]="vboxnetflt" +BUILT_MODULE_LOCATION[2]="vboxnetflt" +DEST_MODULE_LOCATION[2]="/extra/dkms" +AUTOINSTALL="yes" diff --git a/sys-kernel/virtualbox-modules-dkms/files/kernel-5.11.patch b/sys-kernel/virtualbox-modules-dkms/files/kernel-5.11.patch deleted file mode 100644 index 0c9e66e6..00000000 --- a/sys-kernel/virtualbox-modules-dkms/files/kernel-5.11.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nur a/usr/src/virtualbox-6.1.18/vboxnetflt/linux/VBoxNetFlt-linux.c b/usr/src/virtualbox-6.1.18/vboxnetflt/linux/VBoxNetFlt-linux.c ---- a/usr/src/virtualbox-6.1.18/vboxnetflt/linux/VBoxNetFlt-linux.c 2021-01-07 15:41:28.000000000 +0000 -+++ b/usr/src/virtualbox-6.1.18/vboxnetflt/linux/VBoxNetFlt-linux.c 2021-03-16 16:27:00.179818747 +0000 -@@ -69,6 +69,7 @@ - #include <iprt/mp.h> - #include <iprt/mem.h> - #include <iprt/time.h> -+#include <linux/ethtool.h> - - #define VBOXNETFLT_OS_SPECFIC 1 - #include "../VBoxNetFltInternal.h" diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.18-r2.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild index e89cf7e4..9c973f1d 100644 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.18-r2.ebuild +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild @@ -6,14 +6,15 @@ EAPI=7 inherit eutils unpacker -MY_PN=virtualbox-dkms +MY_P="vbox-kernel-module-src-${PV}" DESCRIPTION="Kernel Modules source for Virtualbox" HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://archive.ubuntu.com/ubuntu/pool/multiverse/v/virtualbox/${MY_PN}_${PV}-dfsg-2_amd64.deb" +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=" @@ -24,19 +25,9 @@ RDEPEND="${DEPEND}" S=${WORKDIR} -PATCHES=( - "${FILESDIR}"/kernel-5.11.patch -) - -src_unpack() { - unpack_deb ${A} -} - src_prepare() { default grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' - 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() { @@ -46,7 +37,8 @@ src_compile() { src_install() { dodir usr/src/${P} insinto usr/src/${P} - doins -r ${S}/usr/src/virtualbox-${PV}/* + doins ${FILESDIR}/dkms.conf + doins -r ${S}/* } pkg_postinst() { |