commit:     39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 28 06:43:43 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 28 06:45:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d72d19

sys-power/thermald: use wheel group for policy controlling

thanks Thomas Deutschmann for the suggestion
Closes: https://bugs.gentoo.org/755137
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../thermald/{thermald-2.4.1.ebuild => thermald-2.4.1-r1.ebuild}     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-power/thermald/thermald-2.4.1.ebuild 
b/sys-power/thermald/thermald-2.4.1-r1.ebuild
similarity index 90%
rename from sys-power/thermald/thermald-2.4.1.ebuild
rename to sys-power/thermald/thermald-2.4.1-r1.ebuild
index 64693c99c35..2683a9652ea 100644
--- a/sys-power/thermald/thermald-2.4.1.ebuild
+++ b/sys-power/thermald/thermald-2.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,6 +29,9 @@ S=${WORKDIR}/thermal_daemon-${PV}
 DOCS=( thermal_daemon_usage.txt README.txt )
 
 src_prepare() {
+       sed -i -e "/group=/s/power/wheel/g" \
+               data/org.freedesktop.thermald.conf || die
+
        default
        eautoreconf
 }

Reply via email to