sys-kernel/dkms: remove duplicate

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2023-09-24 15:41:40 +02:00
parent 4e0b189773
commit ef225a96c5
5 changed files with 0 additions and 169 deletions

View File

@@ -1,3 +0,0 @@
DIST dkms-2.8.4.tar.gz 104625 BLAKE2B 0bd9c47d2a4bf313426832ec88bbda9bd58a482c691de145ff87ce05d47d473132f2a300e8d0e6e0609b6dcdd47f8f9e521a104ae19cfa8b1ba453fc6de7a412 SHA512 1b8b987b239db8cf00f367ee4f5faf13dc41b450f09fb046dc719e51d6a762d6b700bf41156d8011c3ea7e139064119d6717b60c1bf7fa0a75ea1fc63887baa5
DIST dkms-3.0.10.tar.gz 89602 BLAKE2B 43bc7ee7b788ac334bff94825f98edfc137be90b4f78f6a351d899c3fbc8961eaffaf3e73310eb24414790f46197e8409608a08a5003f515f162d6787ee7be09 SHA512 b271453497a004177137e972cb45cacb2dd3ac124a1fd2526218cf690f5ce77250195e73b6f9c75de4661a718d928e546bd85770ab98c2fd9af44fe777492ad7
DIST dkms-3.0.11.tar.gz 93521 BLAKE2B 48ad7da1e08015761c7f830227c66bbb7fbe903312ac97ad351f995da28288c250f207b23273e254be656fd33bc19fbbb0e12d5555748db3d75f555ae729716c SHA512 28f4abbf6827626045e6e8f9d6e9c7b45b019b5d671499224d1247e04c91acef99c8a93e440f5756ec53f20e91e2a129e0555a981be98b2fdb8fc0a0d91dd66d

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Dynamic Kernel Module Support"
HOMEPAGE="https://github.com/dell/dkms"
LICENSE="GPL-2"
DEPEND=""
KEYWORDS="~amd64 ~arm64 ~x86"
SLOT="0"
IUSE="kernel-hooks"
SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
DOCS=( AUTHORS sample.conf sample.spec )
src_prepare() {
#Removing gzip compressions in Makefile
sed -i '/dkms.8.gz/d' "${S}"/Makefile
default
}
src_compile() {
einfo "Skipping compilation"
}
src_install() {
emake install DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir)/
keepdir /var/lib/dkms
insinto /var/lib/dkms
doins dkms_dbversion
keepdir /etc/dkms
doins template-dkms-mkrpm.spec
einstalldocs
if use kernel-hooks; then
einfo "You're installed kernel hooks that automatically rebuild your modules"
else rm -r "${D}"/etc/kernel/;
fi
ewarn "DKMS might say about missing headers even if sys-kernel/linux-headers installed"
ewarn "Just don't keep attention, that don't affect anything"
}

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info
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"
KEYWORDS="~amd64 ~arm64 ~x86"
SLOT="0"
IUSE="systemd"
CONFIG_CHECK="~MODULES"
RDEPEND="
sys-apps/kmod
systemd? ( sys-apps/systemd )
"
# Error: unknown Linux distribution ID gentoo
RESTRICT="test"
src_prepare() {
# Install uncompressed version of man files
sed -i -e '\_gzip -9 $(MAN)/dkms.8_d' Makefile || die
default
}
src_compile() {
# Nothing to do here
return
}
src_test() {
./run_test.sh || die "Tests failed"
}
src_install() {
if use systemd; then
emake install-redhat DESTDIR="${ED}" LIBDIR="${ED}"/usr/$(get_libdir)/
else
emake install DESTDIR="${ED}" LIBDIR="${ED}"/usr/$(get_libdir)/
fi
einstalldocs
keepdir /var/lib/dkms
}

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info
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"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="systemd"
CONFIG_CHECK="~MODULES"
RDEPEND="
sys-apps/kmod
virtual/linux-sources
systemd? ( sys-apps/systemd )
"
# Error: unknown Linux distribution ID gentoo
RESTRICT="test"
src_prepare() {
# Install uncompressed version of man files
sed -i -e '\_gzip -9 $(MAN)/dkms.8_d' Makefile || die
default
}
src_compile() {
# Nothing to do here
return
}
src_test() {
./run_test.sh || die "Tests failed"
}
src_install() {
if use systemd; then
emake install-redhat DESTDIR="${ED}" LIBDIR="${ED}"/usr/$(get_libdir)/
else
emake install DESTDIR="${ED}" LIBDIR="${ED}"/usr/$(get_libdir)/
fi
einstalldocs
keepdir /var/lib/dkms
}

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">dell/dkms</remote-id>
</upstream>
<longdescription lang="en">
Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade.
Another benefit of DKMS is that it allows the installation of a new driver on an existing system, running an arbitrary kernel version, without any need for manual compilation or precompiled packages provided by the vendor.
DKMS was written by the Linux Engineering Team at Dell in 2003. It is included in many distributions, such as Ubuntu, Debian, Fedora, SUSE, and Arch. DKMS is free software released under the terms of the GNU General Public License (GPL) v2 or later.
DKMS supports both the rpm and deb package formats out-of-the-box.
</longdescription>
<use>
<flag name="kernel-hooks">Enable automatic rebuilding of modules via kernel source makefile hooks
</flag>
</use>
</pkgmetadata>