Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] dst-0.10 released

2004-12-17 by S L

On Thu, Dec 16, 2004 at 03:52:39PM +0000, Emmanuel Dreyfus wrote:
> 
> Hi folks
> 
> Here is dst-0.10, a toolkit for real-time and distributed spam trapping
> In a nutshell, the idea is to set spam traps everywhere and to have
> spam activity instantly reported to a whole community. 
> 
> ....
> I expect some trouble at build time, but testing also include this kind 
> of troubles :)
> 

Right :-) 
On my Linux PPC running Gentoo, make mentions : 
<<
make[1]: Entering directory `/home/milter/Software/dst-0.10/libdst'
gcc -g -O2 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wall -ansi   -c -o crypto.o crypto.c
crypto.c: In function `base64_decode':
crypto.c:198: warning: comparison is always false due to limited range of data type
crypto.c: In function `dst_create_keypair':
crypto.c:393: error: `_PATH_URANDOM' undeclared (first use in this function)
crypto.c:393: error: (Each undeclared identifier is reported only once
crypto.c:393: error: for each function it appears in.)
make[1]: *** [crypto.o] Error 1
make[1]: Leaving directory `/home/ds9/Software/dst-0.10/libdst'
make: *** [all] Error 1
>>

_PATH_URANDOM looks like a NetBSDism . 
It is defined only in NetBSD pathnames.h .

Word-around : add #define _PATH_URANDOM			"/dev/urandom" in config.h
Real fix : configure.ac should define  _PATH_URANDOM  like gpg does : 
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/gnupg/configure.ac?rev=1.25.2.62&only_with_tag=STABLE-BRANCH-1-2&content-type=text/vnd.viewcvs-markup
OpenBSD seems the only one to use /dev/srandom


After that a new make attempt produced errors related to bind include
files. Strangely res_update.h is not provided by the bind 9.2.2 Gentoo
package.  Gotta install some part of bind9 manually and/or fix some bug
in the ebuild ...

I will also test on a Mandrake PPC and a FreeBSD x86 (FreeBSD rules for 
testing software !) ...


SL/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.