diff options
author | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2013-08-10 01:42:23 +0900 |
---|---|---|
committer | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2013-08-10 01:42:23 +0900 |
commit | 2ad28e96fa889935831f380f8746f6784b51424b (patch) | |
tree | b767fec4d4cb6d6902008b54a78c74161de08873 /pulseaudio | |
parent | 808d25d3a7e40ab14ff0c471082bcdcbd3410cfa (diff) | |
download | opt-2ad28e96fa889935831f380f8746f6784b51424b.tar.gz opt-2ad28e96fa889935831f380f8746f6784b51424b.tar.xz |
pulseaudio: Removed setuid bit in proximity-helper, fixed libeexec dir
Diffstat (limited to 'pulseaudio')
-rw-r--r-- | pulseaudio/.footprint | 6 | ||||
-rw-r--r-- | pulseaudio/Pkgfile | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/pulseaudio/.footprint b/pulseaudio/.footprint index a288d3157..af95f4566 100644 --- a/pulseaudio/.footprint +++ b/pulseaudio/.footprint @@ -158,11 +158,11 @@ drwxr-xr-x root/root usr/lib/pulse-4.0/modules/ -rwxr-xr-x root/root usr/lib/pulse-4.0/modules/module-virtual-surround-sink.so -rwxr-xr-x root/root usr/lib/pulse-4.0/modules/module-volume-restore.so drwxr-xr-x root/root usr/lib/pulseaudio/ +drwxr-xr-x root/root usr/lib/pulseaudio/libexec/ +drwxr-xr-x root/root usr/lib/pulseaudio/libexec/pulse/ +-rwxr-xr-x root/root usr/lib/pulseaudio/libexec/pulse/proximity-helper -rwxr-xr-x root/root usr/lib/pulseaudio/libpulsecommon-4.0.la -rwxr-xr-x root/root usr/lib/pulseaudio/libpulsecommon-4.0.so -drwxr-xr-x root/root usr/libexec/ -drwxr-xr-x root/root usr/libexec/pulse/ --rwsr-xr-x root/root usr/libexec/pulse/proximity-helper drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ -rw-r--r-- root/root usr/man/man1/esdcompat.1.gz diff --git a/pulseaudio/Pkgfile b/pulseaudio/Pkgfile index 9afffff96..8d40dff03 100644 --- a/pulseaudio/Pkgfile +++ b/pulseaudio/Pkgfile @@ -6,13 +6,14 @@ name=pulseaudio version=4.0 -release=1 +release=2 source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz) build() { cd $name-$version ./configure \ --prefix=/usr \ + --libexecdir=/usr/lib/pulseaudio/libexec \ --sysconfdir=/etc \ --mandir=/usr/man \ --localstatedir=/var \ @@ -28,7 +29,8 @@ build() { --disable-legacy-database-entry-format \ --disable-hal-compat \ --disable-systemd \ - --with-database=tdb + --with-database=tdb \ + --disable-tests # fight unused direct deps sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool @@ -41,4 +43,9 @@ build() { mv $PKG/etc/dbus-1 $PKG/usr/etc rm -rf $PKG/etc/bash_completion.d + + # Remove setuid bit in proximity helper + # If needed, run: + # setcap cap_net_raw=ep /usr/lib/pulseaudio/libexec/pulse/proximity-helper + chmod -s $PKG/usr/lib/pulseaudio/libexec/pulse/proximity-helper } |