Summary: | net-misc/stunnel-5.51 : ctx.c:97:36: error: unknown type name SSL_TICKET_STATUS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jejfarmer |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/11807 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 561854 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 net-misc:stunnel-5.51:20190407-210517.log temp.tbz2 Patch for stunnel >5.50-r1 |
Description
Toralf Förster
2019-04-08 17:59:54 UTC
Created attachment 572240 [details]
emerge-info.txt
Created attachment 572242 [details]
emerge-history.txt
Created attachment 572244 [details]
environment
Created attachment 572246 [details]
etc.portage.tbz2
Created attachment 572248 [details]
logs.tbz2
Created attachment 572250 [details]
net-misc:stunnel-5.51:20190407-210517.log
Created attachment 572252 [details]
temp.tbz2
Created attachment 572986 [details, diff]
Patch for stunnel >5.50-r1
this fixes building stunnel >5.50-r1 with libressl (2.8.3 here)
Comment on attachment 572986 [details, diff] Patch for stunnel >5.50-r1 >--- a/src/ctx.c 2019-04-15 13:57:35.767522787 -0400 >+++ b/src/ctx.c 2019-04-15 13:59:22.034253732 -0400 >@@ -91,7 +91,7 @@ > NOEXPORT int ui_retry(); > > /* session tickets */ >-#if OPENSSL_VERSION_NUMBER >= 0x10101000L >+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) > NOEXPORT int generate_session_ticket_cb(SSL *, void *); > NOEXPORT int decrypt_session_ticket_cb(SSL *, SSL_SESSION *, > const unsigned char *, size_t, SSL_TICKET_STATUS, void *); >@@ -176,7 +176,7 @@ > } > } > >-#ifndef OPENSSL_NO_TLS1_3 >+#if !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_NO_TLS1_3) > /* ciphersuites */ > if(section->ciphersuites) { > s_log(LOG_DEBUG, "TLSv1.3 ciphersuites: %s", section->ciphersuites); >@@ -229,7 +230,7 @@ > #endif > > /* setup session tickets */ >-#if OPENSSL_VERSION_NUMBER >= 0x10101000L >+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) > SSL_CTX_set_session_ticket_cb(section->ctx, generate_session_ticket_cb, > decrypt_session_ticket_cb, NULL); > #endif /* OpenSSL 1.1.1 or later */ >@@ -969,7 +970,7 @@ > > /**************************************** session tickets */ > >-#if OPENSSL_VERSION_NUMBER >= 0x10101000L >+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) > > typedef struct { > void *session_authenticated; > >--- a/src/client.c 2019-04-15 13:57:56.010868367 -0400 >+++ b/src/client.c 2019-04-15 13:58:05.444207404 -0400 >@@ -680,7 +680,7 @@ > } > > /****************************** wait for an event */ >-#if OPENSSL_VERSION_NUMBER >= 0x10100000L >+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) > pending=SSL_pending(c->ssl) || SSL_has_pending(c->ssl); > #else > pending=SSL_pending(c->ssl); The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a85fb190b37206caed168691ad569c5c63932f7 commit 5a85fb190b37206caed168691ad569c5c63932f7 Author: Stefan Strogin <stefan.strogin@gmail.com> AuthorDate: 2019-04-24 04:42:13 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-04-24 04:56:31 +0000 net-misc/stunnel: update LibreSSL patch for 5.51 Closes: https://bugs.gentoo.org/682894 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11807 Signed-off-by: Aaron Bauman <bman@gentoo.org> net-misc/stunnel/files/stunnel-5.51-libressl.patch | 268 +++++++++++++++++++++ ...{stunnel-5.51.ebuild => stunnel-5.51-r1.ebuild} | 4 +- 2 files changed, 270 insertions(+), 2 deletions(-) |