aboutsummaryrefslogtreecommitdiffstats
path: root/main/axel/APKBUILD
blob: f5ba6e3b2fe69a659bff306fe7427bd09bdb2a62 (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
# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=axel
pkgver=2.17.3
pkgrel=1
pkgdesc="A multiple-connection concurrent downloader"
url="https://github.com/axel-download-accelerator/axel"
arch="all"
options="!check" # has no checks
license="GPL-2.0-or-later"
makedepends="openssl-dev automake autoconf libtool"
subpackages="$pkgname-doc"
source="$url/releases/download/v$pkgver/axel-$pkgver.tar.xz
	CVE-2020-13614.patch
	"

# secfixes:
#   2.17.3-r1:
#     - CVE-2020-13614

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-nls
	make
}

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

sha512sums="6f1f64db0f62a4182b6f80302fcda3c71290cbf16191bad8ada33cb28c593524b7173666a85c409af2ad1d553f5b6b7dfb01dc2700a45e503a14673fb270dabb  axel-2.17.3.tar.xz
3e3598d061e2567c9d6cef89efb598a3cd45d9f41ddfbd8202bb5a8be1e6ea96914c305234acfcaef35df292885cb4b3f026412641218bef5d0fc1c7f3b2bb55  CVE-2020-13614.patch"