From 1f766d055e25d116df755c31bc1b4b6851791db8 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Jun 04 2007 21:46:14 +0000 Subject: * Mon Jun 4 2007 Dan Walsh 2.0.19-4 - Fix setfiles -c to make it work --- diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 77d8b4f..72f5f13 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -104,3 +104,15 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po return ddict +diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/setfiles/setfiles.c policycoreutils-2.0.19/setfiles/setfiles.c +--- nsapolicycoreutils/setfiles/setfiles.c 2007-05-18 09:58:33.000000000 -0400 ++++ policycoreutils-2.0.19/setfiles/setfiles.c 2007-06-04 17:42:44.000000000 -0400 +@@ -858,8 +858,6 @@ + if (strcmp(input_filename, "-") != 0) + fclose(f); + } else { +- if (optind >= argc) +- usage(argv[0]); + for (i = optind; i < argc; i++) { + errors |= process_one(argv[i]); + } diff --git a/policycoreutils.spec b/policycoreutils.spec index 11fcd12..6b0e9b5 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities. Name: policycoreutils Version: 2.0.19 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -192,6 +192,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Mon Jun 4 2007 Dan Walsh 2.0.19-4 +- Fix setfiles -c to make it work + * Mon Jun 4 2007 Dan Walsh 2.0.19-3 - Fix french translation to not crash system-config-selinux