From cdc1f92b922a9bf7d4e2641cc8d51898ec72c15b Mon Sep 17 00:00:00 2001 From: loswillios Date: Thu, 12 Jan 2012 09:18:19 +0000 Subject: [PATCH] [packages] pulseaudio: make configfiles readable by user pulse (#10728) git-svn-id: svn://svn.openwrt.org/openwrt/packages@29715 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- sound/pulseaudio/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sound/pulseaudio/Makefile b/sound/pulseaudio/Makefile index 067cfe5d7..fdb8b4b48 100644 --- a/sound/pulseaudio/Makefile +++ b/sound/pulseaudio/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pulseaudio PKG_VERSION:=1.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://freedesktop.org/software/pulseaudio/releases/ @@ -121,6 +121,7 @@ CONFIGURE_ARGS += \ --enable-avahi \ --enable-dbus endif + ifeq ($(BUILD_VARIANT),noavahi) CONFIGURE_ARGS += \ --disable-avahi \ @@ -180,6 +181,8 @@ define Package/pulseaudio-daemon/install $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/module*.so \ $(1)/usr/lib/pulse-$(PKG_VERSION)/modules/ + + chmod -R 0644 $(1)/etc/pulse/* endef define Package/pulseaudio-daemon-avahi/install @@ -218,6 +221,8 @@ define Package/pulseaudio-daemon-avahi/install $(INSTALL_CONF) \ $(PKG_INSTALL_DIR)/etc/dbus-1/system.d/pulseaudio-system.conf \ $(1)/etc/dbus-1/system.d/pulseaudio-system.conf + + chmod -R 0644 $(1)/etc/pulse/* $(1)/etc/dbus-1/system.d/pulseaudio-system.conf endef define Package/pulseaudio-tools/install -- 2.11.0