rpms/libsemanage/devel libsemanage-rhat.patch, 1.51, 1.52 libsemanage.spec, 1.178, 1.179 sources, 1.103, 1.104

Daniel J Walsh dwalsh at fedoraproject.org
Fri Jul 10 18:46:53 UTC 2009


Author: dwalsh

Update of /cvs/extras/rpms/libsemanage/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32465

Modified Files:
	libsemanage-rhat.patch libsemanage.spec sources 
Log Message:
* Fri Jul 10 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.33-2
- Put check for /root back into genhomedircon


libsemanage-rhat.patch:

Index: libsemanage-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libsemanage/devel/libsemanage-rhat.patch,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -p -r1.51 -r1.52
--- libsemanage-rhat.patch	7 Jul 2009 21:09:14 -0000	1.51
+++ libsemanage-rhat.patch	10 Jul 2009 18:46:50 -0000	1.52
@@ -1,16 +1,30 @@
-diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage.conf libsemanage-2.0.32/src/semanage.conf
+diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libsemanage-2.0.33/src/genhomedircon.c
+--- nsalibsemanage/src/genhomedircon.c	2008-08-28 09:34:24.000000000 -0400
++++ libsemanage-2.0.33/src/genhomedircon.c	2009-07-10 14:46:05.000000000 -0400
+@@ -794,6 +794,10 @@
+ 			 * /root */
+ 			continue;
+ 		}
++		if (strcmp(pwent->pw_dir, "/root") == 0) {
++			/* don't relabel /root*/
++			continue;
++		}
+ 		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.33/src/semanage.conf
 --- nsalibsemanage/src/semanage.conf	2008-08-28 09:34:24.000000000 -0400
-+++ libsemanage-2.0.32/src/semanage.conf	2009-07-01 11:15:30.000000000 -0400
++++ libsemanage-2.0.33/src/semanage.conf	2009-07-10 14:45:44.000000000 -0400
 @@ -35,4 +35,4 @@
  # given in <sepol/policydb.h>.  Change this setting if a different
  # version is necessary.
  #policy-version = 19
 -
 +expand-check=0
-diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage_store.c libsemanage-2.0.32/src/semanage_store.c
+diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage_store.c libsemanage-2.0.33/src/semanage_store.c
 --- nsalibsemanage/src/semanage_store.c	2009-07-07 15:32:32.000000000 -0400
-+++ libsemanage-2.0.32/src/semanage_store.c	2009-07-01 11:42:07.000000000 -0400
-@@ -441,8 +440,6 @@
++++ libsemanage-2.0.33/src/semanage_store.c	2009-07-10 14:45:44.000000000 -0400
+@@ -441,8 +441,6 @@
  	char tmp[PATH_MAX];
  	char buf[4192];
  
@@ -19,7 +33,7 @@ diff --exclude-from=exclude -N -u -r nsa
  	n = snprintf(tmp, PATH_MAX, "%s.tmp", dst);
  	if (n < 0 || n >= PATH_MAX)
  		return -1;
-@@ -510,7 +507,8 @@
+@@ -510,7 +508,8 @@
  				goto cleanup;
  			}
  		} else if (S_ISREG(sb.st_mode)) {


Index: libsemanage.spec
===================================================================
RCS file: /cvs/extras/rpms/libsemanage/devel/libsemanage.spec,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -p -r1.178 -r1.179
--- libsemanage.spec	7 Jul 2009 21:09:15 -0000	1.178
+++ libsemanage.spec	10 Jul 2009 18:46:52 -0000	1.179
@@ -3,7 +3,7 @@
 Summary: SELinux binary policy manipulation library 
 Name: libsemanage
 Version: 2.0.33
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz
@@ -91,6 +91,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/python*/site-packages/*
 
 %changelog
+* Fri Jul 10 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.33-2
+- Put check for /root back into genhomedircon
+
 * Tue Jul 7 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.33-1
 - Update to upstream
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libsemanage/devel/sources,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -p -r1.103 -r1.104
--- sources	7 Jul 2009 21:09:15 -0000	1.103
+++ sources	10 Jul 2009 18:46:52 -0000	1.104
@@ -1 +1 @@
-9e4c56068457e7ffa60df8d8b8095a8a  libsemanage-2.0.33.tgz
+3c5af39fda8e81567f0c6d4bf96cfc7f  libsemanage-2.0.33.tgz




More information about the fedora-extras-commits mailing list