main/gst-plugins-ugly1: security upgrade 1.10.4 - fixes #7238

CVE-2017-5846, CVE-2017-5847

Add check()
This commit is contained in:
Leonardo Arena 2017-04-28 14:46:49 +00:00
parent 2b28c7b55e
commit b8a7d65487

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly1
pkgver=1.8.1
pkgrel=3
pkgver=1.10.4
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
url="http://gstreamer.freedesktop.org/"
arch="all"
@ -25,15 +25,15 @@ makedepends="
source="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz"
subpackages="$pkgname-lang"
ldpath="/usr/lib/gstreamer-1.0"
builddir="$srcdir"/gst-plugins-ugly-$pkgver
_builddir="$srcdir"/gst-plugins-ugly-$pkgver
prepare() {
cd "$_builddir"
}
# secfixes:
# 1.10.4-r0:
# - CVE-2017-5846
# - CVE-2017-5847
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@ -49,10 +49,13 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="b6f47bcb3d924f7ef8a8b33ac4d037ab gst-plugins-ugly-1.8.1.tar.xz"
sha256sums="8e656a9a3be60d7e7ed3fb8e2a22d070b1f54f95d0b22accd876360e659446ce gst-plugins-ugly-1.8.1.tar.xz"
sha512sums="349767c0d688eb62097d47115e14303f80648d4387e414d73a8a18de0b566d4d35d57121d103cce74d0d33c00cbe9fc109e7342a205eb5f03e54b2552812f760 gst-plugins-ugly-1.8.1.tar.xz"
sha512sums="7d8d47c7d5c3bfc7ae549abb6ee7f3812b9a46c114057d42eed46af03c6f1354d9190df9ba58ac810251dab87f95d128c754209961e3b62f5aa7bd9d88836cb6 gst-plugins-ugly-1.10.4.tar.xz"