- Update to upstream
- Fix postun to only disable selinux on full removal of the packages
This commit is contained in:
parent
bc0bd84686
commit
bbaa1f26d1
@ -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
|
||||||
|
@ -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
|
||||||
|
if [ ! -s /etc/selinux/config ]; then
|
||||||
echo "SELINUX=disabled" > /etc/selinux/config
|
echo "SELINUX=disabled" > /etc/selinux/config
|
||||||
else
|
else
|
||||||
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user