diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 07ead0c..0094de7 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -10,3 +10,26 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/Makefile policyc -mkdir -p $(MANDIR)/man8 install -m 644 fixfiles.8.gz $(MANDIR)/man8/ +--- policycoreutils-1.17.6/scripts/Makefile.rhat 2004-10-06 09:47:47.000000000 -0400 ++++ policycoreutils-1.17.6/scripts/Makefile 2004-10-06 09:56:23.000000000 -0400 +@@ -12,7 +12,7 @@ + -mkdir -p $(BINDIR) + install -m 755 $(TARGETS) $(BINDIR) + install -m 755 fixfiles $(DESTDIR)/sbin +- install -D -m 755 fixfiles.cron $(DESTDIR)/etc/cron.daily/fixfiles.cron ++ install -D -m 755 fixfiles.cron $(DESTDIR)/etc/cron.weekly/fixfiles.cron + -mkdir -p $(MANDIR)/man8 + install -m 644 fixfiles.8.gz $(MANDIR)/man8/ + +--- policycoreutils-1.17.6/scripts/fixfiles.cron.rhat 2004-10-06 09:47:47.000000000 -0400 ++++ policycoreutils-1.17.6/scripts/fixfiles.cron 2004-10-12 10:50:35.247751062 -0400 +@@ -21,7 +21,8 @@ + mail ${CRONMAILTO} -s "Invalid File Contexts" < $OUTFILE + rm -f $OUTFILE + else +- mail ${CRONMAILTO} -s "Invalid File Contexts listed in $OUTFILE" < /dev/null ++ MESSAGE="Invalid File Contexts listed in $OUTFILE" ++ mail ${CRONMAILTO} -s "Invalid File Contexts" <<< $MESSAGE + fi + else + rm -f $OUTFILE diff --git a/policycoreutils.spec b/policycoreutils.spec index 8e29223..8802e2d 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -1,7 +1,7 @@ Summary: SELinux policy core utilities. Name: policycoreutils Version: 1.17.6 -Release: 1 +Release: 2 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -77,6 +77,9 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Tue Oct 12 2004 Dan Walsh 1.17.6-2 +- Only run fixfiles.cron once a week, and eliminate null message + * Fri Oct 1 2004 Dan Walsh 1.17.6-1 - Update with NSA * Added -l option to setfiles to log changes via syslog.