<?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>235229</bug_id>
          
          <creation_ts>2008-08-19 20:53 0000</creation_ts>
          <short_desc>app-admin/ulogd change deps for USE=postgres</short_desc>
          <delta_ts>2008-08-27 04:27:37 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>Linux</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>christian@bricart.de</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>darkside@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>christian@bricart.de</who>
            <bug_when>2008-08-19 20:53:04 0000</bug_when>
            <thetext>app-admin/ulogd-1.23-r1 introduced &quot;DEPEND ( ... postgres? virtual/postgresql-server )W
--&gt; virtual/postgresql-base should be enough here. - maybe introduce new USE=-minimal for DEPEND on full postgresql-server..?

Reproducible: Always

Steps to Reproduce:
(trivial)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-08-19 21:00:15 0000</bug_when>
            <thetext>hmm, i&apos;m fine with just postgresql-base. Have you tested that and does it work fine?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>christian@bricart.de</who>
            <bug_when>2008-08-19 21:11:40 0000</bug_when>
            <thetext>actually not, yet ;-) but it used to function some ebuilds before with just dev-db/libpq installed ;-) 

apart from that - as described above, you&apos;ll still need DEPEND=virtual/postgresql-server when your log target is not localhost..

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-08-19 21:15:35 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; actually not, yet ;-) but it used to function some ebuilds before with just
&gt; dev-db/libpq installed ;-) 
&gt; 
&gt; apart from that - as described above, you&apos;ll still need
&gt; DEPEND=virtual/postgresql-server when your log target is not localhost..
&gt; 

ugh. I&apos;d rather not introduce another use flag on something that I don&apos;t maintain myself. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>christian@bricart.de</who>
            <bug_when>2008-08-19 21:26:45 0000</bug_when>
            <thetext>so I&apos;ll test if:

DEPEND=&quot;net-firewall/iptables
        mysql? ( virtual/mysql )
        postgres? ( virtual/postgresql-base )&quot;

is enough for a remote database.
And we&apos;ll keep DEPEND=&quot;virtual/postgresql-server&quot; to the user that knows best if [s]he want&apos;s a local database as target?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-08-19 21:51:06 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; so I&apos;ll test if:
&gt; 
&gt; DEPEND=&quot;net-firewall/iptables
&gt;         mysql? ( virtual/mysql )
&gt;         postgres? ( virtual/postgresql-base )&quot;
&gt; 
&gt; is enough for a remote database.
&gt; And we&apos;ll keep DEPEND=&quot;virtual/postgresql-server&quot; to the user that knows best
&gt; if [s]he want&apos;s a local database as target?

Yea, sounds good. Or we could just do:

postgres? || ( virtual/postgresql-base virtual/postgresql-server )

That way it will prefer the -base but accept -server as well. I can only assume that if the user has a remote log target then they would already have -server installed. What do you think?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>christian@bricart.de</who>
            <bug_when>2008-08-20 07:35:25 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Yea, sounds good. Or we could just do:
&gt; 
&gt; postgres? || ( virtual/postgresql-base virtual/postgresql-server )
&gt; 

dev-db/postgresql-server has RDEPEND=dev-db/postgresql-base set
so *-server pulls *-base anyway

&gt; That way it will prefer the -base but accept -server as well. I can only assume
&gt; that if the user has a remote log target then they would already have -server
&gt; installed. What do you think?
&gt; 

I&apos;ve tested for proper functioning with:
-       postgres? ( virtual/postgresql-server )&quot;
+       postgres? ( virtual/postgresql-base )&quot;

-&gt; WORKSFORME (=ulogd-1.23-r3)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-08-27 04:27:37 0000</bug_when>
            <thetext>&gt; I&apos;ve tested for proper functioning with:
&gt; -       postgres? ( virtual/postgresql-server )&quot;
&gt; +       postgres? ( virtual/postgresql-base )&quot;
&gt; 
&gt; -&gt; WORKSFORME (=ulogd-1.23-r3)

Thanks for testing. Does not warrant a revbump though. Committed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>