* Mon Dec 31 2007 Dan Walsh <dwalsh@redhat.com> 2.0.34-5
- Fix roles output when creating a module
This commit is contained in:
parent
60ad59cab9
commit
d40cc99c51
@ -1,6 +1,6 @@
|
|||||||
diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-2.0.34/audit2allow/audit2allow
|
diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-2.0.34/audit2allow/audit2allow
|
||||||
--- nsapolicycoreutils/audit2allow/audit2allow 2007-07-16 14:20:41.000000000 -0400
|
--- nsapolicycoreutils/audit2allow/audit2allow 2007-07-16 14:20:41.000000000 -0400
|
||||||
+++ policycoreutils-2.0.34/audit2allow/audit2allow 2007-12-21 01:59:57.000000000 -0500
|
+++ policycoreutils-2.0.34/audit2allow/audit2allow 2007-12-31 14:22:40.000000000 -0500
|
||||||
@@ -60,7 +60,9 @@
|
@@ -60,7 +60,9 @@
|
||||||
parser.add_option("-o", "--output", dest="output",
|
parser.add_option("-o", "--output", dest="output",
|
||||||
help="append output to <filename>, conflicts with -M")
|
help="append output to <filename>, conflicts with -M")
|
||||||
@ -29,11 +29,11 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po
|
|||||||
fd = sys.stdout
|
fd = sys.stdout
|
||||||
writer.write(g.get_module(), fd)
|
writer.write(g.get_module(), fd)
|
||||||
|
|
||||||
+ if len(self.__selinux_errs) > 0:
|
+ if len(self.__selinux_errs) > 0:
|
||||||
+ fd.write("\n=========== ROLES ===============\n")
|
+ fd.write("\n=========== ROLES ===============\n")
|
||||||
+
|
+
|
||||||
+ for role in self.__selinux_errs:
|
+ for role in self.__selinux_errs:
|
||||||
+ fd.write(role.output())
|
+ fd.write(role.output())
|
||||||
+
|
+
|
||||||
def main(self):
|
def main(self):
|
||||||
try:
|
try:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.0.34
|
Version: 2.0.34
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
||||||
@ -193,6 +193,9 @@ if [ "$1" -ge "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 31 2007 Dan Walsh <dwalsh@redhat.com> 2.0.34-5
|
||||||
|
- Fix roles output when creating a module
|
||||||
|
|
||||||
* Mon Dec 31 2007 Dan Walsh <dwalsh@redhat.com> 2.0.34-4
|
* Mon Dec 31 2007 Dan Walsh <dwalsh@redhat.com> 2.0.34-4
|
||||||
- Handle files with spaces in fixfiles
|
- Handle files with spaces in fixfiles
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user