Negative:
/data/git/opensmtp # qlist -Iv libressl
dev-libs/libressl-3.0.2
/data/git/opensmtp # qlist -Iv libevent
dev-libs/libevent-2.1.8
/data/git/opensmtp # make
make all-recursive
make[1]: Entering directory '/data/git/opensmtp'
Making all in openbsd-compat
make[2]: Entering directory '/data/git/opensmtp/openbsd-compat'
gcc -DHAVE_CONFIG_H -I. -I.. -I../smtpd -I../openbsd-compat
-I../openbsd-compat/err_h -I/usr/include -march=skylake -fomit-frame-pointer
-O2 -pipe -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign
-Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -fPIE -D_BSD_SOURCE
-D_DEFAULT_SOURCE -c -o arc4random.o arc4random.c
arc4random.c:167:21: error: macro "arc4random_stir" passed 1 arguments, but
takes just 0
arc4random_stir(void)
^
arc4random.c:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '{' token
{
^
make[2]: *** [Makefile:445: arc4random.o] Error 1
make[2]: Leaving directory '/data/git/opensmtp/openbsd-compat'
make[1]: *** [Makefile:418: all-recursive] Error 1
make[1]: Leaving directory '/data/git/opensmtp'
make: *** [Makefile:350: all] Error 2
Have not tried openssl yet. Anything I can do to help hunting this down?
Ede
On Tue, Oct 22, 2019 at 08:48:52PM +0000, [email protected] wrote:
> For what it's worth, it turns out LibreSSL 3.0.2 was released three days ago.
>
> We have made it possible to build with OpenSSL but our target is still
> LibreSSL,
> which means that code is written assuming LibreSSL and we test mostly with
> LibreSSL.
>
> Unsurprisingly we recommend that package maintainers have OpenSMTPD depend
> upon LibreSSL,
> and only fallback to OpenSSL if not possible.
>
> Some features may be lacking when doing that fallback,
> for instance ECDSA server certificates will only work if linked against
> LibreSSL.
>
>
>
> October 22, 2019 7:01 PM, "Ede Wolf" <[email protected]> wrote:
>
> > Thanks for the heads up. Last time I have been using libressl 2.9.2, I'll
> > give 3.0.1 a go, it
> > happens to be in the repos as well, just not marked as stable.
> >
> > Ede
> >
> > Am 22.10.19 um 16:28 schrieb Gilles Chehade:
> >
> >> Sorry, will expand:
> >> We're in between two LibreSSL releases which is why the LibreSSL you're >
> >> using is not compatible.
> >> When LibreSSL 3.0.2 is released, it will automagically build with it. >
> >> LibreSSL 3.0.1 development
> >> version is already working.
> >> LibreSSL remains our target for both OpenBSD and portable but we're kind >
> >> of in a time warp right
> >> now in between two versions.
> >> On Tue, Oct 22, 2019, 16:23 Gilles Chehade <[email protected] >
> >> <[email protected]>>
> >> wrote:
> >> LibreSSL is supported and recommended, this really needs to be fixed
> >> before the 6.6.0p1 portable release.
> >> On Tue, Oct 22, 2019, 14:44 John Smith <[email protected]
> >> <[email protected]>> wrote:
> >> Hello,
> >> thanks very much for all your replies. In deed, I rebuild world
> >> replacing openssl with libressl, basically only for opensmtpd.
> >> So it is the github issue. I knew smtpd portable supports
> >> openssl, but it did not come to my mind, that libressl is not
> >> supported at all for the portable version, openssl being just
> >> being an extra service, so I thought I'll do it something good.
> >> I'll revert to openssl and report back. May take a day or two.
> >> Thanks again
> >> Ede