aboutsummaryrefslogblamecommitdiffstats
path: root/main/libvorbis/APKBUILD
blob: 09fa48100633ecf01cedd1e49626762486289310 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        
                              
                             
          
                      
                                       
                        
                                                                         

                            
                            
         
                                   
 
           

                    

                    

                   


                    


                    



                       
         
                      


                                 



                                         
            

 




                      
           
                      
                                      
 
 
                                                                                                                                                                    
                                                                                                                                                      

                                                                                                                                                       
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libvorbis
pkgver=1.3.6
pkgrel=2
pkgdesc="Vorbis codec library"
url="https://xiph.org/vorbis"
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
	CVE-2017-14160.patch
	CVE-2018-10392.patch
	CVE-2018-10393.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

# secfixes:
#   1.3.6-r2:
#   - CVE-2018-10393
#   1.3.6-r1:
#   - CVE-2018-10392
#   1.3.6-r0:
#   - CVE-2018-5146
#   1.3.5-r4:
#   - CVE-2017-14632
#   - CVE-2017-14633
#   1.3.5-r3:
#   - CVE-2017-14160

prepare() {
	default_prepare
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make -j1 check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a5d990bb88db2501b16f8eaee9f2ecb599cefd7dab2134d16538d8905263a972157c7671867848c2a8a358bf5e5dbc7721205ece001032482f168be7bda4f132  libvorbis-1.3.6.tar.xz
4c2f7be947f2159ae47175cba89950c7b7d357b37a20d54382e4fbecd8c268b148e6cb86cb148945c7b68bbe8b14f466e910b35b80903ab51f1b02cfccf5806e  CVE-2017-14160.patch
a60d45144882bc72c3f4937a34baa5e2bda80a3a858b858637fee508755349b616690519e013ff6aafa7e8ff85fd1d0687a3e748b0e8bce25df1abeece97dc36  CVE-2018-10392.patch
aaa8c09458ad20d45392c99781130ba815f839484b65c61e404198bae570e12401c2cf612f9c4f0b3932cc9e5eac0b066d515950425afa6eb2d6db7cc67731a6  CVE-2018-10393.patch"