Blame SPECS/libsemanage.spec

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