diff --git a/libsemanage-rhat.patch b/libsemanage-rhat.patch index 640c451..5578d93 100644 --- a/libsemanage-rhat.patch +++ b/libsemanage-rhat.patch @@ -1,6 +1,25 @@ +diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libsemanage-2.0.15/src/genhomedircon.c +--- nsalibsemanage/src/genhomedircon.c 2007-12-06 11:16:48.000000000 -0500 ++++ libsemanage-2.0.15/src/genhomedircon.c 2008-01-22 14:32:10.000000000 -0500 +@@ -406,7 +406,6 @@ + const char *role_prefix) + { + replacement_pair_t repl[] = { +- {.search_for = TEMPLATE_SEUSER,.replace_with = seuser}, + {.search_for = TEMPLATE_HOME_DIR,.replace_with = home}, + {.search_for = TEMPLATE_ROLE,.replace_with = role_prefix}, + {NULL, NULL} +@@ -466,7 +465,6 @@ + replacement_pair_t repl[] = { + {.search_for = TEMPLATE_USER,.replace_with = user}, + {.search_for = TEMPLATE_ROLE,.replace_with = role_prefix}, +- {.search_for = TEMPLATE_SEUSER,.replace_with = seuser}, + {NULL, NULL} + }; + Ustr *line = USTR_NULL; diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage.conf libsemanage-2.0.15/src/semanage.conf --- nsalibsemanage/src/semanage.conf 2007-07-16 14:20:38.000000000 -0400 -+++ libsemanage-2.0.15/src/semanage.conf 2007-12-06 20:14:21.000000000 -0500 ++++ libsemanage-2.0.15/src/semanage.conf 2007-12-06 20:22:18.000000000 -0500 @@ -35,4 +35,4 @@ # given in . Change this setting if a different # version is necessary. diff --git a/libsemanage.spec b/libsemanage.spec index b6b298d..0f31f0a 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -3,7 +3,7 @@ Summary: SELinux binary policy manipulation library Name: libsemanage Version: 2.0.15 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz @@ -78,6 +78,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man3/* %changelog +* Tue Jan 22 2008 Dan Walsh - 2.0.15-2 +- Stop differentiating on user for homedir labeling + * Thu Dec 6 2007 Dan Walsh - 2.0.15-1 - Update to upstream * Fix genhomedircon handling of shells and missing user context template from Dan Walsh.