summaryrefslogtreecommitdiff
path: root/system/expat/APKBUILD
blob: f643f6d46fd57a97f4f269907e788089194beae1 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=expat
pkgver=2.4.9
pkgrel=0
pkgdesc="XML parser library written in C"
url="https://libexpat.github.io/"
arch="all"
license="MIT"
depends=""
checkdepends="bash"
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2"

# secfixes:
#   2.4.9-r0:
#     - CVE-2022-40674
#   2.4.7-r0:
#     - CVE-2022-25315
#     - CVE-2022-25314
#     - CVE-2022-25313
#     - CVE-2022-25236
#     - CVE-2022-25235
#   2.4.4-r0:
#     - CVE-2022-23852
#     - CVE-2022-23990
#     - CVE-2021-45960
#     - CVE-2021-46143
#     - CVE-2022-22822
#     - CVE-2022-22823
#     - CVE-2022-22824
#     - CVE-2022-22825
#     - CVE-2022-22826
#     - CVE-2022-22827
#   2.4.1-r0:
#     - CVE-2013-0340
#   2.2.7-r1:
#     - CVE-2019-15903
#   2.2.1-r0:
#     - CVE-2016-9063
#   2.2.0-r1:
#     - CVE-2017-9233

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

check() {
	make check
}

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

sha512sums="fdfdc57dd11541eb307b38bd97ec84f78012c7b48fafc5c879b4b8c768cabfbcd7652ccec11e870bf31fee8f68174b22cf632de12c8c46601277f6750f90c192  expat-2.4.9.tar.bz2"