Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 529372

Summary: media-sound/pulseaudio should RDEPEND on selinux ? sec-policy/selinux-pulseaudio
Product: Gentoo Linux Reporter: Jason Zaman <perfinion>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: selinux, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 527868    

Description Jason Zaman gentoo-dev 2014-11-15 18:51:06 UTC
Hi,

Next time there is a bump of pulseaudio, please add a dep for the selinux policy. The policy should only be added to RDEPEND, not to DEPEND

Thanks,
Jason


--- pulseaudio-5.0-r5.ebuild.orig	2014-11-16 02:39:08.416163216 +0800
+++ pulseaudio-5.0-r5.ebuild	2014-11-16 02:40:04.653877418 +0800
@@ -19,8 +19,8 @@
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
 
 IUSE="+alsa +asyncns bluetooth +caps dbus doc equalizer +gdbm +glib gnome
-gtk ipv6 jack libsamplerate lirc neon +orc oss qt4 realtime ssl systemd
-system-wide tcpd test +udev +webrtc-aec +X xen zeroconf"
+gtk ipv6 jack libsamplerate lirc neon +orc oss qt4 realtime selinux ssl
+systemd system-wide tcpd test +udev +webrtc-aec +X xen zeroconf"
 
 # See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
 REQUIRED_USE="bluetooth? ( dbus )"
@@ -41,6 +41,7 @@
 		x11-libs/libXtst[${MULTILIB_USEDEP}]
 	)
 	caps? ( >=sys-libs/libcap-2.22-r2[${MULTILIB_USEDEP}] )
+	selinux? ( sec-policy/selinux-pulseaudio )
 	libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 )
 	alsa? ( >=media-libs/alsa-lib-1.0.19 )
 	glib? ( >=dev-libs/glib-2.4.0[${MULTILIB_USEDEP}] )
Comment 1 Jason Zaman gentoo-dev 2015-03-14 19:55:42 UTC
pulseaudio-6.0 was just added to the tree so i added the policy dep there
Comment 2 Jason Zaman gentoo-dev 2015-09-08 19:06:30 UTC
pulseaudio 6.0 is stable now