aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-01-10 22:05:17 +0100
committerFrancesco Colista <fcolista@alpinelinux.org>2021-01-11 07:52:34 +0000
commitee0f0c39b80c484343973f2cbc7b0b2cdc0f9532 (patch)
tree426d30ecd589f52eba14e094e4d531065df68d6c
parent363942cfe9712abb65af6407208e61506c9b3122 (diff)
downloadaports-ee0f0c39b80c484343973f2cbc7b0b2cdc0f9532.tar.gz
aports-ee0f0c39b80c484343973f2cbc7b0b2cdc0f9532.tar.bz2
aports-ee0f0c39b80c484343973f2cbc7b0b2cdc0f9532.tar.xz
community/podofo: security upgrade to 0.9.7
-rw-r--r--community/podofo/APKBUILD51
-rw-r--r--community/podofo/podofo-cmake-3.12.patch13
2 files changed, 42 insertions, 22 deletions
diff --git a/community/podofo/APKBUILD b/community/podofo/APKBUILD
index e879f7fd47..5510d281ca 100644
--- a/community/podofo/APKBUILD
+++ b/community/podofo/APKBUILD
@@ -1,20 +1,53 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=podofo
-pkgver=0.9.6
-pkgrel=2
+pkgver=0.9.7
+pkgrel=0
pkgdesc="A C++ library to work with the PDF file format"
-url="http://podofo.sourceforge.net"
+url="http://podofo.sourceforge.net/"
arch="all"
license="GPL-2.0-only"
makedepends="tiff-dev libpng-dev fontconfig-dev
-cmake lua-dev openssl-dev libidn-dev"
+ cmake lua-dev openssl-dev libidn-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://downloads.sourceforge.net/podofo/podofo-$pkgver.tar.gz
- podofo-cmake-3.12.patch
- "
+source="https://downloads.sourceforge.net/podofo/podofo-$pkgver.tar.gz"
# secfixes:
+# 0.9.7-r0:
+# - CVE-2019-9199
+# - CVE-2019-9687
+# - CVE-2018-19532
+# - CVE-2018-20751
+# - CVE-2018-20797
+# - CVE-2019-10723
+# - CVE-2019-20093
+# 0.9.6-r0:
+# - CVE-2017-6848
+# - CVE-2017-7378
+# - CVE-2017-7379
+# - CVE-2017-7380
+# - CVE-2017-7381
+# - CVE-2017-7382
+# - CVE-2017-7383
+# - CVE-2017-7994
+# - CVE-2017-8053
+# - CVE-2017-8054
+# - CVE-2017-8378
+# - CVE-2017-8787
+# - CVE-2018-5295
+# - CVE-2018-5296
+# - CVE-2018-5308
+# - CVE-2018-5309
+# - CVE-2018-5783
+# - CVE-2018-6352
+# - CVE-2018-8000
+# - CVE-2018-8001
+# - CVE-2018-8002
+# - CVE-2018-11254
+# - CVE-2018-11255
+# - CVE-2018-11256
+# - CVE-2018-12982
+# - CVE-2018-12983
# 0.9.5-r0:
# - CVE-2017-6843
# - CVE-2017-6844
@@ -33,9 +66,9 @@ build() {
-DPODOFO_HAVE_TIFF_LIB=1
make -C build
}
+
package() {
make -C build DESTDIR="$pkgdir" install
}
-sha512sums="35c1a457758768bdadc93632385f6b9214824fead279f1b85420443fb2135837cefca9ced476df0d47066f060e9150e12fcd40f60fa1606b177da433feb20130 podofo-0.9.6.tar.gz
-6c14a620debeb12a36169f225382c08f5367d8cf93d9d3678bec94ce44dabcf235a7d87c2c29b7c8f5daa8abc9f7415e9e58fa3720388cbbf082b7f63896863f podofo-cmake-3.12.patch"
+sha512sums="0e699739c2fb7d4d02ffca371504bb19f3a8a97ddcbfc06f8d9636db9e73064b4f633f7f09bce92140bb2174610ad68c1e5f8460d474d176ab803ed28295251b podofo-0.9.7.tar.gz"
diff --git a/community/podofo/podofo-cmake-3.12.patch b/community/podofo/podofo-cmake-3.12.patch
deleted file mode 100644
index 5ce8f515c2..0000000000
--- a/community/podofo/podofo-cmake-3.12.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/test/TokenizerTest/CMakeLists.txt.old 2018-07-20 18:26:02.921494293 +0200
-+++ b/test/TokenizerTest/CMakeLists.txt 2018-07-20 18:34:53.727136443 +0200
-@@ -2,10 +2,3 @@
- TARGET_LINK_LIBRARIES(TokenizerTest ${PODOFO_LIB} ${PODOFO_LIB_DEPENDS})
- SET_TARGET_PROPERTIES(TokenizerTest PROPERTIES COMPILE_FLAGS "${PODOFO_CFLAGS}")
- ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET})
--
--# Copy the test samples over to the build tree
--ADD_CUSTOM_COMMAND(
-- TARGET TokenizerTest
-- POST_BUILD
-- COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects"
-- )