OpenSMTPD builds and runs fine on Slackware 15.0 using LibreSSL 4.0.0 or
LibreSSL 3.9.2.

But I just tested using OpenSSL 1.1.1za and get a compile error:

  1005  mv -f $depbase.Tpo $depbase.Po
  1006  depbase=`echo ../../openbsd-compat/freezero.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
  1007  gcc -DHAVE_CONFIG_H -I. -I../..  -DIO_TLS -I../../usr.sbin/smtpd
-I../../openbsd-compat -I../../openbsd-compat/li
btls -I. -DSMTPD_CONFDIR=\"/etc/opensmtpd\" -DPATH_CHROOT=\"/var/empty\"
-DPATH_SMTPCTL=\"/usr/sbin/smtpctl\" -DPATH_MAIL
LOCAL=\"/usr/libexec/opensmtpd/mail.local\"
-DPATH_MAKEMAP=\"/usr/sbin/makemap\"
-DPATH_LIBEXEC=\"/usr/libexec/opensmtpd\
" -DHAVE_CONFIG_H  -I../../openbsd-compat/libasr
-I../../openbsd-compat/err_h -I../../openbsd-compat/openssl/  -O2 -fPIC
-fstack-protector  -I/usr/include/libressl -Wall -Wpointer-arith
-Wuninitialized -Wsign-compare -Wformat-security -Wsizeo
f-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -fno-builtin-memset -std=gnu99 -MT ../../op
enbsd-compat/freezero.o -MD -MP -MF $depbase.Tpo -c -o
./../openbsd-compat/freezero.o ../../openbsd-compat/freezero.c &&
\
  1008  mv -f $depbase.Tpo $depbase.Po
  1009  ../../openbsd-compat/libtls/a_time_posix.c:33:10: fatal error:
openssl/posix_time.h: No such file or directory
  1010     33 | #include <openssl/posix_time.h>
  1011        |          ^~~~~~~~~~~~~~~~~~~~~~
  1012  compilation terminated.
  1013  make[3]: *** [Makefile:1441:
./../openbsd-compat/libtls/a_time_posix.o] Error 1
  1014  make[3]: *** Waiting for unfinished jobs....

It appears that "openssl/posix_time.h" does not exist with OpenSSL 1.1.1za...

Slackware current is using OpenSSL version 3.3.2 and keeps version 1.1.1za
for backwords compatibility.

Maybe it is time to require LibreSSL as a hard dependancy for OpenSMTPD?

Thanks for all the good work!

Richard Narron

Reply via email to