- Update to upstream

- Fix postun to only disable selinux on full removal of the packages
This commit is contained in:
Daniel J Walsh 2006-04-25 11:03:12 +00:00
parent bc0bd84686
commit bbaa1f26d1
3 changed files with 15 additions and 8 deletions

View File

@ -60,3 +60,4 @@ serefpolicy-2.2.32.tgz
serefpolicy-2.2.33.tgz serefpolicy-2.2.33.tgz
serefpolicy-2.2.34.tgz serefpolicy-2.2.34.tgz
selinux-policy-2.2.35-1.src.rpm selinux-policy-2.2.35-1.src.rpm
serefpolicy-2.2.35.tgz

View File

@ -15,8 +15,8 @@
%define CHECKPOLICYVER 1.30.1-2 %define CHECKPOLICYVER 1.30.1-2
Summary: SELinux policy configuration Summary: SELinux policy configuration
Name: selinux-policy Name: selinux-policy
Version: 2.2.34 Version: 2.2.35
Release: 3 Release: 1
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Source: serefpolicy-%{version}.tgz Source: serefpolicy-%{version}.tgz
@ -234,11 +234,13 @@ SETLOCALDEFS=0
fi fi
%postun %postun
setenforce 0 2> /dev/null if [ $1 = 0 ]; then
if [ ! -s /etc/selinux/config ]; then setenforce 0 2> /dev/null
echo "SELINUX=disabled" > /etc/selinux/config if [ ! -s /etc/selinux/config ]; then
else echo "SELINUX=disabled" > /etc/selinux/config
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config else
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
fi
fi fi
@ -330,6 +332,10 @@ ln -sf ../devel/include /usr/share/selinux/strict/include
%endif %endif
%changelog %changelog
* Mon Apr 24 2006 Dan Walsh <dwalsh@redhat.com> 2.2.35-1
- Update to upstream
- Fix postun to only disable selinux on full removal of the packages
* Fri Apr 21 2006 Dan Walsh <dwalsh@redhat.com> 2.2.34-3 * Fri Apr 21 2006 Dan Walsh <dwalsh@redhat.com> 2.2.34-3
- Allow mono to chat with unconfined - Allow mono to chat with unconfined

View File

@ -1 +1 @@
ed410c660b1006bdde6279eaf5c00e48 selinux-policy-2.2.35-1.src.rpm 103190de6de2c1ec076d4ebec1e9d758 serefpolicy-2.2.35.tgz