2006-02-23 16:26:10 +01:00
|
|
|
# Description: Vorbis codec library
|
2018-03-06 15:15:29 +01:00
|
|
|
# URL: https://www.xiph.org/ogg/vorbis/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2012-06-21 08:58:35 +02:00
|
|
|
# Depends on: libogg
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=libvorbis
|
2015-03-18 12:13:11 +01:00
|
|
|
version=1.3.5
|
2018-03-06 15:15:29 +01:00
|
|
|
release=2
|
|
|
|
source=(https://downloads.xiph.org/releases/vorbis/$name-$version.tar.xz
|
|
|
|
CVE-2017-14633.patch
|
|
|
|
CVE-2017-14632.patch
|
|
|
|
CVE-2017-14160.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2018-03-06 15:15:29 +01:00
|
|
|
cd $name-$version
|
2014-01-23 11:27:18 +01:00
|
|
|
|
2018-03-06 15:15:29 +01:00
|
|
|
# https://security-tracker.debian.org/tracker/source-package/libvorbis
|
|
|
|
patch -p1 -i $SRC/CVE-2017-14633.patch
|
|
|
|
patch -p1 -i $SRC/CVE-2017-14632.patch
|
|
|
|
patch -p1 -i $SRC/CVE-2017-14160.patch
|
2014-01-23 11:27:18 +01:00
|
|
|
|
2018-03-06 15:15:29 +01:00
|
|
|
./configure --prefix=/usr
|
2014-01-23 11:27:18 +01:00
|
|
|
|
2018-03-06 15:15:29 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|