blob: f9794a966adca9f7cc80a826b8d9caefc0bf4a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libssh2
pkgver=1.8.1
pkgrel=0
pkgdesc="library for accessing ssh1/ssh2 protocol servers"
url="https://libssh2.org/"
arch="all"
license="BSD"
makedepends="openssl-dev zlib-dev"
options="!check"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
source="http://www.libssh2.org/download/libssh2-$pkgver.tar.gz"
builddir="$srcdir"/libssh2-$pkgver
# security fixes:
# 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
prepare() {
cd "$builddir"
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f09ad9ed04d25305b966e7f8c210082fe06c2b236dcd5018b009bd0bd6aaff123d16559d280892a5060760ed055ffe295bc02dc6e8dd1e7b8383c6c703f09290 libssh2-1.8.1.tar.gz"
|