Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134967 - mail-filter/dspam-3.6.{5,6} - broken dependency syntax, broken digest, invalid IUSE
Summary: mail-filter/dspam-3.6.{5,6} - broken dependency syntax, broken digest, invali...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest major
Assignee: Lim Swee Tat (RETIRED)
URL:
Whiteboard: MASKING REQUEST
Keywords: QAbaddep, QAbadiuse
: 135000 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-30 15:47 UTC by Jakub Moc (RETIRED)
Modified: 2006-06-04 17:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dspam-3.6.6.ebuild.patch (dspam-3.6.6.ebuild.patch,4.21 KB, patch)
2006-05-30 18:37 UTC, Tuan Van (RETIRED)
Details | Diff
dspam-3.6.6.ebuild.patch (dspam-3.6.6.ebuild.patch,6.91 KB, patch)
2006-05-30 22:23 UTC, Tuan Van (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-05-30 15:47:56 UTC
Please, use repoman... 

<snip>
daemon? ( || (mysql? ( >=dev-db/mysql-3.23 )) (postgres? (>=dev-db/postgresql-7.4.3 )) )
</snip>

  DEPEND.syntax                  8
   mail-filter/dspam-3.6.6.ebuild DEPEND: '(' not separated by space
   mail-filter/dspam-3.6.6.ebuild DEPEND: ')' not separated by space
   mail-filter/dspam-3.6.6.ebuild DEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.6.ebuild DEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.5.ebuild DEPEND: '(' not separated by space
   mail-filter/dspam-3.6.5.ebuild DEPEND: ')' not separated by space
   mail-filter/dspam-3.6.5.ebuild DEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.5.ebuild DEPEND: '))' not a valid atom
  IUSE.invalid                   2
   mail-filter/dspam/dspam-3.6.6.ebuild: daemon
   mail-filter/dspam/dspam-3.6.5.ebuild: daemon
  RDEPEND.syntax                 8
   mail-filter/dspam-3.6.6.ebuild RDEPEND: '(' not separated by space
   mail-filter/dspam-3.6.6.ebuild RDEPEND: ')' not separated by space
   mail-filter/dspam-3.6.6.ebuild RDEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.6.ebuild RDEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.5.ebuild RDEPEND: '(' not separated by space
   mail-filter/dspam-3.6.5.ebuild RDEPEND: ')' not separated by space
   mail-filter/dspam-3.6.5.ebuild RDEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.5.ebuild RDEPEND: '))' not a valid atom
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 16:09:25 UTC
Hmmm, I'm also missing something here, probably...

<snip>
id dspam 2>/dev/null || enewgroup dspam 26
id dspam 2>/dev/null || enewuser dspam 26 /bin/bash ${HOMEDIR} dspam
</snip>

Purpose??? eutils.eclass checks if the user/group already exists or not...
Comment 2 Tuan Van (RETIRED) gentoo-dev 2006-05-30 18:37:13 UTC
Created attachment 87934 [details, diff]
dspam-3.6.6.ebuild.patch

after discuss with jakub on IRC, we kinda come up with new logic to support daemon. HTH. ( Note: Please check the patch for correctness. )

repoman still failed with:
  DEPEND.syntax                  4
   mail-filter/dspam-3.6.5.ebuild DEPEND: '(' not separated by space
   mail-filter/dspam-3.6.5.ebuild DEPEND: ')' not separated by space
   mail-filter/dspam-3.6.5.ebuild DEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.5.ebuild DEPEND: '))' not a valid atom
  IUSE.invalid                   2
   mail-filter/dspam/dspam-3.6.6.ebuild: daemon
   mail-filter/dspam/dspam-3.6.5.ebuild: daemon
  RDEPEND.bad                    3
   mail-filter/dspam/dspam-3.6.6.ebuild: ~alpha(default-linux/alpha/2006.0) ['net-mail/cyrus-imapd']
   mail-filter/dspam/dspam-3.6.6.ebuild: ~alpha(default-linux/alpha/no-nptl) ['net-mail/cyrus-imapd']
   mail-filter/dspam/dspam-3.6.6.ebuild: ~alpha(default-linux/alpha/no-nptl/2.4) ['net-mail/cyrus-imapd']
  RDEPEND.syntax                 4
   mail-filter/dspam-3.6.5.ebuild RDEPEND: '(' not separated by space
   mail-filter/dspam-3.6.5.ebuild RDEPEND: ')' not separated by space
   mail-filter/dspam-3.6.5.ebuild RDEPEND: '))' not a valid atom
   mail-filter/dspam-3.6.5.ebuild RDEPEND: '))' not a valid atom
  digest.assumed                 4
   digest-dspam-3.2.7::dspam-3.2.7.tar.gz
   digest-dspam-3.4.9::dspam-3.4.9.tar.gz
   digest-dspam-3.6.0::dspam-3.6.0.tar.gz
   digest-dspam-3.6.5::dspam-3.6.5.tar.gz
  ebuild.allmasked               1
   mail-filter/dspam
  ebuild.minorsyn                5
   mail-filter/dspam/dspam-3.6.6.ebuild: Trailing whitespace Syntax Error. Line 404
   mail-filter/dspam/dspam-3.6.5.ebuild: Trailing whitespace Syntax Error. Line 80
   mail-filter/dspam/dspam-3.6.5.ebuild: Trailing whitespace Syntax Error. Line 94
   mail-filter/dspam/dspam-3.6.5.ebuild: Trailing whitespace Syntax Error. Line 109
   mail-filter/dspam/dspam-3.6.5.ebuild: Trailing whitespace Syntax Error. Line 387

Note the alpha keyword missing.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2006-05-30 18:44:02 UTC
oops, I just realized that the patch above doesn't pull in postgresql with USE="-daemon postgres".
Comment 4 Tuan Van (RETIRED) gentoo-dev 2006-05-30 22:23:32 UTC
Created attachment 87938 [details, diff]
dspam-3.6.6.ebuild.patch

new patch.
1. better DEPEND handling (IMO)
2. remove cyrus procmail USE flags (read comment. ewarn may be?)
3. remove berkdb. UPstream removed support for it.
4. re-arrange backend db to advertised perference.
there are likely mistake on my part. please check.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-31 02:05:59 UTC
*** Bug 135000 has been marked as a duplicate of this bug. ***
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-05-31 20:39:29 UTC
The QA team requests this package either be fixed or masked, pending a proper fix.  net-mail/langthang, please comment on this request.

Comment 7 Tuan Van (RETIRED) gentoo-dev 2006-06-01 10:19:42 UTC
(In reply to comment #6)
> The QA team requests this package either be fixed or masked, pending a proper
> fix.  net-mail/langthang, please comment on this request.
> 

syntax error was fixed by mr_bones_.
I add daemon to use.local.desc.
there are other issues with dspam but as far as QA concern, it is fixed. Feel free to remove yourself from CC list if you don't find any more QA issue that I've missed.

Comment 8 Lim Swee Tat (RETIRED) gentoo-dev 2006-06-04 17:03:55 UTC
Thanx for standing for me on this. Failed to run repoman full on the ebuild before commmit.