libsnert provides some common functions to Anthony's software, so if you're compiling one of his milters you need to build it first.
He has just released (cache) new versions of all of his milters, so that currently all can be linked against the same version of LibSnert.
Build prerequisites are SendMail and, for certain features of the milters, a current version of the Berkeley DB (cache), I'm using 4.1.25 (cache). Also see BerkeleyDB.
Oh yes, and you absolutely need GNU make (cache) for all Snert software, as the makefiles are not working with BSD make.
Installation on OpenBSD 3.3:
some parts of the makefile want GNU xargs for features that the OpenBSD xargs doesn't support. You can either install GNU xargs oder patch the makefiles (needed for all Snert software). (Yes, the proper way would probably be to add this to the autoconf files, but for me it wasn't worth the hassle, yet).
I'm just replacing the existing XARGSI and ARCHIVE variables in all the makefiles with the following lines, which works for me:
XARGSI = xargs -n 1
ARCHIVE = ar rc $(LIB)
...and then
> gmake
He has just released (cache) new versions of all of his milters, so that currently all can be linked against the same version of LibSnert.
Build prerequisites are SendMail and, for certain features of the milters, a current version of the Berkeley DB (cache), I'm using 4.1.25 (cache). Also see BerkeleyDB.
Oh yes, and you absolutely need GNU make (cache) for all Snert software, as the makefiles are not working with BSD make.
Installation on OpenBSD 3.3:
> tar xzf libsnert-1.29.tgz > cd com/snert/src/lib > ./configure --with-mutex=systemv --with-db=/usr/local/BerkeleyDB.4.1
some parts of the makefile want GNU xargs for features that the OpenBSD xargs doesn't support. You can either install GNU xargs oder patch the makefiles (needed for all Snert software). (Yes, the proper way would probably be to add this to the autoconf files, but for me it wasn't worth the hassle, yet).
I'm just replacing the existing XARGSI and ARCHIVE variables in all the makefiles with the following lines, which works for me:
XARGSI = xargs -n 1
ARCHIVE = ar rc $(LIB)
...and then
> gmake