libssh: update to 0.9.5 (CVE-2020-16135)
This commit is contained in:
parent
561badd3e4
commit
b361aa4ad4
1 changed files with 10 additions and 3 deletions
|
@ -1,22 +1,29 @@
|
||||||
# Template file for 'libssh'
|
# Template file for 'libssh'
|
||||||
pkgname=libssh
|
pkgname=libssh
|
||||||
version=0.9.4
|
version=0.9.5
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DUNIT_TESTING=ON"
|
configure_args="-DUNIT_TESTING=ON"
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
makedepends="zlib-devel libressl-devel cmocka-devel"
|
makedepends="zlib-devel libressl-devel cmocka-devel"
|
||||||
|
checkdepends="openssh"
|
||||||
short_desc="Multiplatform C library implementing the SSH v2 protocol"
|
short_desc="Multiplatform C library implementing the SSH v2 protocol"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://www.libssh.org/"
|
homepage="https://www.libssh.org/"
|
||||||
distfiles="https://git.libssh.org/projects/libssh.git/snapshot/${pkgname}-${version}.tar.gz"
|
distfiles="https://git.libssh.org/projects/libssh.git/snapshot/${pkgname}-${version}.tar.gz"
|
||||||
checksum=10cde12a5bdc86387f70de460006520fae01ad5e493782b38b6ddc2c8f187fe7
|
checksum=df65d6054554e8ff5458628808ce8d68b928175f4fefa1c833582b9568491e64
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) configure_args="-DHAVE_GLOB=0" ;;
|
*-musl) configure_args="-DHAVE_GLOB=0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||||
|
configure_args+=" -DUNIT_TESTING=ON"
|
||||||
|
else
|
||||||
|
configure_args+=" -DUNIT_TESTING=OFF"
|
||||||
|
fi
|
||||||
|
|
||||||
libssh-devel_package() {
|
libssh-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in a new issue