[packages] pulseaudio: make configfiles readable by user pulse (#10728)
authorJan Willies <loswillios@gmail.com>
Thu, 12 Jan 2012 09:18:19 +0000 (09:18 +0000)
committerJan Willies <loswillios@gmail.com>
Thu, 12 Jan 2012 09:18:19 +0000 (09:18 +0000)
SVN-Revision: 29715

sound/pulseaudio/Makefile

index 067cfe5d716297458e9f09065be339e863d21aab..fdb8b4b4890fbfdc97aaf4fb3948abea0ed5f921 100644 (file)
@@ -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