aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 16:13:14 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 16:13:14 -0300
commit7ef3db11e4782e5befdfc5296254950cebc733a8 (patch)
tree1b8a195567b3fcd7441f2ccf13ef36e3c02e7524
parent96b4ffd87fea35a16d73bdf288b2dcbe5d15bc82 (diff)
downloadaports-7ef3db11e4782e5befdfc5296254950cebc733a8.tar.gz
aports-7ef3db11e4782e5befdfc5296254950cebc733a8.tar.bz2
aports-7ef3db11e4782e5befdfc5296254950cebc733a8.tar.xz
main/libvorbis: modernize
-rw-r--r--main/libvorbis/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/main/libvorbis/APKBUILD b/main/libvorbis/APKBUILD
index 390b4d840e..fcd9067c7a 100644
--- a/main/libvorbis/APKBUILD
+++ b/main/libvorbis/APKBUILD
@@ -8,33 +8,27 @@ arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="libogg-dev"
-source="http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.xz
+source="http://downloads.xiph.org/releases/vorbis/libvorbis-$pkgver.tar.xz
CVE-2017-14160.patch
CVE-2018-10392.patch
CVE-2018-10393.patch
"
-builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 1.3.6-r2:
-# - CVE-2018-10393
+# - CVE-2018-10393
# 1.3.6-r1:
-# - CVE-2018-10392
+# - CVE-2018-10392
# 1.3.6-r0:
-# - CVE-2018-5146
+# - CVE-2018-5146
# 1.3.5-r4:
-# - CVE-2017-14632
-# - CVE-2017-14633
+# - CVE-2017-14632
+# - CVE-2017-14633
# 1.3.5-r3:
-# - CVE-2017-14160
-# - CVE-2018-10393
-
-prepare() {
- default_prepare
-}
+# - CVE-2017-14160
+# - CVE-2018-10393
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -46,12 +40,10 @@ build() {
}
check() {
- cd "$builddir"
make -j1 check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}