diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec index 7cd8192..be63d3f 100644 --- a/bind-dyndb-ldap.spec +++ b/bind-dyndb-ldap.spec @@ -1,10 +1,10 @@ %define VERSION %{version} -%define bind_version 32:9.11.1-1.P1 +%define bind_version 32:9.11.3-5 Name: bind-dyndb-ldap Version: 11.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: LDAP back-end plug-in for BIND Group: System Environment/Libraries @@ -54,15 +54,6 @@ rm -r %{buildroot}%{_datadir}/doc/%{name} %post -# SELinux boolean named_write_master_zones has to be enabled -# otherwise the plugin will not be able to write to /var/named. -# This scriptlet enables the boolean after installation or upgrade. -# SELinux is sensitive area so I want to inform user about the change. -if [ -x "/usr/sbin/setsebool" ] ; then - echo "Enabling SELinux boolean named_write_master_zones" - /usr/sbin/setsebool -P named_write_master_zones=1 || : -fi - # Transform named.conf if it still has old-style API. PLATFORM=$(uname -m) @@ -103,15 +94,6 @@ EOF sed -i.bak -e "$SEDSCRIPT" /etc/named.conf -# This scriptlet disables the boolean after uninstallation. -%postun -if [ "0$1" -eq "0" ] && [ -x "/usr/sbin/setsebool" ] ; then - echo "Disabling SELinux boolean named_write_master_zones" - /usr/sbin/setsebool -P named_write_master_zones=0 || : -fi - - - %files %doc NEWS README.md COPYING doc/{example,schema}.ldif %dir %attr(770, root, named) %{_localstatedir}/named/dyndb-ldap @@ -119,6 +101,9 @@ fi %changelog +* Tue May 22 2018 Petr Menšík - 11.1-12 +- Require bind with writable home, update to 9.11.4 + * Thu Jul 12 2018 Fedora Release Engineering - 11.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild