On Thu, 10 Jun 2021 13:52:33 +0200
Martijn van Duren <[email protected]> wrote:

> On Thu, 2021-06-10 at 12:35 +0100, Simon Harrison wrote:
> > On Thu, 10 Jun 2021 13:13:30 +0200
> > Martijn van Duren <[email protected]> wrote:
> >   
> > > EHLO,
> > > 
> > > I just pushed a new release of libopensmtpd and filter-dkimsign
> > > to the OpenBSD ports tree. These contains the following changes:
> > > 
> > > libopensmtpd (0.7):
> > > - Registering OSMTPD_PHASE_LINK_CONNECT should be
> > > OSMTPD_TYPE_REPORT
> > > - Fix manpage: 0 is for outgoing connections, not 2.
> > >   From Edgar Pettijohn <edgar <at> pettijohn-web <dot> com>
> > > - Fix a spelling mistake.
> > >   From Ryan Kavanagh <rak <at> debian <dot> org>
> > > - Major overhaul of the Makefile.gnu so that things properly
> > > build on Debian (not relevant for OpenBSD)
> > >   With Ryan Kavanagh <rak <at> debian <dot> org>
> > > 
> > > filter-dkimsign (0.5):
> > > - Add support for ed25519. This currently requires openssl1.1
> > > libcrypto and is thus only enabled in an ed25519 flavor of the
> > > package. Lots of help from tb@ and sthen@
> > > - Fix error handling in a couple of places
> > > - Fix an initialization issue
> > >   Spotted by Maarten de Vries <maarten <at> de-vri <dot> es>
> > > - Fix a couple of signedness warnings
> > > - Allow filter-dkimsign to be build on Debian (not relevant for
> > > OpenBSD) With Ryan Kavanagh <rak <at> debian <dot> org>
> > > 
> > > The two major things:
> > > - filter-dkimsign now supports ed25519. Since LibreSSL doesn't
> > > have ed25519 signing yet it requires building against OpenSSL
> > > (I've only tested version 1.1). People on OpenBSD wanting to sign
> > > with ed25519 should intall the ed25519 flavor, which links
> > > against openssl's libcrypto. Note that in my testing many major
> > > mail platforms don't support ed25519 verifying, so continuing to
> > > sign with RSA in addition to ed25519 is still recommended.
> > > - libopensmtpd and filter-dkimsign should now be able to build on
> > > Debian without problems and should appear in the testing release
> > > of Debian soon(tm). This also means that other Linux distros
> > > should probably be able to compile and package them. If you run
> > > into issue please contact me so that things can be ironed out.
> > > 
> > > For people who want to test filter-dkimsign on other platforms,
> > > the source can be downloaded at:
> > > https://distfiles.sigtrap.nl/libopensmtpd-0.7.tar.gz
> > > https://distfiles.sigtrap.nl/filter-dkimsign-0.5.tar.gz
> > > 
> > > martijn@
> > > 
> > >   
> > 
> > Hello. Just tried compiling on MX Linux 19.4 (Debian 10) and get
> > this error:
> > 
> > $ make -f Makefile.gnu 
> > cc -I/home/simon/src/libopensmtpd-0.7/
> > -I/home/simon/src/libopensmtpd-0.7//openbsd-compat/ -Wall
> > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> > -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -fPIC
> > -DNEED_RECALLOCARRAY=1 -DNEED_STRLCAT=1 -DNEED_STRLCPY=1
> > -DNEED_STRTONUM=1   -c -o opensmtpd.o opensmtpd.c opensmtpd.c:27:10:
> > fatal error: event.h: No such file or directory #include <event.h>
> > ^~~~~~~~~ compilation terminated. make: *** [<builtin>: opensmtpd.o]
> > Error 1
> > 
> > 
> >   
> You're missing the libevent-dev.
> 
> When I get a header missing error I usually go to:
> https://packages.debian.org and search via
> "Search the contents of packages" for that particular file.
> 
> 
> 

That was it. Also need to have libssl-dev installed for
filter-dkim. 

Thanks for the help.

-- 

Web: https://simonh.uk
Email: [email protected]


Reply via email to