On a fresh install of Gentoo x86 2004.3, I attempted to emerge apcupsd.
Portage wished to merge the following:
[ebuild N ] net-mail/mailbase-0.00-r8 +pam 0 kB
[ebuild N ] mail-mta/ssmtp-2.61 -ipv6 -mailwrapper -md5sum +ssl 52 kB
[ebuild N ] sys-apps/pciutils-2.1.11-r3 -debug 202 kB
[ebuild N ] sys-apps/usbutils-0.11-r3 267 kB
[ebuild N ] sys-apps/hotplug-20040923 43 kB
[ebuild N ] sys-apps/apcupsd-3.10.16-r3 -apache2 -doc -gd -snmp +usb 4,919
kB
I had specifically avoided merging both coldplug and hotplug due to the fact
that this would be a headless box, and I would not be "hotswapping" anything in
it (be it USB or otherwise). I had it working just fine adding any needed
modules to the appropriate /etc/modules.autoload/kernel-*.
I added sys-apps/hotplug to /etc/portage/profile/package.provided, and
afterwards, portage wanted to merge something much more reasonable:
[ebuild N ] net-mail/mailbase-0.00-r8 +pam 0 kB
[ebuild N ] mail-mta/ssmtp-2.61 -ipv6 -mailwrapper -md5sum +ssl 52 kB
[ebuild N ] sys-apps/apcupsd-3.10.16-r3 -apache2 -doc -gd -snmp +usb 4,919
kB
The merge completed successfully and apcupsd works just fine without hotplug,
pciutils, and usbutils. As such, I recommend that sys-apps/hotplug be removed
from RDEPEND.
(Also, this may be out of the scope of this bug, but it's semi-related:
virtual/mta should probably be in RDEPEND rather than DEPEND. As far as I
know, an mta would just be necessary for sending automated mail to the sysadmin
and is not necessary to compile the program. I may be wrong, though; I haven't
tested it.)