diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-04 04:27:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-04 04:27:18 +0100 |
commit | fa275aeb316ed5e68498ca0057b27a1e9c887e26 (patch) | |
tree | 1a167f06787ef709edff61d90f369164a0683705 /sys-kernel/dkms | |
parent | 9b22dab88308071d43d47cd078b37903900f47d3 (diff) |
gentoo auto-resync : 04:10:2024 - 04:27:17
Diffstat (limited to 'sys-kernel/dkms')
-rw-r--r-- | sys-kernel/dkms/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/dkms/dkms-3.1.0.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-kernel/dkms/Manifest b/sys-kernel/dkms/Manifest index 32474463c265..2a7205e396c6 100644 --- a/sys-kernel/dkms/Manifest +++ b/sys-kernel/dkms/Manifest @@ -1,3 +1,5 @@ DIST dkms-3.0.13.tar.gz 92840 BLAKE2B ccd677b6e8074fd0ced23f0735817fc36364f4476f7d552af2417b33a4845652a0b0331d3a7642fb5149178674448b479f094fdf27babd64efbfea1491daf671 SHA512 6cf3866730ea92715092b50a1174026dda9a7fb1321796e7c887032ffefb5609c0f6cf59a60ff4d47b7ffee2dac331584073393e9e4e906eaa5a425fc8d22c02 +DIST dkms-3.1.0.tar.gz 92614 BLAKE2B 555c2e4d340bf99bf035706186c5f68e8476881a102e14f7f5890122b7193fc634052fdfea4f3d3ce3dad7c8185b5643ed87c4e8e27262b90b3bf964f1ba84bd SHA512 57f9716b1a812b4c265617a27bfca6e559aea66ffb4676cb02f39de1c4670f6c2f8e6457725adc5e43b431579117dac3e22496d35ded57647984c9ba5f5e25e4 EBUILD dkms-3.0.13-r1.ebuild 1022 BLAKE2B 3f0cb2e7746809cf98447f093b6280ac62824a3f2091ed7851cc7e14299a71f073b2208d4ac09395b86bfd6c8ed7ddddd89e1a93ba8f90bef81b26b0aef11b31 SHA512 339c3fde05a0d0b8b7738d8ebf65c4619f4fe7d22ed179c2285da9d9bed0f0271a49917cbee8a8fe7063b11c78fc9eb3d8c55d5a6955ee93740b80da409161cd +EBUILD dkms-3.1.0.ebuild 1024 BLAKE2B ced62fb3ae029d71e4389128cd9989f7561680f7cffe67e64b60875b78651a3e3dc58d1bc2a94c67127e327529da70600ece88091d6ad176fcc075d85b8253c7 SHA512 ed8e449cb203abcdbbe19b6e6cdd773d2916fc8fe833dcb0e3b7c087ff8da55db2ce2e33db17f2f93ca0bccefc731dfe36b681404349cf379f4a496a6d0adf40 MISC metadata.xml 1447 BLAKE2B eca1543c0cb28d4502f82cc727c929cbe57a35e9fe5cf4475a1367bd89ccb781185917c54492749f3413e60c275248f745da4722324d99f2f5167bc4a7674089 SHA512 bc810e9460ca296b7e1e9405d1716c43139969b06549839fb0bc65c9c242050054b83898b5c60a2a247295fcc472595d0686ea654961e86db25865840e57cd1a diff --git a/sys-kernel/dkms/dkms-3.1.0.ebuild b/sys-kernel/dkms/dkms-3.1.0.ebuild new file mode 100644 index 000000000000..235f0a1eb372 --- /dev/null +++ b/sys-kernel/dkms/dkms-3.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info optfeature + +DESCRIPTION="Dynamic Kernel Module Support" +HOMEPAGE="https://github.com/dell/dkms" +SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="systemd" + +RDEPEND=" + sys-apps/kmod + virtual/linux-sources + systemd? ( sys-apps/systemd ) +" + +# Cannot work in the emerge sandbox +RESTRICT="test" + +CONFIG_CHECK="~MODULES" + +src_compile() { + # Nothing to do here + return +} + +src_test() { + chmod +x dkms || die + PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed" +} + +src_install() { + if use systemd; then + emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel" + else + emake install DESTDIR="${ED}" KCONF="/usr/lib/kernel" + fi + + einstalldocs + keepdir /var/lib/dkms +} + +pkg_postinst() { + optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \ + sys-kernel/installkernel +} |