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
This commit is contained in:
Lexi Winter
2025-09-23 22:05:05 +01:00
parent 7ece602e00
commit 5efd371bba
4 changed files with 23 additions and 1 deletions
+7
View File
@@ -27,6 +27,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 16.x IS SLOW:
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
20250923:
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:
mandoc (including /usr/bin/man) has been moved to a new package,
FreeBSD-mandoc. If you have the minimal set installed, this package
+4 -1
View File
@@ -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
+11
View File
@@ -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
}
+1
View File
@@ -1,3 +1,4 @@
PACKAGE=powerd
PROG= powerd
MAN= powerd.8