aboutsummaryrefslogtreecommitdiffstats
path: root/main/faad2/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-11 16:46:20 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-24 13:46:53 +0200
commit3a9fa508128d243abee97ef41bd84a7847515f61 (patch)
tree5fc11ea4666068233fe06eddfcb22c2c56cc9c5f /main/faad2/APKBUILD
parentba93705f698eb64a2519ba1380f83d9238db90e2 (diff)
downloadaports-3a9fa508128d243abee97ef41bd84a7847515f61.tar.bz2
aports-3a9fa508128d243abee97ef41bd84a7847515f61.tar.xz
main/faad2: security upgrade to 2.9.0
Diffstat (limited to 'main/faad2/APKBUILD')
-rw-r--r--main/faad2/APKBUILD39
1 files changed, 26 insertions, 13 deletions
diff --git a/main/faad2/APKBUILD b/main/faad2/APKBUILD
index 3c1b4402af..cbf45a4b1f 100644
--- a/main/faad2/APKBUILD
+++ b/main/faad2/APKBUILD
@@ -1,23 +1,38 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=faad2
-pkgver=2.7
-pkgrel=8
+pkgver=2.9.0
+_pkgver="${pkgver//./_}"
+pkgrel=0
pkgdesc="ISO AAC audio decoder"
-url="http://www.audiocoding.com/"
+url="https://github.com/knik0/faad2"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="autoconf automake libtool"
-source="https://downloads.sourceforge.net/sourceforge/faac/$pkgname-$pkgver.tar.bz2
- automake.patch"
+source="$pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$_pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$_pkgver"
-prepare() {
- cd "$builddir"
- update_config_sub
- default_prepare
-}
+# secfixes:
+# 2.9.0-r0:
+# - CVE-2019-6956
+# - CVE-2018-20196
+# - CVE-2018-20199
+# - CVE-2018-20360
+# - CVE-2018-20362
+# - CVE-2018-19504
+# - CVE-2018-20195
+# - CVE-2018-20198
+# - CVE-2018-20358
+# - CVE-2018-20194
+# - CVE-2018-19503
+# - CVE-2018-20197
+# - CVE-2018-20357
+# - CVE-2018-20359
+# - CVE-2018-20361
+# - CVE-2019-15296
+# - CVE-2018-19502
build() {
cd "$builddir"
@@ -37,8 +52,6 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- install -m644 common/mp4ff/mp4ff_int_types.h "$pkgdir"/usr/include/mp4ff_int_types.h
}
-sha512sums="0934aa9b752b5d86879d94156dea02595e2428340d0cf44202ffea369895b21a9aadbb4833a39212c9a79429b409eb108706b1f523bfddd32809b53730d50947 faad2-2.7.tar.bz2
-0b66cfa240529a2139b47cb8dc87c4b43a451b906d66ef7d211fb509358b1493ceee13894516c2f552b33eae74640910e97957caa49dade2597ebd9777152a9e automake.patch"
+sha512sums="1756b2672f9e438a56b11160ddc77fc721d85860eaa325a3ff01b51a2524baf4c1c61068a97cbc4e99d47e7643f10e1d6afb997eede3295b44551fe4661fb5dc faad2-2.9.0.tar.gz"