[gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/

2021-10-29 Thread Conrad Kostecki
commit: 3db8155722ee92587a11eb2f98e119b483a81939
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Oct 29 21:27:30 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Oct 29 21:27:30 2021 +
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  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..000
--- 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..000
--- 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 
-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 

- 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 = {



[gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/, sys-power/acpi_call/

2021-01-17 Thread Conrad Kostecki
commit: 3c83bf74ca1b76d744159a10d833097b7aa763b8
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jan 17 13:05:45 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jan 17 13:07:19 2021 +
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  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..000
--- 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}" = "" ]; 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..000
--- 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}" = "" ]; 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..000
--- 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 
-Date: Mon, 27 Oct 2014 21:57:10 -0600
-Subject: [PATC

[gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/files/

2016-11-16 Thread Christoph Junghans
commit: 8c3c9afda2d624fc383de95fbf07815dfb08c941
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Nov 16 16:45:31 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Nov 16 16:46:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3c9afd

sys-power/acpi_call: update patch

Package-Manager: portage-2.3.0

 sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 32923a4..0db7d37 100644
--- 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
@@ -1,5 +1,5 @@
 From c5b7a4bf93a28e6ce68beb54b48d3745db943e54 Mon Sep 17 00:00:00 2001
-From: Christoph Junghans 
+From: Christoph Junghans 
 Date: Mon, 27 Oct 2014 21:57:10 -0600
 Subject: [PATCH] fix build with linux-3.17