rpms/libsepol/devel libsepol-rhat.patch, 1.9, 1.10 libsepol.spec, 1.42, 1.43
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Jul 25 13:37:50 UTC 2005
Author: dwalsh
Update of /cvs/dist/rpms/libsepol/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31118
Modified Files:
libsepol-rhat.patch libsepol.spec
Log Message:
* Mon Jul 25 2005 Dan Walsh <dwalsh at redhat.com> 1.7.5-2
- Fix unitialized variable problem
libsepol-rhat.patch:
policydb.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: libsepol-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/libsepol/devel/libsepol-rhat.patch,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- libsepol-rhat.patch 26 May 2005 15:00:01 -0000 1.9
+++ libsepol-rhat.patch 25 Jul 2005 13:37:45 -0000 1.10
@@ -1,12 +1,11 @@
-diff --exclude-from=exclude -N -u -r nsalibsepol/src/genbools.c libsepol-1.5.9/src/genbools.c
---- nsalibsepol/src/genbools.c 2005-05-17 08:07:47.000000000 -0400
-+++ libsepol-1.5.9/src/genbools.c 2005-05-26 10:54:03.000000000 -0400
-@@ -194,7 +194,7 @@
- for (i = 0; i < nel; i++) {
- datum = hashtab_search(policydb.p_bools.table, names[i]);
- if (!datum) {
-- __sepol_debug_printf("%s: unknown boolean %s\n",
-+ __sepol_debug_printf("%s: boolean %s no longer in policy\n",
- __FUNCTION__, names[i]);
- errors++;
- continue;
+--- libsepol-1.7.5/src/policydb.c~ 2005-07-18 15:05:31.000000000 -0400
++++ libsepol-1.7.5/src/policydb.c 2005-07-25 09:36:04.000000000 -0400
+@@ -2428,7 +2428,7 @@
+
+ len = buf[1];
+ if (len != strlen(target_str)) {
+- printf("security: policydb string length %zu does not match expected length %zu\n", len, strlen(policydb_str));
++ printf("security: policydb string length %zu does not match expected length %zu\n", len, strlen(target_str));
+ return -1;
+ }
+
Index: libsepol.spec
===================================================================
RCS file: /cvs/dist/rpms/libsepol/devel/libsepol.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- libsepol.spec 18 Jul 2005 19:06:58 -0000 1.42
+++ libsepol.spec 25 Jul 2005 13:37:45 -0000 1.43
@@ -1,10 +1,11 @@
Summary: SELinux binary policy manipulation library
Name: libsepol
Version: 1.7.5
-Release: 1
+Release: 2
License: GPL
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libsepol-%{version}.tgz
+Patch: libsepol-rhat.patch
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-buildroot
Provides: libsepol.so
@@ -36,6 +37,7 @@
%prep
%setup -q
+%patch -p1 -b .rhat
%build
make CFLAGS="%{optflags}"
@@ -72,6 +74,9 @@
/%{_lib}/libsepol.so.1
%changelog
+* Mon Jul 25 2005 Dan Walsh <dwalsh at redhat.com> 1.7.5-2
+- Fix unitialized variable problem
+
* Mon Jul 18 2005 Dan Walsh <dwalsh at redhat.com> 1.7.5-1
- Upgrade to latest from NSA
* Merged debug support, policydb conversion functions from Ivan Gyurdiev (Red Hat).
More information about the fedora-cvs-commits
mailing list