mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
www/lagrange: update 1.16.5 → 1.17.6
Fix several crashes and memory leaks. Fix build on 15-CURRENT. Changelogs: https://github.com/skyjake/lagrange/releases/tag/v1.16.6 https://github.com/skyjake/lagrange/releases/tag/v1.16.7 https://github.com/skyjake/lagrange/releases/tag/v1.17.0 https://github.com/skyjake/lagrange/releases/tag/v1.17.1 https://github.com/skyjake/lagrange/releases/tag/v1.17.2 https://github.com/skyjake/lagrange/releases/tag/v1.17.3 https://github.com/skyjake/lagrange/releases/tag/v1.17.4 https://github.com/skyjake/lagrange/releases/tag/v1.17.5 https://github.com/skyjake/lagrange/releases/tag/v1.17.6 PR: 274414 276190 Approved by: lcook (maintainer, timeout > 6 months) MFH: 2024Q3
This commit is contained in:
parent
7bd00b76f2
commit
b04495aa52
3 changed files with 6 additions and 27 deletions
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= lagrange
|
PORTNAME= lagrange
|
||||||
DISTVERSION= 1.16.5
|
DISTVERSION= 1.17.6
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= https://git.skyjake.fi/gemini/${PORTNAME}/releases/download/v${DISTVERSION}/
|
MASTER_SITES= https://git.skyjake.fi/gemini/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||||
|
|
||||||
|
@ -19,13 +19,13 @@ LIB_DEPENDS= libfribidi.so:converters/fribidi \
|
||||||
libwebp.so:graphics/webp
|
libwebp.so:graphics/webp
|
||||||
|
|
||||||
USES= cmake compiler:c11 desktop-file-utils pkgconfig sdl ssl xorg
|
USES= cmake compiler:c11 desktop-file-utils pkgconfig sdl ssl xorg
|
||||||
|
|
||||||
BROKEN_SSL= libressl
|
BROKEN_SSL= libressl
|
||||||
BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL
|
BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL
|
||||||
|
|
||||||
USE_SDL= sdl2
|
USE_SDL= sdl2
|
||||||
USE_XORG= ice sm x11 xext
|
USE_XORG= ice sm x11 xext
|
||||||
|
|
||||||
|
CMAKE_ARGS+= -DTFDN_ENABLE_WARN_ERROR=OFF
|
||||||
|
|
||||||
OPTIONS_DEFINE= SSE41
|
OPTIONS_DEFINE= SSE41
|
||||||
|
|
||||||
SSE41_DESC= Enable SSE4.1 support
|
SSE41_DESC= Enable SSE4.1 support
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1689437065
|
TIMESTAMP = 1705993805
|
||||||
SHA256 (lagrange-1.16.5.tar.gz) = c8d37a32d99ff444e4e61d73269f6244e08a5232c91bb97e2b74823dc6e29d53
|
SHA256 (lagrange-1.17.6.tar.gz) = b9d0982617fec495565ac9c09fb788a0be207d6fdf2324edc390e5cac8b1523b
|
||||||
SIZE (lagrange-1.16.5.tar.gz) = 10141202
|
SIZE (lagrange-1.17.6.tar.gz) = 10212490
|
||||||
|
|
|
@ -1,17 +1,5 @@
|
||||||
--- lib/the_Foundation/src/tlsrequest.c.orig 2023-08-07 17:23:22 UTC
|
--- lib/the_Foundation/src/tlsrequest.c.orig 2023-08-07 17:23:22 UTC
|
||||||
+++ lib/the_Foundation/src/tlsrequest.c
|
+++ lib/the_Foundation/src/tlsrequest.c
|
||||||
@@ -72,9 +72,9 @@ static iBool readAllFromBIO_(BIO *bio, iBlock *out) {
|
|
||||||
/*----------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
iDeclareClass(CachedSession)
|
|
||||||
-
|
|
||||||
+
|
|
||||||
static const int maxSessionAge_CachedSession_ = 10 * 60; /* seconds */
|
|
||||||
-
|
|
||||||
+
|
|
||||||
struct Impl_CachedSession {
|
|
||||||
iObject object;
|
|
||||||
iBlock pemSession;
|
|
||||||
@@ -249,7 +249,9 @@ void init_Context(iContext *d) {
|
@@ -249,7 +249,9 @@ void init_Context(iContext *d) {
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
ERR_load_crypto_strings();
|
ERR_load_crypto_strings();
|
||||||
|
@ -22,12 +10,3 @@
|
||||||
d->ctx = SSL_CTX_new(TLS_client_method());
|
d->ctx = SSL_CTX_new(TLS_client_method());
|
||||||
if (!d->ctx) {
|
if (!d->ctx) {
|
||||||
iDebug("[TlsRequest] failed to initialize OpenSSL\n");
|
iDebug("[TlsRequest] failed to initialize OpenSSL\n");
|
||||||
@@ -1012,7 +1014,7 @@ static iBool readIncoming_TlsRequest_(iTlsRequest *d)
|
|
||||||
|
|
||||||
static iThreadResult run_TlsRequest_(iThread *thread) {
|
|
||||||
iTlsRequest *d = userData_Thread(thread);
|
|
||||||
- /* Thread-local pointer to the current request so it can be accessed in the
|
|
||||||
+ /* Thread-local pointer to the current request so it can be accessed in the
|
|
||||||
verify callback. */
|
|
||||||
iDebug("[TlsRequest] run_TlsRequest_: %zu bytes to send\n", size_Block(&d->sending));
|
|
||||||
setCurrentRequestForThread_Context_(context_, d);
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue