summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-28 14:46:49 (GMT)
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-28 14:47:30 (GMT)
commitb8a7d654872e2cbbcd72060ff253170be3c8f1ba (patch)
tree5b08dab4826b50cdf01ca8d1cbeaf1f51101a6c8
parent2b28c7b55e2c15bd4d85856789170de2f19e6d83 (diff)
downloadalpine-aports-b8a7d654872e2cbbcd72060ff253170be3c8f1ba.zip
alpine-aports-b8a7d654872e2cbbcd72060ff253170be3c8f1ba.tar.gz
alpine-aports-b8a7d654872e2cbbcd72060ff253170be3c8f1ba.tar.bz2
main/gst-plugins-ugly1: security upgrade 1.10.4 - fixes #7238
CVE-2017-5846, CVE-2017-5847 Add check()
-rw-r--r--main/gst-plugins-ugly1/APKBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/main/gst-plugins-ugly1/APKBUILD b/main/gst-plugins-ugly1/APKBUILD
index 96dde5c..875e040 100644
--- a/main/gst-plugins-ugly1/APKBUILD
+++ b/main/gst-plugins-ugly1/APKBUILD
@@ -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"