From b320ff19bb9554384eb1a2b82dcd1e661dd88686 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 07:45:43 +0000 Subject: auto-import libselinux-1.17.7-1 from libselinux-1.17.7-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index 92a3c4c..0468a2e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libselinux-1.17.6.tgz +libselinux-1.17.7.tgz diff --git a/libselinux-rhat.patch b/libselinux-rhat.patch deleted file mode 100644 index db0a6bb..0000000 --- a/libselinux-rhat.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- libselinux-1.17.5/src/selinux_config.c.rhat 2004-08-31 11:21:16.000000000 -0400 -+++ libselinux-1.17.5/src/selinux_config.c 2004-08-31 13:47:56.906874190 -0400 -@@ -93,15 +93,15 @@ - while (fgets_unlocked(buf, 4096, cfg)) { - if (strncmp(buf,SELINUXTAG,len)) - continue; -- if (!strncmp(buf+len,"enforcing",sizeof("enforcing")-1)) { -+ if (!strncasecmp(buf+len,"enforcing",sizeof("enforcing")-1)) { - *enforce = 1; - ret=0; - break; -- } else if (!strncmp(buf+len,"permissive",sizeof("permissive")-1)) { -+ } else if (!strncasecmp(buf+len,"permissive",sizeof("permissive")-1)) { - *enforce = 0; - ret=0; - break; -- } else if (!strncmp(buf+len,"disabled",sizeof("disabled")-1)) { -+ } else if (!strncasecmp(buf+len,"disabled",sizeof("disabled")-1)) { - *enforce = -1; - ret=0; - break; diff --git a/libselinux.spec b/libselinux.spec index e83dfaf..7d8c46a 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -1,11 +1,11 @@ Summary: SELinux library and simple utilities Name: libselinux -Version: 1.17.6 +Version: 1.17.7 Release: 1 License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz -Patch: libselinux-rhat.patch +#Patch: libselinux-rhat.patch Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-buildroot Provides: libselinux.so @@ -36,7 +36,7 @@ needed for developing SELinux applications. %prep %setup -q -%patch -p1 -b .rhat +#%patch -p1 -b .rhat %build make CFLAGS="%{optflags}" @@ -70,6 +70,10 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man8/* %changelog +* Wed Aug 31 2004 Dan Walsh 1.17.7-1 +- Update from NSA + * Reworked av_inherit.h to allow easier re-use by kernel. + * Tue Aug 31 2004 Dan Walsh 1.17.6-1 - Add strcasecmp in selinux_config - Update from NSA diff --git a/sources b/sources index e35cbef..aa42e50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b0d93c109e9bdcdd148e6756931152f6 libselinux-1.17.6.tgz +6516a31a0df78d0e8916c4573aaa42ac libselinux-1.17.7.tgz