rpms/policycoreutils/devel policycoreutils-rhat.patch, 1.95, 1.96 policycoreutils.spec, 1.128, 1.129
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Aug 17 16:26:56 UTC 2005
Author: dwalsh
Update of /cvs/dist/rpms/policycoreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18424
Modified Files:
policycoreutils-rhat.patch policycoreutils.spec
Log Message:
* Wed Aug 17 2005 Dan Walsh <dwalsh at redhat.com> 1.25.5-2
- Change fixfiles to ignore /home directory on updates
policycoreutils-rhat.patch:
fixfiles | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils-rhat.patch,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- policycoreutils-rhat.patch 27 Jul 2005 14:05:30 -0000 1.95
+++ policycoreutils-rhat.patch 17 Aug 2005 16:26:54 -0000 1.96
@@ -1,9 +1,20 @@
-diff --exclude-from=exclude -N -u -r nsapolicycoreutils/Makefile policycoreutils-1.25.3/Makefile
---- nsapolicycoreutils/Makefile 2005-07-18 15:07:46.000000000 -0400
-+++ policycoreutils-1.25.3/Makefile 2005-07-27 10:02:12.000000000 -0400
-@@ -1,4 +1,4 @@
--SUBDIRS=setfiles load_policy newrole run_init restorecon audit2allow audit2why scripts po sestatus semodule_link semodule_expand semodule
-+SUBDIRS=setfiles load_policy newrole run_init restorecon audit2allow audit2why scripts po sestatus
-
- all install relabel clean:
- @for subdir in $(SUBDIRS); do \
+diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/fixfiles policycoreutils-1.25.5/scripts/fixfiles
+--- nsapolicycoreutils/scripts/fixfiles 2005-05-20 13:15:12.000000000 -0400
++++ policycoreutils-1.25.5/scripts/fixfiles 2005-08-17 10:58:52.000000000 -0400
+@@ -62,6 +62,7 @@
+ TEMPFILE=`mktemp ${FC}.XXXXXXXXXX`
+ test -z "$TEMPFILE" && exit
+ /usr/bin/diff $PREFC $FC | grep '^[<>]'|cut -c3-| grep ^/ | \
++ egrep -v '(^/home|^/root|^/tmp|^/dev)' |\
+ sed -r -e 's,[[:blank:]].*,,g' \
+ -e 's|\(([/[:alnum:]]+)\)\?|{\1,}|g' \
+ -e 's|([/[:alnum:]])\?|{\1,}|g' \
+@@ -80,7 +81,7 @@
+ fi; \
+ done | \
+ while read pattern ; do find $pattern \( -fstype ext2 -o -fstype ext3 -o -fstype jfs -o -fstype xfs \) -print; done 2> /dev/null | \
+- ${RESTORECON} $2 -v -e /root -e /home -e /tmp -e /var/tmp -e /dev -f -
++ ${RESTORECON} $2 -v -f -
+ rm -f ${TEMPFILE}
+ fi
+ }
Index: policycoreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- policycoreutils.spec 6 Aug 2005 01:40:07 -0000 1.128
+++ policycoreutils.spec 17 Aug 2005 16:26:54 -0000 1.129
@@ -4,7 +4,7 @@
Summary: SELinux policy core utilities.
Name: policycoreutils
Version: 1.25.5
-Release: 1
+Release: 2
License: GPL
Group: System Environment/Base
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -36,6 +36,7 @@
%prep
%setup -q
+%patch -p1 -b .rhat
%build
make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" all
@@ -71,6 +72,7 @@
%{_bindir}/audit2allow
%{_bindir}/semodule_expand
%{_bindir}/semodule_link
+%{_bindir}/semodule_package
%{_mandir}/man8/restorecon.8.gz
%{_mandir}/man8/sestatus.8.gz
%{_mandir}/man8/setfiles.8.gz
@@ -87,6 +89,9 @@
%config(noreplace) %{_sysconfdir}/sestatus.conf
%changelog
+* Wed Aug 17 2005 Dan Walsh <dwalsh at redhat.com> 1.25.5-2
+- Change fixfiles to ignore /home directory on updates
+
* Fri Aug 5 2005 Dan Walsh <dwalsh at redhat.com> 1.25.5-1
- Update to match NSA
* Merged patch to move module read/write code from libsemanage
More information about the fedora-cvs-commits
mailing list