From 559480961729ac674e650a3d74f48603a60a8ff6 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 14 May 2009 13:04:57 +0000 Subject: [PATCH] * Tue May 12 2009 Dan Walsh 2.0.62-12.5 - More portspage fixes --- policycoreutils-rhat.patch | 12 ++++++++++++ policycoreutils.spec | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index f0c7ab1..8fcc610 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -1244,3 +1244,15 @@ diff -up policycoreutils-2.0.62/setfiles/setfiles.c.rhat policycoreutils-2.0.62/ printf("\n"); exit(errors); } +diff -up policycoreutils-2.0.62/semanage/seobject.py~ policycoreutils-2.0.62/semanage/seobject.py +--- policycoreutils-2.0.62/semanage/seobject.py~ 2009-05-14 09:02:13.000000000 -0400 ++++ policycoreutils-2.0.62/semanage/seobject.py 2009-05-14 09:03:05.000000000 -0400 +@@ -1027,7 +1027,7 @@ class portRecords(semanageRecords): + proto_str = semanage_port_get_proto_str(proto) + low = semanage_port_get_low(port) + high = semanage_port_get_high(port) +- ddict[(low, high)] = (ctype, proto_str, level) ++ ddict[(low, high, proto_str)] = (ctype, level) + return ddict + + def get_all_by_type(self, locallist = 0): diff --git a/policycoreutils.spec b/policycoreutils.spec index bad99a6..3dd3327 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.62 -Release: 12.4%{?dist} +Release: 12.5%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -221,6 +221,9 @@ else fi %changelog +* Tue May 12 2009 Dan Walsh 2.0.62-12.5 +- More portspage fixes + * Tue May 12 2009 Dan Walsh 2.0.62-12.4 - Fix portspage and generation of init_script_file in templates