Accepting request 140593 from home:cboltz:branches:games:tools

- install apparmor profile without x permissions

BTW: instead of the sed magic dependent on the openSUSE version, you can use
    /{usr/,}bin/grep rix,
in the profile which allows /bin/grep and /usr/bin/grep
(just a proposal - I didn't do this change)

OBS-URL: https://build.opensuse.org/request/show/140593
OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=33
This commit is contained in:
Ludwig Nussel 2012-11-08 15:13:09 +00:00 committed by Git OBS Bridge
parent 63883f9fc7
commit 50dd74cf28
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 7 20:33:31 UTC 2012 - opensuse@cboltz.de
- install apparmor profile without x permissions
-------------------------------------------------------------------
Wed Nov 7 09:40:34 UTC 2012 - lnussel@suse.de

View File

@ -338,7 +338,7 @@ install -D -m 0755 release/mumble11x %{buildroot}%{_bindir}/mumble11x
# server
install -D -m 0755 release/murmurd "%{buildroot}%{_sbindir}/murmurd"
install -D -m 0755 %{SOURCE2} %{buildroot}/etc/init.d/mumble-server
install -D -m 0755 %{SOURCE3} %{buildroot}/etc/apparmor.d/usr.sbin.murmurd
install -D -m 0644 %{SOURCE3} %{buildroot}/etc/apparmor.d/usr.sbin.murmurd
%if 0%{?suse_version} < 1220
sed -i -e 's,/usr/bin/grep,/bin/grep,;s,/usr/bin/sed,/bin/sed,' %{buildroot}/etc/apparmor.d/usr.sbin.murmurd
%endif