libssh: Update to 0.11.0
* _GNU_SOURCE is set by the cmake build now, so remove the workaround * backport build fixes for newer issues
This commit is contained in:
parent
3d2aad9e98
commit
2f045fdbf9
@ -1,9 +1,10 @@
|
||||
pkgbase=libssh
|
||||
pkgname=('libssh' 'libssh-devel')
|
||||
pkgver=0.10.6
|
||||
pkgver=0.11.0
|
||||
pkgrel=1
|
||||
pkgdesc='Library for accessing ssh client services through C libraries'
|
||||
url='https://www.libssh.org/'
|
||||
msys2_repository_url="https://git.libssh.org/projects/libssh.git"
|
||||
msys2_references=(
|
||||
"cpe: cpe:/a:libssh:libssh"
|
||||
)
|
||||
@ -11,21 +12,24 @@ license=('spdx:LGPL-2.1+')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('zlib' 'libopenssl')
|
||||
makedepends=('cmake' 'python' 'openssl-devel' 'gcc' 'zlib-devel')
|
||||
source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc})
|
||||
sha256sums=('1861d498f5b6f1741b6abc73e608478491edcf9c9d4b6630eef6e74596de9dc1'
|
||||
'SKIP')
|
||||
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
|
||||
source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc}
|
||||
"https://gitlab.com/libssh/libssh-mirror/-/merge_requests/526.patch")
|
||||
sha256sums=('860e814579e7606f3fc3db98c5807bef2ab60f793ec871d81bcd23acdcdd3e91'
|
||||
'SKIP'
|
||||
'0933e3e3367adaafea01858eafd8aa240fcaf5c2c2b6a4fdc58ab3c06ce980f1')
|
||||
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D' # Andreas Schneider <asn@cryptomilk.org>
|
||||
'88A228D89B07C2C77D0C780903D5DF8CFDD3E8E7') # libssh release key (release key) <libssh@libssh.org>
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# https://gitlab.com/libssh/libssh-mirror/-/merge_requests/526
|
||||
patch -Np1 -i ../526.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
mkdir -p build && cd build
|
||||
|
||||
# to make GLOB_TILDE available
|
||||
CFLAGS+=" -D_GNU_SOURCE"
|
||||
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DWITH_GSSAPI=OFF \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user