From 1bb184def392ced13e278e43e8d06e92e5eb58a9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Sep 2024 19:31:19 +0100 Subject: sys-kernel/tp_smapi-dkms : enable build for kernel v6.10.x --- .../md5-cache/sys-kernel/tp_smapi-dkms-0.44-r1 | 12 ----- .../md5-cache/sys-kernel/tp_smapi-dkms-0.44-r2 | 12 +++++ metadata/pkg_desc_index | 2 +- sys-kernel/tp_smapi-dkms/files/dkms-hdaps.conf | 2 +- sys-kernel/tp_smapi-dkms/files/dkms.conf | 2 +- .../tp_smapi-dkms/tp_smapi-dkms-0.44-r1.ebuild | 53 ---------------------- .../tp_smapi-dkms/tp_smapi-dkms-0.44-r2.ebuild | 53 ++++++++++++++++++++++ 7 files changed, 68 insertions(+), 68 deletions(-) delete mode 100644 metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r1 create mode 100644 metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r2 delete mode 100644 sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r1.ebuild create mode 100644 sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r2.ebuild diff --git a/metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r1 b/metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r1 deleted file mode 100644 index b4444eff..00000000 --- a/metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst prerm setup -DEPEND=sys-kernel/dkms -DESCRIPTION=IBM ThinkPad SMAPI BIOS driver sources -EAPI=8 -HOMEPAGE=https://github.com/linux-thinkpad/tp_smapi -IUSE=hdaps -KEYWORDS=amd64 x86 -LICENSE=GPL-2 -RDEPEND=sys-kernel/dkms -SLOT=0 -SRC_URI=https://github.com/linux-thinkpad/tp_smapi/releases/download/tp-smapi/0.44/tp_smapi-0.44.tgz -_md5_=346b33daab4e829121d2f8c7adbc5c18 diff --git a/metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r2 b/metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r2 new file mode 100644 index 00000000..b4444eff --- /dev/null +++ b/metadata/md5-cache/sys-kernel/tp_smapi-dkms-0.44-r2 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install postinst prerm setup +DEPEND=sys-kernel/dkms +DESCRIPTION=IBM ThinkPad SMAPI BIOS driver sources +EAPI=8 +HOMEPAGE=https://github.com/linux-thinkpad/tp_smapi +IUSE=hdaps +KEYWORDS=amd64 x86 +LICENSE=GPL-2 +RDEPEND=sys-kernel/dkms +SLOT=0 +SRC_URI=https://github.com/linux-thinkpad/tp_smapi/releases/download/tp-smapi/0.44/tp_smapi-0.44.tgz +_md5_=346b33daab4e829121d2f8c7adbc5c18 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 1d7d57fe..a28a211b 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -69,7 +69,7 @@ sys-kernel/linux-image-redcore-lts 5.15.166 6.1.109 6.6.50: Redcore Linux LTS Ke sys-kernel/linux-sources-redcore 6.8.12-r1 6.10.9: Redcore Linux Kernel Sources sys-kernel/linux-sources-redcore-lts 5.15.166 6.1.109 6.6.50: Redcore Linux LTS Kernel Sources sys-kernel/nvidia-drivers-dkms 390.157-r7 470.239.06-r1 535.171.04-r1: NVIDIA driver sources for linux -sys-kernel/tp_smapi-dkms 0.44-r1: IBM ThinkPad SMAPI BIOS driver sources +sys-kernel/tp_smapi-dkms 0.44-r2: IBM ThinkPad SMAPI BIOS driver sources sys-kernel/vhba-dkms 20240202-r1: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources sys-kernel/virtualbox-modules-dkms 7.0.20: Kernel Modules source for Virtualbox sys-kernel/zfs-dkms 2.2.4-r1: ZFS sources for linux diff --git a/sys-kernel/tp_smapi-dkms/files/dkms-hdaps.conf b/sys-kernel/tp_smapi-dkms/files/dkms-hdaps.conf index 9a74ec7a..47ff3d01 100644 --- a/sys-kernel/tp_smapi-dkms/files/dkms-hdaps.conf +++ b/sys-kernel/tp_smapi-dkms/files/dkms-hdaps.conf @@ -1,6 +1,6 @@ PACKAGE_NAME="tp_smapi-dkms" PACKAGE_VERSION="0.44" -BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-8]\.)" # only build for kernels v5.x.x up to and including v6.8.x +BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.|\.|6\.1[0-0]\.)" # only build for kernels v5.x.x up to and including v6.10.x MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build HDAPS=1" CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean" BUILT_MODULE_NAME[0]="thinkpad_ec" diff --git a/sys-kernel/tp_smapi-dkms/files/dkms.conf b/sys-kernel/tp_smapi-dkms/files/dkms.conf index 9dbb68d1..1ec6cf56 100644 --- a/sys-kernel/tp_smapi-dkms/files/dkms.conf +++ b/sys-kernel/tp_smapi-dkms/files/dkms.conf @@ -1,6 +1,6 @@ PACKAGE_NAME="tp_smapi-dkms" PACKAGE_VERSION="0.44" -BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-8]\.)" # only build for kernels v5.x.x up to and including v6.8.x +BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.|\.|6\.1[0-0]\.)" # only build for kernels v5.x.x up to and including v6.10.x MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build" CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean" BUILT_MODULE_NAME[0]="thinkpad_ec" diff --git a/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r1.ebuild b/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r1.ebuild deleted file mode 100644 index e50f0538..00000000 --- a/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=tp_smapi -MY_P=${MY_PN}-${PV} -DESCRIPTION="IBM ThinkPad SMAPI BIOS driver sources" -HOMEPAGE="https://github.com/linux-thinkpad/tp_smapi" -SRC_URI="https://github.com/linux-thinkpad/tp_smapi/releases/download/tp-smapi/${PV}/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="hdaps" - -DEPEND="sys-kernel/dkms" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - if use hdaps; then - local CONFIG_CHECK="~INPUT_UINPUT" - local WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better" - local CONFIG_CHECK="~!SENSORS_HDAPS" - local ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" - fi -} - -src_compile() { - : -} - -src_install() { - if use hdaps; then - cp "${FILESDIR}"/dkms-hdaps.conf "${S}"/dkms.conf || die - else - cp "${FILESDIR}"/dkms.conf "${S}" || die - fi - 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/tp_smapi-dkms/tp_smapi-dkms-0.44-r2.ebuild b/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r2.ebuild new file mode 100644 index 00000000..e50f0538 --- /dev/null +++ b/sys-kernel/tp_smapi-dkms/tp_smapi-dkms-0.44-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=tp_smapi +MY_P=${MY_PN}-${PV} +DESCRIPTION="IBM ThinkPad SMAPI BIOS driver sources" +HOMEPAGE="https://github.com/linux-thinkpad/tp_smapi" +SRC_URI="https://github.com/linux-thinkpad/tp_smapi/releases/download/tp-smapi/${PV}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="hdaps" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use hdaps; then + local CONFIG_CHECK="~INPUT_UINPUT" + local WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better" + local CONFIG_CHECK="~!SENSORS_HDAPS" + local ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" + fi +} + +src_compile() { + : +} + +src_install() { + if use hdaps; then + cp "${FILESDIR}"/dkms-hdaps.conf "${S}"/dkms.conf || die + else + cp "${FILESDIR}"/dkms.conf "${S}" || die + fi + dodir /usr/src/${P} + insinto /usr/src/${P} + doins -r "${S}"/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} -- cgit v1.2.3