Date: Thursday, February 22, 2018 @ 20:29:27 Author: arojas Revision: 317398
archrelease: copy trunk to extra-x86_64 Added: wavpack/repos/extra-x86_64/PKGBUILD (from rev 317397, wavpack/trunk/PKGBUILD) Deleted: wavpack/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 64 +++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 25 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-02-22 20:28:33 UTC (rev 317397) +++ PKGBUILD 2018-02-22 20:29:27 UTC (rev 317398) @@ -1,25 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=wavpack -pkgver=5.1.0 -pkgrel=1 -pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes" -arch=('i686' 'x86_64') -url="http://www.wavpack.com/" -license=('BSD') -depends=('glibc') -source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('ed96443e3fc915128e1002a0f9f2c7ae9bcdc09b') - -build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --disable-asm - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: wavpack/repos/extra-x86_64/PKGBUILD (from rev 317397, wavpack/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-02-22 20:29:27 UTC (rev 317398) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=wavpack +pkgver=5.1.0 +pkgrel=2 +pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes" +arch=('x86_64') +url="http://www.wavpack.com/" +license=('BSD') +depends=('glibc') +source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2 + CVE-2018-6767.patch::"https://github.com/dbry/WavPack/commit/d5bf76b5.patch" + CVE-2018-7253.patch::"https://github.com/dbry/WavPack/commit/36a24c78.patch" + CVE-2018-7254.patch::"https://github.com/dbry/WavPack/commit/8e3fe45a.patch") +sha256sums=('1939627d5358d1da62bc6158d63f7ed12905552f3a799c799ee90296a7612944' + 'b5fad0bb3e9501709cb935f13eb5ff09a89168c06575b99d76c826e0462e201c' + '2ab4589c16caddf7f9a1d99f10b3476505732355b98fdfca194e22172b08696c' + '41a6c1ce80df806b3f96a7a2fa379372bb0ac91f55cb51b9e784574325a84347') + +prepare() { + cd $pkgname-$pkgver +# Fix security issues + patch -p1 -i ../CVE-2018-6767.patch + patch -p1 -i ../CVE-2018-7253.patch + patch -p1 -i ../CVE-2018-7254.patch +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-asm + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}