SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Someone at our LUG had a moan just now -- since The Day Of The Rebuild, aaa_elflibs no longer has libpng14, which apparently the OpenOffice binary needs. I guess it's time to add a libpng-legacy14 package to your repo, Matteo, and/or to the main SBo repo?
Someone at our LUG had a moan just now -- since The Day Of The Rebuild, aaa_elflibs no longer has libpng14, which apparently the OpenOffice binary needs. I guess it's time to add a libpng-legacy14 package to your repo, Matteo, and/or to the main SBo repo?
I tried to push something, but I don't use OpenOffice here...
sbsigntools not build and efitools same not build. (sbsigntools is required by efitools and i have now broken packages, im not sure if after rebuild sbsigntools , the efitools package builds or not)
sbsigntools not build and efitools same not build. (sbsigntools is required by efitools and i have now broken packages, im not sure if after rebuild sbsigntools , the efitools package builds or not)
Claws-mail stopped working after rebuilding against the newer openssl with the following error.
Code:
*** SSL/TLS handshake failed
Rebuilding libetpan and claws-mail against the older openssl following the instructions in the ChangeLog didn't seem to work and resulted it in not building with openssl at all. I worked around this by building libetpan with the following configure argument.
Code:
--with-gnutls
Edit: The problem with the newer openssl in libetpan is essentially.
Code:
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for main in -lrsaref... no
checking for main in -lcrypto... yes
checking for SSL_library_init in -lssl... no
configure: WARNING: OpenSSL support disabled
Edit: There is also a merged PR for OpenSSL 1.1.0 in the libetpan git master which fixes this issue.
Code:
From f45dff1271ad1718d02356f615f620e6980930ea Mon Sep 17 00:00:00 2001
From: Markus Beth <markus.beth@web.de>
Date: Wed, 6 Dec 2017 23:33:07 +0100
Subject: [PATCH] changes for OpenSSL 1.1.0
- the function SSL_library_init does not exist any more - use SSL_CTX_new
for the detection of OpenSSL in the configure script
- do not access the SSL structure directly - use the function
SSL_get_SSL_CTX to access the SSL_CTX
---
configure.ac | 2 +-
src/data-types/mailstream_ssl.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b9130a8e..d99074b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,7 +212,7 @@ if test "x$with_openssl" != "xno"; then
AC_CHECK_HEADER(openssl/ssl.h, [
AC_CHECK_LIB(rsaref, main, [SSLLIBS="-lrsaref"])
AC_CHECK_LIB(crypto, main, [SSLLIBS="-lcrypto $SSLLIBS"], [], [$SSLLIBS])
- AC_CHECK_LIB(ssl, SSL_library_init, with_openssl=yes, [], [$SSLLIBS])])
+ AC_CHECK_LIB(ssl, SSL_CTX_new, with_openssl=yes, [], [$SSLLIBS])])
if test "x$with_openssl" != "xyes"; then
CPPFLAGS="$OCPPFLAGS"
LDFLAGS="$OLDFLAGS"
diff --git a/src/data-types/mailstream_ssl.c b/src/data-types/mailstream_ssl.c
index 25d5845f..ba918f4d 100644
--- a/src/data-types/mailstream_ssl.c
+++ b/src/data-types/mailstream_ssl.c
@@ -408,7 +408,7 @@ static void mailstream_ssl_context_free(struct mailstream_ssl_context * ssl_ctx)
static int mailstream_openssl_client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
{
- struct mailstream_ssl_context * ssl_context = (struct mailstream_ssl_context *)SSL_CTX_get_app_data(ssl->ctx);
+ struct mailstream_ssl_context * ssl_context = (struct mailstream_ssl_context *)SSL_CTX_get_app_data(SSL_get_SSL_CTX(ssl));
if (x509 == NULL || pkey == NULL) {
return 0;
Claws-mail stopped working after rebuilding against the newer openssl with the following error.
Code:
*** SSL/TLS handshake failed
Rebuilding libetpan and claws-mail against the older openssl following the instructions in the ChangeLog didn't seem to work and resulted it in not building with openssl at all. I worked around this by building libetpan with the following configure argument.
Code:
--with-gnutls
Edit: The problem with the newer openssl in libetpan is essentially.
Code:
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for main in -lrsaref... no
checking for main in -lcrypto... yes
checking for SSL_library_init in -lssl... no
configure: WARNING: OpenSSL support disabled
I've checked its github and seen that openssl-1.1.x support should be fixed in the latest master: could you please check if building against the latest snapshot works for you?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.