From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FBB1158083 for ; Sat, 14 Sep 2024 09:55:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C328E29AB; Sat, 14 Sep 2024 09:55:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 512E2E29AB for ; Sat, 14 Sep 2024 09:55:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A635335DC3 for ; Sat, 14 Sep 2024 09:55:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2081DBB4 for ; Sat, 14 Sep 2024 09:55:46 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1726307628.f32a2550ebe5f5affdd2db5c80b06ccb8f55f411.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hd-idle/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/hd-idle/hd-idle-1.05-r4.ebuild X-VCS-Directories: sys-apps/hd-idle/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: f32a2550ebe5f5affdd2db5c80b06ccb8f55f411 X-VCS-Branch: master Date: Sat, 14 Sep 2024 09:55:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aaa3b207-317e-4391-8ba3-e2c3dd963481 X-Archives-Hash: 088f78cc9f90601cc47c53ba0bf46fea commit: f32a2550ebe5f5affdd2db5c80b06ccb8f55f411 Author: Oliver Freyermuth googlemail com> AuthorDate: Sun Sep 8 12:28:34 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sat Sep 14 09:53:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32a2550 sys-apps/hd-idle: fix systemd dropin file install location Closes: https://bugs.gentoo.org/937799 Signed-off-by: Oliver Freyermuth googlemail.com> Closes: https://github.com/gentoo/gentoo/pull/38522 Signed-off-by: Florian Schmaus gentoo.org> sys-apps/hd-idle/hd-idle-1.05-r4.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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." +}