summaryrefslogtreecommitdiff
path: root/app-laptop/i8kutils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /app-laptop/i8kutils
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'app-laptop/i8kutils')
-rw-r--r--app-laptop/i8kutils/Manifest5
-rw-r--r--app-laptop/i8kutils/files/i8kmon.init19
-rw-r--r--app-laptop/i8kutils/i8kutils-1.43.ebuild49
-rw-r--r--app-laptop/i8kutils/metadata.xml9
4 files changed, 80 insertions, 2 deletions
diff --git a/app-laptop/i8kutils/Manifest b/app-laptop/i8kutils/Manifest
index 4d5ba741294e..22a26e67228d 100644
--- a/app-laptop/i8kutils/Manifest
+++ b/app-laptop/i8kutils/Manifest
@@ -1,8 +1,11 @@
AUX i8k.conf 891 BLAKE2B 734a958f641396e103b6a018d983638d91c540267325b8057f23091e614b88e5eb45b9cf154e32a8aa00f219904227eaed3887f87c379e18d6475a945a065f19 SHA512 bc262f0014237abfc87efc60dabbb37e86c459077831b68c07ea13608d1174bd32cb695e74ca4597839f7b128cfc1b4860874cce0c6f511972569e5f0948526d
AUX i8k.init-r1 1216 BLAKE2B b8e2dbb0cb343b751deaacda9a7f57646c27fc501669980e20e3b42302e87fb89001b48dcecb3d5866a06dd5cf538044ab3ff356c9dba18a7b57ebd3dc408fc1 SHA512 39282605172dac48c12819e5adeb080d3c73257d775fb8e53d2bdcf26e0510dd10055d8a51e17043f2a5d49da3ffb73f28a767fbfb44c0bb77feb621e25867cb
+AUX i8kmon.init 397 BLAKE2B 54d12165aa4d8cee50e4e73392d39f0064669f55e57e999dce4db98992e1ac762a87235a25d07822d143baf40d32bc4ab93ad5f53b2d719a54299069e9b7feb9 SHA512 e31b6aacea515735c96375094521a9c825660d7a19e40386f0afe93084fc51ba767afd5549101ca8dca217589dd75b0034952d20be9a15bec5a2a6e9e0012b38
AUX i8kmon.service 158 BLAKE2B e567398b719557fffc6b4a244e4528d6147e8406db59d4cca39d531e88a04be5e4154971f15ed9db24d7f8ebfef103ea78cdaa4aeae356823045f7012782cf39 SHA512 77cbed13d4c1982a491faafe7e45da7a4fc06ea94e6b126405211f54a4bb5b4c794d94f6ca56d6d16ad0e0e62d8311bf90e0e6c60c74147ea12963c530c69529
AUX i8kutils-1.42-Makefile.patch 1296 BLAKE2B cbcc827c1c93ebb4a597c642ed14110c92de701b7b094228924442c75806ecf2e35b43a65c7a39f412e9d10d24ea97c726c76cd9653ea090a0215a795ac47905 SHA512 3dd548cff896d3b14df0e55059f842cf3e04c0a9057f2c16eea7fb160882ceab4dc91782012d2243a4a78f9271c2effdb09109ffe889c27149a65940b69785d9
AUX i8kutils-gcc5.patch 1161 BLAKE2B 12705e687c801a2863f2b8908473b1268bb3af474004ec1b317d03cb9ffb100dc4c4b2b5afeaeea76d047037b5ba5586a8629a1bbf5313b99e76dd7728679e1b SHA512 c789ef70244c59041308c5ff692c2bec6cf4fa5e673deeea9ec59cd1b6036e60f6ca4036dea04eaaa1b8172e3388b2f5e02227311e032c9c552e04ac50276616
+DIST i8kutils-1.43.tar.xz 29184 BLAKE2B 3489de1993267eb8aaca1dc00e6c19f68be14b5351715828eee9d4e6abbedbcd3faa58aba5e764de4bbf6cfa41e0a64d011d1d5ea904b261fa3f9842a4501bab SHA512 eed2db9e5864b0dc24e22302ce2abaa54415520a920cfa0be08068b8316a3c2c04b3565cc84164e36fb7ae5bb8b77be55ae179255e03ecd86ea664d85cece456
DIST i8kutils_1.42.tar.xz 37544 BLAKE2B ca8ec63252f43b269ba2a5565fce275aaa6542ebe6f4824d12b194cb0ae8b09dbe354c743ad78af8bcb897e411f1739df464e6c5603d470842de4b59be753984 SHA512 148e8788c50cbaa22f1dd3b72867839f5bc2d91cda70aee74f7c9a3d8542386a44652c5eb8dd9eba0e30400fc6bb72855d3cc7f2dc4284c2529b9cba2eac485b
EBUILD i8kutils-1.42.ebuild 1022 BLAKE2B 4248f6b20e56f8298a4fdfcfb28fb03e76c5d3da611a42dee4a0a1ad49678bcda1b547d6e4c3c0da47a1c1771b59cd7e7fdd3dc367e84e94f8560c3bcb1fd64b SHA512 a8d386ec9e17804dbf5dac188e7a6af2f943d40f6166972482a3fe970c42300a9cd137697b8b21018a23af8ce080db1c24f6b1b3b4011224559e1df749fedd1c
-MISC metadata.xml 243 BLAKE2B 2e1785e7cbaf39d19d0e5470b25bfd2ebbc8777cabddc9b3ad02c06ac703b2fb54c40ef390ded2d6c473dc25a1d3ee72158018ac2453dc1869715b84226be988 SHA512 5cb6b9a0368c5fede3f04e466fc27ac776052008066e0deaf1989bc231cd54fd01993375c4d798d788c335744cd1e5e01b496cc50b450d1bad9de6ddbb5a764e
+EBUILD i8kutils-1.43.ebuild 1152 BLAKE2B 3e42ed12051ff979a009234c477bcd5b4b682584333aa1f39ea1be5f69e077e6725700764e3de03c05afa51e21dd369424508ee999623afabbf7624dfcda0b9d SHA512 b3f207556ff004ecee5d61ba68abc93a5c195d1eaf0323a1ccac0f868a0ff1072053ad0b2268e68bd6f7b0cb5f76b09cc04f3e252f69ecc82865e9a35c1ee55c
+MISC metadata.xml 455 BLAKE2B 50bb29697e972a2cd20da7f82a87f9d15eae4332496696d85e7be9f88b93a9b8583cbe420816ca90272ead782ad9055d458335fed2b69732bf143952fac4ebf6 SHA512 f561cf2ede2f1d36508229e97e0b1dc7d736f29bc6ed588fff9a2759be1d0457c9d7c64fb114e8250824dbd530fe25a01373673ef83b5370aefc0d250bc039f2
diff --git a/app-laptop/i8kutils/files/i8kmon.init b/app-laptop/i8kutils/files/i8kmon.init
new file mode 100644
index 000000000000..ed41a2a0a553
--- /dev/null
+++ b/app-laptop/i8kutils/files/i8kmon.init
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ after modules
+}
+
+command="/usr/bin/i8kmon"
+command_args="--nouserconfig"
+command_background=true
+pidfile="/run/${RC_SVCNAME}.pid"
+
+start_pre() {
+ if [ ! -e /proc/i8k ]; then
+ eerror "The dell-smm-hwmon (i8k) driver is not loaded or installed"
+ return 1
+ fi
+}
diff --git a/app-laptop/i8kutils/i8kutils-1.43.ebuild b/app-laptop/i8kutils/i8kutils-1.43.ebuild
new file mode 100644
index 000000000000..d406bfcc3a0f
--- /dev/null
+++ b/app-laptop/i8kutils/i8kutils-1.43.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd toolchain-funcs
+
+DESCRIPTION="Dell Inspiron and Latitude utilities"
+HOMEPAGE="https://launchpad.net/i8kutils"
+SRC_URI="https://launchpad.net/i8kutils/trunk/${PV}/+download/${P/-/_}.tar.xz -> ${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/tcl
+ sys-power/acpi
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+pkg_pretend() {
+ # Check for required dell-smm-hwmon (formerly i8k) driver
+ if ! linux_config_exists; then
+ eerror "Unable to check your kernel for dell-smm-hwmon (i8k) support"
+ else
+ CONFIG_CHECK="~I8K"
+ ERROR_I8K="You must have the dell_smm_hwmon driver compiled into your"
+ ERROR_I8K+=" kernel or loaded as a module to use i8kutils' utilities"
+ check_extra_config
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin i8k{ctl,fan,mon}
+ doman i8k{ctl,mon}.1
+ newdoc README.i8kutils README
+ insinto /etc
+ doins i8kmon.conf
+
+ newinitd "${FILESDIR}/i8kmon.init" i8kmon
+ systemd_dounit debian/i8kmon.service
+}
diff --git a/app-laptop/i8kutils/metadata.xml b/app-laptop/i8kutils/metadata.xml
index 000429d96dbe..c9d971e383d6 100644
--- a/app-laptop/i8kutils/metadata.xml
+++ b/app-laptop/i8kutils/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>octiabrina@myrvogna.net</email>
+ <name>Octiabrina Terrien-Puig</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="launchpad">i8kutils</remote-id>
</upstream>