From 9e5d8bbb274dfb030e0cdb78b0a948a2d3d7b090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Fri, 13 Jul 2018 19:41:22 +0200 Subject: [PATCH] Require bind with writable home, update to 9.11.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Menšík --- bind-dyndb-ldap.spec | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) 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