diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 1e090cd..f5c6526 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -36,15 +36,6 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.0 --exclude=gui --exclude=po } free(scontext); close(fd); -@@ -481,8 +483,6 @@ - - watch_list_free(master_fd); - close(master_fd); -- matchpathcon_fini(); -- utmpwatcher_free(); - if (pidfile) - unlink(pidfile); - diff --exclude-from=exclude --exclude=sepolgen-1.0.0 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/restorecond/restorecond.conf policycoreutils-2.0.3/restorecond/restorecond.conf --- nsapolicycoreutils/restorecond/restorecond.conf 2006-11-20 12:19:55.000000000 -0500 +++ policycoreutils-2.0.3/restorecond/restorecond.conf 2007-02-23 09:55:54.000000000 -0500 diff --git a/policycoreutils.spec b/policycoreutils.spec index 8c65b0b..bbcace9 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities. Name: policycoreutils Version: 2.0.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -180,9 +180,14 @@ fi [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen > /dev/null %postun -[ -x /sbin/service ] && /sbin/service restorecond condrestart > /dev/null +if [ "$1" -ge "1" ]; then + [ -x /sbin/service ] && /sbin/service restorecond condrestart > /dev/null +fi %changelog +* Mon Feb 26 2007 Dan Walsh 2.0.6-2 +- Add Bill Nottinham patch to run restorcond condrestart in postun + * Fri Feb 23 2007 Dan Walsh 2.0.6-1 - Update to upstream - policycoreutils