aboutsummaryrefslogtreecommitdiffstats
path: root/main/putty/APKBUILD
blob: 940609798a18844e92807f5d973f82a0a1b295e8 (plain) (blame)
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
# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
pkgname=putty
pkgver=0.76
pkgrel=0
pkgdesc="SSH and telnet client"
url="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
arch="all"
license="MIT"
depends="ncurses-terminfo-base"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="http://the.earth.li/~sgtatham/putty/$pkgver/putty-$pkgver.tar.gz
	fix-ppc64le-disable-werror.patch"
options="!check" # no test suite

# secfixes:
#   0.76-r0:
#     - CVE-2021-36367
#   0.74-r0:
#     - CVE-2020-14002
#   0.73-r0:
#     - CVE-2019-17068
#     - CVE-2019-17069
#   0.71-r0:
#     - CVE-2019-9894
#     - CVE-2019-9895
#     - CVE-2019-9897
#     - CVE-2019-9898

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
4576b359593928c6eba923f2d7b66ac0f2cf00e0c217cdbbb124471c3b35feb090e623847bfc507a4ef106cb3067aac47419e241b11dd8bf4ae554061fa93c25  putty-0.76.tar.gz
"