First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 78727
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Simone Gotti (RETIRED) <motaboy@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 78727 depends on: Show dependency tree
Show dependency graph
Bug 78727 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-19 14:08 0000
dspam doesn't work with sqlite-3 and portage has a "bug" that won't let you do
something like this:
DEPEND= ">=dev-db/sqlite-2.7.7 
 < dev-db/sqlite-3"

So if you don't have any sqlite installed and you use a KEYWORD supported by
the sqlite-3 ebuilds, portage will emerge sqlite-3 instead of 2.

If you are interested Dan Armak (kde herd) made a workaround to do this, it's
in the kde-functions.eclass and I think it can be easily used by other ebuilds.

------- Comment #1 From Simone Gotti (RETIRED) 2005-01-20 01:15:41 0000 -------
I wasn't totally clear. Reading from the dspam-3.4_beta readme, it support also
sqlite-3, but the ebuilds doesn't enable it and uses only sqlite-2 configure
options.

What I said before doesn't change, you always need a workaround to use ranged
dependencirs.

But I'll also suggest to add a new use "sqlite3" to enable its support.
I'm alreading doing the same with dev-db/hk_classes latest ebuilds: the
"sqlite" use flag enables the sqlite-2 support, while the "sqlite3" enables
sqlite-3 support. 

------- Comment #2 From Dan Armak (RETIRED) 2005-01-21 12:43:48 0000 -------
Easily? Hardly...

That workaround is the deprange() function from kde-functions.eclass. It
receives as parameters a minimal and maxiumm version and a package name and
generates an || dep that includes all possible versions in between.

That's 1) ugly, 2) last-resort (for me anyway) until portage gets real deprange
support and 3) tied to the KDE versioning scheme: currently it only supports
x.y.z version numbers, with only z (and suffixes like _beta, and ebuild
revs) changing between the items in the ||-list.

But if there's interest, I could expand its interface to allow for any
boundaries/version formats by using =foo-ver* atoms. However I'm uneasy at the
thought of widespread deprange() usage outside the kde ebuilds. The portage
people might really get mad at me this time :-)

------- Comment #3 From Lim Swee Tat (RETIRED) 2005-01-21 22:00:12 0000 -------
Ooops,
  The beta does have support for sqlite-3 but previous dspam packages did not.  Since this is a new support thing, I'll probably need to test it some more.  But if you do want to use dspam with sqlite-3, can someone just edit the ebuild and test it?

  I'll appreciate any other person's testing this dependency for me. :)

Regards
Lim Swee Tat

------- Comment #4 From Lim Swee Tat (RETIRED) 2005-03-10 16:55:16 0000 -------
Someone did test sqlite3 support, and I'm rolling it in.

First Last Prev Next    No search results available      Search page      Enter new bug