* update libssh to 0.10.6-2

This commit is contained in:
Alexander Baldeck 2024-01-26 20:26:24 +01:00
parent 25f9b0cdc2
commit 0d034882fd

View File

@ -6,21 +6,35 @@
# Contributor: sergeantspoon <sergeantspoon@archlinux.us>
pkgbase=libssh
pkgname=(libssh libssh-docs)
pkgver=0.10.5
pkgrel=1
pkgname=(libssh
libssh-docs)
pkgver=0.10.6
pkgrel=2
pkgdesc='Library for accessing ssh client services through C libraries'
url='https://www.libssh.org/'
license=(LGPL)
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
depends=(zlib openssl)
makedepends=(cmake cmocka doxygen python openssh)
depends=(glibc
openssl
zlib)
makedepends=(cmake
cmocka
doxygen
openssh
python)
provides=(libssh.so)
source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc})
sha256sums=('b60e2ff7f367b9eee2b5634d3a63303ddfede0e6a18dfca88c44a8770e7e4234'
'SKIP')
source=(https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.asc}
https://gitlab.com/libssh/libssh-mirror/-/commit/1a02364b.patch)
sha256sums=('1861d498f5b6f1741b6abc73e608478491edcf9c9d4b6630eef6e74596de9dc1'
'SKIP'
'124612313b78dc89e47e87a17698113b8d2736c213e724c0ae0f84f87136ba48')
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
prepare() {
# Fix regression in IPv6 addresses in hostname parsing
patch -d $pkgname-$pkgver -p1 < 1a02364b.patch
}
build() {
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \