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

Filename Description Type Creator Created Size Actions
spamprobe.tar.gz spamprobe ebuild application/x-gzip Alexander Schneider 2003-04-12 05:20 0000 1.10 KB Details
spamprobe-0.9h.tgz Updated ebuild and a patch to configure.in to allow db4 to work in the 0.9h version. application/x-gzip Matthew P. Cummings 2004-02-22 17:09 0000 14.14 KB Details
spamprobe-0.9h.ebuild actual ebuild application/octet-stream Alexander Schneider 2004-09-04 03:42 0000 787 bytes Details
spamprobe-0.9h-db4.patch modified (only a bit) patch from Matthew P. Cummings patch Alexander Schneider 2004-09-04 03:44 0000 2.30 KB Details | Diff
spamprobe-0.9h-db4.patch Updated Patch patch Alexander Schneider 2004-09-07 11:22 0000 2.62 KB Details | Diff
spamprobe-0.9h.ebuild Updated Ebuild application/octet-stream Alexander Schneider 2004-09-08 08:05 0000 817 bytes Details
spamprobe-0.9h-db4.patch Updated Patch (again) patch Alexander Schneider 2004-09-08 08:08 0000 26.14 KB Details | Diff
spamprobe-0.9h.ebuild newest ebuild application/octet-stream Alexander Schneider 2004-09-14 06:29 0000 801 bytes Details
spamprobe-0.9h-db4.v5.patch newest patch patch Alexander Schneider 2004-09-14 06:29 0000 26.22 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19192 depends on: Show dependency tree
Show dependency graph
Bug 19192 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: 2003-04-12 05:19 0000
Fast, intelligent, automatic spam detector using Paul Graham style Bayesian 
analysis of word counts in spam and non-spam emails.

PS. I hope this ebuild is complete and correctly, because this is my first one..
.

------- Comment #1 From Alexander Schneider 2003-04-12 05:20:25 0000 -------
Created an attachment (id=10542) [edit]
spamprobe ebuild

------- Comment #2 From Matthew P. Cummings 2004-02-22 17:09:09 0000 -------
Created an attachment (id=26133) [edit]
Updated ebuild and a patch to configure.in to allow db4 to work in the 0.9h
version.

I haven't tested this ebuild extensively, it's a modifed version of the one
posted earler, but it should compile with db4 now.  Others who know more about
autoconf can check out how I did the testing for db4 and improve on it.

------- Comment #3 From Davin Boling 2004-04-12 13:49:39 0000 -------
Any progress on getting this into the stable tree?

------- Comment #4 From Alexander Schneider 2004-05-17 13:04:12 0000 -------
no reaction from an real gentoo developer over a year....
not interested to get this into portage? its realy a good program and Matthew P. Cummings makes a real good update to the ebuild to make it db4 compatible

------- Comment #5 From Frédéric Jolliton 2004-07-19 08:22:05 0000 -------
Yes, please add this ebuild in stable tree.

I use SpamProbe on several email servers, and an "official" ebuild would be very interesting.

The ebuild work correctly with db 3.2 (not tested with 4.0, nor 4.1.)

------- Comment #6 From Andrej Kacian (RETIRED) 2004-09-02 13:09:21 0000 -------
Could you please attach each file separately? I'll have a look at this, it
looks interesting.

Sorry for late response by the way.

------- Comment #7 From Alexander Schneider 2004-09-04 03:41:50 0000 -------
Here are coming my actual ebuild and the modified (only a bit) patch from
Matthew P. Cummings.

------- Comment #8 From Alexander Schneider 2004-09-04 03:42:52 0000 -------
Created an attachment (id=38889) [edit]
actual ebuild

------- Comment #9 From Alexander Schneider 2004-09-04 03:44:11 0000 -------
Created an attachment (id=38890) [edit]
modified (only a bit) patch from Matthew P. Cummings

------- Comment #10 From Andrej Kacian (RETIRED) 2004-09-06 14:31:59 0000 -------
Hm, I get this output during final linking, no matter if the patch gets applied
or not:

g++  -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops
-falign-functions=4   -o spamprobe  spamprobe.o LockFile.o File.o FrequencyDB.o
FrequencyDBImpl_bdb.o FrequencyDBImpl_dbm.o FrequencyDBImpl_cache.o
FrequencyDBImpl_dual.o Message.o MessageFactory.o SpamFilter.o MimeHeader.o
MimeLineReader.o MimeMessageReader.o Tokenizer.o util.o RegularExpression.o
md5.o LockFD.o FrequencyDBImpl_hash.o FrequencyDBImpl_split.o hash.o
WordArray.o MD5Digester.o FrequencyDBImpl_pbl.o  -ldb-4.1
FrequencyDBImpl_bdb.o(.text+0x275): In function
`FrequencyDBImpl_bdb::openDatabase(File const&, bool, int)':
: undefined reference to `db_create_4002'
FrequencyDBImpl_bdb.o(.text+0x2b6): In function
`FrequencyDBImpl_bdb::openDatabase(File const&, bool, int)':
: undefined reference to `db_strerror_4002'
FrequencyDBImpl_bdb.o(.text+0x3c1): In function
`FrequencyDBImpl_bdb::openDatabase(File const&, bool, int)':
: undefined reference to `db_strerror_4002'
FrequencyDBImpl_bdb.o(.text+0x4f5): In function
`FrequencyDBImpl_bdb::closeCursor()':
: undefined reference to `db_strerror_4002'
FrequencyDBImpl_bdb.o(.text+0x5be): In function
`FrequencyDBImpl_bdb::closeDatabase()':
: undefined reference to `db_strerror_4002'
FrequencyDBImpl_bdb.o(.text+0x66e): In function
`FrequencyDBImpl_bdb::closeDatabase()':
: undefined reference to `db_strerror_4002'
FrequencyDBImpl_bdb.o(.text+0x79c): more undefined references to
`db_strerror_4002' follow
collect2: ld returned 1 exit status
make: *** [spamprobe] Error 1

My sys-libs/db is 4.2.52_p2

------- Comment #11 From Alexander Schneider 2004-09-07 11:22:47 0000 -------
Created an attachment (id=39137) [edit]
Updated Patch

Should now work with db-4.2.
But I only tested it with db-4.1 and db-4.2. Can anyone test it for the other?

------- Comment #12 From Andrej Kacian (RETIRED) 2004-09-07 14:53:45 0000 -------
Again, linking error when using db-4.0:

g++  -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4   -o spamprobe  spamprobe.o LockFile.o File.o FrequencyDB.o FrequencyDBImpl_bdb.o FrequencyDBImpl_dbm.o FrequencyDBImpl_cache.o FrequencyDBImpl_dual.o Message.o MessageFactory.o SpamFilter.o MimeHeader.o MimeLineReader.o MimeMessageReader.o Tokenizer.o util.o RegularExpression.o md5.o LockFD.o FrequencyDBImpl_hash.o FrequencyDBImpl_split.o hash.o WordArray.o MD5Digester.o FrequencyDBImpl_pbl.o  -ldb-3
FrequencyDBImpl_bdb.o(.text+0x275): In function `FrequencyDBImpl_bdb::openDatabase(File const&, bool, int)':
: undefined reference to `db_create_4000'
FrequencyDBImpl_bdb.o(.text+0x2b6): In function `FrequencyDBImpl_bdb::openDatabase(File const&, bool, int)':
: undefined reference to `db_strerror_4000'
FrequencyDBImpl_bdb.o(.text+0x3bf): In function `FrequencyDBImpl_bdb::openDatabase(File const&, bool, int)':
: undefined reference to `db_strerror_4000'
FrequencyDBImpl_bdb.o(.text+0x4f5): In function `FrequencyDBImpl_bdb::closeCursor()':
: undefined reference to `db_strerror_4000'
FrequencyDBImpl_bdb.o(.text+0x5be): In function `FrequencyDBImpl_bdb::closeDatabase()':
: undefined reference to `db_strerror_4000'
FrequencyDBImpl_bdb.o(.text+0x66e): In function `FrequencyDBImpl_bdb::closeDatabase()':
: undefined reference to `db_strerror_4000'
FrequencyDBImpl_bdb.o(.text+0x79c): more undefined references to `db_strerror_4000' follow
collect2: ld returned 1 exit status
make: *** [spamprobe] Error 1

------- Comment #13 From Andrej Kacian (RETIRED) 2004-09-07 14:54:53 0000 -------
Actually, it tries to use db-3.2, as it doesn't even look for db-4.0 (according
to configure output).

------- Comment #14 From Alexander Schneider 2004-09-08 08:05:40 0000 -------
Created an attachment (id=39203) [edit]
Updated Ebuild

The new ebuild is required for the new patch i wrote

------- Comment #15 From Alexander Schneider 2004-09-08 08:08:27 0000 -------
Created an attachment (id=39204) [edit]
Updated Patch (again)

Completly new patch from me, which is now using some makros from ac-archive, to
test installed db version.
I tested it now lokaly with this db versions:
sys-libs/db-4.2.52_p2
sys-libs/db-4.1.25_p1-r3
sys-libs/db-4.0.14-r3
sys-libs/db-3.2.9-r10

I hope it works also on other Systems well.

------- Comment #16 From Andrej Kacian (RETIRED) 2004-09-08 14:28:35 0000 -------
This is getting more and more fun:

# emerge spamprobe
Calculating dependencies ...done!
>>> emerge (1 of 1) mail-filter/spamprobe-0.9h to /
>>> md5 src_uri ;-) spamprobe-0.9h.tar.gz
>>> Unpacking source...
>>> Unpacking spamprobe-0.9h.tar.gz to /var/tmp/portage/spamprobe-0.9h/work
>>> Source unpacked.
>>> Unpacking spamprobe-0.9h.tar.gz to /var/tmp/portage/spamprobe-0.9h/work/spamprobe-0.9h
 * Applying spamprobe-0.9h-db4.patch...                                   [ ok ]
configure.in:124: warning: AC_ARG_PROGRAM invoked multiple times
configure.in:8: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:9: error: possibly undefined macro: AC_MSG_ERROR
configure.in:46: error: possibly undefined macro: AC_TRY_LINK_FUNC

The above happens when I use the patch from your latest attachment (attachment 39204 [edit]). I'm using autoconf 2.59 for this (when using 2.13, it bails out with "FATAL ERROR: Autoconf version 2.52 or higher is required for this script")

------- Comment #17 From Alexander Schneider 2004-09-14 06:29:29 0000 -------
Created an attachment (id=39571) [edit]
newest ebuild

------- Comment #18 From Alexander Schneider 2004-09-14 06:29:58 0000 -------
Created an attachment (id=39572) [edit]
newest patch

------- Comment #19 From Andrej Kacian (RETIRED) 2004-09-14 07:24:12 0000 -------
As problems have been resolved by private email and ebuild is now fully
functional, I have committed spamprobe to CVS. Should hit your local mirror in
few hours. Thanks a lot for work on the patch, Alexander!

Btw, I've included spamprobe into my spamfighting toolchain, we'll see how well
it performs over time. :)

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