Skip to content

Commit ae7d0f1

Browse files
mrunix00timschumi
authored andcommitted
Ports: Bump libssh2 to 1.11.0
1 parent c382db3 commit ae7d0f1

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

Ports/AvailablePorts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
173173
| [`libslirp`](libslirp/) | libslirp | 4.7.0 | https://gitlab.freedesktop.org/slirp/libslirp |
174174
| [`libsndfile`](libsndfile/) | libsndfile | 1.2.2 | https://libsndfile.github.io/libsndfile/ |
175175
| [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ |
176-
| [`libssh2`](libssh2/) | libssh2 | 1.10.0 | https://www.libssh2.org/ |
176+
| [`libssh2`](libssh2/) | libssh2 | 1.11.0 | https://www.libssh2.org/ |
177177
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ |
178178
| [`libtiff`](libtiff/) | libtiff | 4.5.1 | http://www.libtiff.org/ |
179179
| [`libtool`](libtool/) | libtool | 2.4.7 | https://www.gnu.org/software/libtool/ |

Ports/libssh2/package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env -S bash ../.port_include.sh
22
port='libssh2'
3-
version='1.10.0'
3+
version='1.11.0'
44
useconfigure='true'
55
files=(
6-
"https://www.libssh2.org/download/libssh2-${version}.tar.gz#2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51"
6+
"https://www.libssh2.org/download/libssh2-${version}.tar.gz#3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461"
77
)
88
depends=(
99
'openssl'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: "Mr.UNIX" <mrunix00@protonmail.com>
3+
Date: Mon, 25 Dec 2023 12:17:14 +0100
4+
Subject: [PATCH] fix-missing-select.h-header
5+
6+
---
7+
include/libssh2.h | 1 +
8+
1 file changed, 1 insertion(+)
9+
10+
diff --git a/include/libssh2.h b/include/libssh2.h
11+
index 97ac5898fa9feed41ef6ecf018854c87a075986f..eb5c40ce7bb19ee70d0b88154ef37f2ebaf6d18d 100644
12+
--- a/include/libssh2.h
13+
+++ b/include/libssh2.h
14+
@@ -101,6 +101,7 @@ extern "C" {
15+
#include <string.h>
16+
#include <sys/stat.h>
17+
#include <sys/types.h>
18+
+#include <sys/select.h>
19+
20+
/* Allow alternate API prefix from CFLAGS or calling app */
21+
#ifndef LIBSSH2_API

Ports/libssh2/patches/ReadMe.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Patches for libssh2 on SerenityOS
2+
3+
## `0001-fix-missing-select.h-header.patch`
4+
5+
fix-missing-select.h-header
6+
7+

0 commit comments

Comments
 (0)