Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Alpine 2.26 on Openbsd

21 views
Skip to first unread message

Roderick

unread,
Dec 19, 2022, 5:29:37 PM12/19/22
to

Hallo!

I get the errors below. I suppose that it is because OpenBSD uses
LibreSSL?

I installed also OpenSSL, and still get errors, perhaps becuase
I did not set correctly the paths?

--with-ssl-dir=DIR
--with-ssl-include-dir=DIR
--with-ssl-lib-dir=DIR

How I do recognise these directories?

Thanks for any Hint
Rodrig



----
In file included from osdep.c:46:
./env_unix.c:1910:6: warning: address of array 'userFlags' will always evaluate to 'true' [-Wpointer-bool-conversion]
if(userFlags){
~~ ^~~~~~~~~
osdep.c:672:11: error: incomplete definition of type 'struct x509_st'
if (cert->name == NIL)
~~~~^
/usr/include/openssl/ossl_typ.h:131:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
^
osdep.c:674:29: error: incomplete definition of type 'struct x509_st'
else if ((s = strstr (cert->name,"/CN=")) != NIL) {
~~~~^
/usr/include/openssl/ossl_typ.h:131:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
^
osdep.c:721:16: error: incomplete definition of type 'struct x509_st'
&& !cert->name
~~~~^
/usr/include/openssl/ossl_typ.h:131:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
^
1 warning and 3 errors generated.
*** Error 1 in c-client (Makefile:948 'osdep.o')
*** Error 2 in c-client (Makefile:286 'bso')
*** Error 2 in . (Makefile:701 'OSTYPE')
*** Error 2 in /usr/opt/Alpine/alpine-2.26/imap (Makefile:339 'bso')
gmake: *** [Makefile:979: c-client] Error 2

Roderick

unread,
Dec 19, 2022, 5:44:57 PM12/19/22
to

It builds with:

--with-ssl-include-dir=/usr/local/include/eopenssl30
--with-ssl-lib-dir=/usr/local/lib/eopenssl30

but I see in the source Dir of Alpine a directory libressl. Does it
compile with libressl?


Roderick

unread,
Dec 19, 2022, 6:03:04 PM12/19/22
to


And where must --with-ssl-certs-dir= point to?
To the directory /etc/ssl ?
Inside is a file cert.pem and a directory private, but no
directory certs/

R.

Roderick

unread,
Dec 19, 2022, 6:16:05 PM12/19/22
to

On Mon, 19 Dec 2022, Roderick wrote:

> And where must --with-ssl-certs-dir= point to?

In FreeBSD I put there /usr/local/share/certs that contains
ca-root-nss.crt

And it was installed by package ca_root_nss-3.83


Roderick

unread,
Dec 19, 2022, 7:28:20 PM12/19/22
to
Independent of what I put in --with-ssl-certs-dir=DIR,
I get the error of validating failure. Why?!

0 new messages