From 07cf4bdb736204eaa6b6ff8cb37ecf37cafa3b21 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 26 May 2005 15:00:01 +0000 Subject: [PATCH] - Fix reset booleans warning message - Upgrade to latest from NSA License changed to LGPL v2.1, see COPYING. --- .cvsignore | 1 + libsepol-rhat.patch | 20 ++++++++++++-------- libsepol.spec | 12 ++++++++++-- sources | 2 +- 4 files changed, 24 insertions(+), 11 deletions(-) diff --git a/.cvsignore b/.cvsignore index 63c2511..e6c289e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -16,3 +16,4 @@ libsepol-1.5.6.tgz libsepol-1.5.7.tgz libsepol-1.5.8.tgz libsepol-1.5.9.tgz +libsepol-1.5.10.tgz diff --git a/libsepol-rhat.patch b/libsepol-rhat.patch index 52cfab3..c6df811 100644 --- a/libsepol-rhat.patch +++ b/libsepol-rhat.patch @@ -1,8 +1,12 @@ ---- libsepol-1.5.9/src/libsepol.map.rhat 2005-05-17 08:09:03.000000000 -0400 -+++ libsepol-1.5.9/src/libsepol.map 2005-05-17 08:20:16.000000000 -0400 -@@ -1,4 +1,4 @@ - { -- global: sepol_genbools*; sepol_set_policydb_from_file; sepol_check_context; sepol_genusers; sepol_debug; sepol_set_delusers; -+ global: sepol_genbools*; sepol_set_policydb_from_file; sepol_check_context; sepol_genusers; sepol_debug; sepol_set_delusers; sepol_context_to_sid; sepol_compute_av_reason; sepol_genusers_policydb; sepol_set_sidtab; sepol_sidtab_init; sepol_set_policydb; - local: *; - }; +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; diff --git a/libsepol.spec b/libsepol.spec index fa50165..789d984 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -1,10 +1,11 @@ Summary: SELinux binary policy manipulation library Name: libsepol -Version: 1.5.9 -Release: 2 +Version: 1.5.10 +Release: 1 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,8 @@ needed for developing applications that manipulate binary policies. %prep %setup -q +%patch -p1 -b .rhat + %build make CFLAGS="%{optflags}" @@ -70,6 +73,11 @@ rm -rf ${RPM_BUILD_ROOT} /%{_lib}/libsepol.so.1 %changelog +* Tue May 17 2005 Dan Walsh 1.5.10-1 +- Fix reset booleans warning message +- Upgrade to latest from NSA + * License changed to LGPL v2.1, see COPYING. + * Tue May 17 2005 Dan Walsh 1.5.9-2 - Upgrade to latest from NSA * Added sepol_genbools_policydb and sepol_genusers_policydb for diff --git a/sources b/sources index cce81b0..e485284 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fdde18d2d54acc3477e5895e08aa770a libsepol-1.5.9.tgz +63a2a06fa860466fd7b2ce4f139d8c90 libsepol-1.5.10.tgz