2004-09-09 07:41:25 +00:00
|
|
|
Summary: SELinux library and simple utilities
|
|
|
|
Name: libselinux
|
2004-09-09 07:44:11 +00:00
|
|
|
Version: 1.15.3
|
2004-09-09 07:43:48 +00:00
|
|
|
Release: 1
|
2004-09-09 07:41:25 +00:00
|
|
|
License: Public domain (uncopyrighted)
|
|
|
|
Group: System Environment/Libraries
|
2004-09-09 07:42:26 +00:00
|
|
|
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
|
2004-09-09 07:41:25 +00:00
|
|
|
Prefix: %{_prefix}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
|
|
Provides: libselinux.so
|
|
|
|
|
|
|
|
%description
|
|
|
|
Security-enhanced Linux is a patch of the Linux® kernel and a number
|
|
|
|
of utilities with enhanced security functionality designed to add
|
|
|
|
mandatory access controls to Linux. The Security-enhanced Linux
|
|
|
|
kernel contains new architectural components originally developed to
|
|
|
|
improve the security of the Flask operating system. These
|
|
|
|
architectural components provide general support for the enforcement
|
|
|
|
of many kinds of mandatory access control policies, including those
|
|
|
|
based on the concepts of Type Enforcement®, Role-based Access
|
|
|
|
Control, and Multi-level Security.
|
|
|
|
|
|
|
|
libselinux provides an API for SELinux applications to get and set
|
|
|
|
process and file security contexts and to obtain security policy
|
|
|
|
decisions. Required for any applications that use the SELinux API.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files and libraries used to build SELinux
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libselinux = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The selinux-devel package contains the static libraries and header files
|
|
|
|
needed for developing SELinux applications.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2004-09-09 07:43:32 +00:00
|
|
|
|
2004-09-09 07:41:25 +00:00
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
2004-09-09 07:41:46 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
2004-09-09 07:41:25 +00:00
|
|
|
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_lib}" install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%post
|
|
|
|
# add libselinux to the cache
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libselinux.a
|
|
|
|
%{_libdir}/libselinux.so
|
2004-09-09 07:42:26 +00:00
|
|
|
%dir %{_includedir}/selinux
|
2004-09-09 07:41:25 +00:00
|
|
|
%{_includedir}/selinux/*.h
|
2004-09-09 07:42:26 +00:00
|
|
|
%{_mandir}/man3/*
|
2004-09-09 07:41:25 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/%{_lib}/libselinux.so.1
|
2004-09-09 07:41:46 +00:00
|
|
|
%{_bindir}/*
|
2004-09-09 07:42:26 +00:00
|
|
|
%{_mandir}/man8/*
|
2004-09-09 07:41:25 +00:00
|
|
|
|
|
|
|
%changelog
|
2004-09-09 07:44:11 +00:00
|
|
|
* Sat Aug 8 2004 Dan Walsh <dwalsh@redhat.com> 1.15.3-1
|
|
|
|
- Latest from NSA
|
|
|
|
|
2004-09-09 07:43:48 +00:00
|
|
|
* Mon Jul 19 2004 Dan Walsh <dwalsh@redhat.com> 1.15.2-1
|
|
|
|
- Latest from NSA
|
|
|
|
|
2004-09-09 07:43:46 +00:00
|
|
|
* Mon Jul 19 2004 Dan Walsh <dwalsh@redhat.com> 1.15.1-3
|
|
|
|
- uppercase getenforce returns, to make them match system-config-securitylevel
|
|
|
|
|
|
|
|
* Thu Jul 15 2004 Dan Walsh <dwalsh@redhat.com> 1.15.1-2
|
|
|
|
- Remove old path patch
|
|
|
|
|
2004-09-09 07:43:41 +00:00
|
|
|
* Thu Jul 8 2004 Dan Walsh <dwalsh@redhat.com> 1.15.1-1
|
|
|
|
- Update to latest from NSA
|
|
|
|
- Add fix to only get old path if file_context file exists in old location
|
|
|
|
|
2004-09-09 07:43:37 +00:00
|
|
|
* Wed Jun 30 2004 Dan Walsh <dwalsh@redhat.com> 1.14.1-1
|
|
|
|
- Update to latest from NSA
|
|
|
|
|
2004-09-09 07:43:32 +00:00
|
|
|
* Wed Jun 16 2004 Dan Walsh <dwalsh@redhat.com> 1.13.4-1
|
|
|
|
- add nlclass patch
|
|
|
|
- Update to latest from NSA
|
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:43:22 +00:00
|
|
|
* Sat Jun 13 2004 Dan Walsh <dwalsh@redhat.com> 1.13.3-2
|
|
|
|
- Fix selinux_config to break once it finds SELINUXTYPE.
|
|
|
|
|
2004-09-09 07:42:52 +00:00
|
|
|
* Fri May 28 2004 Dan Walsh <dwalsh@redhat.com> 1.13.2-1
|
|
|
|
-Update with latest from NSA
|
|
|
|
|
2004-09-09 07:42:50 +00:00
|
|
|
* Thu May 27 2004 Dan Walsh <dwalsh@redhat.com> 1.13.1-1
|
|
|
|
- Change to use new policy mechanism
|
|
|
|
|
2004-09-09 07:42:46 +00:00
|
|
|
* Mon May 17 2004 Dan Walsh <dwalsh@redhat.com> 1.12-2
|
|
|
|
- add man patch
|
|
|
|
|
|
|
|
* Thu May 14 2004 Dan Walsh <dwalsh@redhat.com> 1.12-1
|
|
|
|
- Update with latest from NSA
|
|
|
|
|
2004-09-09 07:42:26 +00:00
|
|
|
* Wed May 5 2004 Dan Walsh <dwalsh@redhat.com> 1.11.4-1
|
|
|
|
- Update with latest from NSA
|
|
|
|
|
|
|
|
* Thu Apr 22 2004 Dan Walsh <dwalsh@redhat.com> 1.11.3-1
|
|
|
|
- Add changes for relaxed policy
|
|
|
|
- Update to match NSA
|
|
|
|
|
|
|
|
* Thu Apr 15 2004 Dan Walsh <dwalsh@redhat.com> 1.11.2-1
|
|
|
|
- Add relaxed policy changes
|
|
|
|
|
|
|
|
* Thu Apr 15 2004 Dan Walsh <dwalsh@redhat.com> 1.11-4
|
|
|
|
- Sync with NSA
|
|
|
|
|
|
|
|
* Thu Apr 15 2004 Dan Walsh <dwalsh@redhat.com> 1.11-3
|
|
|
|
- Remove requires glibc>2.3.4
|
|
|
|
|
|
|
|
* Wed Apr 14 2004 Dan Walsh <dwalsh@redhat.com> 1.11-2
|
|
|
|
- Fix selinuxenabled man page.
|
|
|
|
|
|
|
|
* Wed Apr 7 2004 Dan Walsh <dwalsh@redhat.com> 1.11-1
|
|
|
|
- Upgrade to 1.11
|
|
|
|
|
|
|
|
* Wed Apr 7 2004 Dan Walsh <dwalsh@redhat.com> 1.10-2
|
|
|
|
- Add memleaks patch
|
|
|
|
|
|
|
|
* Wed Apr 7 2004 Dan Walsh <dwalsh@redhat.com> 1.10-1
|
|
|
|
- Upgrade to latest from NSA and add more man pages
|
|
|
|
|
|
|
|
* Thu Apr 1 2004 Dan Walsh <dwalsh@redhat.com> 1.9-1
|
|
|
|
- Update to match NSA
|
|
|
|
- Cleanup some man pages
|
|
|
|
|
|
|
|
* Tue Mar 30 2004 Dan Walsh <dwalsh@redhat.com> 1.8-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
|
|
|
|
* Thu Mar 25 2004 Dan Walsh <dwalsh@redhat.com> 1.6-6
|
|
|
|
- Add Russell's Man pages
|
|
|
|
|
|
|
|
* Thu Mar 25 2004 Dan Walsh <dwalsh@redhat.com> 1.6-5
|
|
|
|
- Change getenforce to also check is_selinux_enabled
|
|
|
|
|
|
|
|
* Thu Mar 25 2004 Dan Walsh <dwalsh@redhat.com> 1.6-4
|
|
|
|
- Add ownership to /usr/include/selinux
|
|
|
|
|
2004-09-09 07:41:46 +00:00
|
|
|
* Wed Mar 10 2004 Dan Walsh <dwalsh@redhat.com> 1.6-3
|
|
|
|
- fix location of file_contexts file.
|
|
|
|
|
|
|
|
* Wed Mar 10 2004 Dan Walsh <dwalsh@redhat.com> 1.6-2
|
|
|
|
- Fix matchpathcon to use BUFSIZ
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Feb 23 2004 Dan Walsh <dwalsh@redhat.com> 1.4-11
|
|
|
|
- add matchpathcon
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
2004-09-09 07:41:25 +00:00
|
|
|
|
|
|
|
* Fri Jan 23 2004 Dan Walsh <dwalsh@redhat.com> 1.4-9
|
|
|
|
- Add rootok patch
|
|
|
|
|
|
|
|
* Wed Jan 14 2004 Dan Walsh <dwalsh@redhat.com> 1.4-8
|
|
|
|
- Updated getpeernam patch
|
|
|
|
|
|
|
|
* Tue Jan 13 2004 Dan Walsh <dwalsh@redhat.com> 1.4-7
|
|
|
|
- Add getpeernam patch
|
|
|
|
|
|
|
|
* Thu Dec 18 2003 Dan Walsh <dwalsh@redhat.com> 1.4-6
|
|
|
|
- Add getpeercon patch
|
|
|
|
|
|
|
|
* Thu Dec 18 2003 Dan Walsh <dwalsh@redhat.com> 1.4-5
|
|
|
|
- Put mntpoint patch, because found fix for SysVinit
|
|
|
|
|
|
|
|
* Wed Dec 17 2003 Dan Walsh <dwalsh@redhat.com> 1.4-4
|
|
|
|
- Add remove mntpoint patch, because it breaks SysVinit
|
|
|
|
|
|
|
|
* Wed Dec 17 2003 Dan Walsh <dwalsh@redhat.com> 1.4-3
|
|
|
|
- Add mntpoint patch for SysVinit
|
|
|
|
|
|
|
|
* Fri Dec 12 2003 Dan Walsh <dwalsh@redhat.com> 1.4-2
|
|
|
|
- Add -r -u -t to getcon
|
|
|
|
|
|
|
|
* Sat Dec 6 2003 Dan Walsh <dwalsh@redhat.com> 1.4-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
|
|
|
|
* Mon Oct 27 2003 Dan Walsh <dwalsh@redhat.com> 1.3-2
|
|
|
|
- Fix x86_64 build
|
|
|
|
|
|
|
|
* Wed Oct 21 2003 Dan Walsh <dwalsh@redhat.com> 1.3-1
|
|
|
|
- Latest tarball from NSA.
|
|
|
|
|
|
|
|
* Tue Oct 21 2003 Dan Walsh <dwalsh@redhat.com> 1.2-9
|
|
|
|
- Update with latest changes from NSA
|
|
|
|
|
|
|
|
* Mon Oct 20 2003 Dan Walsh <dwalsh@redhat.com> 1.2-8
|
|
|
|
- Change location of .so file
|
|
|
|
|
|
|
|
* Wed Oct 8 2003 Dan Walsh <dwalsh@redhat.com> 1.2-7
|
|
|
|
- Break out into development library
|
|
|
|
|
|
|
|
* Wed Oct 8 2003 Dan Walsh <dwalsh@redhat.com> 1.2-6
|
|
|
|
- Move location of libselinux.so to /lib
|
|
|
|
|
|
|
|
* Fri Oct 3 2003 Dan Walsh <dwalsh@redhat.com> 1.2-5
|
|
|
|
- Add selinuxenabled patch
|
|
|
|
|
|
|
|
* Wed Oct 1 2003 Dan Walsh <dwalsh@redhat.com> 1.2-4
|
|
|
|
- Update with final NSA 1.2 sources.
|
|
|
|
|
|
|
|
* Fri Sep 12 2003 Dan Walsh <dwalsh@redhat.com> 1.2-3
|
|
|
|
- Update with latest from NSA.
|
|
|
|
|
|
|
|
* Fri Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 1.2-2
|
|
|
|
- Fix to build on x86_64
|
|
|
|
|
|
|
|
* Thu Aug 21 2003 Dan Walsh <dwalsh@redhat.com> 1.2-1
|
|
|
|
- update for version 1.2
|
|
|
|
|
|
|
|
* Wed May 27 2003 Dan Walsh <dwalsh@redhat.com> 1.0-1
|
|
|
|
- Initial version
|
|
|
|
|