diff options
author | tnn <tnn@pkgsrc.org> | 2009-07-28 12:52:40 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-07-28 12:52:40 +0000 |
commit | 8bf177a68cdfeba8e32bf5481d796958c7bb5a09 (patch) | |
tree | 575735bf0612edf154f0972a534bd3666c15efc3 /audio/pulseaudio | |
parent | 02ff986351f0ec1e8a7f4c33799b3c051a24f6e4 (diff) | |
download | pkgsrc-8bf177a68cdfeba8e32bf5481d796958c7bb5a09.tar.gz |
- plug up CVE-2009-1894, Linux specific local root shell vulnerability
- add SPECIAL_PERMS to make the user-destdir build consistent
- bump PKGREVISION
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r-- | audio/pulseaudio/Makefile | 6 | ||||
-rw-r--r-- | audio/pulseaudio/distinfo | 4 | ||||
-rw-r--r-- | audio/pulseaudio/patches/patch-ab | 13 |
3 files changed, 17 insertions, 6 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index 45bad68416f..f7bdc3b322e 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.25 2009/07/22 09:01:19 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2009/07/28 12:52:40 tnn Exp $ # NOTE: Please send a copy of any patches that are not pkgsrc-specific # to <pulseaudio-discuss@mail.0pointer.de> DISTNAME= pulseaudio-0.9.14 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= audio MASTER_SITES= http://0pointer.de/lennart/projects/pulseaudio/ @@ -48,6 +48,8 @@ CONFIGURE_ARGS+= --with-realtime-group=${PULSE_GROUP_REALTIME} CONFIGURE_ARGS+= --with-access-group=${PULSE_GROUP_ACCESS} MAKE_ENV+= EGDIR=${EGDIR} +SPECIAL_PERMS+= bin/pulseaudio ${SETUID_ROOT_PERMS} + SUBST_CLASSES+= padsp SUBST_MESSAGE.padsp= Fixing LD_PRELOAD paths SUBST_STAGE.padsp= post-build diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo index 93a63eabf85..a12a2096c02 100644 --- a/audio/pulseaudio/distinfo +++ b/audio/pulseaudio/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.14 2009/02/05 21:05:07 tron Exp $ +$NetBSD: distinfo,v 1.15 2009/07/28 12:52:40 tnn Exp $ SHA1 (pulseaudio-0.9.14.tar.gz) = a0fb7c21ee21178e102a1e5a11d8ac474e6f5da4 RMD160 (pulseaudio-0.9.14.tar.gz) = c7722d0d0240555edf917391989ad2e1cd4eb6b1 Size (pulseaudio-0.9.14.tar.gz) = 1303077 bytes SHA1 (patch-aa) = 49ef2b68ef5ffd861e1339e792ab43205b7b1ed2 -SHA1 (patch-ab) = b894cf1797a2f02e8131be8abc8250774bfec1ec +SHA1 (patch-ab) = 8e6270b50364d7d8010f2c42f8383362b315460c SHA1 (patch-ac) = 877f1dd615129aa7396fd3dc142474f2795fa802 SHA1 (patch-ad) = 60caf8bc41504fc035a7264ff3c32a4b19da0645 SHA1 (patch-ae) = 1cd31d18c133fdd5e8db59be319ba5b7a45fe0fe diff --git a/audio/pulseaudio/patches/patch-ab b/audio/pulseaudio/patches/patch-ab index d523fbf7d18..2ac17dbbf6f 100644 --- a/audio/pulseaudio/patches/patch-ab +++ b/audio/pulseaudio/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $ +$NetBSD: patch-ab,v 1.2 2009/07/28 12:52:40 tnn Exp $ ---- src/daemon/main.c.orig 2008-10-03 15:16:52.000000000 -0400 +--- src/daemon/main.c.orig 2009-01-13 00:11:38.000000000 +0100 +++ src/daemon/main.c @@ -302,7 +302,9 @@ static void set_all_rlimits(const pa_dae #ifdef RLIMIT_MEMLOCK @@ -12,3 +12,12 @@ $NetBSD: patch-ab,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $ #ifdef RLIMIT_LOCKS set_one_rlimit(&conf->rlimit_locks, RLIMIT_LOCKS, "RLIMIT_LOCKS"); #endif +@@ -351,7 +353,7 @@ int main(int argc, char *argv[]) { + pa_log_set_maximal_level(PA_LOG_INFO); + pa_log_set_ident("pulseaudio"); + +-#if defined(__linux__) && defined(__OPTIMIZE__) ++#if defined(__linux__) && defined(__OPTIMIZE__) && 0 /* CVE-2009-1894 */ + /* + Disable lazy relocations to make usage of external libraries + more deterministic for our RT threads. We abuse __OPTIMIZE__ as |