Skip to content
Snippets Groups Projects
Commit 07e79697 authored by Sertonix's avatar Sertonix Committed by Natanael Copa
Browse files

community/exiv2: security upgrade to 0.28.5

parent 466c3c74
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exiv2
pkgver=0.28.3
pkgrel=1
pkgver=0.28.5
pkgrel=0
pkgdesc="Exif and Iptc metadata manipulation library and tools."
url="https://exiv2.org/"
arch="all"
license="GPL-2.0-or-later"
depends_dev="expat-dev zlib-dev"
makedepends="$depends_dev cmake samurai"
checkdepends="gtest-dev"
makedepends="
brotli-dev
cmake
expat-dev
inih-inireader-dev
samurai
zlib-dev
"
checkdepends="gtest-dev python3"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/Exiv2/exiv2/archive/refs/tags/v$pkgver/exiv2-v$pkgver.tar.gz"
# secfixes:
# 0.28.5-r0:
# - CVE-2025-26623
# 0.28.3-r0:
# - CVE-2024-39695
# 0.28.2-r0:
......@@ -78,14 +86,19 @@ build() {
-DEXIV2_BUILD_SAMPLES=OFF \
-DEXIV2_ENABLE_BMFF=ON \
-DEXIV2_ENABLE_WEBREADY=ON \
-DEXIV2_ENABLE_BROTLI=OFF \
-DEXIV2_ENABLE_INIH=OFF \
-DEXIV2_ENABLE_BROTLI=ON \
-DEXIV2_ENABLE_INIH=ON \
-DEXIV2_BUILD_UNIT_TESTS="$(want_check && echo ON || echo OFF)"
ninja -C build
}
check() {
ninja -C build test
# FIXME parellel tests are broken: https://github.com/Exiv2/exiv2/pull/3205
case "$CARCH" in
# FIXME Uncaught exception: Overflow in addition
arm*) ctest -j1 --test-dir build -E bugfixTests ;;
*) ctest -j1 --test-dir build ;;
esac
}
package() {
......@@ -93,5 +106,5 @@ package() {
}
sha512sums="
c8338a118feefa104d73932890c732247c884ab9ce1d170c43a22ab5884517a0e2a7fd1febde7705b8290fbbbc29e64738610404816e4db2b56a70fc444ca049 exiv2-v0.28.3.tar.gz
43c1d68255ee8df124b3093e1f4101d2f55fd8d6105bb6f20b148fe7d59472b895f0cba914e59f6d1581e84eee9d7033572821b80c16507e92abcb9a738daadc exiv2-v0.28.5.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment