aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvpx
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-26 17:02:17 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-26 20:34:19 +0000
commit1937d67e0977595aaa40ea6f4884aa64ea1ac26f (patch)
tree22468363babe1e12e50a63392fd8b7cbd298f3fc /main/libvpx
parent549ee24caa5c20666499bb8a84c6b477a3b2388e (diff)
downloadaports-1937d67e0977595aaa40ea6f4884aa64ea1ac26f.tar.bz2
aports-1937d67e0977595aaa40ea6f4884aa64ea1ac26f.tar.xz
community/libvpx: move from main
There are several secfixes issues that were missing, so it clearly shows that there is not enough care taken for this to stay main, 3.10 to 3.8 are still unpatched for vulnerabilities
Diffstat (limited to 'main/libvpx')
-rw-r--r--main/libvpx/APKBUILD55
-rw-r--r--main/libvpx/fix-arm-float-abi.patch12
2 files changed, 0 insertions, 67 deletions
diff --git a/main/libvpx/APKBUILD b/main/libvpx/APKBUILD
deleted file mode 100644
index 4ab88b1ab1..0000000000
--- a/main/libvpx/APKBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=libvpx
-pkgver=1.8.2
-pkgrel=0
-pkgdesc="Library for the vp8 codec"
-url="https://www.webmproject.org/"
-arch="all"
-license="BSD-3-Clause"
-makedepends="coreutils yasm bash perl diffutils linux-headers" # linux-headers is needed on ppc64le
-subpackages="$pkgname-dev $pkgname-utils"
-source="$pkgname-$pkgver.tar.gz::https://github.com/webmproject/libvpx/archive/v$pkgver.tar.gz
- fix-arm-float-abi.patch
- "
-
-# secfixes:
-# 1.8.2-r0:
-# - CVE-2020-0034
-# 1.8.1-r0:
-# - CVE-2019-9371
-# - CVE-2019-9433
-# - CVE-2019-9325
-# - CVE-2019-9232
-
-build() {
- # build fix for arm
- export CROSS=" "
- bash ./configure \
- --enable-pic \
- --enable-libs \
- --enable-runtime-cpu-detect \
- --enable-vp8 \
- --enable-vp9 \
- --enable-shared \
- --disable-install-srcs \
- --enable-postproc \
- --disable-static
- make
-}
-
-package() {
- make DIST_DIR="$pkgdir"/usr install
- chmod 644 "$pkgdir"/usr/include/vpx/*.h \
- "$pkgdir"/usr/lib/pkgconfig/*
- chown root:root -R "$pkgdir"
- chmod 755 "$pkgdir"/usr/lib/*
-}
-
-utils() {
- pkgdesc="VP8 utilities and tools"
- install -d "$subpkgdir"/usr
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
-}
-
-sha512sums="da2ab0775a28ddd78654bbe46886e833d4ef7ba91867fc1427dceced735b6177eff06b24f204c075c50c3a5cadc5be6a1fb213c44df189218a543b52554f3a38 libvpx-1.8.2.tar.gz
-4eadbc2f4eb68eaff35cf85515aef271d6fd47293a53cba7b7a6e9e0fb71106dfb5ded45b9e9ba83264a91846e4a5fa4db42e39fc3eaff6ac37769e622f90f6c fix-arm-float-abi.patch"
diff --git a/main/libvpx/fix-arm-float-abi.patch b/main/libvpx/fix-arm-float-abi.patch
deleted file mode 100644
index 52253aff59..0000000000
--- a/main/libvpx/fix-arm-float-abi.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru libvpx-1.6.1.orig/build/make/configure.sh libvpx-1.6.1/build/make/configure.sh
---- libvpx-1.6.1.orig/build/make/configure.sh 2017-01-12 22:27:27.000000000 +0200
-+++ libvpx-1.6.1/build/make/configure.sh 2018-11-13 13:49:37.998514809 +0200
-@@ -680,7 +680,7 @@
- aarch64*)
- tgt_isa=arm64
- ;;
-- armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf)
-+ armv7*-hardfloat* | armv7*-*eabihf | arm-*-*eabihf)
- tgt_isa=armv7
- float_abi=hard
- ;;