1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-01 10:59:23 +00:00

Ports: Bump libssh2 to 1.11.0

This commit is contained in:
Mr.UNIX 2023-12-25 12:39:10 +01:00 committed by Tim Schumacher
parent c382db351a
commit ae7d0f18ec
4 changed files with 31 additions and 3 deletions

View File

@ -173,7 +173,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`libslirp`](libslirp/) | libslirp | 4.7.0 | https://gitlab.freedesktop.org/slirp/libslirp |
| [`libsndfile`](libsndfile/) | libsndfile | 1.2.2 | https://libsndfile.github.io/libsndfile/ |
| [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ |
| [`libssh2`](libssh2/) | libssh2 | 1.10.0 | https://www.libssh2.org/ |
| [`libssh2`](libssh2/) | libssh2 | 1.11.0 | https://www.libssh2.org/ |
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ |
| [`libtiff`](libtiff/) | libtiff | 4.5.1 | http://www.libtiff.org/ |
| [`libtool`](libtool/) | libtool | 2.4.7 | https://www.gnu.org/software/libtool/ |

View File

@ -1,9 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='libssh2'
version='1.10.0'
version='1.11.0'
useconfigure='true'
files=(
"https://www.libssh2.org/download/libssh2-${version}.tar.gz#2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51"
"https://www.libssh2.org/download/libssh2-${version}.tar.gz#3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461"
)
depends=(
'openssl'

View File

@ -0,0 +1,21 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Mr.UNIX" <mrunix00@protonmail.com>
Date: Mon, 25 Dec 2023 12:17:14 +0100
Subject: [PATCH] fix-missing-select.h-header
---
include/libssh2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/libssh2.h b/include/libssh2.h
index 97ac5898fa9feed41ef6ecf018854c87a075986f..eb5c40ce7bb19ee70d0b88154ef37f2ebaf6d18d 100644
--- a/include/libssh2.h
+++ b/include/libssh2.h
@@ -101,6 +101,7 @@ extern "C" {
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <sys/select.h>
/* Allow alternate API prefix from CFLAGS or calling app */
#ifndef LIBSSH2_API

View File

@ -0,0 +1,7 @@
# Patches for libssh2 on SerenityOS
## `0001-fix-missing-select.h-header.patch`
fix-missing-select.h-header