From acb7809eb88920272320d05242696041de62c6f7 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Oct 30 2008 18:23:59 +0000 Subject: * Thu Oct 30 2008 Dan Walsh 2.0.57-10 - Fix traceback in audit2why --- diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index ad6cfb4..16ac517 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -7,6 +7,22 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null) +diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-2.0.57/audit2allow/audit2allow +--- nsapolicycoreutils/audit2allow/audit2allow 2008-08-28 09:34:24.000000000 -0400 ++++ policycoreutils-2.0.57/audit2allow/audit2allow 2008-10-30 14:21:33.000000000 -0400 +@@ -287,7 +287,11 @@ + def __output(self): + + if self.__options.audit2why: +- return self.__output_audit2why() ++ try: ++ return self.__output_audit2why() ++ except RuntimeError, e: ++ print e ++ sys.exit(1) + + g = policygen.PolicyGenerator() + diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/audit2allow/audit2allow.1 policycoreutils-2.0.57/audit2allow/audit2allow.1 --- nsapolicycoreutils/audit2allow/audit2allow.1 2008-08-28 09:34:24.000000000 -0400 +++ policycoreutils-2.0.57/audit2allow/audit2allow.1 2008-10-29 09:44:41.000000000 -0400 diff --git a/policycoreutils.spec b/policycoreutils.spec index db5f7eb..821518b 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.57 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -193,6 +193,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Thu Oct 30 2008 Dan Walsh 2.0.57-10 +- Fix traceback in audit2why + * Wed Oct 29 2008 Dan Walsh 2.0.57-9 - Make GUI use translations