Accepting request 528495 from home:coolo:branches:openSUSE:Factory

- add apparmor-fix-podsyntax.patch from mailing list to fix
  compilation with perl 5.26

OBS-URL: https://build.opensuse.org/request/show/528495
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=183
This commit is contained in:
Christian Boltz 2017-09-24 11:31:08 +00:00 committed by Git OBS Bridge
parent 2bb2c46241
commit 4f49cf147b
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,37 @@
Author: Jamie Strandboge <jamie@canonical.com>
Description: update aa-status.pod for updated podchecker
Bug-Ubuntu: https://launchpad.net/bugs/1707614
Forwarded: yes
Index: apparmor-2.11.0/utils/aa-status.pod
===================================================================
--- apparmor-2.11.0.orig/utils/aa-status.pod
+++ apparmor-2.11.0/utils/aa-status.pod
@@ -102,23 +102,23 @@ following values:
=over 4
-=item 0
+=item B<0>
if apparmor is enabled and policy is loaded.
-=item 1
+=item B<1>
if apparmor is not enabled/loaded.
-=item 2
+=item B<2>
if apparmor is enabled but no policy is loaded.
-=item 3
+=item B<3>
if the apparmor control files aren't available under /sys/kernel/security/.
-=item 4
+=item B<4>
if the user running the script doesn't have enough privileges to read
the apparmor control files.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 24 09:14:02 UTC 2017 - coolo@suse.com
- add apparmor-fix-podsyntax.patch from mailing list to fix
compilation with perl 5.26
-------------------------------------------------------------------
Fri Aug 11 14:20:17 UTC 2017 - jmatejek@suse.com

View File

@ -85,6 +85,9 @@ Patch11: parser-tests-dbus-duplicated-conditionals.diff
Patch12: apparmor-yast-cleanup.patch
Patch13: apparmor-json-support.patch
# https://marc.info/?l=apparmor-dev&m=150151113011870&q=p7
Patch14: apparmor-fix-podsyntax.patch
PreReq: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define apparmor_bin_prefix /lib/apparmor
@ -391,6 +394,7 @@ touch libraries/libapparmor/testsuite/test_multi/unconfined-change_hat.err
%patch11
%patch12 -p1
%patch13 -p1
%patch14 -p1
# search for left-over multiline rules
test -z "$(grep -r '^\s*\(unix\|dbus\)[^,]\(([^)]*)\)*[^,]*$' profiles/apparmor.d/)"