Well, i have made a local installation of OpenBSD 6.6 to get
a deeper understanding and made a few changes to NaviServer on bitbucket
to make it compile out of the box on this version.

A few comments:

- when compiled with LibreSSL, some functionality of NaviServer is deactivated,    including e.g. OCSP from the forthcoming release. Some of the functionality    might be possible with pure LibreSSL as well, but this would require a person    with deep insight in the state, history and future of LibreSSL (maybe, it will
   be more compatible in the near future, so some effort for more support
   might be waste).

- OpenBSD (at least in version 6.6) provides packages for OpenSSL as well, i see e.g.:
      1: openssl-1.0.2t
      2: openssl-1.1.1d
  When one installs OpenSSL 1.1.1, then one can compile NaviServer
  (without the recent LibreSSL changes) out of the box

- install-ns [1] has recipes for building NaviServer (and OpenACS)
   on several operating systems, including OpenBSD. It might provide
   answers for potential compilation problems.

all the best

-gn

[1] https://github.com/gustafn/install-ns

On 02.03.20 13:58, Gustaf Neumann wrote:
Dear Roderick,

so far, i have only openbsd-6.0, openbsd-6.2, and openbsd-6.3 on my list.

The main problem is OpenSSL vs. LibreSSL where LibreSSL is the library
of choice in OpenBSD, while for most other platforms it is OpenSSL.

Since OpenSSL is constantly adding new functionality (e.g. for TLS 1.3),
OpenSSL is giving the pace and LibreSSL is lacking behind.
The version numbering between OpenSSL and LibreSSL is a pain,
using m4 macro is as well very hard (since also OpenSSL moves
library API calls to macros, etc. between version), so one has to check per
release the current state, when using the new functionality (which
happens typically before releases).

When i have some more time, i will look into this.

all the best

-g

On 02.03.20 12:36, Roderick wrote:
Dear Sirs!

I am trying to compile naviserver-4.99.19 in OpenBSD 6.6, LibreSSL 3.0.2

I get:

tclcrypto.c:53:12: fatal error: 'openssl/kdf.h' file not found
#  include <openssl/kdf.h>

And indeed this file is not in /usr/include/openssl

Best regards
Rodrigo


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to