Accepting request 600114 from home:cboltz
- add fix-apparmor-systemd-perms.diff: fix permissions of /lib/apparmor/apparmor.systemd (boo#1090545) OBS-URL: https://build.opensuse.org/request/show/600114 OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=211
This commit is contained in:
parent
7a68cbdf0f
commit
130681d7f5
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 23 15:27:55 UTC 2018 - suse-beta@cboltz.de
|
||||||
|
|
||||||
|
- add fix-apparmor-systemd-perms.diff - fix permissions of
|
||||||
|
/lib/apparmor/apparmor.systemd (boo#1090545)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 19 22:13:40 UTC 2018 - suse-beta@cboltz.de
|
Thu Apr 19 22:13:40 UTC 2018 - suse-beta@cboltz.de
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@ Patch7: apparmor-lessopen-profile.patch
|
|||||||
# install aa-teardown to /usr/sbin, not /sbin (merged upstream 2018-04-15 https://gitlab.com/apparmor/apparmor/merge_requests/97)
|
# install aa-teardown to /usr/sbin, not /sbin (merged upstream 2018-04-15 https://gitlab.com/apparmor/apparmor/merge_requests/97)
|
||||||
Patch8: aa-teardown-path.diff
|
Patch8: aa-teardown-path.diff
|
||||||
|
|
||||||
|
# fix permissions of apparmor.systemd (boo#1090545)
|
||||||
|
Patch9: fix-apparmor-systemd-perms.diff
|
||||||
|
|
||||||
PreReq: sed
|
PreReq: sed
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define apparmor_bin_prefix /lib/apparmor
|
%define apparmor_bin_prefix /lib/apparmor
|
||||||
@ -353,6 +356,7 @@ SubDomain.
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch7
|
%patch7
|
||||||
%patch8
|
%patch8
|
||||||
|
%patch9 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
|
13
fix-apparmor-systemd-perms.diff
Normal file
13
fix-apparmor-systemd-perms.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/parser/Makefile b/parser/Makefile
|
||||||
|
index 70fb27fe..04996fb7 100644
|
||||||
|
--- a/parser/Makefile
|
||||||
|
+++ b/parser/Makefile
|
||||||
|
@@ -383,7 +383,7 @@ install-indep: indep
|
||||||
|
install-systemd:
|
||||||
|
install -m 755 -d $(SYSTEMD_UNIT_DIR)
|
||||||
|
install -m 644 apparmor.service $(SYSTEMD_UNIT_DIR)
|
||||||
|
- install -m 644 apparmor.systemd $(APPARMOR_BIN_PREFIX)
|
||||||
|
+ install -m 755 apparmor.systemd $(APPARMOR_BIN_PREFIX)
|
||||||
|
install -m 755 -d $(DESTDIR)/usr/sbin
|
||||||
|
install -m 755 aa-teardown $(DESTDIR)/usr/sbin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user