# Maintainer: Natanael Copa pkgname=libssh2 pkgver=1.11.0 pkgrel=0 pkgdesc="library for accessing ssh1/ssh2 protocol servers" url="https://libssh2.org/" arch="all" license="BSD-3-Clause" makedepends_host="openssl-dev>3 zlib-dev" subpackages="$pkgname-dbg $pkgname-static $pkgname-dev $pkgname-doc" source="http://www.libssh2.org/download/libssh2-$pkgver.tar.gz " options="!check" # FIXME: debug why integration test fails on builders but not rootbld # secfixes: # 1.9.0-r1: # - CVE-2019-17498 # 1.9.0-r0: # - CVE-2019-13115 # 1.8.1-r0: # - CVE-2019-3855 # - CVE-2019-3856 # - CVE-2019-3857 # - CVE-2019-3858 # - CVE-2019-3859 # - CVE-2019-3860 # - CVE-2019-3861 # - CVE-2019-3862 # - CVE-2019-3863 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-crypto=openssl \ --with-libssl-prefix=$CBUILDROOT/ make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" ef85e152dc252bd9b1c05276972b9c22313f5d492743dde090235742746d67f634f2a419eff9162132e2274c8582113b75279b074e0c7b34b2526b92fd1a1e8e libssh2-1.11.0.tar.gz "