Mailing List Archive

Patch for milter to build
The following patch makes clamav-milter build for me on a RH 9 box:

--- clamav-0.70pre2/clamav-milter/Makefile.am 2004-03-31
10:32:40.000000000 -0800
+++ clamav-0.70pre.new/clamav-milter/Makefile.am 2004-03-31
12:35:06.000000000 -0800
@@ -24,6 +24,8 @@
clamav_milter_SOURCES = \
$(top_srcdir)/shared/cfgparser.c \
$(top_srcdir)/shared/cfgparser.h \
+ $(top_srcdir)/shared/memory.c \
+ $(top_srcdir)/shared/memory.h \
$(top_srcdir)/shared/getopt.c \
$(top_srcdir)/shared/getopt.h \
clamav-milter.c
--- clamav-0.70pre2/clamav-milter/clamav-milter.c.orig 2004-03-31
10:32:41.000000000 -0800
+++ clamav-0.70pre.new/clamav-milter/clamav-milter.c 2004-03-31
12:29:15.000000000 -0800
@@ -493,7 +493,7 @@
#endif

#include "defaults.h"
-#include "cfgfile.h"
+#include "cfgparser.h"
#include "../target.h"
#include "str.h"
#include "../libclamav/others.h"


You'll have to run automake in the base directory of the source (which
will regenerate the amavis-milter/Makefile.in, among others) and then
./configure should build the Makefile.

It builds for me, YMMV.

Blue skies... Todd