mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 19:29:02 +08:00
[skip-ci] libssh: update to 0.7.6 to fix security issues.
This commit is contained in:
parent
2d9ea7f46a
commit
e9be0de434
@ -1,25 +1,32 @@
|
|||||||
pkgname=libssh
|
pkgname=libssh
|
||||||
pkgver=0.7.3
|
pkgver=0.7.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Library for accessing ssh client services through C libraries"
|
pkgdesc="Library for accessing ssh client services through C libraries"
|
||||||
url="http://www.libssh.org/"
|
url="https://www.libssh.org/"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
depends=('openssl')
|
depends=('zlib' 'openssl')
|
||||||
makedepends=('cmake' 'doxygen')
|
makedepends=('cmake' 'cmocka' 'doxygen' 'python3')
|
||||||
source=(https://red.libssh.org/attachments/download/195/${pkgname}-${pkgver}.tar.xz
|
source=(http://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.asc})
|
||||||
https://red.libssh.org/attachments/download/194/${pkgname}-${pkgver}.tar.asc)
|
sha256sums=('1d607d3859274f755942324afb0f887ee22edd157f9596a2e69e3a28ec6d1092'
|
||||||
md5sums=('05465da8004f3258db946346213209de'
|
|
||||||
'SKIP')
|
'SKIP')
|
||||||
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
|
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
|
# disable the test. It is confused by our clean container setup.
|
||||||
|
# 'extra-x86-build' uses user 'nobody' that has a record in /etc/passwd file
|
||||||
|
# but $HOME envvar is set to '/build'. The test expects that $HOME corresponds to passwd file.
|
||||||
|
sed 's/cmocka_unit_test(torture_path_expand_tilde_unix),//' -i libssh-${pkgver}/tests/unittests/torture_misc.c
|
||||||
|
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
cd build
|
cd build
|
||||||
cmake ../${pkgname}-${pkgver} \
|
cmake ../${pkgname}-${pkgver} \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DWITH_GSSAPI=OFF \
|
||||||
-DWITH_GSSAPI=Off
|
-DUNIT_TESTING=ON
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user