Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26744 - New ebuild: dspam-2.6.4.ebuild
Summary: New ebuild: dspam-2.6.4.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-08-16 13:01 UTC by Bartek Papierski
Modified: 2004-07-15 12:35 UTC (History)
15 users (show)

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


Attachments
dspam-2.6.4.ebuild (dspam-2.6.4.ebuild,901 bytes, text/plain)
2003-08-16 13:03 UTC, Bartek Papierski
Details
dspam-2.6.4.ebuild (dspam-2.6.4.ebuild,901 bytes, text/plain)
2003-08-16 13:03 UTC, Bartek Papierski
Details
db3.patch (db3.diff,7.92 KB, text/plain)
2003-08-16 13:05 UTC, Bartek Papierski
Details
Updated ebuild for DSPAM 2.7.4 (dspam-2.7.4.tar.gz,13.19 KB, application/x-gzip)
2003-10-07 03:47 UTC, Jason Koelker
Details
New ebuild for 2.10.3 (dspam-2.10.3.ebuild,761 bytes, text/plain)
2004-04-19 01:34 UTC, Jason Koelker
Details
Fixed ebuild for 2.10.3 (dspam-2.10.3.ebuild,788 bytes, text/plain)
2004-04-19 01:50 UTC, Jason Koelker
Details
dspam-3.0.0 (dspam-3.0.0.tar,30.00 KB, application/x-tar)
2004-06-18 08:16 UTC, Mark Renouf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Papierski 2003-08-16 13:01:39 UTC
Please find attached dspam-2.6.4.ebuild with a patch so that it will compile
against libdb3.

DSPAM (as in De-Spam) is an open-source project to create a new kind of
anti-spam mechanism, and is currently effective as both a server-side agent for
UNIX email servers and a developer's library for mail clients, other anti-spam
tools, and similar projects requiring drop-in spam filtering.

The DSPAM agent masquerades as the email server's local delivery agent and
filters/learns spams using an advanced Bayesian statistical approach (based on
Baye's theorem of combined probabilities) which provides an administratively
maintenance-free, easy-learning Anti-Spam service custom tailored to each
individual user's behavior.

Homepage: http://www.nuclearelephant.com/projects/dspam/

Suggested package is net-mail/dspam

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bartek Papierski 2003-08-16 13:03:10 UTC
Created attachment 16183 [details]
dspam-2.6.4.ebuild
Comment 2 Bartek Papierski 2003-08-16 13:03:35 UTC
Created attachment 16184 [details]
dspam-2.6.4.ebuild
Comment 3 Bartek Papierski 2003-08-16 13:05:03 UTC
Created attachment 16185 [details]
db3.patch
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-03 13:22:37 UTC
test for trunks
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-03 13:25:12 UTC
he wasn't happy
Comment 6 Jason Koelker 2003-10-07 03:47:00 UTC
Created attachment 18896 [details]
Updated ebuild for DSPAM 2.7.4

Updated ubuild for DSPAM 2.7.4.

tar contains ebuild and supporting files.
created patch to compile against gentoo's db 4.0.x

as of now other storage drivers are not handled by the ebuild.	Soon to change
once I get some sleep ;)

Other stuff i'm fogeting.
Comment 7 Christoph Brill (egore) (RESIGNED) 2004-02-24 01:45:40 UTC
there is a new stable version 2.8.3

if you had some sleep you could modify you ebuild to work with this version ;)
Comment 8 CJ Kucera 2004-03-08 08:36:42 UTC
2.8.3 version doesn't seem to require any db4 patching.  At least it built properly without the patch on my box.
Comment 10 Martin Allchin 2004-04-16 08:05:52 UTC
2.10.3 out: http://www.nuclearelephant.com/projects/dspam/sources/dspam-2.10.3.tar.gz

This doesn't seem to have hit portage yet, is there an issue with it?
Comment 11 Jason Koelker 2004-04-19 01:34:33 UTC
Created attachment 29598 [details]
New ebuild for 2.10.3
Comment 12 Jason Koelker 2004-04-19 01:50:25 UTC
Created attachment 29599 [details]
Fixed ebuild for 2.10.3
Comment 13 Mark Renouf 2004-05-09 07:02:11 UTC
I've also been working on an ebuild for this. It does a few more things and I could use some feedback on it. It installs the dspam quarantine webapp, builds against mysql and generates sql setup scripts (USE='mysql'), sets up its quarantine and data folders in /var/spool/dspam. I was going to make a patch to allow dspam to store static config data files in /etc/dspam, but I haven't had time.

If someone wants to take a look at it (Jason?), and if you feel it's suitable maybe it should replace this one and hopefully get into portage. There are lots of folks on the forums interested in testing it.
Comment 14 Patrik Kullman 2004-05-31 23:54:58 UTC
Maybe an 3.0 RC1 ~x86 ebuild ?
Comment 15 Sloan Poe 2004-06-02 06:40:51 UTC
At this point, dspam is up to 2.10.6 stable release.  Is there any word on when its going to be in portage?
Comment 16 Patrik Kullman 2004-06-03 00:07:31 UTC
http://www.phpinsider.com/dspam/

Anyone checked his recommendations out?
Comment 17 Mark Renouf 2004-06-06 09:07:14 UTC
Sorry, been delayed on this for quite some time.

I actually used part of that HOWTO to make what I have now. I'm considering updating it for the 3.0.x release since by the time we get this into portage it will be the current release. It's already being used widely.
Comment 18 Mark Renouf 2004-06-17 08:22:45 UTC
Status update! dspam-3.0.0 (final) has been released.
I've updated my ebuilds for it, and won't be working on 2.x at all. 

I've broken it out into two packages:
dspam     - dspam binaries, admin and sql scripts where appropriate
dspam-web - the user and admin, web based interface

With dspam 3.0, most of the runtime options have been moved where they belong... into the command line, eliminating the need for a ton of local USE flags. For example, a no-quarantine setup: 'dspam --process --deliver=spam,innocent', and then users can filter (procmail, etc) on the dspam headers.

I'm hoping to get this out there soon, but still make this as useful as possible. You'll probably need to fiddle with it and manually configure your MTA, and permissions may need tweaking for your particular setup. I'm hoping others can help polish this up so we can get this into portage ASAP =D.
Comment 19 Ryan Earl 2004-06-17 10:50:10 UTC
What about amavisd-new integration?  I heard the new amavis has support for dspam.  I wondering where the modules are Horde/IMP or Squirrelmail are.
Comment 20 Mark Renouf 2004-06-18 08:16:58 UTC
Created attachment 33478 [details]
dspam-3.0.0

Here's what I have for dspam-3.0.0.
I've tested the ebuild, installation, scripts, etc. I did some work to put
files in the proper places. Some of you may not like it, some may... I'm open
to suggestions. 

The web package needs work. The simplest solution right now is to add apache to
the dspam group, but this is slightly evil. Ideally, the cgi should be run with
the user's privs, except that stops the admin app from working. Again...
suggestions very welcome.

Also the web package needs to be update to use new webapp.eclass.
Comment 21 Lim Swee Tat (RETIRED) gentoo-dev 2004-06-26 01:44:43 UTC
Hi,
  I'm using Mark's package as a base to check out dspam.  I hope to commit this by tomorrow.
Comment 22 Ronald Hummelink 2004-06-26 02:42:23 UTC
Hi,

Seems marks -web package uses the webapp-apache eclass; this will soonishly be depricated in favour of the webapp eclass (GLEP 11) (see comments in the eclasses)
Comment 23 Arno 2004-06-26 04:56:53 UTC
I'm testing the dspam-3 ebuild, I think you need a "dodir ${LOGDIR}" somewhere.
Comment 24 Lim Swee Tat (RETIRED) gentoo-dev 2004-06-26 09:44:18 UTC
Committing something to CVS.  Pls run and comment. :)
Comment 25 Mark Renouf 2004-06-26 09:51:12 UTC
Re: Comment 22
Yes, I saw that, but I couldn't find an example of how to properly implement it. I used phpMyAdmin as a guide for that. Hopefully we can get it switched over.

Re: Comment 24
Excellent, I will check it out. Thanks to all who helped out, I'm very happy to see this get accepted.
Comment 26 Mark Wagner 2004-07-12 15:30:22 UTC
Any progress on converting the web stuff to use the webapp eclass?
Comment 27 Mark Wagner 2004-07-15 12:35:08 UTC
OK, I made a dspam-web ebuild that uses webapp. See bug #57052.