diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-01-17 14:05:45 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-01-17 14:07:19 +0100 |
commit | 3c83bf74ca1b76d744159a10d833097b7aa763b8 (patch) | |
tree | c3f0e50574bbb05fc7b265e8499491a471d12534 /sys-power | |
parent | sys-power/acpi_call: update live ebuild (diff) | |
download | gentoo-3c83bf74ca1b76d744159a10d833097b7aa763b8.tar.gz gentoo-3c83bf74ca1b76d744159a10d833097b7aa763b8.tar.bz2 gentoo-3c83bf74ca1b76d744159a10d833097b7aa763b8.zip |
sys-power/acpi_call: drop old versions
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-power')
9 files changed, 0 insertions, 183 deletions
diff --git a/sys-power/acpi_call/Manifest b/sys-power/acpi_call/Manifest index 8a5678808904..caf7217e1c07 100644 --- a/sys-power/acpi_call/Manifest +++ b/sys-power/acpi_call/Manifest @@ -1,3 +1 @@ -DIST acpi_call-1.1.0.tar.gz 10470 BLAKE2B 000c5e6f1eb968bdea3d8dfb6d6bf7b18daffe8baa75ff32e8c6c4b98cafe0a72a67a65a17994a1c8efa16f528bdfbf2b27686a146730c319a5195dfa9ec0d51 SHA512 d5cf13c15f9057e3a27aaacfee6dcdb17b6a79194bdc8fd57b8140c07a532e2e58151bea881aa158c1183ac3bbe89f83fcfc2279ffd9e945a72331b6ddbf2c70 DIST acpi_call-1.2.1.tar.gz 12340 BLAKE2B e113f8c150c8e2f4f75ca1dd81cc4399f24bedcd716c9158561e8cb9f5e63e77cade18e6543ade4ec383690bf7041a583e297948789773db8ad9b63a957e61e8 SHA512 91553cf70a6b0173a6bfec38fcfb62ecd17614c91a888933704bb57d788592ce6981b01fb7c5e4bb8efdbe7fe229860c9f2be4b549dd71b232704c8bf0b3cfee -DIST acpi_call-3.17.tar.gz 10470 BLAKE2B e1a4912f4b92532aa8496e668541975b7e563dfd7613d41f33503d5eecad786b84ba98b205f27c4a4fbd3b37b034a467cf7c9a73f2995539d2117f50751df682 SHA512 39f8f924995ba4e5490e93f03c33db083ced224699b1028102294b2cc99edebd1eea04d33b50beed9dea86939c124682ef8d013c990d5611471b104be3200cb1 diff --git a/sys-power/acpi_call/acpi_call-1.1.0-r5.ebuild b/sys-power/acpi_call/acpi_call-1.1.0-r5.ebuild deleted file mode 100644 index 4dd39fb95a87..000000000000 --- a/sys-power/acpi_call/acpi_call-1.1.0-r5.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info linux-mod - -if [ "${PV}" = "9999" ]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/mkottman/acpi_call.git" - KEYWORDS="" -else - inherit vcs-snapshot - SRC_URI="https://github.com/mkottman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="A kernel module that enables you to call ACPI methods" -HOMEPAGE="https://github.com/mkottman/acpi_call" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -CONFIG_CHECK="ACPI" -MODULE_NAMES="acpi_call(misc:${S})" -BUILD_TARGETS="default" - -PATCHES=( - "${FILESDIR}/${P}-linux-3.17.patch" - "${FILESDIR}/${P}-linux-4.12.patch" - "${FILESDIR}/${P}-linux-4.14.patch" -) - -src_compile() { - BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}" - linux-mod_src_compile -} diff --git a/sys-power/acpi_call/acpi_call-3.17-r2.ebuild b/sys-power/acpi_call/acpi_call-3.17-r2.ebuild deleted file mode 100644 index 87ae13124e96..000000000000 --- a/sys-power/acpi_call/acpi_call-3.17-r2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -HOMEPAGE="https://github.com/teleshoes/acpi_call" -if [ "${PV}" = "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/teleshoes/acpi_call.git" - KEYWORDS="" -else - SRC_URI="https://github.com/teleshoes/acpi_call/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="A kernel module that enables you to call ACPI methods" - -LICENSE="GPL-2" -SLOT="0" - -BUILD_TARGETS="default" -CONFIG_CHECK="ACPI" -MODULE_NAMES="acpi_call(misc:${S})" - -PATCHES=( - "${FILESDIR}/${P}-linux-4.12.patch" - "${FILESDIR}/${P}-linux-4.14.patch" - "${FILESDIR}/${P}-linux-5.6.patch" -) - -src_compile() { - BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}" - linux-mod_src_compile -} diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch deleted file mode 100644 index 0db7d37e2fa6..000000000000 --- a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch +++ /dev/null @@ -1,26 +0,0 @@ -From c5b7a4bf93a28e6ce68beb54b48d3745db943e54 Mon Sep 17 00:00:00 2001 -From: Christoph Junghans <junghans@gentoo.org> -Date: Mon, 27 Oct 2014 21:57:10 -0600 -Subject: [PATCH] fix build with linux-3.17 - -https://bugs.gentoo.org/show_bug.cgi?id=524614 ---- - acpi_call.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/acpi_call.c b/acpi_call.c -index 3025d97..fa4f2c6 100644 ---- a/acpi_call.c -+++ b/acpi_call.c -@@ -6,7 +6,7 @@ - #include <linux/proc_fs.h> - #include <linux/slab.h> - #include <asm/uaccess.h> --#include <acpi/acpi.h> -+#include <linux/acpi.h> - - MODULE_LICENSE("GPL"); - --- -2.0.4 - diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch deleted file mode 100644 index ef9fde9f2958..000000000000 --- a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- acpi_call-1.1.0.orig/acpi_call.c 2017-07-03 22:44:38.111270788 +0200 -+++ acpi_call-1.1.0/acpi_call.c 2017-07-03 22:44:31.010270815 +0200 -@@ -6,6 +6,7 @@ - #include <linux/proc_fs.h> - #include <linux/slab.h> - #include <asm/uaccess.h> -+#include <linux/uaccess.h> - #include <linux/acpi.h> - - MODULE_LICENSE("GPL"); diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch deleted file mode 100644 index f69561637344..000000000000 --- a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- acpi_call-1.1.0.orig/acpi_call.c 2017-11-24 22:30:59.000000000 +0100 -+++ acpi_call-1.1.0/acpi_call.c 2017-11-24 22:30:01.000000000 +0100 -@@ -5,7 +5,6 @@ - #include <linux/version.h> - #include <linux/proc_fs.h> - #include <linux/slab.h> --#include <asm/uaccess.h> - #include <linux/uaccess.h> - #include <linux/acpi.h> diff --git a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch b/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch deleted file mode 100644 index ac64ba5efaf3..000000000000 --- a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/acpi_call.c b/acpi_call.c -index 35bfe12..c059511 100644 ---- a/acpi_call.c -+++ b/acpi_call.c -@@ -7,6 +7,7 @@ - #include <linux/proc_fs.h> - #include <linux/slab.h> - #include <asm/uaccess.h> -+#include <linux/uaccess.h> - - MODULE_LICENSE("GPL"); - diff --git a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch b/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch deleted file mode 100644 index ddea4fafc695..000000000000 --- a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/acpi_call.c b/acpi_call.c -index c059511..b622bf7 100644 ---- a/acpi_call.c -+++ b/acpi_call.c -@@ -6,7 +6,9 @@ - #include <linux/version.h> - #include <linux/proc_fs.h> - #include <linux/slab.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) - #include <asm/uaccess.h> -+#endif - #include <linux/uaccess.h> - - MODULE_LICENSE("GPL"); diff --git a/sys-power/acpi_call/files/acpi_call-3.17-linux-5.6.patch b/sys-power/acpi_call/files/acpi_call-3.17-linux-5.6.patch deleted file mode 100644 index c05c7e3c337e..000000000000 --- a/sys-power/acpi_call/files/acpi_call-3.17-linux-5.6.patch +++ /dev/null @@ -1,36 +0,0 @@ -From d128d10c5f1554254ce55f3c79ca08390279d628 Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" <Jason@zx2c4.com> -Date: Sun, 8 Mar 2020 13:04:55 +0800 -Subject: [PATCH] Support newer proc_ops interface for 5.6 - -Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> ---- - acpi_call.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/acpi_call.c b/acpi_call.c -index 801798b..65eb344 100644 ---- a/acpi_call.c -+++ b/acpi_call.c -@@ -348,11 +348,18 @@ static ssize_t acpi_proc_read( struct file *filp, char __user *buff, - return ret; - } - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) - static struct file_operations proc_acpi_operations = { - .owner = THIS_MODULE, - .read = acpi_proc_read, - .write = acpi_proc_write, - }; -+#else -+static const struct proc_ops proc_acpi_operations = { -+ .proc_read = acpi_proc_read, -+ .proc_write = acpi_proc_write, -+}; -+#endif - - #else - static int acpi_proc_read(char *page, char **start, off_t off, --- -2.25.1 - |