auto-import libselinux-1.17.7-1 from libselinux-1.17.7-1.src.rpm

This commit is contained in:
cvsdist 2004-09-09 07:45:43 +00:00
parent e34dcc2219
commit b320ff19bb
4 changed files with 9 additions and 26 deletions

View File

@ -1 +1 @@
libselinux-1.17.6.tgz libselinux-1.17.7.tgz

View File

@ -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;

View File

@ -1,11 +1,11 @@
Summary: SELinux library and simple utilities Summary: SELinux library and simple utilities
Name: libselinux Name: libselinux
Version: 1.17.6 Version: 1.17.7
Release: 1 Release: 1
License: Public domain (uncopyrighted) License: Public domain (uncopyrighted)
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
Patch: libselinux-rhat.patch #Patch: libselinux-rhat.patch
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-buildroot
Provides: libselinux.so Provides: libselinux.so
@ -36,7 +36,7 @@ needed for developing SELinux applications.
%prep %prep
%setup -q %setup -q
%patch -p1 -b .rhat #%patch -p1 -b .rhat
%build %build
make CFLAGS="%{optflags}" make CFLAGS="%{optflags}"
@ -70,6 +70,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Wed Aug 31 2004 Dan Walsh <dwalsh@redhat.com> 1.17.7-1
- Update from NSA
* Reworked av_inherit.h to allow easier re-use by kernel.
* Tue Aug 31 2004 Dan Walsh <dwalsh@redhat.com> 1.17.6-1 * Tue Aug 31 2004 Dan Walsh <dwalsh@redhat.com> 1.17.6-1
- Add strcasecmp in selinux_config - Add strcasecmp in selinux_config
- Update from NSA - Update from NSA

View File

@ -1 +1 @@
b0d93c109e9bdcdd148e6756931152f6 libselinux-1.17.6.tgz 6516a31a0df78d0e8916c4573aaa42ac libselinux-1.17.7.tgz