aboutsummaryrefslogtreecommitdiffstats
path: root/community/libexif/APKBUILD
blob: 4ba20bb4d6563e73890f1e310e7bc08d70dddb67 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libexif
pkgver=0.6.24
pkgrel=0
pkgdesc="library to parse an EXIF file and read the data from those tags"
url="https://sourceforge.net/projects/libexif"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/libexif/libexif/releases/download/v$pkgver/libexif-$pkgver.tar.bz2"

# secfixes:
#   0.6.23-r0:
#     - CVE-2020-0198
#     - CVE-2020-0452
#   0.6.22-r0:
#     - CVE-2018-20030
#     - CVE-2020-13114
#     - CVE-2020-13113
#     - CVE-2020-13112
#     - CVE-2020-0093
#     - CVE-2019-9278
#     - CVE-2020-12767
#     - CVE-2016-6328
#   0.6.21-r3:
#     - CVE-2017-7544
#   0.6.21-r0:
#     - CVE-2012-2812
#     - CVE-2012-2813
#     - CVE-2012-2814
#     - CVE-2012-2836
#     - CVE-2012-2837
#     - CVE-2012-2840
#     - CVE-2012-2841
#     - CVE-2012-2845
#   0.6.19-r0:
#     - CVE-2009-3895

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="
35c9e7af2c3d44a638dc6bbe8f96962d41c0f3fe4a257494f7a73baefab9aba507477175289ccf9002a66cc16ca53d5d1f44d6fef9e014b27f687ecdc58f5111  libexif-0.6.24.tar.bz2
"