diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 51305 -> 51303 bytes | |||
-rw-r--r-- | sys-apps/hd-idle/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/hd-idle/files/hd-idle-service-dropin.conf | 35 | ||||
-rw-r--r-- | sys-apps/hd-idle/hd-idle-1.05-r3.ebuild | 33 |
4 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex f6b77a497295..3ce6f79d0502 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/hd-idle/Manifest b/sys-apps/hd-idle/Manifest index 0d03c59339ac..20b46533c5ec 100644 --- a/sys-apps/hd-idle/Manifest +++ b/sys-apps/hd-idle/Manifest @@ -1,7 +1,9 @@ AUX hd-idle-conf 1530 BLAKE2B a67f5d13a3a204c0e49e66c91c1503d1b9cb191d35def96f3e98ba6f3ce9094559eaaaf5cc974c2bb9f3017c9dfe99461fbf7ba8bf4e48935d30a2ea1c451c70 SHA512 d7f2b2324f3a248ddf0d205ed188aa6c886701bf18189c16284bb16143bda8e3707d30226c69b440058dd9eb4d6222ebe10df7e10c6bbb7c9fd442f88df216fe AUX hd-idle-dropin.conf 1613 BLAKE2B 62917b7ff69ddf5cff692798fd2c609bd6e805034b3878dc2a3c51019753a46ea604ab71cab98b891861dea3312926e46ae22c2aab08b134839cc62c15f64b68 SHA512 55e636f30b3b20499ba921503e8c84d56008a15ff172a0a44badcc7f3cde396f42f2ad8f37e249a2cdecd150626fc8ef41b37e327f8feb6f3d30936aac304e9c AUX hd-idle-init 296 BLAKE2B e4d2b4a7f7ff816198c7e9b1b5289ec3abb1a928d4bfe50175af2d25d4333a661ad7beaa0c6a6a6fc73775a2e61408e7b6ea2721239648d1e4142be09e07c9cd SHA512 aa26ad5f4d0e97197801ca3e791301a88bcf86f094b338f2c9f7b5000de7fbb91efb9cab8e3b142039b17d5dfb47bf07465a85d12a3ed3594a9d0f38e6e518f2 +AUX hd-idle-service-dropin.conf 1777 BLAKE2B 20c30d5a7a664e21b5588df1244f0d883ecde009dc7d6e5d4a89df0ac2d0a7515b12421e04bd74f273d5f584197e4e91d00764b68948a02c2e39cfb033d332bd SHA512 b34597475a8113673e2dc1a9c76b9d9796cf3da5e479e840b117f8824a75d635590cf67459d83374d077d07fd9d201cedb92d66839d6ccd261a80d4012059f18 AUX hd-idle.service 330 BLAKE2B 34805650652d33118a073944f1bf079fd0d6be241b3da2a6fc58a9b2a22d66366f3c66754d25b86609e26be737aeea10a794c4e17076452d2dd8e041ad67fab7 SHA512 b4a3759049661da6bcd0a7966b7fe58e2700bfe4b9f3bdffe93e8417f36ad5ce286da960489cc5ac18a0366b97d80d63ad03948ca56b9d9eeacc0c06a49ae00f 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 MISC metadata.xml 501 BLAKE2B 404036d599ca9ff7678f9a7f0b383d043c9278fa82ad5c843991c248c68dc65148f9a128fb43b09ee46a4bae7302a8387db8e7fad4804099e061443e0d1b7219 SHA512 884c44307ec029fc985bc82e9e662341e2a6a8d8b9345405e9afe548826b1392332c0b477f861e751cb9649a68890737968d376c666d4edf8aac95852387fceb diff --git a/sys-apps/hd-idle/files/hd-idle-service-dropin.conf b/sys-apps/hd-idle/files/hd-idle-service-dropin.conf new file mode 100644 index 000000000000..4525e100d9b1 --- /dev/null +++ b/sys-apps/hd-idle/files/hd-idle-service-dropin.conf @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# override settings for hd-idle + +# hd-idle command line options +# Options are: +# -a Set (partial) device name of disks for subsequent +# idle-time parameters (-i). This parameter is optional +# in the sense that there's a default entry for all +# disks which are not named otherwise by using this +# parameter. +# -i <idle_time> Idle time in seconds. +# -l <logfile> Name of logfile (written only after a disk has spun +# up). Please note that this option might cause the +# disk which holds the logfile to spin up just because +# another disk had some activity. This option should +# not be used on systems with more than one disk +# except for tuning purposes. On single-disk systems, +# this option should not cause any additional spinups. +# +# Options not exactly useful here: +# -t <disk> Spin-down the specfified disk immediately and exit. +# -d Debug mode. This will prevent hd-idle from +# becoming a daemon and print debugging info to +# stdout/stderr +# -h Print usage information. + +[Service] +# To override, uncomment the following ExecStart lines (including the first) to unset and +# then override ExecStart as needed. +# Remember to "systemctl daemon-reload" and restart the service +# after each change. +#ExecStart= +#ExecStart=/usr/sbin/hd-idle -i 180 -l /var/log/hd-idle.log diff --git a/sys-apps/hd-idle/hd-idle-1.05-r3.ebuild b/sys-apps/hd-idle/hd-idle-1.05-r3.ebuild new file mode 100644 index 000000000000..7fb27c49dd43 --- /dev/null +++ b/sys-apps/hd-idle/hd-idle-1.05-r3.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 + 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." +} |