cvsdist b2b388e
Summary: SELinux policy core utilities.
cvsdist b2b388e
Name: policycoreutils
cvsdist 06e15c6
Version: 1.13.1
cvsdist 06e15c6
Release: 2
cvsdist b2b388e
License: GPL
cvsdist b2b388e
Group: System Environment/Base
cvsdist 2c8f4c1
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
cvsdist 2c8f4c1
Patch1: policycoreutils-rhat.patch
cvsdist b2b388e
Prefix: %{_prefix}
cvsdist 2c8f4c1
BuildRequires: libselinux-devel pam-devel
cvsdist b2b388e
cvsdist b2b388e
BuildRoot: %{_tmppath}/%{name}-buildroot
cvsdist b2b388e
cvsdist b2b388e
%description
cvsdist b2b388e
Security-enhanced Linux is a patch of the Linux® kernel and a number
cvsdist b2b388e
of utilities with enhanced security functionality designed to add
cvsdist b2b388e
mandatory access controls to Linux.  The Security-enhanced Linux
cvsdist b2b388e
kernel contains new architectural components originally developed to
cvsdist b2b388e
improve the security of the Flask operating system. These
cvsdist b2b388e
architectural components provide general support for the enforcement
cvsdist b2b388e
of many kinds of mandatory access control policies, including those
cvsdist b2b388e
based on the concepts of Type Enforcement®, Role-based Access
cvsdist b2b388e
Control, and Multi-level Security.
cvsdist b2b388e
cvsdist b2b388e
policycoreutils contains the policy core utilities that are required
cvsdist b2b388e
for basic operation of a SELinux system.  These utilities include
cvsdist b2b388e
load_policy to load policies, setfiles to label filesystems, newrole
cvsdist b2b388e
to switch roles, and run_init to run /etc/init.d scripts in the proper
cvsdist b2b388e
context.
cvsdist b2b388e
cvsdist b2b388e
%prep
cvsdist b2b388e
%setup -q
cvsdist b2b388e
cvsdist b2b388e
%build
cvsdist 13f2dea
make all 
cvsdist b2b388e
cvsdist b2b388e
%install
cvsdist b2b388e
rm -rf ${RPM_BUILD_ROOT}
cvsdist b2b388e
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
cvsdist b2b388e
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
cvsdist 13f2dea
mkdir -p ${RPM_BUILD_ROOT}/sbin
cvsdist b2b388e
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
cvsdist b2b388e
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
cvsdist b2b388e
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d
cvsdist b2b388e
make DESTDIR="${RPM_BUILD_ROOT}" install
cvsdist b2b388e
cvsdist b2b388e
%find_lang %{name}
cvsdist b2b388e
cvsdist b2b388e
%clean
cvsdist b2b388e
rm -rf ${RPM_BUILD_ROOT}
cvsdist b2b388e
cvsdist b2b388e
%files -f %{name}.lang
cvsdist b2b388e
%defattr(-,root,root)
cvsdist b2b388e
%{_sbindir}/setfiles
cvsdist 13f2dea
/sbin/fixfiles
cvsdist 13f2dea
/sbin/restorecon
cvsdist 13f2dea
%{_mandir}/man8/restorecon.8.gz
cvsdist b2b388e
%{_sbindir}/genhomedircon
cvsdist 2c8f4c1
%{_sbindir}/sestatus
cvsdist 2c8f4c1
%{_mandir}/man8/sestatus.8.gz
cvsdist b2b388e
%{_mandir}/man8/setfiles.8.gz
cvsdist 2c8f4c1
%{_mandir}/man8/fixfiles.8.gz
cvsdist b2b388e
%{_sbindir}/load_policy
cvsdist b2b388e
%{_bindir}/newrole
cvsdist b2b388e
%{_bindir}/audit2allow
cvsdist b2b388e
%{_mandir}/man1/newrole.1.gz
cvsdist b2b388e
%config %{_sysconfdir}/pam.d/newrole
cvsdist 13f2dea
%{_sbindir}/run_init
cvsdist b2b388e
%config %{_sysconfdir}/pam.d/run_init
cvsdist b2b388e
%{_mandir}/man8/run_init.8.gz
cvsdist 2c8f4c1
%config(noreplace) %{_sysconfdir}/sestatus.conf
cvsdist b2b388e
cvsdist b2b388e
%changelog
cvsdist 06e15c6
* Sat Jun 12 2004 Dan Walsh <dwalsh@redhat.com> 1.13.1-2
cvsdist 06e15c6
- Fix run_init to use policy formats
cvsdist 06e15c6
cvsdist 06e15c6
* Wed Jun 2 2004 Dan Walsh <dwalsh@redhat.com> 1.13.1-1
cvsdist 06e15c6
- Update from NSA
cvsdist 06e15c6
cvsdist af1869c
* Tue May 25 2004 Dan Walsh <dwalsh@redhat.com> 1.13-3
cvsdist af1869c
- Change location of file_context file
cvsdist af1869c
cvsdist 24ae558
* Tue May 25 2004 Dan Walsh <dwalsh@redhat.com> 1.13-2
cvsdist 24ae558
- Change to use /etc/sysconfig/selinux to determine location of policy files
cvsdist 24ae558
cvsdist ac51aea
* Fri May 21 2004 Dan Walsh <dwalsh@redhat.com> 1.13-1
cvsdist ac51aea
- Update to latest from NSA
cvsdist ac51aea
- Change fixfiles to prompt before deleteing /tmp files
cvsdist ac51aea
cvsdist ac51aea
* Tue May 18 2004 Dan Walsh <dwalsh@redhat.com> 1.12-2
cvsdist ac51aea
- have restorecon ingnore <<none>>
cvsdist ac51aea
- Hand matchpathcon the file status
cvsdist ac51aea
cvsdist ac51aea
* Thu May 14 2004 Dan Walsh <dwalsh@redhat.com> 1.12-1
cvsdist ac51aea
- Update to match NSA
cvsdist ac51aea
cvsdist ac51aea
* Mon May 10 2004 Dan Walsh <dwalsh@redhat.com> 1.11-4
cvsdist ac51aea
- Move location of log file to /var/tmp
cvsdist ac51aea
cvsdist ac51aea
* Mon May 10 2004 Dan Walsh <dwalsh@redhat.com> 1.11-3
cvsdist ac51aea
- Better grep command for bind
cvsdist ac51aea
cvsdist 2c8f4c1
* Fri May 7 2004 Dan Walsh <dwalsh@redhat.com> 1.11-2
cvsdist 2c8f4c1
- Eliminate bind and context mounts
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Wed May 5 2004 Dan Walsh <dwalsh@redhat.com> 1.11-1
cvsdist 2c8f4c1
- update to match NSA
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Wed Apr 28 2004 Dan Walsh <dwalsh@redhat.com> 1.10-4
cvsdist 2c8f4c1
- Log fixfiles to the /tmp directory
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Wed Apr 21 2004 Colin Walters <walters@redhat.com> 1.10-3
cvsdist 2c8f4c1
- Add patch to fall back to authenticating via uid if
cvsdist 2c8f4c1
  the current user's SELinux user identity is the default
cvsdist 2c8f4c1
  identity
cvsdist 2c8f4c1
- Add BuildRequires pam-devel
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Mon Apr 12 2004 Dan Walsh <dwalsh@redhat.com> 1.10-2
cvsdist 2c8f4c1
- Add man page, thanks to Richard Halley
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Thu Apr 8 2004 Dan Walsh <dwalsh@redhat.com> 1.10-1
cvsdist 2c8f4c1
- Upgrade to latest from NSA
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Fri Apr 2 2004 Dan Walsh <dwalsh@redhat.com> 1.9.2-1
cvsdist 2c8f4c1
- Update with latest from gentoo and NSA
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Thu Apr 1 2004 Dan Walsh <dwalsh@redhat.com> 1.9.1-1
cvsdist 2c8f4c1
- Check return codes in sestatus.c
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Mon Mar 29 2004 Dan Walsh <dwalsh@redhat.com> 1.9-19
cvsdist 2c8f4c1
- Fix sestatus to not double free
cvsdist 2c8f4c1
- Fix sestatus.conf to be unix format
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Mon Mar 29 2004 Dan Walsh <dwalsh@redhat.com> 1.9-18
cvsdist 2c8f4c1
- Warn on setfiles failure to relabel.
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Mon Mar 29 2004 Dan Walsh <dwalsh@redhat.com> 1.9-17
cvsdist 2c8f4c1
- Updated version of sestatus
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Mon Mar 29 2004 Dan Walsh <dwalsh@redhat.com> 1.9-16
cvsdist 2c8f4c1
- Fix fixfiles to checklabel properly
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Fri Mar 26 2004 Dan Walsh <dwalsh@redhat.com> 1.9-15
cvsdist 2c8f4c1
- add sestatus
cvsdist 2c8f4c1
cvsdist 2c8f4c1
* Thu Mar 25 2004 Dan Walsh <dwalsh@redhat.com> 1.9-14
cvsdist 2c8f4c1
- Change free call to freecon
cvsdist 2c8f4c1
- Cleanup
cvsdist 2c8f4c1
cvsdist 13f2dea
* Tue Mar 23 2004 Dan Walsh <dwalsh@redhat.com> 1.9-12
cvsdist 13f2dea
- Remove setfiles-assoc patch
cvsdist 13f2dea
- Fix restorecon to not crash on missing dir
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-11
cvsdist 13f2dea
- Eliminate trailing / in restorecon
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-10
cvsdist 13f2dea
- Add Verbosity check
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-9
cvsdist 13f2dea
- Change restorecon to not follow symlinks.  It is too difficult and confusing
cvsdist 13f2dea
- to figure out the file context for the file pointed to by a symlink.
cvsdist 13f2dea
cvsdist 13f2dea
* Wed Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-8
cvsdist 13f2dea
- Fix restorecon
cvsdist 13f2dea
* Wed Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-7
cvsdist 13f2dea
- Read restorecon patch
cvsdist 13f2dea
cvsdist 13f2dea
* Wed Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-6
cvsdist 13f2dea
- Change genhomedircon to take POLICYSOURCEDIR from command line
cvsdist 13f2dea
cvsdist 13f2dea
* Wed Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-5
cvsdist 13f2dea
- Add checkselinux
cvsdist 13f2dea
- move fixfiles and restorecon to /sbin
cvsdist 13f2dea
cvsdist 13f2dea
* Wed Mar 17 2004 Dan Walsh <dwalsh@redhat.com> 1.9-4
cvsdist 13f2dea
- Restore patch of genhomedircon
cvsdist 13f2dea
cvsdist 13f2dea
* Mon Mar 15 2004 Dan Walsh <dwalsh@redhat.com> 1.9-3
cvsdist 13f2dea
- Add setfiles-assoc patch to try to freeup memory use
cvsdist 13f2dea
cvsdist 13f2dea
* Mon Mar 15 2004 Dan Walsh <dwalsh@redhat.com> 1.9-2
cvsdist 13f2dea
- Add fixlabels
cvsdist 13f2dea
cvsdist 13f2dea
* Mon Mar 15 2004 Dan Walsh <dwalsh@redhat.com> 1.9-1
cvsdist 13f2dea
- Update to latest from NSA
cvsdist 13f2dea
cvsdist 13f2dea
* Wed Mar 10 2004 Dan Walsh <dwalsh@redhat.com> 1.6-8
cvsdist 13f2dea
- Increase the size of buffer accepted by setfiles to BUFSIZ.
cvsdist 13f2dea
cvsdist 13f2dea
* Tue Mar 9 2004 Dan Walsh <dwalsh@redhat.com> 1.6-7
cvsdist 13f2dea
- genhomedircon should complete even if it can't read /etc/default/useradd
cvsdist 13f2dea
cvsdist 13f2dea
* Tue Mar 9 2004 Dan Walsh <dwalsh@redhat.com> 1.6-6
cvsdist 13f2dea
- fix restorecon to relabel unlabled files.
cvsdist 13f2dea
cvsdist 13f2dea
* Fri Mar 5 2004 Dan Walsh <dwalsh@redhat.com> 1.6-5
cvsdist 13f2dea
- Add genhomedircon from tresys
cvsdist 13f2dea
- Fixed patch for restorecon
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Feb 26 2004 Dan Walsh <dwalsh@redhat.com> 1.6-4
cvsdist 13f2dea
- exit out when selinux is not enabled
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Feb 26 2004 Dan Walsh <dwalsh@redhat.com> 1.6-3
cvsdist 13f2dea
- Fix minor bugs in restorecon
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Feb 26 2004 Dan Walsh <dwalsh@redhat.com> 1.6-2
cvsdist 13f2dea
- Add restorecon c program 
cvsdist 13f2dea
cvsdist 13f2dea
* Tue Feb 24 2004 Dan Walsh <dwalsh@redhat.com> 1.6-1
cvsdist 13f2dea
- Update to latest tarball from NSA
cvsdist 13f2dea
cvsdist 13f2dea
* Thu Feb 19 2004 Dan Walsh <dwalsh@redhat.com> 1.4-9
cvsdist 13f2dea
- Add sort patch
cvsdist 13f2dea
cvsdist 13f2dea
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 13f2dea
- rebuilt
cvsdist 13f2dea
cvsdist b2b388e
* Thu Jan 29 2004 Dan Walsh <dwalsh@redhat.com> 1.4-7
cvsdist b2b388e
- remove mods to run_init since init scripts don't require it anymore
cvsdist b2b388e
cvsdist b2b388e
* Wed Jan 28 2004 Dan Walsh <dwalsh@redhat.com> 1.4-6
cvsdist b2b388e
- fix genhomedircon not to return and error 
cvsdist b2b388e
cvsdist b2b388e
* Wed Jan 28 2004 Dan Walsh <dwalsh@redhat.com> 1.4-5
cvsdist b2b388e
- add setfiles quiet patch
cvsdist b2b388e
cvsdist b2b388e
* Tue Jan 27 2004 Dan Walsh <dwalsh@redhat.com> 1.4-4
cvsdist b2b388e
- add checkcon to verify context match file_context
cvsdist b2b388e
cvsdist b2b388e
* Wed Jan 7 2004 Dan Walsh <dwalsh@redhat.com> 1.4-3
cvsdist b2b388e
- fix command parsing restorecon
cvsdist b2b388e
cvsdist b2b388e
* Tue Jan 6 2004 Dan Walsh <dwalsh@redhat.com> 1.4-2
cvsdist b2b388e
- Add restorecon
cvsdist b2b388e
cvsdist b2b388e
* Sat Dec 6 2003 Dan Walsh <dwalsh@redhat.com> 1.4-1
cvsdist b2b388e
- Update to latest NSA 1.4
cvsdist b2b388e
cvsdist b2b388e
* Tue Nov 25 2003 Dan Walsh <dwalsh@redhat.com> 1.2-9
cvsdist b2b388e
- Change run_init.console to run as run_init_t
cvsdist b2b388e
cvsdist b2b388e
* Tue Oct 14 2003 Dan Walsh <dwalsh@redhat.com> 1.2-8
cvsdist b2b388e
- Remove dietcc since load_policy is not in mkinitrd
cvsdist b2b388e
- Change to use CONSOLEHELPER flag
cvsdist b2b388e
cvsdist b2b388e
* Tue Oct 14 2003 Dan Walsh <dwalsh@redhat.com> 1.2-7
cvsdist b2b388e
- Don't authenticate run_init when used with consolehelper
cvsdist b2b388e
cvsdist b2b388e
* Wed Oct 01 2003 Dan Walsh <dwalsh@redhat.com> 1.2-6
cvsdist b2b388e
- Add run_init consolehelper link
cvsdist b2b388e
cvsdist b2b388e
* Wed Sep 24 2003 Dan Walsh <dwalsh@redhat.com> 1.2-5
cvsdist b2b388e
- Add russell spead up patch to deal with file path stems
cvsdist b2b388e
cvsdist b2b388e
* Fri Sep 12 2003 Dan Walsh <dwalsh@redhat.com> 1.2-4
cvsdist b2b388e
- Build load_policy with diet gcc in order to save space on initrd
cvsdist b2b388e
cvsdist b2b388e
* Fri Sep 12 2003 Dan Walsh <dwalsh@redhat.com> 1.2-3
cvsdist b2b388e
- Update with NSA latest
cvsdist b2b388e
cvsdist b2b388e
* Thu Aug 7 2003 Dan Walsh <dwalsh@redhat.com> 1.2-1
cvsdist b2b388e
- remove i18n
cvsdist b2b388e
- Temp remove gtk support
cvsdist b2b388e
cvsdist b2b388e
* Thu Aug 7 2003 Dan Walsh <dwalsh@redhat.com> 1.1-4
cvsdist b2b388e
- Remove wnck requirement
cvsdist b2b388e
cvsdist b2b388e
* Thu Aug 7 2003 Dan Walsh <dwalsh@redhat.com> 1.1-3
cvsdist b2b388e
- Add gtk support to run_init
cvsdist b2b388e
cvsdist b2b388e
* Tue Aug 5 2003 Dan Walsh <dwalsh@redhat.com> 1.1-2
cvsdist b2b388e
- Add internationalization
cvsdist b2b388e
cvsdist b2b388e
* Mon Jun 2 2003 Dan Walsh <dwalsh@redhat.com> 1.0-1
cvsdist b2b388e
- Initial version
cvsdist b2b388e