<?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>107127</bug_id>
          
          <creation_ts>2005-09-24 16:47 0000</creation_ts>
          <short_desc>RDEPEND needs to be set explicetly if using depend.apache eclass</short_desc>
          <delta_ts>2006-06-04 12:15:24 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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>swegener@gentoo.org</reporter>
          <assigned_to>apache-bugs@gentoo.org</assigned_to>
          <cc>alpeterson@gmail.com</cc>
    
    <cc>qa@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2005-09-24 16:47:09 0000</bug_when>
            <thetext>Example: www-apache/mod_tcl-1.0-r1

&gt; DEPEND=&quot;dev-lang/tcl&quot;
&gt; 
&gt; [...]
&gt; 
&gt; need_apache2

need_apache2 will append dependencies to DEPEND and RDEPEND. Portage won&apos;t do
the automatic RDEPEND=&quot;${DEPEND}&quot; thing because RDEPEND has been set, resulting
in an missing RDEPEND on tcl.

Pretty sure there are other modules affected by this bug.



Example: www-apache/mod_perl-2.0.1-r2

&gt; # see bug 30087 for why sudo is in here
&gt; need_apache2
&gt; 
&gt; DEPEND=&quot;!dev-perl/Apache-Test
&gt;         dev-lang/perl
&gt;         &gt;=perl-core/CGI-3.08
&gt;         &gt;=dev-perl/Compress-Zlib-1.09
&gt;         &gt;=net-www/apache-2.0.47
&gt;         app-admin/sudo&quot;

This will reset DEPEND and render need_apache2 useless for DEPEND. Don&apos;t know
if this is really what you want, because you&apos;re overriding the dependencies
that need_apache2 injects.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vericgar@gentoo.org</who>
            <bug_when>2006-06-01 19:56:17 0000</bug_when>
            <thetext>The following possibly need to be fixed:
(this is more a TODO list for myself then anything else)

dev-python/mod_python-3.1.4
dev-python/mod_python-3.1.4-r1
dev-ruby/mod_ruby-1.2.4-r1
dev-ruby/mod_ruby-1.2.4-r2
net-www/mod_ftpd-0.13.0
net-www/mod_gzip-1.3.26.1a-r2
net-www/mod_ldap_userdir-1.1.4-r1
net-www/mod_ldap_userdir-1.1.5
net-www/mod_log_sql-1.100
net-www/mod_mp3-0.40-r1
net-www/mod_pcgi2-2.0.2
net-www/mod_scgi-1.2
net-www/mod_ssl-2.8.22-r1
net-www/mod_ssl-2.8.24-r1
net-www/mod_ssl-2.8.25-r10
net-www/mod_transform-0.6.0
net-www/mod_xslt-1.0.5a-r1
www-apache/libapreq2-2.07
www-apache/mod_gnutls-0.1.0
www-apache/mod_gnutls-0.1.1
www-apache/mod_gnutls-0.1.1-r1
www-apache/mod_gnutls-0.2.0
www-apache/mod_mono-1.0.8-r1
www-apache/mod_mono-1.0.9-r1
www-apache/mod_mono-1.1.10-r1
www-apache/mod_perl-1.29
www-apache/mod_perl-2.0.1-r1
www-apache/mod_perl-2.0.1-r2
www-apache/mod_perl-2.0.2
www-apache/mod_proxy_html-2.4.3
www-apache/mod_tcl-1.0-r1
www-servers/skunkweb-3.4.0-r1
www-servers/skunkweb-3.4.1
www-servers/skunkweb-3.4.3
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vericgar@gentoo.org</who>
            <bug_when>2006-06-04 12:15:24 0000</bug_when>
            <thetext>All of the packages I listed are now fixed in CVS.
I have also added the following note to the eclasses (depend.apache and apache-module):

# NOTE: If you use this, be sure you use the need_* call after you have
# defined DEPEND and RDEPEND. Also note that you can not rely on the 
# automatic RDEPEND=DEPEND that portage does if you use this eclass.
# See bug 107127 for more information.

</thetext>
          </long_desc>
      
    </bug>

</bugzilla>