diff --git a/libssh/PKGBUILD b/libssh/PKGBUILD index c99ef83f5f..ec9414b5db 100644 --- a/libssh/PKGBUILD +++ b/libssh/PKGBUILD @@ -6,21 +6,35 @@ # Contributor: sergeantspoon 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 +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 \