git: 9b11dacb95d8 - stable/15 - packages: Move powerd to its own package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Sep 2025 01:01:31 UTC
The branch stable/15 has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=9b11dacb95d8239320814e7d46234e8e9f66393e commit 9b11dacb95d8239320814e7d46234e8e9f66393e Author: Lexi Winter <ivy@FreeBSD.org> AuthorDate: 2025-09-23 21:05:05 +0000 Commit: Lexi Winter <ivy@FreeBSD.org> CommitDate: 2025-09-25 01:00:40 +0000 packages: Move powerd to its own package Nearly everyone wants powerd to manage CPU frequency scaling on real hardware, even if -utilities isn't installed. Conversely, very small jails might want -utilities but don't need powerd. Move it to its own package and add it to the minimal set. MFC after: 1 day Reviewed by: manu, imp Differential Revision: https://reviews.freebsd.org/D52645 (cherry picked from commit 5efd371bba1508ed94faed2afbd11936f5fe4dac) --- UPDATING | 7 +++++++ libexec/rc/rc.d/Makefile | 5 ++++- release/packages/ucl/powerd-all.ucl | 11 +++++++++++ usr.sbin/powerd/Makefile | 1 + 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/UPDATING b/UPDATING index c58e9afbbcca..52b7ebf4ad65 100644 --- a/UPDATING +++ b/UPDATING @@ -12,6 +12,13 @@ Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before updating system packages and/or ports. +20250924: + powerd has been moved to a new FreeBSD-powerd package. If you have + FreeBSD-set-minimal installed, the new package will be installed + automatically, otherwise you may want to install it by hand. + + This only affects pkgbase users. + 20250918: The MANSPLITPKG knob has been turned off by default, so pkgbase builds will no longer generate "-man" subpackages; instead the manpages will diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile index e5ee34e62185..d072039836d0 100644 --- a/libexec/rc/rc.d/Makefile +++ b/libexec/rc/rc.d/Makefile @@ -50,7 +50,6 @@ CONFS= DAEMON \ ${_nscd} \ ${_opensm} \ os-release \ - powerd \ pppoed \ pwcheck \ quota \ @@ -127,6 +126,10 @@ CONFGROUPS+= NEWSYSLOG NEWSYSLOG= newsyslog NEWSYSLOGPACKAGE= newsyslog +CONFGROUPS+= POWERD +POWERD= powerd +POWERDPACKAGE= powerd + CONFGROUPS+= SYSLOGD SYSLOGD= syslogd SYSLOGDPACKAGE= syslogd diff --git a/release/packages/ucl/powerd-all.ucl b/release/packages/ucl/powerd-all.ucl new file mode 100644 index 000000000000..b6a2b3034f89 --- /dev/null +++ b/release/packages/ucl/powerd-all.ucl @@ -0,0 +1,11 @@ +comment = "System power control utility" + +desc = <<EOD +The powerd utility monitors the system state and sets various power control +options accordingly. It offers power-saving modes that can be individually +selected for operation on AC power or batteries. +EOD + +annotations { + set = minimal +} diff --git a/usr.sbin/powerd/Makefile b/usr.sbin/powerd/Makefile index 8a700b014e47..94378576774c 100644 --- a/usr.sbin/powerd/Makefile +++ b/usr.sbin/powerd/Makefile @@ -1,3 +1,4 @@ +PACKAGE=powerd PROG= powerd MAN= powerd.8