diff --git a/libsemanage-2.0.31-rhat.patch b/libsemanage-2.0.31-rhat.patch index 0fdaa4a..307f1d8 100644 --- a/libsemanage-2.0.31-rhat.patch +++ b/libsemanage-2.0.31-rhat.patch @@ -1,7 +1,7 @@ -diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libsemanage-2.0.30/src/genhomedircon.c +diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libsemanage-2.0.31/src/genhomedircon.c --- nsalibsemanage/src/genhomedircon.c 2008-08-28 09:34:24.000000000 -0400 -+++ libsemanage-2.0.30/src/genhomedircon.c 2009-01-12 10:29:24.000000000 -0500 -@@ -794,6 +792,12 @@ ++++ libsemanage-2.0.31/src/genhomedircon.c 2009-03-11 15:36:08.000000000 -0400 +@@ -794,6 +794,12 @@ * /root */ continue; } @@ -14,9 +14,21 @@ diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libseman if (push_user_entry(&head, name, seuname, prefix, pwent->pw_dir) != STATUS_SUCCESS) { *errors = STATUS_ERR; -diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage.conf libsemanage-2.0.30/src/semanage.conf +diff --exclude-from=exclude -N -u -r nsalibsemanage/src/handle.c libsemanage-2.0.31/src/handle.c +--- nsalibsemanage/src/handle.c 2008-11-14 17:10:15.000000000 -0500 ++++ libsemanage-2.0.31/src/handle.c 2009-03-11 15:36:26.000000000 -0400 +@@ -264,7 +264,7 @@ + assert(sh != NULL && sh->funcs != NULL && sh->funcs->commit != NULL); + if (!sh->is_in_transaction) { + ERR(sh, +- "Will not commit because caller does not have a tranaction lock yet."); ++ "Will not commit because caller does not have a transaction lock yet."); + return -1; + } + retval = sh->funcs->commit(sh); +diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage.conf libsemanage-2.0.31/src/semanage.conf --- nsalibsemanage/src/semanage.conf 2008-08-28 09:34:24.000000000 -0400 -+++ libsemanage-2.0.30/src/semanage.conf 2009-01-12 10:29:24.000000000 -0500 ++++ libsemanage-2.0.31/src/semanage.conf 2009-03-11 15:36:08.000000000 -0400 @@ -35,4 +35,4 @@ # given in . Change this setting if a different # version is necessary. @@ -25,7 +37,7 @@ diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage.conf libsemanag +expand-check=0 diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage_store.c libsemanage-2.0.31/src/semanage_store.c --- nsalibsemanage/src/semanage_store.c 2009-01-13 08:45:35.000000000 -0500 -+++ libsemanage-2.0.31/src/semanage_store.c 2009-01-15 15:53:46.000000000 -0500 ++++ libsemanage-2.0.31/src/semanage_store.c 2009-03-11 15:36:08.000000000 -0400 @@ -440,8 +440,6 @@ char tmp[PATH_MAX]; char buf[4192]; diff --git a/libsemanage.spec b/libsemanage.spec index 6236a28..5a836b1 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -25,7 +25,7 @@ BuildRequires: libsepol-devel >= %{libsepol_ver} Name: libsemanage Version: 2.0.31 -Release: 2 +Release: 3 Url: http://www.nsa.gov/selinux/ License: LGPL v2.1 only Group: System/Libraries @@ -168,34 +168,3 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/python*/site-packages/* %changelog -* Fri Jan 16 2009 prusnak@suse.cz -- fix assignment of wrong context [bnc#466793] -* Wed Jan 14 2009 prusnak@suse.cz -- updated to 2.0.31 - * policy module compression (bzip) support from Dan Walsh - * hard link files between tmp/active/previous from Dan Walsh - * add semanage_mls_enabled() interface from Stephen Smalley -* Mon Dec 01 2008 prusnak@suse.cz -- updated to 2.0.29 - * add USER to lines to homedir_template context file - * add compression support - * allow fcontext and seuser changes without rebuilding the policy - * don't rebuild on fcontext or seuser modifications - * modify genhomedircon to skip %%groupname entries -* Wed Oct 22 2008 mrueckert@suse.de -- fix debug_packages_requires define -* Tue Sep 23 2008 prusnak@suse.cz -- require only version, not release [bnc#429053] -* Tue Sep 02 2008 prusnak@suse.cz -- updated to 2.0.27 - * Modify genhomedircon to skip %%groupname entries. - Ultimately we need to expand them to the list of users to support - per-role homedir labeling when using the %%groupname syntax. -- updated to 2.0.26 - * Fix bug in genhomedircon fcontext matches logic from Dan Walsh. - Strip any trailing slash before appending /*$. -* Fri Aug 01 2008 ro@suse.de -- fix requires for debuginfo package -* Tue Jul 15 2008 prusnak@suse.cz -- initial version 2.0.25 - * based on Fedora package by Dan Walsh