* [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/
@ 2021-01-17 13:07 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2021-01-17 13:07 UTC (permalink / raw
To: gentoo-commits
commit: 3c83bf74ca1b76d744159a10d833097b7aa763b8
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 13:05:45 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 13:07:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c83bf74
sys-power/acpi_call: drop old versions
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
sys-power/acpi_call/Manifest | 2 --
sys-power/acpi_call/acpi_call-1.1.0-r5.ebuild | 38 ----------------------
sys-power/acpi_call/acpi_call-3.17-r2.ebuild | 36 --------------------
.../files/acpi_call-1.1.0-linux-3.17.patch | 26 ---------------
.../files/acpi_call-1.1.0-linux-4.12.patch | 10 ------
.../files/acpi_call-1.1.0-linux-4.14.patch | 9 -----
.../files/acpi_call-3.17-linux-4.12.patch | 12 -------
.../files/acpi_call-3.17-linux-4.14.patch | 14 --------
.../acpi_call/files/acpi_call-3.17-linux-5.6.patch | 36 --------------------
9 files changed, 183 deletions(-)
diff --git a/sys-power/acpi_call/Manifest b/sys-power/acpi_call/Manifest
index 8a567880890..caf7217e1c0 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 4dd39fb95a8..00000000000
--- 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 87ae13124e9..00000000000
--- 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 0db7d37e2fa..00000000000
--- 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 ef9fde9f295..00000000000
--- 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 f6956163734..00000000000
--- 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 ac64ba5efaf..00000000000
--- 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 ddea4fafc69..00000000000
--- 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 c05c7e3c337..00000000000
--- 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
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/
@ 2021-10-29 22:01 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2021-10-29 22:01 UTC (permalink / raw
To: gentoo-commits
commit: 3db8155722ee92587a11eb2f98e119b483a81939
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 21:27:30 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 21:27:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db81557
sys-power/acpi_call: drop old version
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
sys-power/acpi_call/Manifest | 1 -
sys-power/acpi_call/acpi_call-1.2.1.ebuild | 36 ----------------------
.../files/acpi_call-1.2.1-kernel-5.13.patch | 30 ------------------
3 files changed, 67 deletions(-)
diff --git a/sys-power/acpi_call/Manifest b/sys-power/acpi_call/Manifest
index 44950a06146..14f25846bc0 100644
--- a/sys-power/acpi_call/Manifest
+++ b/sys-power/acpi_call/Manifest
@@ -1,2 +1 @@
-DIST acpi_call-1.2.1.tar.gz 12340 BLAKE2B e113f8c150c8e2f4f75ca1dd81cc4399f24bedcd716c9158561e8cb9f5e63e77cade18e6543ade4ec383690bf7041a583e297948789773db8ad9b63a957e61e8 SHA512 91553cf70a6b0173a6bfec38fcfb62ecd17614c91a888933704bb57d788592ce6981b01fb7c5e4bb8efdbe7fe229860c9f2be4b549dd71b232704c8bf0b3cfee
DIST acpi_call-1.2.2.tar.gz 12403 BLAKE2B 3195ec7e4d6189abdbb1409914d97d481f63ec79ec89a2ab630120ea99aabf8ca5890c500149a386a4a661d17e58387a6b252b625b6abadef1d977691156745e SHA512 3916a211bcc4a2435c6ba9664b1c86d8ab587c052a03e6edccd00fd7d01c6a756003dcc146e22e2cf688795600589c8cac1d83774c989794dcadc91f5caa2b5e
diff --git a/sys-power/acpi_call/acpi_call-1.2.1.ebuild b/sys-power/acpi_call/acpi_call-1.2.1.ebuild
deleted file mode 100644
index 418c4c459de..00000000000
--- a/sys-power/acpi_call/acpi_call-1.2.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info linux-mod
-
-DESCRIPTION="A linux kernel module that enables calls to ACPI"
-HOMEPAGE="https://github.com/nix-community/acpi_call"
-SRC_URI="https://github.com/nix-community/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="examples"
-
-PATCHES=( "${FILESDIR}/${P}-kernel-5.13.patch" )
-
-BUILD_TARGETS="default"
-CONFIG_CHECK="ACPI"
-MODULE_NAMES="acpi_call(misc:${S})"
-
-src_compile() {
- BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}"
-
- linux-mod_src_compile
-}
-
-src_install() {
- linux-mod_src_install
-
- if use examples; then
- insinto /usr/share/acpi_call
- doins examples/*.sh
- fi
-}
diff --git a/sys-power/acpi_call/files/acpi_call-1.2.1-kernel-5.13.patch b/sys-power/acpi_call/files/acpi_call-1.2.1-kernel-5.13.patch
deleted file mode 100644
index 786e639c03c..00000000000
--- a/sys-power/acpi_call/files/acpi_call-1.2.1-kernel-5.13.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 48011f82726c263f49a2b9ca3d9f674bdb4cfd22 Mon Sep 17 00:00:00 2001
-From: Alexander Wetzel <alexander@wetzel-home.de>
-Date: Thu, 8 Jul 2021 16:37:43 +0200
-Subject: [PATCH] Fix for 5.13+ kernels
-
-Upstream commit d4455faccd6c ('proc: mandate ->proc_lseek
-in "struct proc_ops"') made seek support for proc mandatory.
-
-Not providing it will cause a null pointer exception for kernels
->=5.13.0
-
-Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
----
- acpi_call.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/acpi_call.c b/acpi_call.c
-index ebdda25..9fd9886 100644
---- a/acpi_call.c
-+++ b/acpi_call.c
-@@ -369,6 +369,9 @@ static ssize_t acpi_proc_read( struct file *filp, char __user *buff,
- static struct proc_ops proc_acpi_operations = {
- .proc_read = acpi_proc_read,
- .proc_write = acpi_proc_write,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 13, 0)
-+ .proc_lseek = default_llseek,
-+#endif
- };
- #else
- static struct file_operations proc_acpi_operations = {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-29 22:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-17 13:07 [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2021-10-29 22:01 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox