summaryrefslogtreecommitdiff
path: root/app-laptop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-09 21:49:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-09 21:49:23 +0100
commitb8cc45d2d4557cadf73e3411149ffb57ebd8c09b (patch)
tree36e9e50b71907f13105d2d76cda896f2097f8201 /app-laptop
parent60010a4cd6d7c12aaa62f00b5e8a158ed24efba6 (diff)
gentoo auto-resync : 09:06:2023 - 21:49:23
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/Manifest.gzbin3249 -> 3248 bytes
-rw-r--r--app-laptop/hdapsd/Manifest3
-rw-r--r--app-laptop/hdapsd/hdapsd-20141203-r2.ebuild73
-rw-r--r--app-laptop/hdapsd/hdapsd-20141203-r3.ebuild4
4 files changed, 3 insertions, 77 deletions
diff --git a/app-laptop/Manifest.gz b/app-laptop/Manifest.gz
index e413342e08c2..b8f344ea7c9f 100644
--- a/app-laptop/Manifest.gz
+++ b/app-laptop/Manifest.gz
Binary files differ
diff --git a/app-laptop/hdapsd/Manifest b/app-laptop/hdapsd/Manifest
index 26e3253d97be..6ace738bc122 100644
--- a/app-laptop/hdapsd/Manifest
+++ b/app-laptop/hdapsd/Manifest
@@ -1,6 +1,5 @@
AUX hdapsd.conf-20141024 739 BLAKE2B ebd52e9bc5d4849b842cb579ca4ea0892227c94c483d9ec0b9b1dbcf975bfdfb0079460a29dedb6e60236cf9a37814efdd900c6e8c8d4791deb2e81f37dfbbd6 SHA512 e03c7f02af2789a784284f10eed10e10edb82e2ad16d3794299cc9622c00a047f30df7f7d553ef572e265815684d1e783932e0f3b219cca44f0e1f74dc045944
AUX hdapsd.init-20141024 2177 BLAKE2B c790b9899ca67ecee13a3af54dc821020f551ec35e94866328e28b00ea79eb2f8ba88e618d6b1d854add6024abb75f7fdc1393bfff853f16e2ab4bfb16e03799 SHA512 e45b7e6fafd047c6fe7b172ad552c23b0000b90099a9a12e5a09133258e90d5f121bfa5e8a638f1dcd35110e54fc1da2462cdd501ebb65878286f623c7baa6dc
DIST hdapsd-20141203.tar.gz 128818 BLAKE2B 0219e30e032032dfd729e97f526eb7402fe4cb72245589ef03cca28f75a6e1f2cbfa55c5aa5599b24f496bbe662467077415fbec47caa1db17d6108e07292daa SHA512 19c1a8b362f15864b71f4fb221c0993b43b3b2d965d5826af06fb9f6b0e345e5da99181493e13e230c7fe77060ae5b373027e8ec90a511566a6ccaef43998178
-EBUILD hdapsd-20141203-r2.ebuild 2183 BLAKE2B ebbebdd87b20ed6a4681d1b270ba69b462da528e0e7c5e553c7cda28c8dae71744089de747f4e9e03890cb35560eb6e23a163c855a622870e25637a87c36b583 SHA512 2b154fd3c40fa8e46822ee0cd8da3b554cf579c46f572ad0a0b9873f0402a826165a49dd8bec9179a5763f31fed758c211e952134b086978ab446d1dc56870e6
-EBUILD hdapsd-20141203-r3.ebuild 2270 BLAKE2B 547503f35de8c034405f5356426ec0baa08d98366a24bb431817c25fb3fbde9b7772bca96da2f74ab344d444f537b128f6d9d79b1c705ee101ed0b5a3f79ac8b SHA512 7bba6c8fb5164f8a824d88fa2276d036ce9f23a44a9882c8aeb87f7f8bb6dc1107aa88960f9b938a338330a12f17640caf802b0d0f68b7749c27eba5af3cf68b
+EBUILD hdapsd-20141203-r3.ebuild 2268 BLAKE2B 410d74e14ce22c99d3bb4382e61abda8b84b8f5171538965fba256f0521284266168e3359594694fec6207a530665b9bdf0a0fc9f6c84fe67efcc7d143692a4c SHA512 87f86a996712bd05885653f8c5f11b60ce08300ce639e9090b962ab05f411b521ce8040e9ce2e3443e03799eb350c7a3568a136076f54e3cbad36a51021a451f
MISC metadata.xml 554 BLAKE2B 3bb86449e6f32b9c6eb3511aa2eb2de96d144baededfcb15de99b936cde40c532bfaaa77ddd3458667b0435c28100cc7cc71138055654d94096180c81c372027 SHA512 d3c70dd395e1075a3a6fb48e5a47fc7f972a0c9e0a37664e0a039c15e080bbe8615ee36b1702ff3213ccfcab0d58834d8d390f2b9490cb77dfc71919ea153494
diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
deleted file mode 100644
index 831a25bcbe7e..000000000000
--- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit linux-info readme.gentoo-r1 systemd
-
-DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
-HOMEPAGE="https://github.com/evgeni/hdapsd/"
-SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="libconfig"
-
-BDEPEND=""
-DEPEND="libconfig? ( dev-libs/libconfig:= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- # We require the hdaps module which can either come from either the
- # kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
- if ! has_version app-laptop/tp_smapi[hdaps]; then
- CONFIG_CHECK="~SENSORS_HDAPS"
- ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
- ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
- linux-info_pkg_setup
- fi
-}
-
-src_configure() {
- econf \
- $(use_enable libconfig) \
- --with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
- --docdir="/usr/share/doc/${PF}"
-}
-
-src_install() {
- default
- newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
- newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \
- [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
- ewarn "Your kernel does NOT support shock protection."
-
- readme.gentoo_print_elog
-}
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
-${PN} requires a kernel module to function properly. The recommended
-approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
-module provided by CONFIG_SENSORS_HDAPS may work as well.
-
-Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the
-package was installed with USE=libconfig, then the parameters can also
-be set in ${EROOT}/etc/${PN}.conf, although the former will take
-precedence over the latter if both are used.
-
-You can change the default sampling rate by modifing
-
- /sys/devices/platform/hdaps/sampling_rate
-
-and you may need to enable shock protection manually by running
-
- # echo -1 > /sys/block/<disk>/device/unload_heads
-
-as root.
-"
diff --git a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
index ee9f8da5e64c..dc97598dd6d8 100644
--- a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="libconfig"
BDEPEND=""