|
Daniel J Walsh |
1580c8 |
%define distro redhat
|
|
Daniel J Walsh |
1580c8 |
%define direct_initrc y
|
|
Daniel J Walsh |
1580c8 |
%define monolithic n
|
|
Daniel J Walsh |
7c94e8 |
%define POLICYVER 20
|
|
Daniel J Walsh |
008885 |
%define POLICYCOREUTILSVER 1.29.5-1
|
|
Daniel J Walsh |
a736f9 |
%define CHECKPOLICYVER 1.28-3
|
|
Daniel J Walsh |
1580c8 |
Summary: SELinux policy configuration
|
|
Daniel J Walsh |
1580c8 |
Name: selinux-policy
|
|
Daniel J Walsh |
7ba8b0 |
Version: 2.1.10
|
|
Daniel J Walsh |
7ba8b0 |
Release: 1
|
|
Daniel J Walsh |
1580c8 |
License: GPL
|
|
Daniel J Walsh |
1580c8 |
Group: System Environment/Base
|
|
Daniel J Walsh |
1580c8 |
Source: serefpolicy-%{version}.tgz
|
|
Daniel J Walsh |
a736f9 |
patch: policy-20060104.patch
|
|
Daniel J Walsh |
504da9 |
Source1: modules-targeted.conf
|
|
Daniel J Walsh |
504da9 |
Source2: booleans-targeted.conf
|
|
Daniel J Walsh |
504da9 |
Source3: seusers-targeted
|
|
Daniel J Walsh |
504da9 |
Source4: setrans-targeted.conf
|
|
Daniel J Walsh |
504da9 |
Source5: modules-mls.conf
|
|
Daniel J Walsh |
504da9 |
Source6: booleans-mls.conf
|
|
Daniel J Walsh |
504da9 |
Source7: seusers-mls
|
|
Daniel J Walsh |
504da9 |
Source8: setrans-mls.conf
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
1580c8 |
Url: http://serefpolicy.sourceforge.net
|
|
Daniel J Walsh |
1580c8 |
BuildRoot: %{_tmppath}/serefpolicy-buildroot
|
|
Daniel J Walsh |
1580c8 |
BuildArch: noarch
|
|
Daniel J Walsh |
1580c8 |
BuildRequires: checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils >= %{POLICYCOREUTILSVER}
|
|
Daniel J Walsh |
12e089 |
PreReq: policycoreutils >= %{POLICYCOREUTILSVER}
|
|
Daniel J Walsh |
1580c8 |
Obsoletes: policy
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1335ee |
%description
|
|
Daniel J Walsh |
1335ee |
SELinux Base package
|
|
Daniel J Walsh |
1335ee |
|
|
Daniel J Walsh |
1335ee |
%files
|
|
Daniel J Walsh |
1335ee |
%{_mandir}/man8/*
|
|
Daniel J Walsh |
1335ee |
|
|
Daniel J Walsh |
504da9 |
%package targeted
|
|
Daniel J Walsh |
504da9 |
Summary: SELinux targeted base policy
|
|
Nalin Dahyabhai |
46e726 |
Group: System Environment/Base
|
|
Nalin Dahyabhai |
46e726 |
Provides: selinux-policy-base
|
|
Daniel J Walsh |
504da9 |
Obsoletes: selinux-policy-targeted-sources
|
|
Jeremy Katz |
eb190f |
Prereq: policycoreutils >= %{POLICYCOREUTILSVER}
|
|
Jeremy Katz |
eb190f |
Prereq: coreutils
|
|
Daniel J Walsh |
a736f9 |
Prereq: selinux-policy = %{version}-%{release}
|
|
Nalin Dahyabhai |
46e726 |
|
|
Daniel J Walsh |
504da9 |
%description targeted
|
|
Nalin Dahyabhai |
46e726 |
SELinux Reference policy targeted base module.
|
|
Nalin Dahyabhai |
46e726 |
|
|
Daniel J Walsh |
1580c8 |
%define installCmds() \
|
|
Daniel J Walsh |
9ce97a |
make NAME=%1 TYPE=%2 DISTRO=%{distro} DIRECT_INITRC=%3 MONOLITHIC=%{monolithic} bare \
|
|
Daniel J Walsh |
3e930b |
cp -f ${RPM_SOURCE_DIR}/modules-%1.conf ./policy/modules.conf \
|
|
Daniel J Walsh |
3e930b |
cp -f ${RPM_SOURCE_DIR}/booleans-%1.conf ./policy/booleans.conf \
|
|
Daniel J Walsh |
3e930b |
make NAME=%1 TYPE=%2 DISTRO=%{distro} DIRECT_INITRC=%3 MONOLITHIC=%{monolithic} base.pp \
|
|
Daniel J Walsh |
3e930b |
make NAME=%1 TYPE=%2 DISTRO=%{distro} DIRECT_INITRC=%3 MONOLITHIC=%{monolithic} modules \
|
|
Daniel J Walsh |
1580c8 |
%{__mkdir} -p $RPM_BUILD_ROOT/%{_usr}/share/selinux/%1/ \
|
|
Daniel J Walsh |
1580c8 |
%{__cp} *.pp $RPM_BUILD_ROOT/%{_usr}/share/selinux/%1/ \
|
|
Daniel J Walsh |
1580c8 |
%{__mkdir} -p $RPM_BUILD_ROOT/%{_sysconfdir}/selinux/%1/policy \
|
|
Daniel J Walsh |
1580c8 |
%{__mkdir} -p $RPM_BUILD_ROOT/%{_sysconfdir}/selinux/%1/modules/active \
|
|
Daniel J Walsh |
1580c8 |
%{__mkdir} -p $RPM_BUILD_ROOT/%{_sysconfdir}/selinux/%1/contexts/files \
|
|
Daniel J Walsh |
a1e07b |
make NAME=%1 TYPE=%2 DISTRO=%{distro} DIRECT_INITRC=%3 MONOLITHIC=%{monolithic} DESTDIR=$RPM_BUILD_ROOT install-appconfig \
|
|
Daniel J Walsh |
315b4a |
make NAME=%1 TYPE=%2 DISTRO=%{distro} DIRECT_INITRC=%3 MONOLITHIC=%{monolithic} enableaudit \
|
|
Daniel J Walsh |
315b4a |
make NAME=%1 TYPE=%2 DISTRO=%{distro} DIRECT_INITRC=%3 MONOLITHIC=%{monolithic} base.pp \
|
|
Daniel J Walsh |
315b4a |
install -m0644 base.pp ${RPM_BUILD_ROOT}%{_usr}/share/selinux/%1/enableaudit.pp \
|
|
Daniel J Walsh |
451d9b |
for file in $(ls ${RPM_BUILD_ROOT}%{_usr}/share/selinux/%1 | grep -v -e base.pp -e enableaudit.pp ) \
|
|
Daniel J Walsh |
451d9b |
do \
|
|
Daniel J Walsh |
451d9b |
rm ${RPM_BUILD_ROOT}%{_usr}/share/selinux/%1/$file; \
|
|
Daniel J Walsh |
451d9b |
done; \
|
|
Daniel J Walsh |
1580c8 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/selinux/%1/booleans \
|
|
Daniel J Walsh |
1580c8 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/selinux/config \
|
|
Daniel J Walsh |
1580c8 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/selinux/%1/seusers \
|
|
Daniel J Walsh |
7c94e8 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/selinux/%1/policy/policy.%{POLICYVER} \
|
|
Daniel J Walsh |
1580c8 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/selinux/%1/contexts/files/file_contexts \
|
|
Daniel J Walsh |
1580c8 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/selinux/%1/contexts/files/homedir_template \
|
|
Daniel J Walsh |
3e930b |
touch $RPM_BUILD_ROOT%{_sysconfdir}/selinux/%1/contexts/files/file_contexts.homedirs \
|
|
Daniel J Walsh |
3e930b |
install -m0644 ${RPM_SOURCE_DIR}/seusers-%1 ${RPM_BUILD_ROOT}%{_sysconfdir}/selinux/%1/modules/active/seusers \
|
|
Daniel J Walsh |
3e930b |
install -m0644 ${RPM_SOURCE_DIR}/setrans-%1.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/selinux/%1/setrans.conf \
|
|
Daniel J Walsh |
3e930b |
%nil
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1580c8 |
%define fileList() \
|
|
Daniel J Walsh |
1580c8 |
%defattr(-,root,root) \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_usr}/share/selinux \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_usr}/share/selinux/%1 \
|
|
Daniel J Walsh |
315b4a |
%{_usr}/share/selinux/%1/base.pp \
|
|
Daniel J Walsh |
315b4a |
%{_usr}/share/selinux/%1/enableaudit.pp \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_sysconfdir}/selinux \
|
|
Daniel J Walsh |
1580c8 |
%ghost %config(noreplace) %{_sysconfdir}/selinux/config \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_sysconfdir}/selinux/%1 \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/setrans.conf \
|
|
Daniel J Walsh |
1580c8 |
%ghost %{_sysconfdir}/selinux/%1/seusers \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_sysconfdir}/selinux/%1/modules \
|
|
Daniel J Walsh |
21dea1 |
%attr(700,root,root) %dir %{_sysconfdir}/selinux/%1/modules/active \
|
|
Daniel J Walsh |
21dea1 |
%verify(not md5 size mtime) %attr(600,root,root) %config(noreplace) %{_sysconfdir}/selinux/%1/modules/active/seusers \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_sysconfdir}/selinux/%1/policy/ \
|
|
Daniel J Walsh |
7c94e8 |
%ghost %{_sysconfdir}/selinux/%1/policy/policy.* \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_sysconfdir}/selinux/%1/contexts \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/customizable_types \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/dbus_contexts \
|
|
Daniel J Walsh |
7c94e8 |
%config %{_sysconfdir}/selinux/%1/contexts/default_contexts \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/default_type \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/failsafe_context \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/initrc_context \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/removable_context \
|
|
Daniel J Walsh |
1580c8 |
%config(noreplace) %{_sysconfdir}/selinux/%1/contexts/userhelper_context \
|
|
Daniel J Walsh |
1580c8 |
%dir %{_sysconfdir}/selinux/%1/contexts/files \
|
|
Daniel J Walsh |
a08ba8 |
%ghost %{_sysconfdir}/selinux/%1/contexts/files/file_contexts \
|
|
Daniel J Walsh |
a08ba8 |
%ghost %{_sysconfdir}/selinux/%1/contexts/files/homedir_template \
|
|
Daniel J Walsh |
a08ba8 |
%ghost %{_sysconfdir}/selinux/%1/contexts/files/file_contexts.homedirs \
|
|
Daniel J Walsh |
1580c8 |
%config %{_sysconfdir}/selinux/%1/contexts/files/media
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1580c8 |
%define saveFileContext() \
|
|
Daniel J Walsh |
bd7e86 |
if [ -s /etc/selinux/config ]; then \
|
|
Daniel J Walsh |
bd7e86 |
. %{_sysconfdir}/selinux/config; \
|
|
Daniel J Walsh |
bd7e86 |
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
|
Daniel J Walsh |
bd7e86 |
if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT} ]; then \
|
|
Daniel J Walsh |
bd7e86 |
cp -f ${FILE_CONTEXT} ${FILE_CONTEXT}.pre; \
|
|
Daniel J Walsh |
bd7e86 |
fi \
|
|
Daniel J Walsh |
bd7e86 |
fi
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1580c8 |
%define rebuildpolicy() \
|
|
Daniel J Walsh |
1580c8 |
semodule -b /usr/share/selinux/%1/base.pp -s %1 \
|
|
Daniel J Walsh |
120d3b |
for file in $(ls /usr/share/selinux/%1 | grep -v -e base.pp -e enableaudit.pp ) \
|
|
Daniel J Walsh |
1580c8 |
do \
|
|
Daniel J Walsh |
1580c8 |
semodule -i /usr/share/selinux/%1/$file -s %1;\
|
|
Daniel J Walsh |
598be1 |
done; \
|
|
Daniel J Walsh |
598be1 |
rm -f %{_sysconfdir}/selinux/%1/policy/policy.*.rpmnew
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1580c8 |
%define relabel() \
|
|
Daniel J Walsh |
1580c8 |
. %{_sysconfdir}/selinux/config; \
|
|
Daniel J Walsh |
1580c8 |
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
|
Daniel J Walsh |
1580c8 |
if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT}.pre ]; then \
|
|
Daniel J Walsh |
1580c8 |
fixfiles -C ${FILE_CONTEXT}.pre restore; \
|
|
Daniel J Walsh |
1580c8 |
rm -f ${FILE_CONTEXT}.pre; \
|
|
Daniel J Walsh |
1580c8 |
fi;
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1580c8 |
%description
|
|
Daniel J Walsh |
1580c8 |
SELinux Reference Policy - modular.
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
3e930b |
%prep
|
|
Daniel J Walsh |
1580c8 |
%setup -q -n serefpolicy-%{version}
|
|
Daniel J Walsh |
3e930b |
%patch0 -p1
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
1580c8 |
%install
|
|
Daniel J Walsh |
e56873 |
# Build targeted policy
|
|
Daniel J Walsh |
3e930b |
make conf
|
|
Daniel J Walsh |
1580c8 |
%{__rm} -fR $RPM_BUILD_ROOT
|
|
Daniel J Walsh |
1335ee |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
Daniel J Walsh |
1335ee |
install -m 644 man/man8/*.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
Daniel J Walsh |
1335ee |
|
|
Daniel J Walsh |
504da9 |
%installCmds targeted targeted-mcs %{direct_initrc}
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
e56873 |
# Build mls policy
|
|
Daniel J Walsh |
3e930b |
make clean
|
|
Daniel J Walsh |
3e930b |
make conf
|
|
Daniel J Walsh |
504da9 |
%installCmds mls strict-mls n
|
|
Daniel J Walsh |
d77f56 |
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
d77f56 |
# Build strict policy
|
|
Daniel J Walsh |
d77f56 |
# Commented out because only targeted ref policy currently builds
|
|
Daniel J Walsh |
d77f56 |
# make clean
|
|
Daniel J Walsh |
d77f56 |
# make conf
|
|
Daniel J Walsh |
504da9 |
#%#installCmds strict strict-mcs %{direct_initrc}
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
1580c8 |
%clean
|
|
Daniel J Walsh |
1580c8 |
%{__rm} -fR $RPM_BUILD_ROOT
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
504da9 |
%files targeted
|
|
Daniel J Walsh |
504da9 |
%fileList targeted
|
|
Nalin Dahyabhai |
af6090 |
|
|
Daniel J Walsh |
504da9 |
%pre targeted
|
|
Daniel J Walsh |
504da9 |
%saveFileContext targeted
|
|
Nalin Dahyabhai |
af6090 |
|
|
Daniel J Walsh |
504da9 |
%post targeted
|
|
Nalin Dahyabhai |
af6090 |
if [ ! -s /etc/selinux/config ]; then
|
|
Nalin Dahyabhai |
af6090 |
#
|
|
Nalin Dahyabhai |
af6090 |
# New install so we will default to targeted policy
|
|
Nalin Dahyabhai |
af6090 |
#
|
|
Nalin Dahyabhai |
af6090 |
echo "
|
|
Nalin Dahyabhai |
af6090 |
# This file controls the state of SELinux on the system.
|
|
Nalin Dahyabhai |
af6090 |
# SELINUX= can take one of these three values:
|
|
Nalin Dahyabhai |
af6090 |
# enforcing - SELinux security policy is enforced.
|
|
Nalin Dahyabhai |
af6090 |
# permissive - SELinux prints warnings instead of enforcing.
|
|
Nalin Dahyabhai |
af6090 |
# disabled - No SELinux policy is loaded.
|
|
Nalin Dahyabhai |
af6090 |
SELINUX=enforcing
|
|
Nalin Dahyabhai |
af6090 |
# SELINUXTYPE= can take one of these two values:
|
|
Nalin Dahyabhai |
af6090 |
# targeted - Only targeted network daemons are protected.
|
|
Nalin Dahyabhai |
af6090 |
# strict - Full SELinux protection.
|
|
Nalin Dahyabhai |
af6090 |
# mls - Multi Level Security protection.
|
|
Nalin Dahyabhai |
af6090 |
SELINUXTYPE=targeted
|
|
Nalin Dahyabhai |
af6090 |
# SETLOCALDEFS= Check local definition changes
|
|
Nalin Dahyabhai |
af6090 |
SETLOCALDEFS=0
|
|
Nalin Dahyabhai |
af6090 |
|
|
Nalin Dahyabhai |
af6090 |
" > /etc/selinux/config
|
|
Nalin Dahyabhai |
af6090 |
|
|
Nalin Dahyabhai |
af6090 |
ln -sf /etc/selinux/config /etc/sysconfig/selinux
|
|
Nalin Dahyabhai |
af6090 |
restorecon /etc/selinux/config 2> /dev/null
|
|
Nalin Dahyabhai |
af6090 |
else
|
|
Nalin Dahyabhai |
af6090 |
# if first time update booleans.local needs to be copied to sandbox
|
|
Daniel J Walsh |
504da9 |
[ -f /etc/selinux/targeted/booleans.local ] && mv /etc/selinux/targeted/booleans.local /etc/selinux/targeted/modules/active/
|
|
Daniel J Walsh |
504da9 |
[ -f /etc/selinux/targeted/seusers ] && cp -f /etc/selinux/targeted/seusers /etc/selinux/targeted/modules/active/seusers
|
|
Nalin Dahyabhai |
af6090 |
grep -q "^SETLOCALDEFS" /etc/selinux/config || echo -n "
|
|
Nalin Dahyabhai |
af6090 |
# SETLOCALDEFS= Check local definition changes
|
|
Nalin Dahyabhai |
af6090 |
SETLOCALDEFS=0
|
|
Nalin Dahyabhai |
af6090 |
">> /etc/selinux/config
|
|
Nalin Dahyabhai |
af6090 |
fi
|
|
Daniel J Walsh |
504da9 |
%rebuildpolicy targeted
|
|
Daniel J Walsh |
504da9 |
%relabel targeted
|
|
Nalin Dahyabhai |
af6090 |
|
|
Daniel J Walsh |
504da9 |
%triggerpostun targeted -- selinux-policy-targeted <= 2.0.7
|
|
Daniel J Walsh |
504da9 |
%rebuildpolicy targeted
|
|
Nalin Dahyabhai |
af6090 |
|
|
Daniel J Walsh |
504da9 |
%package mls
|
|
Daniel J Walsh |
504da9 |
Summary: SELinux mls base policy
|
|
Daniel J Walsh |
1580c8 |
Group: System Environment/Base
|
|
Daniel J Walsh |
1580c8 |
Provides: selinux-policy-base
|
|
Daniel J Walsh |
504da9 |
Obsoletes: selinux-policy-mls-sources
|
|
Jeremy Katz |
eb190f |
Prereq: policycoreutils >= %{POLICYCOREUTILSVER}
|
|
Jeremy Katz |
eb190f |
Prereq: coreutils
|
|
Daniel J Walsh |
a736f9 |
Prereq: selinux-policy = %{version}-%{release}
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
504da9 |
%description mls
|
|
Daniel J Walsh |
504da9 |
SELinux Reference policy mls base module.
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
504da9 |
%pre mls
|
|
Daniel J Walsh |
504da9 |
%saveFileContext mls
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
504da9 |
%post mls
|
|
Daniel J Walsh |
504da9 |
%rebuildpolicy mls
|
|
Daniel J Walsh |
504da9 |
%relabel mls
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
504da9 |
%triggerpostun mls -- mls <= 2.0.7
|
|
Daniel J Walsh |
504da9 |
%{rebuildpolicy} mls
|
|
Daniel J Walsh |
1580c8 |
|
|
Daniel J Walsh |
504da9 |
%files mls
|
|
Daniel J Walsh |
504da9 |
%fileList mls
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
d77f56 |
%if 0
|
|
Daniel J Walsh |
504da9 |
%package strict
|
|
Daniel J Walsh |
504da9 |
Summary: SELinux strict base policy
|
|
Daniel J Walsh |
3e930b |
Group: System Environment/Base
|
|
Daniel J Walsh |
3e930b |
Provides: selinux-policy-base
|
|
Daniel J Walsh |
504da9 |
Obsoletes: selinux-policy-strict-sources
|
|
Jeremy Katz |
eb190f |
Prereq: policycoreutils >= %{POLICYCOREUTILSVER}
|
|
Jeremy Katz |
eb190f |
Prereq: coreutils
|
|
Daniel J Walsh |
a736f9 |
Prereq: selinux-policy = %{version}-%{release}
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
504da9 |
%description strict
|
|
Daniel J Walsh |
504da9 |
SELinux Reference policy strict base module.
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
504da9 |
%pre strict
|
|
Daniel J Walsh |
504da9 |
%saveFileContext strict
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
504da9 |
%post strict
|
|
Daniel J Walsh |
504da9 |
%rebuildpolicy strict
|
|
Daniel J Walsh |
504da9 |
%relabel strict
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
504da9 |
%triggerpostun strict -- strict <= 2.0.7
|
|
Daniel J Walsh |
504da9 |
%{rebuildpolicy} strict
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
504da9 |
%files strict
|
|
Daniel J Walsh |
504da9 |
%fileList strict
|
|
Daniel J Walsh |
d4da53 |
|
|
Daniel J Walsh |
d77f56 |
%endif
|
|
Daniel J Walsh |
3e930b |
|
|
Daniel J Walsh |
1580c8 |
%changelog
|
|
Daniel J Walsh |
7ba8b0 |
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 2.1.10-1
|
|
Daniel J Walsh |
7ba8b0 |
- Update to upstream
|
|
Daniel J Walsh |
7ba8b0 |
|
|
Jeremy Katz |
b9b2d8 |
* Wed Jan 11 2006 Jeremy Katz <katzj@redhat.com> - 2.1.9-2
|
|
Jeremy Katz |
b9b2d8 |
- fix pup transitions (#177262)
|
|
Jeremy Katz |
b9b2d8 |
- fix xen disks (#177599)
|
|
Jeremy Katz |
b9b2d8 |
|
|
Daniel J Walsh |
640128 |
* Tue Jan 10 2006 Dan Walsh <dwalsh@redhat.com> 2.1.9-1
|
|
Daniel J Walsh |
640128 |
- Update to upstream
|
|
Daniel J Walsh |
640128 |
|
|
Daniel J Walsh |
ef1477 |
* Tue Jan 10 2006 Dan Walsh <dwalsh@redhat.com> 2.1.8-3
|
|
Daniel J Walsh |
ef1477 |
- More Fixes for hal and readahead
|
|
Daniel J Walsh |
ef1477 |
|
|
Daniel J Walsh |
e485f5 |
* Mon Jan 9 2006 Dan Walsh <dwalsh@redhat.com> 2.1.8-2
|
|
Daniel J Walsh |
e485f5 |
- Fixes for hal and readahead
|
|
Daniel J Walsh |
e485f5 |
|
|
Daniel J Walsh |
26e33d |
* Mon Jan 9 2006 Dan Walsh <dwalsh@redhat.com> 2.1.8-1
|
|
Daniel J Walsh |
26e33d |
- Update to upstream
|
|
Daniel J Walsh |
e485f5 |
- Apply
|
|
Daniel J Walsh |
26e33d |
* Fri Jan 7 2006 Dan Walsh <dwalsh@redhat.com> 2.1.7-4
|
|
Daniel J Walsh |
26e33d |
- Add wine and fix hal problems
|
|
Daniel J Walsh |
26e33d |
|
|
Daniel J Walsh |
26e33d |
* Thu Jan 6 2006 Dan Walsh <dwalsh@redhat.com> 2.1.7-3
|
|
Daniel J Walsh |
451d9b |
- Handle new location of hal scripts
|
|
Daniel J Walsh |
451d9b |
|
|
Daniel J Walsh |
008885 |
* Thu Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 2.1.7-2
|
|
Daniel J Walsh |
008885 |
- Allow su to read /etc/mtab
|
|
Daniel J Walsh |
008885 |
|
|
Daniel J Walsh |
a736f9 |
* Wed Jan 4 2006 Dan Walsh <dwalsh@redhat.com> 2.1.7-1
|
|
Daniel J Walsh |
a736f9 |
- Update to upstream
|
|
Daniel J Walsh |
a736f9 |
|
|
Daniel J Walsh |
120d3b |
* Tue Jan 3 2006 Dan Walsh <dwalsh@redhat.com> 2.1.6-24
|
|
Daniel J Walsh |
120d3b |
- Fix "libsemanage.parse_module_headers: Data did not represent a module." problem
|
|
Daniel J Walsh |
120d3b |
|
|
Daniel J Walsh |
ce66f5 |
* Tue Jan 3 2006 Dan Walsh <dwalsh@redhat.com> 2.1.6-23
|
|
Daniel J Walsh |
ce66f5 |
- Allow load_policy to read /etc/mtab
|
|
Daniel J Walsh |
ce66f5 |
|
|
Daniel J Walsh |
1f3122 |
* Mon Jan 2 2006 Dan Walsh <dwalsh@redhat.com> 2.1.6-22
|
|
Daniel J Walsh |
1f3122 |
- Fix dovecot to allow dovecot_auth to look at /tmp
|
|
Daniel J Walsh |
1f3122 |
|
|
Daniel J Walsh |
d7b05b |
* Mon Jan 2 2006 Dan Walsh <dwalsh@redhat.com> 2.1.6-21
|
|
Daniel J Walsh |
d7b05b |
- Allow restorecon to read unlabeled_t directories in order to fix labeling.
|
|
Daniel J Walsh |
d7b05b |
|
|
Daniel J Walsh |
3607aa |
* Fri Dec 30 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-20
|
|
Daniel J Walsh |
a08ba8 |
- Add Logwatch policy
|
|
Daniel J Walsh |
a08ba8 |
|
|
Daniel J Walsh |
798572 |
* Wed Dec 28 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-18
|
|
Daniel J Walsh |
798572 |
- Fix /dev/ub[a-z] file context
|
|
Daniel J Walsh |
798572 |
|
|
Daniel J Walsh |
9f7b03 |
* Tue Dec 27 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-17
|
|
Daniel J Walsh |
9f7b03 |
- Fix library specification
|
|
Daniel J Walsh |
9f7b03 |
- Give kudzu execmem privs
|
|
Daniel J Walsh |
9f7b03 |
|
|
Daniel J Walsh |
596229 |
* Thu Dec 22 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-16
|
|
Daniel J Walsh |
596229 |
- Fix hostname in targeted policy
|
|
Daniel J Walsh |
596229 |
|
|
Daniel J Walsh |
5a47e6 |
* Wed Dec 21 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-15
|
|
Daniel J Walsh |
5a47e6 |
- Fix passwd command on mls
|
|
Daniel J Walsh |
5a47e6 |
|
|
Daniel J Walsh |
71ee99 |
* Wed Dec 21 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-14
|
|
Daniel J Walsh |
71ee99 |
- Lots of fixes to make mls policy work
|
|
Daniel J Walsh |
71ee99 |
|
|
Daniel J Walsh |
6e9ee7 |
* Tue Dec 20 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-13
|
|
Daniel J Walsh |
9d20b2 |
- Add dri libs to textrel_shlib_t
|
|
Daniel J Walsh |
6e9ee7 |
- Add system_r role for java
|
|
Daniel J Walsh |
6e9ee7 |
- Add unconfined_exec_t for vncserver
|
|
Daniel J Walsh |
6e9ee7 |
- Allow slapd to use kerberos
|
|
Daniel J Walsh |
9d20b2 |
|
|
Daniel J Walsh |
1335ee |
* Mon Dec 19 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-11
|
|
Daniel J Walsh |
1335ee |
- Add man pages
|
|
Daniel J Walsh |
1335ee |
|
|
Daniel J Walsh |
1335ee |
* Fri Dec 16 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-10
|
|
Daniel J Walsh |
315b4a |
- Add enableaudit.pp
|
|
Daniel J Walsh |
315b4a |
|
|
Daniel J Walsh |
1335ee |
* Fri Dec 16 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-9
|
|
Daniel J Walsh |
105bbf |
- Fix mls policy
|
|
Daniel J Walsh |
105bbf |
|
|
Daniel J Walsh |
1335ee |
* Fri Dec 16 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-8
|
|
Daniel J Walsh |
0c9f87 |
- Update mls file from old version
|
|
Daniel J Walsh |
0c9f87 |
|
|
Daniel J Walsh |
1335ee |
* Thu Dec 15 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-5
|
|
Daniel J Walsh |
dce316 |
- Add sids back in
|
|
Daniel J Walsh |
dce316 |
- Rebuild with update checkpolicy
|
|
Daniel J Walsh |
dce316 |
|
|
Daniel J Walsh |
1335ee |
* Thu Dec 15 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-4
|
|
Daniel J Walsh |
9ce97a |
- Fixes to allow automount to use portmap
|
|
Daniel J Walsh |
9ce97a |
- Fixes to start kernel in s0-s15:c0.c255
|
|
Daniel J Walsh |
9ce97a |
|
|
Daniel J Walsh |
1335ee |
* Wed Dec 14 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-3
|
|
Daniel J Walsh |
1c8602 |
- Add java unconfined/execmem policy
|
|
Daniel J Walsh |
1c8602 |
|
|
Daniel J Walsh |
1335ee |
* Wed Dec 14 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-2
|
|
Daniel J Walsh |
1f0075 |
- Add file context for /var/cvs
|
|
Daniel J Walsh |
1f0075 |
- Dontaudit webalizer search of homedir
|
|
Daniel J Walsh |
1f0075 |
|
|
Daniel J Walsh |
1335ee |
* Tue Dec 13 2005 Dan Walsh <dwalsh@redhat.com> 2.1.6-1
|
|
Daniel J Walsh |
504da9 |
- Update from upstream
|
|
Daniel J Walsh |
504da9 |
|
|
Daniel J Walsh |
504da9 |
* Tue Dec 13 2005 Dan Walsh <dwalsh@redhat.com> 2.1.4-2
|
|
Daniel J Walsh |
504da9 |
- Clean up spec
|
|
Daniel J Walsh |
504da9 |
- range_transition crond to SystemHigh
|
|
Daniel J Walsh |
504da9 |
|
|
Daniel J Walsh |
e24a8b |
* Mon Dec 12 2005 Dan Walsh <dwalsh@redhat.com> 2.1.4-1
|
|
Daniel J Walsh |
1ff14a |
- Fixes for hal
|
|
Daniel J Walsh |
e24a8b |
- Update to upstream
|
|
Daniel J Walsh |
1ff14a |
|
|
Daniel J Walsh |
afa8a2 |
* Mon Dec 12 2005 Dan Walsh <dwalsh@redhat.com> 2.1.3-1
|
|
Daniel J Walsh |
d8566e |
- Turn back on execmem since we need it for java, firefox, ooffice
|
|
Daniel J Walsh |
57c18f |
- Allow gpm to stream socket to itself
|
|
Daniel J Walsh |
57c18f |
|
|
Jeremy Katz |
eb190f |
* Mon Dec 12 2005 Jeremy Katz <katzj@redhat.com> - 2.1.2-3
|
|
Jeremy Katz |
eb190f |
- fix requirements to be on the actual packages so that policy can get
|
|
Jeremy Katz |
eb190f |
created properly at install time
|
|
Jeremy Katz |
eb190f |
|
|
Daniel J Walsh |
9e85a8 |
* Sun Dec 10 2005 Dan Walsh <dwalsh@redhat.com> 2.1.2-2
|
|
Daniel J Walsh |
9e85a8 |
- Allow unconfined_t to execmod texrel_shlib_t
|
|
Daniel J Walsh |
9e85a8 |
|
|
Daniel J Walsh |
d4da53 |
* Sat Dec 9 2005 Dan Walsh <dwalsh@redhat.com> 2.1.2-1
|
|
Daniel J Walsh |
d4da53 |
- Update to upstream
|
|
Daniel J Walsh |
d4da53 |
- Turn off allow_execmem and allow_execmod booleans
|
|
Daniel J Walsh |
d4da53 |
- Add tcpd and automount policies
|
|
Daniel J Walsh |
d4da53 |
|
|
Daniel J Walsh |
e1ccb6 |
* Fri Dec 8 2005 Dan Walsh <dwalsh@redhat.com> 2.1.1-3
|
|
Daniel J Walsh |
e1ccb6 |
- Add two new httpd booleans, turned off by default
|
|
Daniel J Walsh |
e1ccb6 |
* httpd_can_network_relay
|
|
Daniel J Walsh |
e1ccb6 |
* httpd_can_network_connect_db
|
|
Daniel J Walsh |
e1ccb6 |
|
|
Daniel J Walsh |
7c94e8 |
* Fri Dec 8 2005 Dan Walsh <dwalsh@redhat.com> 2.1.1-2
|
|
Daniel J Walsh |
7c94e8 |
- Add ghost for policy.20
|
|
Daniel J Walsh |
7c94e8 |
|
|
Daniel J Walsh |
6f5a3b |
* Thu Dec 8 2005 Dan Walsh <dwalsh@redhat.com> 2.1.1-1
|
|
Daniel J Walsh |
6f5a3b |
- Update to upstream
|
|
Daniel J Walsh |
6f5a3b |
- Turn off boolean allow_execstack
|
|
Daniel J Walsh |
6f5a3b |
|
|
Daniel J Walsh |
c6c498 |
* Thu Dec 8 2005 Dan Walsh <dwalsh@redhat.com> 2.1.0-3
|
|
Daniel J Walsh |
c6c498 |
- Change setrans-mls to use new libsetrans
|
|
Daniel J Walsh |
c6c498 |
- Add default_context rule for xdm
|
|
Daniel J Walsh |
c6c498 |
|
|
Daniel J Walsh |
12e089 |
* Thu Dec 8 2005 Dan Walsh <dwalsh@redhat.com> 2.1.0-2.
|
|
Daniel J Walsh |
12e089 |
- Change Requires to PreReg for requiring of policycoreutils on install
|
|
Daniel J Walsh |
12e089 |
|
|
Daniel J Walsh |
12e089 |
* Wed Dec 7 2005 Dan Walsh <dwalsh@redhat.com> 2.1.0-1.
|
|
Daniel J Walsh |
12e089 |
- New upstream release
|
|
Daniel J Walsh |
12e089 |
|
|
Daniel J Walsh |
97bd2a |
* Wed Dec 7 2005 Dan Walsh <dwalsh@redhat.com> 2.0.11-2.
|
|
Daniel J Walsh |
97bd2a |
Add xdm policy
|
|
Daniel J Walsh |
97bd2a |
|
|
Daniel J Walsh |
46a906 |
* Tue Dec 6 2005 Dan Walsh <dwalsh@redhat.com> 2.0.11-1.
|
|
Daniel J Walsh |
46a906 |
Update from upstream
|
|
Daniel J Walsh |
46a906 |
|
|
Daniel J Walsh |
475186 |
* Fri Dec 2 2005 Dan Walsh <dwalsh@redhat.com> 2.0.9-1.
|
|
Daniel J Walsh |
475186 |
Update from upstream
|
|
Daniel J Walsh |
475186 |
|
|
Daniel J Walsh |
caeef1 |
* Fri Dec 2 2005 Dan Walsh <dwalsh@redhat.com> 2.0.8-1.
|
|
Daniel J Walsh |
caeef1 |
Update from upstream
|
|
Daniel J Walsh |
caeef1 |
|
|
Nalin Dahyabhai |
2b2203 |
* Fri Dec 2 2005 Dan Walsh <dwalsh@redhat.com> 2.0.7-3
|
|
Nalin Dahyabhai |
2b2203 |
- Also trigger to rebuild policy for versions up to 2.0.7.
|
|
Nalin Dahyabhai |
2b2203 |
|
|
Nalin Dahyabhai |
2b2203 |
* Tue Nov 29 2005 Dan Walsh <dwalsh@redhat.com> 2.0.7-2
|
|
Daniel J Walsh |
28930b |
- No longer installing policy.20 file, anaconda handles the building of the app.
|
|
Daniel J Walsh |
28930b |
|
|
Nalin Dahyabhai |
2b2203 |
* Tue Nov 29 2005 Dan Walsh <dwalsh@redhat.com> 2.0.6-2
|
|
Daniel J Walsh |
4199dc |
- Fixes for dovecot and saslauthd
|
|
Daniel J Walsh |
4199dc |
|
|
Nalin Dahyabhai |
2b2203 |
* Wed Nov 23 2005 Dan Walsh <dwalsh@redhat.com> 2.0.5-4
|
|
Daniel J Walsh |
21dea1 |
- Cleanup pegasus and named
|
|
Daniel J Walsh |
21dea1 |
- Fix spec file
|
|
Daniel J Walsh |
c1b022 |
- Fix up passwd changing applications
|
|
Daniel J Walsh |
21dea1 |
|
|
Nalin Dahyabhai |
2b2203 |
* Tue Nov 21 2005 Dan Walsh <dwalsh@redhat.com> 2.0.5-1
|
|
Daniel J Walsh |
e38dc4 |
-Update to latest from upstream
|
|
Daniel J Walsh |
e38dc4 |
|
|
Nalin Dahyabhai |
2b2203 |
* Tue Nov 21 2005 Dan Walsh <dwalsh@redhat.com> 2.0.4-1
|
|
Daniel J Walsh |
765f81 |
- Add rules for pegasus and avahi
|
|
Daniel J Walsh |
765f81 |
|
|
Nalin Dahyabhai |
2b2203 |
* Mon Nov 21 2005 Dan Walsh <dwalsh@redhat.com> 2.0.2-2
|
|
Daniel J Walsh |
a32f66 |
- Start building MLS Policy
|
|
Daniel J Walsh |
a32f66 |
|
|
Nalin Dahyabhai |
2b2203 |
* Fri Nov 18 2005 Dan Walsh <dwalsh@redhat.com> 2.0.2-1
|
|
Daniel J Walsh |
1a0a25 |
- Update to upstream
|
|
Daniel J Walsh |
1a0a25 |
|
|
Nalin Dahyabhai |
2b2203 |
* Wed Nov 9 2005 Dan Walsh <dwalsh@redhat.com> 2.0.1-2
|
|
Daniel J Walsh |
205d3f |
- Turn on bash
|
|
Daniel J Walsh |
205d3f |
|
|
Nalin Dahyabhai |
2b2203 |
* Wed Nov 9 2005 Dan Walsh <dwalsh@redhat.com> 2.0.1-1
|
|
Daniel J Walsh |
1580c8 |
- Initial version
|