Blame SPECS/libsemanage.spec

e74907
%global with_python3 0
e74907
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")}
e74907
e74907
%define libsepolver 2.1.9-1
e74907
%define libselinuxver 2.1.13-1
e74907
e74907
Summary: SELinux binary policy manipulation library 
e74907
Name: libsemanage
e74907
Version: 2.1.10
e74907
Release: 14%{?dist}
e74907
License: LGPLv2+
e74907
Group: System Environment/Libraries
e74907
Source: libsemanage-%{version}.tgz
e74907
Patch: libsemanage-rhat.patch
e74907
URL: http://oss.tresys.com/git/selinux.git
e74907
Source1: semanage.conf
e74907
e74907
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e74907
BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel
e74907
BuildRequires: libsepol-devel >= %{libsepolver} 
e74907
BuildRequires: audit-libs-devel
e74907
BuildRequires: python-devel bison flex bzip2-devel
e74907
e74907
%if 0%{?with_python3}
e74907
BuildRequires: python3-devel
e74907
%endif # if with_python3
e74907
e74907
Requires: bzip2-libs audit-libs
e74907
e74907
%description
e74907
Security-enhanced Linux is a feature of the Linux® kernel and a number
e74907
of utilities with enhanced security functionality designed to add
e74907
mandatory access controls to Linux.  The Security-enhanced Linux
e74907
kernel contains new architectural components originally developed to
e74907
improve the security of the Flask operating system. These
e74907
architectural components provide general support for the enforcement
e74907
of many kinds of mandatory access control policies, including those
e74907
based on the concepts of Type Enforcement®, Role-based Access
e74907
Control, and Multi-level Security.
e74907
e74907
libsemanage provides an API for the manipulation of SELinux binary policies.
e74907
It is used by checkpolicy (the policy compiler) and similar tools, as well
e74907
as by programs like load_policy that need to perform specific transformations
e74907
on binary policies such as customizing policy boolean settings.
e74907
e74907
%package static
e74907
Summary: Static library used to build policy manipulation tools
e74907
Group: Development/Libraries
e74907
Requires: libsemanage-devel = %{version}-%{release}
e74907
e74907
%description static
e74907
The semanage-static package contains the static libraries 
e74907
needed for developing applications that manipulate binary policies. 
e74907
e74907
%package devel
e74907
Summary: Header files and libraries used to build policy manipulation tools
e74907
Group: Development/Libraries
e74907
Requires: libsemanage = %{version}-%{release} ustr
e74907
e74907
%description devel
e74907
The semanage-devel package contains the libraries and header files
e74907
needed for developing applications that manipulate binary policies. 
e74907
e74907
%package python
e74907
Summary: semanage python bindings for libsemanage
e74907
Group: Development/Libraries
e74907
Requires: libsemanage = %{version}-%{release} 
e74907
e74907
%description python
e74907
The libsemanage-python package contains the python bindings for developing 
e74907
SELinux management applications. 
e74907
e74907
%if 0%{?with_python3}
e74907
%package python3
e74907
Summary: semanage python 3 bindings for libsemanage
e74907
Group: Development/Libraries
e74907
Requires: libsemanage = %{version}-%{release} 
e74907
e74907
%description python3
e74907
The libsemanage-python3 package contains the python 3 bindings for developing
e74907
SELinux management applications.
e74907
%endif # if with_python3
e74907
e74907
%prep
e74907
%setup -q
e74907
%patch -p2 -b .rhat
e74907
e74907
%build
e74907
# To support building the Python wrapper against multiple Python runtimes
e74907
# Define a function, for how to perform a "build" of the python wrapper against
e74907
# a specific runtime:
e74907
BuildPythonWrapper() {
e74907
  BinaryName=$1
e74907
e74907
  # Perform the build from the upstream Makefile:
e74907
  make \
e74907
    PYTHON=$BinaryName \
e74907
    CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" \
e74907
    pywrap
e74907
}
e74907
e74907
make clean
e74907
make CFLAGS="%{optflags}" swigify
e74907
make CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all
e74907
e74907
BuildPythonWrapper \
e74907
  %{__python}
e74907
  
e74907
%if 0%{?with_python3}
e74907
BuildPythonWrapper \
e74907
  %{__python3}
e74907
%endif # with_python3
e74907
e74907
%install
e74907
InstallPythonWrapper() {
e74907
  BinaryName=$1
e74907
e74907
  make \
e74907
    PYTHON=$BinaryName \
e74907
    DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_libdir}" \
e74907
    install-pywrap
e74907
}
e74907
e74907
rm -rf ${RPM_BUILD_ROOT}
e74907
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir} 
e74907
mkdir -p ${RPM_BUILD_ROOT}%{_includedir} 
e74907
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_libdir}" install
e74907
e74907
InstallPythonWrapper \
e74907
  %{__python} \
e74907
  .so
e74907
e74907
%if 0%{?with_python3}
e74907
InstallPythonWrapper \
e74907
  %{__python3} \
e74907
  $(python3-config --extension-suffix)
e74907
%endif # with_python3
e74907
  
e74907
cp %{SOURCE1} ${RPM_BUILD_ROOT}/etc/selinux/semanage.conf
e74907
ln -sf  %{_libdir}/libsemanage.so.1 ${RPM_BUILD_ROOT}/%{_libdir}/libsemanage.so
e74907
e74907
%clean
e74907
rm -rf ${RPM_BUILD_ROOT}
e74907
e74907
%files
e74907
%defattr(-,root,root)
e74907
%dir %{_sysconfdir}/selinux
e74907
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
e74907
/%{_libdir}/libsemanage.so.1
e74907
e74907
%post -p /sbin/ldconfig
e74907
e74907
%postun -p /sbin/ldconfig
e74907
e74907
%files static
e74907
%defattr(-,root,root)
e74907
%{_libdir}/libsemanage.a
e74907
e74907
%files devel
e74907
%defattr(-,root,root)
e74907
%{_libdir}/libsemanage.so
e74907
%{_libdir}/pkgconfig/libsemanage.pc
e74907
%dir %{_includedir}/semanage
e74907
%{_includedir}/semanage/*.h
e74907
%{_mandir}/man3/*
e74907
%{_mandir}/man5/*
e74907
e74907
%files python
e74907
%defattr(-,root,root)
e74907
%{python_sitearch}/_semanage.so
e74907
%{python_sitearch}/semanage.py*
e74907
e74907
%if 0%{?with_python3}
e74907
%files python3
e74907
%defattr(-,root,root)
e74907
%{python3_sitearch}/*.so
e74907
%{python3_sitearch}/semanage.py*
e74907
%{python3_sitearch}/__pycache__/semanage*
e74907
%endif # if with_python3
e74907
e74907
%changelog
e74907
* Wed Oct 16 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-14
e74907
- Cleanup handling of missing mls_range to fix problems with useradd -Z
e74907
- Fix auditing of login record changes, roles were not working correctly.
e74907
Resolves: #1018840
e74907
e74907
* Fri Oct 4 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-13
e74907
- Fix errors found by coverity
e74907
Resolves: #952237
e74907
e74907
* Wed Sep 25 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-12
e74907
- Do not fail on missing SELinux User Record when adding login record
e74907
e74907
* Mon Sep 23 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-11
e74907
- Add msg to audit records
e74907
e74907
* Thu Sep 19 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-10
e74907
- Do not write error message to screen when looking for previous record for auditing.
e74907
- Add mls_range from user record if the MLS range is not specified by the seuser add record.
e74907
- Error out if seuser or mls range is not specified when adding user records
e74907
e74907
* Mon Sep 9 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-9
e74907
- Create symlink from policy.kern to active kernel.
e74907
e74907
* Fri Sep 6 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-8
e74907
- Unlink policy.kern when done to save space.
e74907
e74907
* Fri Jul 26 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-7
e74907
- Move handling of role audit records into the library
e74907
- Patch stops semanage from removing user record while in use
e74907
e74907
* Tue Jul 9 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-6
e74907
- Remove dependance on selinux-policy, /etc/selinux should be owned by libsemanage, and selinux-policy can require it.
e74907
e74907
* Fri Jun 28 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-5
e74907
- Allways build python3 version
e74907
e74907
* Mon Apr 22 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-4
e74907
- 
e74907
e74907
* Thu Apr 11 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-3
e74907
- Fix test suite to build
e74907
e74907
* Thu Feb 14 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-2
e74907
- Revert some changes which are causing the wrong policy version file to be created
e74907
e74907
* Thu Feb 7 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-1
e74907
- Update to upstream 
e74907
	* Add sefcontext_compile to compile regex everytime policy is rebuilt
e74907
	* Cleanup/fix enable/disable/remove module.
e74907
	* redo genhomedircon minuid
e74907
	* fixes from coverity
e74907
	* semanage_store: do not leak memory in semanage_exec_prog
e74907
	* genhomedircon: remove useless conditional in get_home_dirs
e74907
	* genhomedircon: double free in get_home_dirs
e74907
	* fcontext_record: do not leak on error in semanage_fcontext_key_create
e74907
	* genhomedircon: do not leak on failure in write_gen_home_dir_context
e74907
	* semanage_store: do not leak fd 
e74907
	* genhomedircon: do not leak shells list
e74907
	* semanage_store: do not leak on strdup failure 
e74907
	* semanage_store: rewrite for readability
e74907
e74907
* Wed Jan 16 2013 Dan Walsh <dwalsh@redhat.com> 2.1.9-4
e74907
- Add selinux-policy as a requires to get /etc/selinux owned
e74907
e74907
* Sat Jan 5 2013 Dan Walsh <dwalsh@redhat.com> 2.1.9-3
e74907
- Update to latest patches from eparis/Upstream
e74907
-    libsemanage: fixes from coverity
e74907
-    libsemange: redo genhomedircon minuid
e74907
e74907
* Wed Nov 21 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.9-2
e74907
- Fix handling of missing semanage permissive -d foo, not failing correctly
e74907
- Previous to this fix the first module beginning with foo would get deleted.
e74907
e74907
* Thu Sep 13 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.9-1
e74907
- Update to upstream 
e74907
	* libsemanage: do not set soname needlessly
e74907
	* libsemanage: remove PYTHONLIBDIR and ruby equivalent
e74907
	* do boolean name substitution
e74907
	* Fix segfault for building standard policies.
e74907
e74907
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 2.1.8-6
e74907
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
e74907
e74907
* Wed Aug  1 2012 David Malcolm <dmalcolm@redhat.com> - 2.1.8-5
e74907
- remove rhel logic from with_python3 conditional
e74907
e74907
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.8-4
e74907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e74907
e74907
* Fri Jul 13 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-3
e74907
- Attempt to allocate memory for selinux_binary_policy_path and free memory 
e74907
- allocated by asprintf.
e74907
e74907
* Thu Jul 12 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-2
e74907
- Fix asprintf within an asprintf call
e74907
e74907
* Wed Jul 4 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-1
e74907
- Update to upstream 
e74907
	* remove build warning when build swig c files
e74907
	* additional makefile support for rubywrap
e74907
	* ignore 80 column limit for readability
e74907
	* semanage_store: fix snprintf length argument by using asprintf
e74907
	* Use default semanage.conf as a fallback
e74907
	* use after free in python bindings
e74907
e74907
* Tue May 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.7-2
e74907
- Apply patch from Sven Vermeulen to fix problem with python3 bindings.
e74907
e74907
* Thu Mar 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.7-1
e74907
- Update to upstream 
e74907
	* Alternate path for semanage.conf
e74907
	* do not link against libpython, this is considered bad in Debian
e74907
	* Allow to build for several ruby version
e74907
	* fallback-user-level
e74907
e74907
* Wed Feb 15 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.6-3
e74907
- Check in correct patch.
e74907
e74907
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-2
e74907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e74907
e74907
* Fri Jan 6 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.6-2
e74907
- Add patch form Xin Ouyang to make library use private semanage.conf 
e74907
e74907
* Wed Dec 21 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.6-1
e74907
-Update to upstream
e74907
	* add ignoredirs config for genhomedircon
e74907
	* Fallback_user_level can be NULL if you are not using MLS
e74907
e74907
* Thu Dec 15 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.5-4
e74907
- Rebuild with latest libsepol
e74907
e74907
* Thu Dec 15 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.5-3
e74907
- Rebuild with latest libsepol
e74907
e74907
* Thu Dec 15 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.5-2
e74907
- Add support for ignoredirs param in /etc/selinux/semanage.conf
e74907
e74907
* Fri Nov 4 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.5-1
e74907
- Upgrade to upstream
e74907
	* regenerate .pc on VERSION change
e74907
	* maintain mode even if umask is tighter
e74907
	* semanage.conf man page
e74907
	* create man5dir if not exist
e74907
e74907
* Wed Oct 19 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-2
e74907
-    Fix handling of umask, so files get created with the correct label.
e74907
e74907
* Mon Sep 19 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-2
e74907
-    Add Guido Trentalancia semanage.conf man page
e74907
e74907
* Mon Sep 19 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-1
e74907
-Update to upstream
e74907
	* Create a new preserve_tunables flag
e74907
	* tree: default make target to all not
e74907
	* fix semanage_store_access_check calling arguments
e74907
e74907
* Wed Sep 14 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.3-2
e74907
- Add support for preserving tunables
e74907
e74907
* Tue Aug 30 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.3-1
e74907
-Update to upstream
e74907
	* python wrapper makefile changes
e74907
e74907
* Thu Aug 18 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.2-1
e74907
-Update to upstream
e74907
2.1.2 2011-08-17
e74907
	* print error debug info for buggy fc
e74907
	* introduce semanage_set_root and friends
e74907
	* throw exceptions in python rather than return
e74907
	* python3 support.
e74907
	* patch for MCS/MLS in user files
e74907
e74907
2.1.1 2011-08-01
e74907
	* Remove generated files, expand .gitignore
e74907
	* Use -Werror and change a few prototypes to support it
e74907
e74907
* Thu Jul 28 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.0-1
e74907
- Update to upstream
e74907
	* Release, minor version bump
e74907
e74907
* Wed Jun 8 2011 Dan Walsh <dwalsh@redhat.com> - 2.0.46-6
e74907
- More fixes for disabled modules
e74907
e74907
* Tue Jun 7 2011 Dan Walsh <dwalsh@redhat.com> - 2.0.46-5
e74907
- Change libsemanage mechanism for handling disabled modules. Now it will only create a flag for a module 
e74907
indicating the module is disabled.  MODULE.pp.disabled, it will no longer rename the module.  This way we can
e74907
ship active modules in rpm.
e74907
e74907
* Wed Jun 1 2011 Dan Walsh <dwalsh@redhat.com> - 2.0.46-4
e74907
- Add semanage_set_selinux_path, to allow semodule to work on alternate selinux pools
e74907
e74907
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.46-3
e74907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e74907
e74907
* Thu Dec 30 2010 David Malcolm <dmalcolm@redhat.com> - 2.0.46-2
e74907
- big reworking of the support-multiple-python-builds patch to deal with
e74907
PEP 3149: the latest Python 3.2 onwards uses include paths and library names
e74907
that don't fit prior naming patterns, and so we must query python3-config for
e74907
this information.  To complicate things further, python 2's python-config
e74907
doesn't understand all of the options needed ("--extension-suffix").  I've
e74907
thus added new Makefile variables as needed, to be supplied by the specfile by
e74907
invoking the appropriate config tool (or by hardcoding the old value for
e74907
"--extension-suffix" i.e. ".so")
e74907
- rework python3 manifest for PEP 3149, and rebuild for newer python3
e74907
e74907
* Tue Dec 21 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.46-1
e74907
- Update to upstream
e74907
  * Fix compliation under GCC 4.6 by Justin Mattock
e74907
e74907
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.45-6
e74907
- rebuild with python3.2
e74907
  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
e74907
e74907
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.0.45-5
e74907
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
e74907
e74907
* Tue Apr 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.0.45-4
e74907
- add python3 subpackage
e74907
e74907
* Wed Apr 7 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.45-3
e74907
- Fix -devel package to point at the correct shared library
e74907
e74907
* Fri Mar 26 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.45-2
e74907
- Move shared library to /usr/lib
e74907
e74907
* Mon Mar 8 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.45-1
e74907
- Update to upstream
e74907
	* Add enable/disable patch support from Dan Walsh.
e74907
	* Add usepasswd flag to semanage.conf to disable genhomedircon using
e74907
	  passwd from Dan Walsh.
e74907
	* regenerate swig wrappers
e74907
e74907
* Thu Feb 25 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.44-2
e74907
- Allow disable of usepasswd
e74907
e74907
* Wed Feb 17 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.44-1
e74907
- Update to upstream
e74907
	* Replace usage of fmemopen() with sepol_policy_file_set_mem() since
e74907
	  glibc < 2.9 does not support binary mode ('b') for fmemopen'd
e74907
	  streams.
e74907
e74907
* Thu Jan 28 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.43-4
e74907
- Cleanup spec file
e74907
e74907
* Mon Jan 18 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.43-3
e74907
- Splect libsemanage.a into a static subpackage to keep fedora packaging guidelines happy
e74907
e74907
* Wed Dec 16 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.43-2
e74907
- Rebuild all c programs with -fPIC
e74907
e74907
* Tue Dec 1 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.43-1
e74907
- Update to upstream
e74907
  * Move libsemanage.so to /usr/lib
e74907
  * Add NAME lines to man pages from Manoj Srivastava<srivasta@debian.org>
e74907
e74907
* Wed Nov 18 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.42-1
e74907
- Update to upstream
e74907
  * Move load_policy from /usr/sbin to /sbin from Dan Walsh.
e74907
e74907
* Mon Nov 2 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.41-1
e74907
- Update to upstream
e74907
  * Add pkgconfig file from Eamon Walsh.
e74907
  * Add semanage_set_check_contexts() function to disable calling
e74907
  setfiles
e74907
e74907
* Mon Sep 28 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.39-1
e74907
- Update to upstream
e74907
  * make swigify
e74907
e74907
* Sun Sep 20 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.38-2
e74907
- Dont relabel /root with genhomedircon
e74907
e74907
* Thu Sep 17 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.38-1
e74907
- Update to upstream
e74907
  * Change semodule upgrade behavior to install even if the module
e74907
    is not present from Dan Walsh.
e74907
  * Make genhomedircon trim excess '/' from homedirs from Dan Walsh.
e74907
e74907
* Wed Sep 9 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.37-1
e74907
- Update to upstream
e74907
  * Fix persistent dontaudit support to rebuild policy if the 
e74907
        dontaudit state is changed from Chad Sellers.
e74907
- Move load_policy to /sbin
e74907
e74907
* Fri Aug 28 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.36-2
e74907
- Add enable/disable modules
e74907
e74907
* Wed Aug 26 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.36-1
e74907
- Update to upstream
e74907
  * Changed bzip-blocksize=0 handling to support existing compressed
e74907
  modules in the store.
e74907
e74907
* Wed Aug 26 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.35-2
e74907
- Make sure /root is not used in genhomedircon
e74907
e74907
* Wed Aug 5 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.35-1
e74907
- Revert hard linking of files between tmp/active/previous.
e74907
- Enable configuration of bzip behavior from Stephen Smalley.
e74907
-   bzip-blocksize=0 to disable compression and decompression support.
e74907
-   bzip-blocksize=1..9 to set the blocksize for compression.
e74907
-   bzip-small=true to reduce memory usage for decompression.
e74907
e74907
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.33-3
e74907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e74907
e74907
* Fri Jul 10 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.33-2
e74907
- Put check for /root back into genhomedircon
e74907
e74907
* Tue Jul 7 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.33-1
e74907
- Update to upstream
e74907
e74907
* Mon Jun 8 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.32-1
e74907
- Update to upstream
e74907
  * Ruby bindings from David Quigley.
e74907
e74907
* Thu Apr 9 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-5
e74907
- Return error on invalid file
e74907
e74907
* Wed Mar 11 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-4
e74907
- Fix typo
e74907
e74907
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.31-3
e74907
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e74907
e74907
* Thu Jan 15 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-2
e74907
- Fix link to only link on sandbox
e74907
e74907
* Mon Jan 12 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-1
e74907
- Update to upstream
e74907
  * Policy module compression (bzip) support from Dan Walsh.
e74907
  * Hard link files between tmp/active/previous from Dan Walsh.
e74907
e74907
* Mon Jan 12 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.30-3
e74907
- Fix up patch to get it upstreamed
e74907
e74907
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.30-2
e74907
- Rebuild for Python 2.6
e74907
e74907
* Thu Dec 4 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.30-1
e74907
- Add semanage_mls_enabled() interface from Stephen Smalley.
e74907
e74907
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.29-2
e74907
- Rebuild for Python 2.6
e74907
e74907
* Mon Sep 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.28-1
e74907
- Update to upstream
e74907
  * Add USER to lines to homedir_template context file from Chris PeBenito.
e74907
e74907
* Mon Sep 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.28-2
e74907
- Add compression support
e74907
e74907
* Mon Sep 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.28-1
e74907
- Update to upstream
e74907
  * allow fcontext and seuser changes without rebuilding the policy from Dan Walsh
e74907
e74907
* Wed Sep 10 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.27-3
e74907
- Additional fixes for Don't rebuild on fcontext or seuser modifications
e74907
e74907
* Tue Sep 2 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.27-2
e74907
- Don't rebuild on fcontext or seuser modifications
e74907
e74907
* Tue Aug 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.27-1
e74907
- Update to upstream
e74907
  * Modify genhomedircon to skip groupname entries.
e74907
  Ultimately we need to expand them to the list of users to support per-role homedir labeling when using the groupname syntax.
e74907
e74907
* Tue Jul 29 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.26-1
e74907
- Update to upstream
e74907
  * Fix bug in genhomedircon fcontext matches logic from Dan Walsh.
e74907
  Strip any trailing slash before appending /*$.
e74907
e74907
* Tue Jun 17 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.25-3
e74907
- Another fix for genhomedircon
e74907
e74907
* Wed May 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.25-2
e74907
- fix license tag
e74907
e74907
* Tue Feb 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.25-1
e74907
- Update to upstream
e74907
  * Do not call genhomedircon if the policy was not rebuilt from Stephen Smalley.
e74907
    Fixes semanage boolean -D seg fault (bug 441379).
e74907
e74907
* Tue Feb 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.24-1
e74907
- Update to upstream
e74907
  * make swigify
e74907
e74907
* Tue Feb 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.23-1
e74907
- Update to upstream
e74907
  * Use vfork rather than fork for libsemanage helpers to reduce memory overhead as suggested by Todd Miller.
e74907
e74907
* Mon Feb 4 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.22-1
e74907
- Update to upstream
e74907
  * Free policydb before fork from Joshua Brindle.
e74907
  * Drop the base module immediately after expanding to permit memory re-use from Stephen Smalley.
e74907
e74907
* Sat Feb 2 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.20-1
e74907
- Update to upstream
e74907
  * Use sepol_set_expand_consume_base to reduce peak memory usage when
e74907
  using semodule
e74907
e74907
* Fri Feb 1 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.19-1
e74907
- Update to upstream
e74907
  * Fix genhomedircon to not override a file context with a homedir context from Todd Miller.
e74907
e74907
* Tue Jan 29 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.18-1
e74907
- Update to upstream
e74907
  * Fix spurious out of memory error reports.
e74907
  * Merged second version of fix for genhomedircon handling from Caleb Case.
e74907
e74907
* Tue Jan 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.16-1
e74907
- Update to upstream
e74907
  * Merged fix for genhomedircon handling of missing HOME_DIR or HOME_ROOT templates from Caleb Case.
e74907
e74907
* Tue Jan 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.15-2
e74907
- Stop differentiating on user for homedir labeling
e74907
e74907
* Thu Dec 6 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.15-1
e74907
- Update to upstream
e74907
  * Fix genhomedircon handling of shells and missing user context template from Dan Walsh.
e74907
  * Copy the store path in semanage_select_store from Dan Walsh.
e74907
- Add expand-check=0 to semanage.conf
e74907
e74907
* Mon Dec 3 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-5
e74907
- Fix handling of /etc/shells so genhomedircon will work
e74907
e74907
* Thu Nov 29 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-3
e74907
- Allow semanage_genhomedircon to work with out a USER int homedir.template
e74907
e74907
* Sat Nov 10 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-2
e74907
- Fix semanage_select_store to allocate memory, fixes crash on invalid store
e74907
e74907
* Tue Nov 6 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-1
e74907
- Upgrade to latest from NSA
e74907
  * Call rmdir() rather than remove() on directory removal so that errno isn't polluted from Stephen Smalley.
e74907
  * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.
e74907
e74907
* Fri Oct 5 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.12-1
e74907
- Upgrade to latest from NSA
e74907
  * ustr cleanups from James Antill.
e74907
  * Ensure that /root gets labeled even if using the default context from Dan Walsh.
e74907
e74907
* Fri Sep 28 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.11-1
e74907
- Upgrade to latest from NSA
e74907
  * Fix ordering of file_contexts.homedirs from Todd Miller and Dan Walsh.
e74907
e74907
* Fri Sep 28 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.10-2
e74907
- Fix sort order on generated homedir context
e74907
e74907
* Fri Sep 28 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.10-1
e74907
- Upgrade to latest from NSA
e74907
  * Fix error checking on getpw*_r functions from Todd Miller.
e74907
  * Make genhomedircon skip invalid homedir contexts from Todd Miller.
e74907
  * Set default user and prefix from seusers from Dan Walsh.
e74907
  * Add swigify Makefile target from Dan Walsh.
e74907
e74907
* Wed Sep 26 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.9-1
e74907
- Upgrade to latest from NSA
e74907
  * Pass CFLAGS to CC even on link command, per Dennis Gilmore.
e74907
  * Clear errno on non-fatal errors to avoid reporting them upon a
e74907
    later error that does not set errno.
e74907
  * Improve reporting of system errors, e.g. full filesystem or read-only filesystem from Stephen Smalley.
e74907
e74907
- Fix segfault in genhomedircon when using bad user names
e74907
e74907
* Wed Sep 26 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.6-2
e74907
- Fix genhomedircon code to only generate valid context
e74907
- Fixes autorelabel problem
e74907
e74907
* Thu Sep 13 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.6-1
e74907
- Upgrade to latest from NSA
e74907
  * Change to use getpw* function calls to the _r versions from Todd Miller.
e74907
e74907
* Thu Aug 23 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.5-1
e74907
- Upgrade to latest from NSA
e74907
e74907
* Mon Aug 20 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.4-1
e74907
- Upgrade to latest from NSA
e74907
  * Allow dontaudits to be turned off via semanage interface when
e74907
    updating policy
e74907
e74907
* Sat Aug 11 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-5
e74907
- Add ability to load a policy without dontaudit rules
e74907
-
e74907
e74907
* Tue Jun 26 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-4
e74907
- Rebuild to fix segfault on x86 platforms, swigify on each build
e74907
e74907
* Fri Jun 1 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-3
e74907
- Rebuild for rawhide
e74907
e74907
* Thu May 3 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-2
e74907
- Apply patch to fix dependencies in spec file from Robert Scheck
e74907
e74907
* Wed Apr 25 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-1
e74907
- Upgrade to latest from NSA
e74907
  * Fix to libsemanage man patches so whatis will work better from Dan Walsh
e74907
e74907
* Wed Apr 25 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.2-1
e74907
- Upgrade to latest from NSA
e74907
- Merged optimizations from Stephen Smalley.
e74907
-    do not set all booleans upon commit, only those whose values have changed
e74907
-    only install the sandbox upon commit if something was rebuilt
e74907
e74907
* Sat Mar 17 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.1-2
e74907
- Add SELinux to Man page Names so man -k will work
e74907
e74907
* Mon Mar 12 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.1-1
e74907
- Merged dbase_file_flush patch from Dan Walsh.
e74907
- This removes any mention of specific tools (e.g. semanage)
e74907
- from the comment header of the auto-generated files,
e74907
- since there are multiple front-end tools.
e74907
e74907
* Tue Feb 20 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.0-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged Makefile test target patch from Caleb Case.
e74907
  * Merged get_commit_number function rename patch from Caleb Case.
e74907
  * Merged strnlen -> strlen patch from Todd Miller.
e74907
e74907
* Wed Feb 7 2007 Dan Walsh <dwalsh@redhat.com> - 1.10.1-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged python binding fix from Dan Walsh.
e74907
  * Updated version for stable branch.
e74907
e74907
* Fri Dec 22 2006 Dan Walsh <dwalsh@redhat.com> - 1.9.2-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged patch to optionally reduce disk usage by removing 
e74907
    the backup module store and linked policy from Karl MacMillan
e74907
  * Merged patch to correctly propagate return values in libsemanage
e74907
e74907
* Fri Dec 22 2006 Dan Walsh <dwalsh@redhat.com> - 1.9.1-3
e74907
- Apply Karl MacMillan patch to get proper error codes.
e74907
e74907
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.9.1-2
e74907
- rebuild against python 2.5
e74907
e74907
* Tue Nov 28 2006 Dan Walsh <dwalsh@redhat.com> - 1.9.1-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged patch to compile wit -fPIC instead of -fpic from
e74907
    Manoj Srivastava to prevent hitting the global offest table
e74907
    limit. Patch changed to include libselinux and libsemanage in
e74907
    addition to libsepol.
e74907
e74907
* Tue Oct 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.8-1
e74907
- Upgrade to latest from NSA
e74907
  * Updated version for release.
e74907
e74907
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.17-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged patch to skip reload if no active store exists and
e74907
    the store path doesn't match the active store path from Dan Walsh.
e74907
  * Merged patch to not destroy sepol handle on error path of
e74907
    connect from James Athey.
e74907
  * Merged patch to add genhomedircon path to semanage.conf from
e74907
    James Athey. 
e74907
e74907
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.16-3
e74907
- Fix semanage to not load if is not the correct policy type and it is installing
e74907
e74907
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.16-2
e74907
- Fix requires lines
e74907
e74907
* Wed Aug 23 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.16-1
e74907
- Upgrade to latest from NSA
e74907
  * Make most copy errors fatal, but allow exceptions for
e74907
    file_contexts.local, seusers, and netfilter_contexts if
e74907
    the source file does not exist in the store.
e74907
e74907
* Sat Aug 12 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.15-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged separate local file contexts patch from Chris PeBenito.
e74907
  * Merged patch to make most copy errors non-fatal from Dan Walsh.
e74907
e74907
* Thu Aug 10 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.13-3
e74907
- Change other updates to be non-fatal
e74907
e74907
* Wed Aug 9 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.13-2
e74907
- Change netfilter stuff to be non-fatal so update can proceed.
e74907
e74907
* Thu Aug 3 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.13-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged netfilter contexts support from Chris PeBenito.
e74907
e74907
* Mon Jul 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.12-2
e74907
- Rebuild for new gcc
e74907
e74907
* Tue Jul 11 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.12-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged support for read operations on read-only fs from 
e74907
    Caleb Case (Tresys Technology).
e74907
e74907
* Tue Jul 4 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.11-1
e74907
- Upgrade to latest from NSA
e74907
  * Lindent.
e74907
  * Merged setfiles location check patch from Dan Walsh.
e74907
e74907
* Fri Jun 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.9-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged several fixes from Serge Hallyn:
e74907
       dbase_file_cache:  deref of uninit data on error path.
e74907
       dbase_policydb_cache:  clear fp to avoid double fclose
e74907
       semanage_fc_sort:  destroy temp on error paths
e74907
e74907
* Fri Jun 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-2
e74907
- Handle setfiles being in /sbin or /usr/sbin
e74907
e74907
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-1
e74907
- Upgrade to latest from NSA
e74907
  * Updated default location for setfiles to /sbin to
e74907
    match policycoreutils.  This can also be adjusted via 
e74907
    semanage.conf using the syntax:
e74907
    [setfiles]
e74907
    path = /path/to/setfiles
e74907
    args = -q -c $@ $<
e74907
    [end]
e74907
e74907
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.7-3
e74907
- Spec file cleanup from n0dalus+redhat@gmail.com
e74907
e74907
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.7-2
e74907
- Add /usr/include/semanage to spec file
e74907
e74907
* Mon May 8 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.7-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged fix warnings patch from Karl MacMillan.
e74907
e74907
* Fri Apr 14 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.6-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged updated file context sorting patch from Christopher
e74907
    Ashworth, with bug fix for escaped character flag.
e74907
  * Merged file context sorting code from Christopher Ashworth 
e74907
    (Tresys Technology), based on fc_sort.c code in refpolicy.
e74907
  * Merged python binding t_output_helper removal patch from Dan Walsh.
e74907
  * Regenerated swig files.
e74907
e74907
* Wed Mar 29 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.3-1
e74907
- Fix to work with new version of swig
e74907
- Upgrade to latest from NSA
e74907
  * Merged corrected fix for descriptor leak from Dan Walsh.
e74907
e74907
* Wed Mar 29 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.2-2
e74907
- Fix leaky descriptor
e74907
e74907
* Tue Mar 21 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.2-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged Makefile PYLIBVER definition patch from Dan Walsh.
e74907
  * Merged man page reorganization from Ivan Gyurdiev.
e74907
e74907
* Fri Mar 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.6-1
e74907
- Make work on RHEL4
e74907
- Upgrade to latest from NSA
e74907
  * Merged abort early on merge errors patch from Ivan Gyurdiev.
e74907
  * Cleaned up error handling in semanage_split_fc based on a patch
e74907
    by Serge Hallyn (IBM) and suggestions by Ivan Gyurdiev.
e74907
  * Merged MLS handling fixes from Ivan Gyurdiev.
e74907
e74907
* Fri Feb 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.28-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged bug fix for fcontext validate handler from Ivan Gyurdiev.
e74907
  * Merged base_merge_components changes from Ivan Gyurdiev.
e74907
e74907
* Thu Feb 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.26-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged paths array patch from Ivan Gyurdiev.
e74907
  * Merged bug fix patch from Ivan Gyurdiev.
e74907
  * Merged improve bindings patch from Ivan Gyurdiev.
e74907
  * Merged use PyList patch from Ivan Gyurdiev.  
e74907
  * Merged memory leak fix patch from Ivan Gyurdiev.
e74907
  * Merged nodecon support patch from Ivan Gyurdiev.
e74907
  * Merged cleanups patch from Ivan Gyurdiev.
e74907
  * Merged split swig patch from Ivan Gyurdiev.
e74907
e74907
* Mon Feb 13 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.23-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged optionals in base patch from Joshua Brindle.
e74907
  * Merged treat seusers/users_extra as optional sections patch from
e74907
    Ivan Gyurdiev.
e74907
  * Merged parse_optional fixes from Ivan Gyurdiev.
e74907
e74907
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.21-2.1
e74907
- bump again for double-long bug on ppc(64)
e74907
e74907
* Fri Feb 10 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.21-2
e74907
- Fix handling of seusers and users_map file
e74907
e74907
* Tue Feb 07 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.21-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged seuser/user_extra support patch from Joshua Brindle.
e74907
  * Merged remote system dbase patch from Ivan Gyurdiev.  
e74907
e74907
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.20-1.1
e74907
- rebuilt for new gcc4.1 snapshot and glibc changes
e74907
e74907
* Thu Feb 2 2006 Dan Walsh <dwalsh@redhat.com> 1.5.20-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged clone record on set_con patch from Ivan Gyurdiev.  
e74907
e74907
* Mon Jan 30 2006 Dan Walsh <dwalsh@redhat.com> 1.5.19-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged fname parameter patch from Ivan Gyurdiev.
e74907
  * Merged more size_t -> unsigned int fixes from Ivan Gyurdiev.
e74907
  * Merged seusers.system patch from Ivan Gyurdiev.
e74907
  * Merged improve port/fcontext API patch from Ivan Gyurdiev.  
e74907
e74907
* Fri Jan 27 2006 Dan Walsh <dwalsh@redhat.com> 1.5.18-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged seuser -> seuser_local rename patch from Ivan Gyurdiev.
e74907
  * Merged set_create_store, access_check, and is_connected interfaces
e74907
    from Joshua Brindle.
e74907
e74907
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.16-1
e74907
- Upgrade to latest from NSA
e74907
  * Regenerate python wrappers.
e74907
e74907
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.15-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged pywrap Makefile diff from Dan Walsh.
e74907
  * Merged cache management patch from Ivan Gyurdiev.
e74907
  * Merged bugfix for dbase_llist_clear from Ivan Gyurdiev.
e74907
  * Merged remove apply_local function patch from Ivan Gyurdiev.
e74907
  * Merged only do read locking in direct case patch from Ivan Gyurdiev.
e74907
  * Merged cache error path memory leak fix from Ivan Gyurdiev.
e74907
  * Merged auto-generated file header patch from Ivan Gyurdiev.
e74907
  * Merged pywrap test update from Ivan Gyurdiev.
e74907
  * Merged hidden defs update from Ivan Gyurdiev.
e74907
e74907
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.14-2
e74907
- Break out python out of regular Makefile
e74907
e74907
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.14-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged disallow port overlap patch from Ivan Gyurdiev.
e74907
  * Merged join prereq and implementation patches from Ivan Gyurdiev.
e74907
  * Merged join user extra data part 2 patch from Ivan Gyurdiev.
e74907
  * Merged bugfix patch from Ivan Gyurdiev.
e74907
  * Merged remove add_local/set_local patch from Ivan Gyurdiev.
e74907
  * Merged user extra data part 1 patch from Ivan Gyurdiev.
e74907
  * Merged size_t -> unsigned int patch from Ivan Gyurdiev.
e74907
  * Merged calloc check in semanage_store patch from Ivan Gyurdiev,
e74907
    bug noticed by Steve Grubb.
e74907
  * Merged cleanups after add/set removal patch from Ivan Gyurdiev.
e74907
e74907
* Sat Jan 7 2006 Dan Walsh <dwalsh@redhat.com> 1.5.9-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged const in APIs patch from Ivan Gyurdiev.
e74907
  * Merged validation of local file contexts patch from Ivan Gyurdiev.
e74907
  * Merged compare2 function patch from Ivan Gyurdiev.
e74907
  * Merged hidden def/proto update patch from Ivan Gyurdiev.
e74907
e74907
* Fri Jan 6 2006 Dan Walsh <dwalsh@redhat.com> 1.5.8-1
e74907
- Upgrade to latest from NSA
e74907
  * Re-applied string and file optimization patch from Russell Coker,
e74907
    with bug fix.
e74907
  * Reverted string and file optimization patch from Russell Coker.
e74907
  * Clarified error messages from parse_module_headers and 
e74907
    parse_base_headers for base/module mismatches.
e74907
e74907
* Fri Jan 6 2006 Dan Walsh <dwalsh@redhat.com> 1.5.6-1
e74907
- Upgrade to latest from NSA
e74907
  * Clarified error messages from parse_module_headers and 
e74907
    parse_base_headers for base/module mismatches.
e74907
  * Merged string and file optimization patch from Russell Coker.
e74907
  * Merged swig header reordering patch from Ivan Gyurdiev.
e74907
  * Merged toggle modify on add patch from Ivan Gyurdiev.
e74907
  * Merged ports parser bugfix patch from Ivan Gyurdiev.
e74907
  * Merged fcontext swig patch from Ivan Gyurdiev.
e74907
  * Merged remove add/modify/delete for active booleans patch from Ivan Gyurdiev.
e74907
  * Merged man pages for dbase functions patch from Ivan Gyurdiev.
e74907
  * Merged pywrap tests patch from Ivan Gyurdiev.
e74907
e74907
* Thu Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 1.5.4-2
e74907
- Patch to fix add
e74907
e74907
* Thu Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 1.5.4-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged patch series from Ivan Gyurdiev.
e74907
    This includes patches to:
e74907
    - separate file rw code from linked list
e74907
    - annotate objects
e74907
    - fold together internal headers
e74907
    - support ordering of records in compare function
e74907
    - add active dbase backend, active booleans
e74907
    - return commit numbers for ro database calls
e74907
    - use modified flags to skip rebuild whenever possible
e74907
    - enable port interfaces
e74907
    - update swig interfaces and typemaps
e74907
    - add an API for file_contexts.local and file_contexts
e74907
    - flip the traversal order in iterate/list
e74907
    - reorganize sandbox_expand
e74907
    - add seusers MLS validation
e74907
    - improve dbase spec/documentation
e74907
    - clone record on set/add/modify
e74907
e74907
* Tue Dec 27 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-3
e74907
- Add Ivans patch to turn on ports
e74907
e74907
* Wed Dec 14 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-2
e74907
- Remove patch since upstream does the right thing
e74907
e74907
* Wed Dec 14 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged further header cleanups from Ivan Gyurdiev.
e74907
  * Merged toggle modified flag in policydb_modify, fix memory leak
e74907
    in clear_obsolete, polymorphism vs headers fix, and include guards
e74907
    for internal headers patches from Ivan Gyurdiev.
e74907
e74907
* Tue Dec 13 2005 Dan Walsh <dwalsh@redhat.com> 1.5.1-2
e74907
- Upgrade to latest from NSA
e74907
  * Merged toggle modified flag in policydb_modify, fix memory leak
e74907
    in clear_obsolete, polymorphism vs headers fix, and include guards
e74907
    for internal headers patches from Ivan Gyurdiev.
e74907
e74907
* Mon Dec 12 2005 Dan Walsh <dwalsh@redhat.com> 1.5.1-1
e74907
- Upgrade to latest from NSA
e74907
  * Added file-mode= setting to semanage.conf, default to 0644.
e74907
    Changed semanage_copy_file and callers to use this mode when
e74907
    installing policy files to runtime locations.
e74907
e74907
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e74907
- rebuilt
e74907
e74907
* Wed Dec 7 2005 Dan Walsh <dwalsh@redhat.com> 1.4-1
e74907
- Fix mode of output seusers file
e74907
e74907
* Tue Dec 6 2005 Dan Walsh <dwalsh@redhat.com> 1.3.64-1
e74907
- Upgrade to latest from NSA
e74907
  * Changed semanage_handle_create() to set do_reload based on
e74907
    is_selinux_enabled().  This prevents improper attempts to
e74907
    load policy on a non-SELinux system.
e74907
e74907
* Mon Dec 5 2005 Dan Walsh <dwalsh@redhat.com> 1.3.63-1
e74907
- Upgrade to latest from NSA
e74907
  * Dropped handle from user_del_role interface.
e74907
  * Removed defrole interfaces.
e74907
e74907
* Tue Nov 29 2005 Dan Walsh <dwalsh@redhat.com> 1.3.61-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged Makefile python definitions patch from Dan Walsh.
e74907
  * Removed is_selinux_mls_enabled() conditionals in seusers and users
e74907
    file parsers. 
e74907
e74907
* Wed Nov 23 2005 Dan Walsh <dwalsh@redhat.com> 1.3.59-1
e74907
- Add additional swig objects
e74907
  * Merged wrap char*** for user_get_roles patch from Joshua Brindle.
e74907
  * Merged remove defrole from sepol patch from Ivan Gyurdiev.
e74907
  * Merged swig wrappers for modifying users and seusers from Joshua Brindle.
e74907
e74907
* Wed Nov 23 2005 Dan Walsh <dwalsh@redhat.com> 1.3.56-2
e74907
- Add additional swig objects
e74907
e74907
* Wed Nov 16 2005 Dan Walsh <dwalsh@redhat.com> 1.3.56-1
e74907
- Upgrade to latest from NSA
e74907
  * Fixed free->key_free bug.
e74907
  * Merged clear obsolete patch from Ivan Gyurdiev.
e74907
  * Merged modified swigify patch from Dan Walsh 
e74907
    (original patch from Joshua Brindle).
e74907
  * Merged move genhomedircon call patch from Chad Sellers.
e74907
e74907
* Mon Nov 14 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-3
e74907
- Add genhomedircon patch from Joshua Brindle
e74907
e74907
* Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-2
e74907
- Add swigify patch from Joshua Brindle
e74907
e74907
* Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged move seuser validation patch from Ivan Gyurdiev.
e74907
  * Merged hidden declaration fixes from Ivan Gyurdiev,
e74907
    with minor corrections.
e74907
e74907
* Wed Nov 9 2005 Dan Walsh <dwalsh@redhat.com> 1.3.52-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged cleanup patch from Ivan Gyurdiev.
e74907
    This renames semanage_module_conn to semanage_direct_handle,
e74907
    and moves sepol handle create/destroy into semanage handle
e74907
    create/destroy to allow use even when disconnected (for the
e74907
    record interfaces).
e74907
e74907
* Tue Nov 8 2005 Dan Walsh <dwalsh@redhat.com> 1.3.51-1
e74907
- Upgrade to latest from NSA
e74907
  * Clear modules modified flag upon disconnect and commit.
e74907
        * Added tracking of module modifications and use it to
e74907
    determine whether expand-time checks should be applied
e74907
    on commit.
e74907
  * Reverted semanage_set_reload_bools() interface.
e74907
e74907
* Tue Nov 8 2005 Dan Walsh <dwalsh@redhat.com> 1.3.48-1
e74907
- Upgrade to latest from NSA
e74907
  * Disabled calls to port dbase for merge and commit and stubbed
e74907
    out calls to sepol_port interfaces since they are not exported.
e74907
  * Merged rename instead of copy patch from Joshua Brindle (Tresys).
e74907
  * Added hidden_def/hidden_proto for exported symbols used within 
e74907
    libsemanage to eliminate relocations.  Wrapped type definitions
e74907
    in exported headers as needed to avoid conflicts.  Added
e74907
    src/context_internal.h and src/iface_internal.h.
e74907
  * Added semanage_is_managed() interface to allow detection of whether
e74907
    the policy is managed via libsemanage.  This enables proper handling
e74907
    in setsebool for non-managed systems.
e74907
  * Merged semanage_set_reload_bools() interface from Ivan Gyurdiev,
e74907
    to enable runtime control over preserving active boolean values
e74907
    versus reloading their saved settings upon commit.
e74907
e74907
* Mon Nov 7 2005 Dan Walsh <dwalsh@redhat.com> 1.3.43-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged seuser parser resync, dbase tracking and cleanup, strtol
e74907
    bug, copyright, and assert space patches from Ivan Gyurdiev.
e74907
  * Added src/*_internal.h in preparation for other changes.
e74907
   * Added hidden/hidden_proto/hidden_def to src/debug.[hc] and
e74907
          src/seusers.[hc].
e74907
e74907
e74907
* Thu Nov 3 2005 Dan Walsh <dwalsh@redhat.com> 1.3.41-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged interface parse/print, context_to_string interface change,
e74907
    move assert_noeof, and order preserving patches from Ivan Gyurdiev.
e74907
        * Added src/dso.h in preparation for other changes.
e74907
  * Merged install seusers, handle/error messages, MLS parsing,
e74907
    and seusers validation patches from Ivan Gyurdiev.
e74907
e74907
* Mon Oct 31 2005 Dan Walsh <dwalsh@redhat.com> 1.3.39-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged record interface, dbase flush, common database code,
e74907
    and record bugfix patches from Ivan Gyurdiev.
e74907
e74907
* Fri Oct 28 2005 Dan Walsh <dwalsh@redhat.com> 1.3.38-1
e74907
- Upgrade to latest from NSA
e74907
  * Merged dbase policydb list and count change from Ivan Gyurdiev.
e74907
  * Merged enable dbase and set relay patches from Ivan Gyurdiev.
e74907
e74907
* Thu Oct 27 2005 Dan Walsh <dwalsh@redhat.com> 1.3.36-1
e74907
- Update from NSA
e74907
  * Merged query APIs and dbase_file_set patches from Ivan Gyurdiev.
e74907
e74907
* Wed Oct 26 2005 Dan Walsh <dwalsh@redhat.com> 1.3.35-1
e74907
- Update from NSA
e74907
  * Merged sepol handle passing, seusers support, and policydb cache
e74907
    patches from Ivan Gyurdiev.
e74907
e74907
* Tue Oct 25 2005 Dan Walsh <dwalsh@redhat.com> 1.3.34-1
e74907
- Update from NSA
e74907
  * Merged resync to sepol changes and booleans fixes/improvements 
e74907
    patches from Ivan Gyurdiev.
e74907
  * Merged support for genhomedircon/homedir template, store selection,
e74907
    explicit policy reload, and semanage.conf relocation from Joshua
e74907
    Brindle.
e74907
e74907
* Mon Oct 24 2005 Dan Walsh <dwalsh@redhat.com> 1.3.32-1
e74907
- Update from NSA
e74907
  * Merged resync to sepol changes and transaction fix patches from
e74907
    Ivan Gyurdiev.
e74907
  * Merged reorganize users patch from Ivan Gyurdiev.
e74907
  * Merged remove unused relay functions patch from Ivan Gyurdiev.
e74907
e74907
* Fri Oct 21 2005 Dan Walsh <dwalsh@redhat.com> 1.3.30-1
e74907
- Update from NSA
e74907
  * Fixed policy file leaks in semanage_load_module and
e74907
    semanage_write_module.
e74907
  * Merged further database work from Ivan Gyurdiev.
e74907
  * Fixed bug in semanage_direct_disconnect.
e74907
e74907
* Thu Oct 20 2005 Dan Walsh <dwalsh@redhat.com> 1.3.28-1
e74907
- Update from NSA
e74907
  * Merged interface renaming patch from Ivan Gyurdiev.
e74907
  * Merged policy component patch from Ivan Gyurdiev.
e74907
  * Renamed 'check=' configuration value to 'expand-check=' for 
e74907
    clarity.
e74907
  * Changed semanage_commit_sandbox to check for and report errors 
e74907
    on rename(2) calls performed during rollback.
e74907
  * Added optional check= configuration value to semanage.conf 
e74907
    and updated call to sepol_expand_module to pass its value
e74907
    to control assertion and hierarchy checking on module expansion.
e74907
  * Merged fixes for make DESTDIR= builds from Joshua Brindle.
e74907
e74907
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.24-1
e74907
- Update from NSA
e74907
  * Merged default database from Ivan Gyurdiev.
e74907
  * Merged removal of connect requirement in policydb backend from
e74907
    Ivan Gyurdiev.
e74907
  * Merged commit locking fix and lock rename from Joshua Brindle.
e74907
  * Merged transaction rollback in lock patch from Joshua Brindle.
e74907
  * Changed default args for load_policy to be null, as it no longer
e74907
    takes a pathname argument and we want to preserve booleans.
e74907
  * Merged move local dbase initialization patch from Ivan Gyurdiev.
e74907
  * Merged acquire/release read lock in databases patch from Ivan Gyurdiev.
e74907
  * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev.
e74907
  * Added calls to sepol_policy_file_set_handle interface prior
e74907
    to invoking sepol operations on policy files.
e74907
  * Updated call to sepol_policydb_from_image to pass the handle.
e74907
e74907
e74907
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.20-1
e74907
- Update from NSA
e74907
  * Changed default args for load_policy to be null, as it no longer
e74907
    takes a pathname argument and we want to preserve booleans.
e74907
  * Merged move local dbase initialization patch from Ivan Gyurdiev.
e74907
  * Merged acquire/release read lock in databases patch from Ivan Gyurdiev.
e74907
  * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev.
e74907
  * Added calls to sepol_policy_file_set_handle interface prior
e74907
    to invoking sepol operations on policy files.
e74907
  * Updated call to sepol_policydb_from_image to pass the handle.
e74907
e74907
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.20-1
e74907
- Update from NSA
e74907
  * Merged user and port APIs - policy database patch from Ivan
e74907
  Gyurdiev.
e74907
  * Converted calls to sepol link_packages and expand_module interfaces
e74907
  from using buffers to using sepol handles for error reporting, and 
e74907
  changed direct_connect/disconnect to create/destroy sepol handles.
e74907
e74907
* Sat Oct 15 2005 Dan Walsh <dwalsh@redhat.com> 1.3.18-1
e74907
- Update from NSA
e74907
  * Merged bugfix patch from Ivan Gyurdiev.
e74907
  * Merged seuser database patch from Ivan Gyurdiev.
e74907
  Merged direct user/port databases to the handle from Ivan Gyurdiev.
e74907
  * Removed obsolete include/semanage/commit_api.h (leftover).
e74907
  Merged seuser record patch from Ivan Gyurdiev.
e74907
  * Merged boolean and interface databases from Ivan Gyurdiev.
e74907
e74907
* Fri Oct 14 2005 Dan Walsh <dwalsh@redhat.com> 1.3.14-1
e74907
- Update from NSA
e74907
  * Updated to use get interfaces for hidden sepol_module_package type.
e74907
  * Changed semanage_expand_sandbox and semanage_install_active
e74907
  to generate/install the latest policy version supported  by libsepol
e74907
  by default (unless overridden by semanage.conf), since libselinux
e74907
  will now downgrade automatically for load_policy.
e74907
  * Merged new callback-based error reporting system and ongoing
e74907
  database work from Ivan Gyurdiev.
e74907
e74907
* Wed Oct 12 2005 Dan Walsh <dwalsh@redhat.com> 1.3.11-1
e74907
- Update from NSA
e74907
  * Fixed semanage_install_active() to use the same logic for
e74907
  selecting a policy version as semanage_expand_sandbox().  Dropped
e74907
  dead code from semanage_install_sandbox().
e74907
e74907
* Mon Oct 10 2005 Dan Walsh <dwalsh@redhat.com> 1.3.10-1
e74907
- Update from NSA
e74907
  * Updated for changes to libsepol, and to only use types and interfaces
e74907
  provided by the shared libsepol.
e74907
e74907
* Fri Oct 7 2005 Dan Walsh <dwalsh@redhat.com> 1.3.9-1
e74907
- Update from NSA
e74907
  * Merged further database work from Ivan Gyurdiev.
e74907
e74907
* Tue Oct 4 2005 Dan Walsh <dwalsh@redhat.com> 1.3.8-1
e74907
- Update from NSA
e74907
  * Merged iterate, redistribute, and dbase split patches from
e74907
  Ivan Gyurdiev.
e74907
e74907
* Mon Oct 3 2005 Dan Walsh <dwalsh@redhat.com> 1.3.7-1
e74907
- Update from NSA
e74907
  * Merged patch series from Ivan Gyurdiev.
e74907
    (pointer typedef elimination, file renames, dbase work, backend
e74907
     separation)
e74907
  * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
e74907
  * Separated handle create from connect interface.
e74907
  * Added a constructor for initialization.
e74907
  * Moved up src/include/*.h to src.
e74907
  * Created a symbol map file; dropped dso.h and hidden markings.
e74907
e74907
* Wed Sep 28 2005 Dan Walsh <dwalsh@redhat.com> 1.3.5-1
e74907
- Update from NSA
e74907
  * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
e74907
  * Separated handle create from connect interface.
e74907
  * Added a constructor for initialization.
e74907
  * Moved up src/include/*.h to src.
e74907
  * Created a symbol map file; dropped dso.h and hidden markings.
e74907
e74907
* Fri Sep 23 2005 Dan Walsh <dwalsh@redhat.com> 1.3.4-1
e74907
- Update from NSA
e74907
  * Merged dbase redesign patch from Ivan Gyurdiev.
e74907
e74907
* Wed Sep 21 2005 Dan Walsh <dwalsh@redhat.com> 1.3.3-1
e74907
- Update from NSA
e74907
  * Merged boolean record, stub record handler, and status codes 
e74907
    patches from Ivan Gyurdiev.
e74907
e74907
* Tue Sep 20 2005 Dan Walsh <dwalsh@redhat.com> 1.3.2-1
e74907
- Update from NSA
e74907
  * Merged stub iterator functionality from Ivan Gyurdiev.
e74907
  * Merged interface record patch from Ivan Gyurdiev.
e74907
e74907
* Wed Sep 14 2005 Dan Walsh <dwalsh@redhat.com> 1.3.1-1
e74907
- Update from NSA
e74907
  * Merged stub functionality for managing user and port records,
e74907
  and record table code from Ivan Gyurdiev.
e74907
  * Updated version for release.
e74907
e74907
* Thu Sep 1 2005 Dan Walsh <dwalsh@redhat.com> 1.1.6-1
e74907
- Update from NSA
e74907
  * Merged semod.conf template patch from Dan Walsh (Red Hat),
e74907
  but restored location to /usr/share/semod/semod.conf.
e74907
  * Fixed several bugs found by valgrind.
e74907
  * Fixed bug in prior patch for the semod_build_module_list leak.
e74907
  * Merged errno fix from Joshua Brindle (Tresys).
e74907
  * Merged fix for semod_build_modules_list leak on error path
e74907
    from Serge Hallyn (IBM).  Bug found by Coverity.
e74907
e74907
* Thu Aug 25 2005 Dan Walsh <dwalsh@redhat.com> 1.1.3-1
e74907
- Update from NSA
e74907
  * Merged errno fix from Joshua Brindle (Tresys).
e74907
  * Merged fix for semod_build_modules_list leak on error path
e74907
    from Serge Hallyn (IBM).  Bug found by Coverity.
e74907
  * Merged several fixes from Serge Hallyn (IBM).  Bugs found by
e74907
    Coverity.
e74907
  * Fixed several other bugs and warnings.
e74907
  * Merged patch to move module read/write code from libsemanage
e74907
    to libsepol from Jason Tang (Tresys).  
e74907
  * Merged relay records patch from Ivan Gyurdiev.
e74907
  * Merged key extract patch from Ivan Gyurdiev.
e74907
e74907
- Initial version
e74907
- Created by Stephen Smalley <sds@epoch.ncsc.mil>