From f55e3951ca0d75643e52f59db5865b4b440be2d9 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 07:43:46 +0000 Subject: [PATCH] auto-import changelog data from libselinux-1.15.1-3.src.rpm Mon Jul 19 2004 Dan Walsh 1.15.1-3 - uppercase getenforce returns, to make them match system-config-securitylevel Thu Jul 15 2004 Dan Walsh 1.15.1-2 - Remove old path patch --- libselinux-rhat.patch | 17 ----------------- libselinux.spec | 10 +++++++--- 2 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 libselinux-rhat.patch diff --git a/libselinux-rhat.patch b/libselinux-rhat.patch deleted file mode 100644 index 1bb1627..0000000 --- a/libselinux-rhat.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- libselinux-1.15.1/src/selinux_config.c.rhat 2004-07-08 09:13:49.000000000 -0400 -+++ libselinux-1.15.1/src/selinux_config.c 2004-07-08 09:18:47.110934853 -0400 -@@ -91,9 +91,11 @@ - FILE *cfg; - if (selinux_policyroot) return; - if (access(SELINUXDIR, F_OK) != 0) { -- selinux_policyroot = SECURITYDIR; -- active_file_paths = compat_file_paths; -- return; -+ if (access(SECURITYDIR "/selinux/file_contexts", F_OK) == 0) { -+ selinux_policyroot = SECURITYDIR; -+ active_file_paths = compat_file_paths; -+ return; -+ } - } - cfg = fopen(SELINUXCONFIG,"r"); - if (cfg) { diff --git a/libselinux.spec b/libselinux.spec index 65c72a5..d0de0ad 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -1,11 +1,10 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 1.15.1 -Release: 1 +Release: 3 License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz -Patch: libselinux-rhat.patch Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-buildroot Provides: libselinux.so @@ -36,7 +35,6 @@ needed for developing SELinux applications. %prep %setup -q -%patch -p1 -b .rhat %build make @@ -71,6 +69,12 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man8/* %changelog +* Mon Jul 19 2004 Dan Walsh 1.15.1-3 +- uppercase getenforce returns, to make them match system-config-securitylevel + +* Thu Jul 15 2004 Dan Walsh 1.15.1-2 +- Remove old path patch + * Thu Jul 8 2004 Dan Walsh 1.15.1-1 - Update to latest from NSA - Add fix to only get old path if file_context file exists in old location