From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/
Date: Sun, 17 Jan 2021 13:07:35 +0000 (UTC) [thread overview]
Message-ID: <1610888839.3c83bf74ca1b76d744159a10d833097b7aa763b8.conikost@gentoo> (raw)
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
-
next reply other threads:[~2021-01-17 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 13:07 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-29 22:01 [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/ Conrad Kostecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1610888839.3c83bf74ca1b76d744159a10d833097b7aa763b8.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox