From a1d2eb585b98388216c0a547288ac91435e8e3f8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 11 Jul 2017 09:45:05 +0000 Subject: main/alsa-lib: disable use of wordexp wordexp will execute in a shell, which breaks firefox sandbox. The use of wordexp is questionable so we disable use of wordexp by fooling configure script that we dont have it. ref #7454 --- main/alsa-lib/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'main/alsa-lib') diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD index 80d865e0bf..a901778c15 100644 --- a/main/alsa-lib/APKBUILD +++ b/main/alsa-lib/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=alsa-lib pkgver=1.1.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="An alternative implementation of Linux sound support" url="http://www.alsa-project.org" arch="all" @@ -24,6 +24,10 @@ prepare() { build() { cd "$builddir" + # musl does support wordexp but we don't want alsa to use it since it will + # execute /bin/sh and break things like firefox sandbox + # https://bugs.alpinelinux.org/issues/7454 + ac_cv_header_wordexp_h=no \ ./configure \ --build=$CBUILD \ --host=$CHOST \ -- cgit v1.2.3