2004-09-09 07:41:16 +00:00
|
|
|
Summary: SELinux binary policy manipulation library
|
|
|
|
Name: libsepol
|
2005-08-10 21:05:20 +00:00
|
|
|
Version: 1.7.11
|
2005-08-02 20:23:38 +00:00
|
|
|
Release: 1
|
2004-09-09 07:41:16 +00:00
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source: http://www.nsa.gov/selinux/archives/libsepol-%{version}.tgz
|
2005-07-27 16:19:22 +00:00
|
|
|
|
2004-09-09 07:41:16 +00:00
|
|
|
Prefix: %{_prefix}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
|
|
Provides: libsepol.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.
|
|
|
|
|
|
|
|
libsepol provides an API for the manipulation of SELinux binary policies.
|
|
|
|
It is used by checkpolicy (the policy compiler) and similar tools, as well
|
|
|
|
as by programs like load_policy that need to perform specific transformations
|
|
|
|
on binary policies such as customizing policy boolean settings.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files and libraries used to build policy manipulation tools
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libsepol = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The sepol-devel package contains the static libraries and header files
|
|
|
|
needed for developing applications that manipulate binary policies.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-05-26 15:00:01 +00:00
|
|
|
|
2004-09-09 07:41:16 +00:00
|
|
|
%build
|
2004-09-09 07:42:31 +00:00
|
|
|
make CFLAGS="%{optflags}"
|
2004-09-09 07:41:16 +00:00
|
|
|
|
|
|
|
%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:20 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
|
2004-09-09 07:41:16 +00:00
|
|
|
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_lib}" install
|
2005-07-08 01:16:49 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolbools
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolusers
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_bindir}/chkcon
|
2005-07-08 01:20:21 +00:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man8
|
2004-09-09 07:41:16 +00:00
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
2004-09-09 07:41:25 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
2004-09-09 07:41:16 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsepol.a
|
|
|
|
%{_libdir}/libsepol.so
|
|
|
|
%{_includedir}/sepol/*.h
|
2004-09-09 07:41:20 +00:00
|
|
|
%{_mandir}/man3/*.3.gz
|
2004-09-09 07:41:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/%{_lib}/libsepol.so.1
|
|
|
|
|
|
|
|
%changelog
|
2005-08-10 21:05:20 +00:00
|
|
|
* Wed Aug 10 2005 Dan Walsh <dwalsh@redhat.com> 1.7.11-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Fix range_trans_clone to map the type values properly.
|
|
|
|
|
2005-08-06 01:34:59 +00:00
|
|
|
* Fri Aug 5 2005 Dan Walsh <dwalsh@redhat.com> 1.7.10-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Merged patch to move module read/write code from libsemanage
|
|
|
|
to libsepol from Jason Tang (Tresys).
|
|
|
|
|
2005-08-02 20:23:38 +00:00
|
|
|
* Tue Aug 2 2005 Dan Walsh <dwalsh@redhat.com> 1.7.9-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Enabled further compiler warning flags and fixed them.
|
|
|
|
* Merged user, context, port records patch from Ivan Gyurdiev.
|
|
|
|
* Merged key extract function patch from Ivan Gyurdiev.
|
|
|
|
* Merged mls_context_to_sid bugfix from Ivan Gyurdiev.
|
|
|
|
|
2005-07-27 16:19:22 +00:00
|
|
|
* Wed Jul 27 2005 Dan Walsh <dwalsh@redhat.com> 1.7.6-2
|
|
|
|
- Fix MLS Free
|
|
|
|
|
2005-07-27 13:29:14 +00:00
|
|
|
* Mon Jul 25 2005 Dan Walsh <dwalsh@redhat.com> 1.7.6-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Merged context reorganization, memory leak fixes,
|
|
|
|
port and interface loading, replacements for genusers and
|
|
|
|
genbools, debug traceback, and bugfix patches from Ivan Gyurdiev.
|
|
|
|
* Merged uninitialized variable bugfix from Dan Walsh.
|
|
|
|
|
2005-07-25 13:37:45 +00:00
|
|
|
* Mon Jul 25 2005 Dan Walsh <dwalsh@redhat.com> 1.7.5-2
|
|
|
|
- Fix unitialized variable problem
|
|
|
|
|
2005-07-18 19:06:58 +00:00
|
|
|
* Mon Jul 18 2005 Dan Walsh <dwalsh@redhat.com> 1.7.5-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Merged debug support, policydb conversion functions from Ivan Gyurdiev (Red Hat).
|
|
|
|
* Removed genpolbools and genpolusers utilities.
|
|
|
|
* Merged hierarchy check fix from Joshua Brindle (Tresys).
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-14 11:25:27 +00:00
|
|
|
* Thu Jul 14 2005 Dan Walsh <dwalsh@redhat.com> 1.7.3-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Merged header file cleanup and memory leak fix from Ivan Gyurdiev (Red Hat).
|
|
|
|
* Merged genbools debugging message cleanup from Red Hat.
|
|
|
|
|
2005-07-08 01:16:49 +00:00
|
|
|
* Thu Jul 7 2005 Dan Walsh <dwalsh@redhat.com> 1.7-2
|
|
|
|
- Remove genpolbools and genpoluser
|
|
|
|
|
2005-07-07 10:51:39 +00:00
|
|
|
* Thu Jul 7 2005 Dan Walsh <dwalsh@redhat.com> 1.7-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Merged loadable module support from Tresys Technology.
|
|
|
|
|
2005-06-29 20:16:24 +00:00
|
|
|
* Wed Jun 29 2005 Dan Walsh <dwalsh@redhat.com> 1.6-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Updated version for release.
|
|
|
|
|
2005-05-26 15:00:01 +00:00
|
|
|
* Tue May 17 2005 Dan Walsh <dwalsh@redhat.com> 1.5.10-1
|
|
|
|
- Fix reset booleans warning message
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* License changed to LGPL v2.1, see COPYING.
|
|
|
|
|
2005-05-17 12:33:22 +00:00
|
|
|
* Tue May 17 2005 Dan Walsh <dwalsh@redhat.com> 1.5.9-2
|
2005-05-17 12:13:26 +00:00
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Added sepol_genbools_policydb and sepol_genusers_policydb for
|
|
|
|
audit2why.
|
|
|
|
|
2005-05-16 21:46:33 +00:00
|
|
|
* Mon May 16 2005 Dan Walsh <dwalsh@redhat.com> 1.5.8-2
|
|
|
|
- export sepol_context_to_sid
|
|
|
|
|
2005-05-16 19:48:44 +00:00
|
|
|
* Mon May 16 2005 Dan Walsh <dwalsh@redhat.com> 1.5.8-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Added sepol_ prefix to Flask types to avoid
|
|
|
|
namespace collision with libselinux.
|
|
|
|
|
|
|
|
* Fri May 13 2005 Dan Walsh <dwalsh@redhat.com> 1.5.7-1
|
2005-05-13 18:51:47 +00:00
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Added sepol_compute_av_reason() for audit2why.
|
|
|
|
|
2005-04-26 16:31:56 +00:00
|
|
|
* Tue Apr 26 2005 Dan Walsh <dwalsh@redhat.com> 1.5.6-1
|
|
|
|
- Upgrade to latest from NSA
|
|
|
|
* Fixed bug in role hierarchy checker.
|
|
|
|
|
2005-04-25 19:35:34 +00:00
|
|
|
* Mon Apr 25 2005 Dan Walsh <dwalsh@redhat.com> 1.5.5-2
|
|
|
|
- Fixes found via intel compiler
|
|
|
|
|
2005-04-14 20:28:58 +00:00
|
|
|
* Thu Apr 14 2005 Dan Walsh <dwalsh@redhat.com> 1.5.5-1
|
|
|
|
- Update from NSA
|
|
|
|
|
2005-03-30 03:04:56 +00:00
|
|
|
* Tue Mar 29 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-1
|
|
|
|
- Update from NSA
|
|
|
|
|
2005-03-29 15:39:54 +00:00
|
|
|
* Thu Mar 24 2005 Dan Walsh <dwalsh@redhat.com> 1.5.2-2
|
|
|
|
- Handle booleans.local
|
|
|
|
|
2005-03-17 20:04:11 +00:00
|
|
|
* Thu Mar 17 2005 Dan Walsh <dwalsh@redhat.com> 1.5.2-1
|
2005-03-17 15:41:45 +00:00
|
|
|
- Update to latest from NSA
|
2005-03-17 20:04:11 +00:00
|
|
|
* Added man page for sepol_check_context.
|
2005-03-17 15:41:45 +00:00
|
|
|
* Added man page for sepol_genusers function.
|
|
|
|
* Merged man pages for genpolusers and chkcon from Manoj Srivastava.
|
|
|
|
|
2005-03-10 14:46:04 +00:00
|
|
|
* Thu Mar 10 2005 Dan Walsh <dwalsh@redhat.com> 1.4-1
|
|
|
|
- Update to latest from NSA
|
|
|
|
|
2005-03-08 20:19:30 +00:00
|
|
|
* Tue Mar 8 2005 Dan Walsh <dwalsh@redhat.com> 1.3.8-1
|
|
|
|
- Update to latest from NSA
|
|
|
|
* Cleaned up error handling in sepol_genusers and sepol_genbools.
|
|
|
|
|
2005-03-02 04:09:23 +00:00
|
|
|
* Tue Mar 1 2005 Dan Walsh <dwalsh@redhat.com> 1.3.7-1
|
|
|
|
- Update to latest from NSA
|
|
|
|
* Merged sepol_debug and fclose patch from Dan Walsh.
|
|
|
|
|
2005-02-25 19:52:36 +00:00
|
|
|
* Fri Feb 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.6-3
|
|
|
|
- Make sure local_files file pointer is closed
|
2005-02-25 18:44:18 +00:00
|
|
|
- Stop outputing error messages
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.3.6-1
|
|
|
|
- Update to latest from NSA
|
|
|
|
* Changed sepol_genusers to also use getline and correctly handle
|
|
|
|
EOL.
|
|
|
|
* Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.3.5-1
|
2005-02-17 22:59:42 +00:00
|
|
|
- Update to latest from NSA
|
2005-02-17 20:48:43 +00:00
|
|
|
* Merged endianness and compute_av patches from Darrel Goeddel (TCS).
|
2005-02-17 22:59:42 +00:00
|
|
|
* Merged range_transition support from Darrel Goeddel (TCS).
|
|
|
|
* Added sepol_genusers function.
|
2005-02-17 20:48:43 +00:00
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.3.2-1
|
2005-02-17 20:48:43 +00:00
|
|
|
- Update to latest from NSA
|
|
|
|
* Changed relabel Makefile target to use restorecon.
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Mon Feb 7 2005 Dan Walsh <dwalsh@redhat.com> 1.3.1-1
|
2005-02-17 20:48:43 +00:00
|
|
|
- Update to latest from NSA
|
|
|
|
* Merged enhanced MLS support from Darrel Goeddel (TCS).
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Thu Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.2.1.1-1
|
2005-01-20 14:15:15 +00:00
|
|
|
- Update to latest from NSA
|
|
|
|
* Merged build fix patch from Manoj Srivastava.
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Thu Nov 4 2004 Dan Walsh <dwalsh@redhat.com> 1.2.1-1
|
2004-11-04 13:25:56 +00:00
|
|
|
- Update to latest from NSA
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Mon Aug 30 2004 Dan Walsh <dwalsh@redhat.com> 1.1.1-2
|
2004-09-09 07:42:31 +00:00
|
|
|
- Add optargs for build
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Sun Aug 22 2004 Dan Walsh <dwalsh@redhat.com> 1.1.1-1
|
2004-09-09 07:42:27 +00:00
|
|
|
- New version from NSA
|
|
|
|
|
2004-09-09 07:42:21 +00:00
|
|
|
* Fri Aug 20 2004 Colin Walters <walters@redhat.com> 1.0-2
|
|
|
|
- Apply Stephen's chkcon patch
|
|
|
|
|
2004-09-09 07:41:57 +00:00
|
|
|
* Thu Aug 19 2004 Colin Walters <walters@redhat.com> 1.0-1
|
|
|
|
- New upstream version
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Mon Aug 16 2004 Dan Walsh <dwalsh@redhat.com> 0.4.2-1
|
2004-09-09 07:41:47 +00:00
|
|
|
- Newversion from upstream implementing stringcase compare
|
|
|
|
|
2004-09-09 07:41:25 +00:00
|
|
|
* Fri Aug 13 2004 Bill Nottingham <notting@redhat.com> 0.4.1-2
|
|
|
|
- ldconfig tweaks
|
2004-09-09 07:41:16 +00:00
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Thu Aug 12 2004 Dan Walsh <dwalsh@redhat.com> 0.4.1-1
|
2004-09-09 07:41:47 +00:00
|
|
|
- Ignore case of true/false
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Wed Aug 11 2004 Dan Walsh <dwalsh@redhat.com> 0.4.1-1
|
2004-09-09 07:41:20 +00:00
|
|
|
- New version from NSA
|
|
|
|
|
2005-02-22 22:11:16 +00:00
|
|
|
* Tue Aug 10 2004 Dan Walsh <dwalsh@redhat.com> 0.3.1-1
|
2004-09-09 07:41:16 +00:00
|
|
|
- Initial version
|
|
|
|
- Created by Stephen Smalley <sds@epoch.ncsc.mil>
|
|
|
|
|
|
|
|
|