aboutsummaryrefslogtreecommitdiffstats
path: root/community/libexif/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libexif/APKBUILD')
-rw-r--r--community/libexif/APKBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/community/libexif/APKBUILD b/community/libexif/APKBUILD
index 6cbf241d688..9489c2f9595 100644
--- a/community/libexif/APKBUILD
+++ b/community/libexif/APKBUILD
@@ -1,15 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libexif
-pkgver=0.6.22
-pkgrel=0
-pkgdesc="A library to parse an EXIF file and read the data from those tags"
-url="https://sourceforge.net/projects/libexif"
+pkgver=0.6.24
+pkgrel=2
+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/libexif-${pkgver//./_}-release/libexif-$pkgver.tar.xz"
+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
@@ -35,10 +38,7 @@ source="https://github.com/libexif/libexif/releases/download/libexif-${pkgver//.
prepare() {
default_prepare
-
- # The tarballs upstream provides uses /usr/bin/sh instead of /bin/sh
- # most likely as a result of a poor usrmerge
- grep -l '^#!/usr/bin/sh' -r . | xargs sed -i 's|^#!/usr/bin/sh|#!/bin/sh|g'
+ update_config_sub
}
build() {
@@ -57,4 +57,6 @@ check() {
package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="0a9e7bf0258ed98a794b667d45e8fc65299101a2a2d2e39c358715b20b003beff258782f0736cd5b53978428a2f878a989f303bee249a978850a065f33c534af libexif-0.6.22.tar.xz"
+sha512sums="
+35c9e7af2c3d44a638dc6bbe8f96962d41c0f3fe4a257494f7a73baefab9aba507477175289ccf9002a66cc16ca53d5d1f44d6fef9e014b27f687ecdc58f5111 libexif-0.6.24.tar.bz2
+"