diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /app-laptop/hdapsd | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'app-laptop/hdapsd')
-rw-r--r-- | app-laptop/hdapsd/Manifest | 2 | ||||
-rw-r--r-- | app-laptop/hdapsd/hdapsd-20141203-r2.ebuild (renamed from app-laptop/hdapsd/hdapsd-20141203-r1.ebuild) | 15 |
2 files changed, 9 insertions, 8 deletions
diff --git a/app-laptop/hdapsd/Manifest b/app-laptop/hdapsd/Manifest index 05418c9ff662..4211834f4d07 100644 --- a/app-laptop/hdapsd/Manifest +++ b/app-laptop/hdapsd/Manifest @@ -1,5 +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-r1.ebuild 2159 BLAKE2B 9f6a089e3495fb1568c1799f26d6329c3bf9b88e76bbb277f45fa093ff058aaaf0c7ddb02f0c7c0b5823884528319a7469d07786fe20e93c29fef1e3f708c547 SHA512 37efbeab2f59de16efcb530cd95a54a6331aa6c7ce314fa587b30ad3a23505bee2f339900cc8c4bc6c122faaedc1bb99387868d5c63ac47e84a9100b755e67ff +EBUILD hdapsd-20141203-r2.ebuild 2183 BLAKE2B ebbebdd87b20ed6a4681d1b270ba69b462da528e0e7c5e553c7cda28c8dae71744089de747f4e9e03890cb35560eb6e23a163c855a622870e25637a87c36b583 SHA512 2b154fd3c40fa8e46822ee0cd8da3b554cf579c46f572ad0a0b9873f0402a826165a49dd8bec9179a5763f31fed758c211e952134b086978ab446d1dc56870e6 MISC metadata.xml 673 BLAKE2B d0dd1b8ff7d65cf628b0bd9841072a578953fec9d343a87ff91666de3f74079e911ce578a732b32cd6a3709c92ae6dcf13ac899d635f84e67c770af6212a315a SHA512 296b864ed6a816faa8dd2e65471cb74a0b8a99b29dcf315bc4d31cb81f77a1c7982cc1f1929b2331ae57d0bef3a73273793b0b8da04142d0df13d364c3ab6545 diff --git a/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild index d3cea62d792d..831a25bcbe7e 100644 --- a/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild +++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit linux-info readme.gentoo systemd +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/" @@ -13,6 +13,7 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="libconfig" +BDEPEND="" DEPEND="libconfig? ( dev-libs/libconfig:= )" RDEPEND="${DEPEND}" @@ -30,7 +31,7 @@ pkg_setup() { src_configure() { econf \ $(use_enable libconfig) \ - --with-systemdsystemunitdir=$(systemd_get_unitdir) \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) \ --docdir="/usr/share/doc/${PF}" } @@ -42,8 +43,8 @@ src_install() { } pkg_postinst() { - [[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \ - [[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \ + [[ -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 @@ -55,9 +56,9 @@ ${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 +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 +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 |