Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: devel

[Bug 2862] Port of spamc to Win32 environment

 

 

First page Previous page 1 2 Next page Last page  View All SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

Jan 2, 2004, 2:07 AM

Post #1 of 35 (564 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

p.alessandroni [at] aceaspa changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |p.alessandroni [at] aceaspa





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


bugzilla-daemon at bugzilla

Jan 3, 2004, 3:17 PM

Post #2 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862





------- Additional Comments From jm [at] jmason 2004-01-03 13:22 -------
sidney -- you were asking about the OpenBSD code, but I didn't get a chance to
reply before vacation.

We can't incorporate that, unfortunately, unless the original authors say "ok"
to relicensing by sending in an Apache CLA. However there may be a getopt
implementation in the Apache httpd sourcecode, I reckon; might be worth taking a
look in there, since we could use that code, no problem.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


bugzilla-daemon at bugzilla

Jan 3, 2004, 4:31 PM

Post #3 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1632 is|0 |1
obsolete| |



------- Additional Comments From sidney [at] sidney 2004-01-03 14:36 -------
Created an attachment (id=1652)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=1652&action=view)
file spamd/getopt.h apache licensed version copied from apache 1.3

Downloaded from the Apache 1.3 source repository as a dropin replacement for
the OpenBSD version I first uploaded




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


bugzilla-daemon at bugzilla

Jan 3, 2004, 4:32 PM

Post #4 of 35 (554 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1633 is|0 |1
obsolete| |



------- Additional Comments From sidney [at] sidney 2004-01-03 14:37 -------
Created an attachment (id=1653)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=1653&action=view)
file spamd/getopt.c apache licensed version copied from apache 1.3

Downloaded from the Apache 1.3 source repository as a dropin replacement for
the OpenBSD version I first uploaded




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


striker at apache

Jan 4, 2004, 4:02 AM

Post #5 of 35 (554 views)
Permalink
Re: [Bug 2862] Port of spamc to Win32 environment [In reply to]

On Sat, 2004-01-03 at 23:17, bugzilla-daemon [at] bugzilla
wrote:
> http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

> ------- Additional Comments From jm [at] jmason 2004-01-03 13:22 -------
> sidney -- you were asking about the OpenBSD code, but I didn't get a chance to
> reply before vacation.
>
> We can't incorporate that, unfortunately, unless the original authors say "ok"
> to relicensing by sending in an Apache CLA.

We might even need a software grant.

> However there may be a getopt
> implementation in the Apache httpd sourcecode, I reckon; might be worth taking a
> look in there, since we could use that code, no problem.

In APR (http://apr.apache.org/) actually. See apr/include/apr_getopt.h.

Sander


sidney at sidney

Jan 4, 2004, 4:59 AM

Post #6 of 35 (555 views)
Permalink
Re: [Bug 2862] Port of spamc to Win32 environment [In reply to]

Sander Striker wrote:
>> However there may be a getopt
>>implementation in the Apache httpd sourcecode, I reckon; might be worth taking a
>>look in there, since we could use that code, no problem.
>
>
> In APR (http://apr.apache.org/) actually. See apr/include/apr_getopt.h.

I don't know why your email did not make it into the bugzilla comments
on bug 2862. Did you see my response there? I already checked in copies
from apache-1.3/src/os/win32/getopt.* which work as drop in
replacements. Since getopt is in the run time library in unix/linux it
would be even messier to use the apr_getopt in Windows since that uses
different names all the structures and functions, adding on the 'apr_'
prefix.

-- sidney


bugzilla-daemon at bugzilla

Jan 4, 2004, 5:51 AM

Post #7 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1642 is|0 |1
obsolete| |



------- Additional Comments From sidney [at] sidney 2004-01-04 03:56 -------
Created an attachment (id=1654)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=1654&action=view)
file spamd/win32nossl.mak

The Apache 1.3 getopt checks for WIN32 define instead of _WIN32 which is
supplied by the VC++ 6.0 compiler. This updated makefile for non-SSL build of
spamc adds the definition of WIN32




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


bugzilla-daemon at bugzilla

Jan 4, 2004, 5:52 AM

Post #8 of 35 (554 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1643 is|0 |1
obsolete| |



------- Additional Comments From sidney [at] sidney 2004-01-04 03:57 -------
Created an attachment (id=1655)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=1655&action=view)
file name spamd/win32ssl.mak

The Apache 1.3 getopt checks for WIN32 define instead of _WIN32 which is
supplied by the VC++ 6.0 compiler. This updated makefile for SSL build of spamc
adds the definition of WIN32




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


bugzilla-daemon at bugzilla

Jan 4, 2004, 5:55 AM

Post #9 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862





------- Additional Comments From sidney [at] sidney 2004-01-04 04:00 -------
Subject: Re: Port of spamc to Win32 environment

Sander Striker wrote:
>> However there may be a getopt
>>implementation in the Apache httpd sourcecode, I reckon; might be worth taking a
>>look in there, since we could use that code, no problem.
>
>
> In APR (http://apr.apache.org/) actually. See apr/include/apr_getopt.h.

I don't know why your email did not make it into the bugzilla comments
on bug 2862. Did you see my response there? I already checked in copies
from apache-1.3/src/os/win32/getopt.* which work as drop in
replacements. Since getopt is in the run time library in unix/linux it
would be even messier to use the apr_getopt in Windows since that uses
different names all the structures and functions, adding on the 'apr_'
prefix.

-- sidney





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


bugzilla-daemon at bugzilla

Jan 4, 2004, 8:18 AM

Post #10 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

spamassassin-contrib [at] msquadrat changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |spamassassin-
| |dev [at] incubator
AssignedTo|spamassassin- |spamassassin-
|dev [at] incubator |contrib [at] msquadrat
Priority|P5 |P3



------- Additional Comments From spamassassin-contrib [at] msquadrat 2004-01-04 06:23 -------
Sidney, could you please take a moment and mark obsolete patches/files (via
the Edit link)? It's currently a bit hard to check the stuff (though it looks
good from what I saw till now).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 8:18 AM

Post #11 of 35 (553 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862





------- Additional Comments From spamassassin-contrib [at] msquadrat 2004-01-04 06:23 -------
*** Bug 2808 has been marked as a duplicate of this bug. ***



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:23 AM

Post #12 of 35 (554 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862





------- Additional Comments From sidney [at] sidney 2004-01-04 09:28 -------
Malte, I did mark each one that was obsoleted whenever I checked a new version
in, and they show up as obsolete in my browser. What I see on this screen are
eight attachments marked obsolete (the description struck out), one
non-obsoleted attachment that is labeled as being a patch to existing files, and
six non-obsoleted attachments that are new files, each of the six labeled with
the name of the directory/file that is to be added to the source tree with no
duplicate names.

Do you see something different in your browser? I'll go ahead and add the word
OBSOLETE to the eight obsolete entries in case the strikeout markup isn't
showing up in lynx or some other browser.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:24 AM

Post #13 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1630|patches to Makefile.PL and |*OBSOLETE* patches to
description|spamd/ files to port spamc |Makefile.PL and spamd/ files
|to Win32 |to port spamc to Win32





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:25 AM

Post #14 of 35 (553 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1632|file spamd/getopt.h |*OBSOLETE* file
description| |spamd/getopt.h





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:25 AM

Post #15 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1633|file spamd/getopt.c |*OBSOLETE* file
description| |spamd/getopt.c





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:25 AM

Post #16 of 35 (553 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1634|file spamd/win32.config |*OBSOLETE* file
description| |spamd/win32.config





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:26 AM

Post #17 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1635|file spamd/win32.mak |*OBSOLETE* file
description| |spamd/win32.mak





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:26 AM

Post #18 of 35 (553 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1637|updated patches to |*OBSOLETE* updated patches
description|Makefile.PL and spamd files |to Makefile.PL and spamd
| |files





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:27 AM

Post #19 of 35 (554 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1642|spamd/win32nossl.mak spamc |*OBSOLETE*
description|makefile for Win32 with no |spamd/win32nossl.mak spamc
|SSL |makefile for Win32 with no
| |SSL





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 11:27 AM

Post #20 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862

sidney [at] sidney changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #1643|file name spamd/win32ssl.mak|*OBSOLETE* file name
description| |spamd/win32ssl.mak





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


bugzilla-daemon at bugzilla

Jan 4, 2004, 12:48 PM

Post #21 of 35 (553 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862





------- Additional Comments From spamassassin-contrib [at] msquadrat 2004-01-04 10:53 -------
Hmm... I don't have anything struck out. Must be my browser. Sorry, it was
also more or less my fault; I took a sample to see if they were made obsolete,
but looked at the getopt.h file and thought it was a former version of
getopt.c. doh!

Ok, I'll check those stuff now...



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


sidney at sidney

Jan 4, 2004, 12:53 PM

Post #22 of 35 (554 views)
Permalink
Re: [Bug 2862] Port of spamc to Win32 environment [In reply to]

I'm getting the "bugzilla is currently broken [...] too many
connections" error now, so I'm sending this via email

Malte, note that the latest Net::DNS is required for the Cygwin/Win32
versions of spamd/spamc to work properly. Most configurations will work
with the current Net::DNS 0.44 from CPAN, but I have a fix for some less
common system configurations that went into 0.44_01, which right now is
marked "Developer Release".

-- sidney


msquadrat.nospamplease at gmx

Jan 4, 2004, 1:30 PM

Post #23 of 35 (555 views)
Permalink
Re: [Bug 2862] Port of spamc to Win32 environment [In reply to]

On Sunday 04 January 2004 20:53 CET Sidney Markowitz wrote:
> Malte, note that the latest Net::DNS is required for the Cygwin/Win32
> versions of spamd/spamc to work properly. [...]

I guess only spamd needs Net::DNS, right? :) And is Net::DNS really required
by the Win version or is it only optional (like under Unix) but *if* it's
installed, at least v0.44 is needed?

And a question about the Makefile(s): Doesn't configure work under cygwin?
If not, what doesn't work?

Cheers,
Malte

--
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
<http://www.catb.org/~esr/faqs/smart-questions.html>


bugzilla-daemon at bugzilla

Jan 4, 2004, 1:48 PM

Post #24 of 35 (555 views)
Permalink
[Bug 2862] Port of spamc to Win32 environment [In reply to]

http://bugzilla.spamassassin.org/show_bug.cgi?id=2862





------- Additional Comments From sidney [at] sidney 2004-01-04 11:53 -------
Subject: Re: Port of spamc to Win32 environment

I'm getting the "bugzilla is currently broken [...] too many
connections" error now, so I'm sending this via email

Malte, note that the latest Net::DNS is required for the Cygwin/Win32
versions of spamd/spamc to work properly. Most configurations will work
with the current Net::DNS 0.44 from CPAN, but I have a fix for some less
common system configurations that went into 0.44_01, which right now is
marked "Developer Release".

-- sidney





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


sidney at sidney

Jan 4, 2004, 1:58 PM

Post #25 of 35 (556 views)
Permalink
Re: [Bug 2862] Port of spamc to Win32 environment [In reply to]

Malte S. Stretz wrote:

> I guess only spamd needs Net::DNS, right? :) And is Net::DNS really required
> by the Win version or is it only optional (like under Unix) but *if* it's
> installed, at least v0.44 is needed?

Net::DNS is only used for perl network stuff. In Win32 it is only needed
if you are going to run spamassassin with network tests. spamd doesn't
run in Win32, and spamc isn't written in perl.

Net::DNS is nice to have if you are building Spamassassin under Win32,
even if all you want to get out of it is the spamc.exe executable,
because then it is possible to get a clean 'nmake test'. I can see it
being typical, though, for someone to download just the binary
executable spamc.exe for their Win32 system, have it talk to a spamd
running under Cygwin or on a different machine altogether, and not even
need to install perl.

Now that I think about it, it might be worth documenting how to build
spamc without needing perl... In addition to the compiler environment
requirements that are already documented, it just requires renaming
either the win32.config file to config.h, and then using nmake -f on
either win32ssl.mak or win32nossl.mak. But the tests still require perl.

> And a question about the Makefile(s): Doesn't configure work under cygwin?
> If not, what doesn't work?

Yes, configure works under cygwin. I don't think I had to change
anything in spamc for Cygwin, only for Win32. The only problems I had
with Cygwin were getting spamd to work because of Net::DNS bugs.

-- sidney

First page Previous page 1 2 Next page Last page  View All SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.