summaryrefslogtreecommitdiff
path: root/sys-apps/hd-idle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
commite8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch)
tree14ad0b4141ec6704388a9130b87976ed75435984 /sys-apps/hd-idle
parent6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff)
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'sys-apps/hd-idle')
-rw-r--r--sys-apps/hd-idle/Manifest1
-rw-r--r--sys-apps/hd-idle/hd-idle-1.05-r4.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-apps/hd-idle/Manifest b/sys-apps/hd-idle/Manifest
index 20b46533c5ec..62330f5a800e 100644
--- a/sys-apps/hd-idle/Manifest
+++ b/sys-apps/hd-idle/Manifest
@@ -6,4 +6,5 @@ AUX hd-idle.service 330 BLAKE2B 34805650652d33118a073944f1bf079fd0d6be241b3da2a6
DIST hd-idle-1.05.tgz 17951 BLAKE2B f99dd25d41f2ac4391025ff652827a8687db19df2dafe0f07eeeea700eaf0d67a255ee67017123510a3b89f3aba2f50de7204923d9ab85e80138f657f5e120d3 SHA512 8636d8bf2bce40f380afdea859aef7d142258071c62f87884a9af55c7c84310d89de712f56dff2bd825f0c7d79b04356df92e3012d8f683d8c41ebb23cd3920b
EBUILD hd-idle-1.05-r2.ebuild 1046 BLAKE2B a7c4b977c304453c4c0ff2816ea5e0b952bbc24794e3d6508fd388aeb068b427bc53d25f9ac259c34666c1e7c4874dae0319ef56624a49589ccdccfd7e33e7ce SHA512 4c53ef81f939dc10391e08a8fd7e37e2cdf21dda8632cee8aed266a84b2f67f71992c4fc4653571d55848235d2a0794ba5dc60008a98a67358c15bb970cd3b89
EBUILD hd-idle-1.05-r3.ebuild 1053 BLAKE2B ddf03f4e290324750ebb11e80ceac4bcb682f26283550115f66933f682ba521a9ef83f30982b0ec4599a65107b37bdf0d52c25f16aff61a35aa596ec65a4c7f7 SHA512 d25bbdd90ad765f7734846c1f790293b22e132a5c85387e7634c2d231900079c0baaaecb245db3fc188f7527807f2fb2bba9e460bfe38312473450e7cc148b46
+EBUILD hd-idle-1.05-r4.ebuild 1067 BLAKE2B 9a32d0225ccb0a7ed228bc9d26c205955089f4dd92116c8d8ea2c47542f2ee0fbc915972591b920ca044526da693ac10ce22747ec7a7b3a7156505a329080026 SHA512 5cff9d7290505dd448cc70ac7822f54d38ec36337b48753df1eea056980059cd6d4b69e23b531271ae4e43bee9e3b21048505a90e880f25f87d4c7129a547e5e
MISC metadata.xml 501 BLAKE2B 404036d599ca9ff7678f9a7f0b383d043c9278fa82ad5c843991c248c68dc65148f9a128fb43b09ee46a4bae7302a8387db8e7fad4804099e061443e0d1b7219 SHA512 884c44307ec029fc985bc82e9e662341e2a6a8d8b9345405e9afe548826b1392332c0b477f861e751cb9649a68890737968d376c666d4edf8aac95852387fceb
diff --git a/sys-apps/hd-idle/hd-idle-1.05-r4.ebuild b/sys-apps/hd-idle/hd-idle-1.05-r4.ebuild
new file mode 100644
index 000000000000..2c7680147484
--- /dev/null
+++ b/sys-apps/hd-idle/hd-idle-1.05-r4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info systemd
+
+DESCRIPTION="Utility for spinning down hard disks after a period of idle time"
+HOMEPAGE="https://hd-idle.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+CONFIG_CHECK="~PROC_FS"
+
+DOCS=( debian/changelog README )
+
+src_install() {
+ default
+ systemd_newunit "${FILESDIR}"/hd-idle.service ${PN}.service
+ systemd_install_serviced "${FILESDIR}"/hd-idle-service-dropin.conf ${PN}.service
+ newinitd "${FILESDIR}"/hd-idle-init hd-idle
+ newconfd "${FILESDIR}"/hd-idle-conf hd-idle
+
+ elog "The systemd unit file for hd-idle no longer sources ${EPREFIX}/etc/conf.d/hd-idle ."
+ elog "Configuration is still done via ${EPREFIX}/etc/conf.d/hd-idle for OpenRC systems"
+ elog "while for systemd systems, a systemd drop-in file located at"
+ elog "${EPREFIX}/etc/systemd/system/hd-idle.service.d/00gentoo.conf"
+ elog "is used for configuration."
+}