<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>83629</bug_id>
          
          <creation_ts>2005-02-28 19:29 0000</creation_ts>
          <short_desc>sys-apps/apcupsd should not rdepend on sys-apps/hotplug</short_desc>
          <delta_ts>2005-03-28 10:40:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2004.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kccricket@gmail.com</reporter>
          <assigned_to>tantive@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>kccricket@gmail.com</who>
            <bug_when>2005-02-28 19:29:12 0000</bug_when>
            <thetext>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 &quot;hotswapping&quot; 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&apos;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&apos;t tested it.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tantive@gentoo.org</who>
            <bug_when>2005-03-28 10:40:22 0000</bug_when>
            <thetext>Fixed in apcupsd-3.10.17
Thanks for your help.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>