<?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>78768</bug_id>
          
          <creation_ts>2005-01-19 21:03 0000</creation_ts>
          <short_desc>mail-filter/dspam-3.4_beta1 wants mail-mta/courier</short_desc>
          <delta_ts>2005-02-16 19:26:21 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>langthang@gentoo.org</reporter>
          <assigned_to>st_lim@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>langthang@gentoo.org</who>
            <bug_when>2005-01-19 21:03:27 0000</bug_when>
            <thetext>mail-filter/dspam-3.4_beta1 wants mail-mta/courier but I have postfix and courier-imap.

# emerge dspam -vp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] net-mail/courier-imap (from pkg mail-mta/courier-0.48.1)
[blocks B     ] mail-mta/postfix (from pkg mail-mta/courier-0.48.1)
[ebuild  N    ] mail-mta/courier-0.48.1  +crypt -fax +ipv6 +ldap -mailwrapper +mysql +nls -norewrite +pam +postgres +spell (-uclibc) 5,737 kB
[ebuild  N    ] app-admin/logrotate-3.7  (-selinux) 0 kB
[ebuild  N    ] mail-filter/dspam-3.4_beta1  -cyrus -debug -exim -large-domain -maildrop +mysql -neural -oci8 +postgres -procmail +sqlite 0 kB</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2005-01-20 02:39:56 0000</bug_when>
            <thetext>Created an attachment (id=49027)
Fixes maildrop USE flag to use maildrop OR courier

The build has a mistake - it assumes that if the USE flag maildrop is set then
depend on maildrop, otherwise courier.

Instead, it should read if USE flag maildrop is set then depend on maildrop OR
courier.

This patch is for 3.3.8, but should apply cleanly to 3.3.11 and others</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karl@freelance-tech.com</who>
            <bug_when>2005-01-20 11:43:09 0000</bug_when>
            <thetext>This bug applies to all current DSPAM Ebuilds

grep maildrop\? /usr/portage/mail-filter/dspam/*.ebuild
/usr/portage/mail-filter/dspam/dspam-3.2.4.ebuild:              maildrop? ( &gt;=mail-filter/maildrop-1.5.3 ) || ( &gt;=mail-mta/courier-0.46 )
/usr/portage/mail-filter/dspam/dspam-3.2.6.ebuild:              maildrop? ( &gt;=mail-filter/maildrop-1.5.3 ) || ( &gt;=mail-mta/courier-0.46 )
/usr/portage/mail-filter/dspam/dspam-3.3.11.ebuild:             maildrop? ( &gt;=mail-filter/maildrop-1.5.3 ) || ( &gt;=mail-mta/courier-0.46 )
/usr/portage/mail-filter/dspam/dspam-3.3.8.ebuild:              maildrop? ( &gt;=mail-filter/maildrop-1.5.3 ) || ( &gt;=mail-mta/courier-0.46 )
/usr/portage/mail-filter/dspam/dspam-3.4_beta1.ebuild:          maildrop? ( &gt;=mail-filter/maildrop-1.5.3 ) || ( &gt;=mail-mta/courier-0.46 )
tux config #</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2005-01-20 19:58:12 0000</bug_when>
            <thetext>Well, this package is completely broken IMO:
- the DEPEND is somewhere between broken and plain invalid, see ebuild(5) what the || operator really does. I don&apos;t think you wanted to use it, but it&apos;s hard to guess what you wanted to do there in the first place (hint: the patch doesn&apos;t fix anything)
- the cyrus and exim use flags should be removed, it&apos;s not our business to add trivial flags just for minor changes to config files. And even if they stay, they shouldn&apos;t affect DEPEND but RDEPEND. But I strongly recommend to remove them.
- system users should have a low uid in general, usually all users with a uid &gt; 500 or 1000 are considered real users.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>st_lim@gentoo.org</who>
            <bug_when>2005-01-21 07:24:36 0000</bug_when>
            <thetext>Trying to commit to CVS.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>st_lim@gentoo.org</who>
            <bug_when>2005-01-21 21:56:52 0000</bug_when>
            <thetext>I&apos;ve made a commit to CVS.  Does this solve all the issues?  I&apos;m reopening the bug so that someone can tell me what to do about this. :)

Regards
Lim Swee Tat</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>langthang@gentoo.org</who>
            <bug_when>2005-01-21 22:03:52 0000</bug_when>
            <thetext>mysql? ( &gt;=dev-db/mysql-3.23 ) || ( &gt;=sys-libs/db-4.0 ) is wrong syntax. I am not sure what are you trying to do there.
if mysql? then either &gt;=dev-db/mysql-3.23 or &gt;=sys-libs/db-4.0 satify the dep:

mysql? || (
	&gt;=mail-filter/maildrop-1.5.3
	&gt;=mail-mta/courier-0.46
)

or

if mysql is missing, then depends on &gt;=sys-libs/db-4.0?

mysql? ( &gt;=dev-db/mysql-3.23 ) !mysql? ( &gt;=sys-libs/db-4.0 )</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>st_lim@gentoo.org</who>
            <bug_when>2005-02-16 19:26:21 0000</bug_when>
            <thetext>I think I wanted it so that you either build for mysql, postgres or oracle, or sqlite.  A minor change should fix it.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>49027</attachid>
            <date>2005-01-20 02:39 0000</date>
            <desc>Fixes maildrop USE flag to use maildrop OR courier</desc>
            <filename>dspam.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRzcGFtLTMuMy44LmVidWlsZA0KKysrIGRzcGFtLTMuMy44LmVidWlsZA0KQEAgLTE1LDcg
KzE0LDcgQEANCiBERVBFTkQ9ImV4aW0/ICggPj1tYWlsLW10YS9leGltLTQuMzQgKQ0KIAkJbXlz
cWw/ICggPj1kZXYtZGIvbXlzcWwtMy4yMyApIHx8ICggPj1zeXMtbGlicy9kYi00LjAgKQ0KIAkJ
c3FsaXRlPyAoIDxkZXYtZGIvc3FsaXRlLTMgKQ0KLQkJbWFpbGRyb3A/ICggPj1tYWlsLWZpbHRl
ci9tYWlsZHJvcC0xLjUuMyApIHx8ICggPj1tYWlsLW10YS9jb3VyaWVyLTAuNDYgKQ0KKwkJbWFp
bGRyb3A/ICggKCA+PW1haWwtZmlsdGVyL21haWxkcm9wLTEuNS4zICkgfHwgKCA+PW1haWwtbXRh
L2NvdXJpZXItMC40NiApICkNCiAJCXBvc3RncmVzPyAoID49ZGV2LWRiL3Bvc3RncmVzcWwtNy40
LjMgKQ0KIAkJcHJvY21haWw/ICggPj1tYWlsLWZpbHRlci9wcm9jbWFpbC0zLjIyICkNCiAJCXg4
Nj8gKCBjeXJ1cz8gKCA+PW5ldC1tYWlsL2N5cnVzLWltYXBkLTIuMS4xNSApICkNCg==
</data>        

          </attachment>
    </bug>

</bugzilla>