mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 04:52:27 +01:00
6c763143a08a56997ee6f88f9329cfc17d6b56b5 introduced a patch for CVE-2019-17498 but did not bump the package release version. Therefore, the package wasn't rebuild.
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libssh2
|
|
pkgver=1.9.0
|
|
pkgrel=1
|
|
pkgdesc="library for accessing ssh1/ssh2 protocol servers"
|
|
url="https://libssh2.org/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="openssl-dev zlib-dev"
|
|
subpackages="$pkgname-dbg $pkgname-static $pkgname-dev $pkgname-doc"
|
|
source="http://www.libssh2.org/download/libssh2-$pkgver.tar.gz
|
|
CVE-2019-17498.patch
|
|
"
|
|
|
|
# security fixes:
|
|
# 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() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
static() {
|
|
depends=""
|
|
pkgdesc="$pkgdesc (static library)"
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
|
|
}
|
|
|
|
sha512sums="41a3ebcf84e32eab69b7411ffb0a3b6e6db71491c968602b17392cfe3490ef00239726ec28acb3d25bf0ed62700db7f4d0bb5a9175618f413865f40badca6e17 libssh2-1.9.0.tar.gz
|
|
fedd840ec8459409c80ef3984f3539e09c0730fb1a7ccc8034e3e03618590a5c0589b7dff132c813b148be9f5b784d3cd50830c502d419af77ce86e848297813 CVE-2019-17498.patch"
|