SHA256
1
0
forked from pool/bind

Accepting request 248826 from network

1

OBS-URL: https://build.opensuse.org/request/show/248826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bind?expand=0&rev=101
This commit is contained in:
Stephan Kulow 2014-09-15 15:40:38 +00:00 committed by Git OBS Bridge
commit dbf68b7a71
2 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Sep 8 21:10:50 UTC 2014 - werner@suse.de
- Require systemd-rpm-macros at build
-------------------------------------------------------------------
Mon Sep 8 14:00:01 UTC 2014 - werner@suse.de
- Use the systemd service macros to make sure init scripts are
registered properly (bnc#894627)
-------------------------------------------------------------------
Wed Sep 3 11:38:47 UTC 2014 - max@suse.com
- Version 9.9.5P1 also fixes a problem with zone transfers on
multicore machines (bnc#882511).
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 31 21:40:49 UTC 2014 - lmuelle@suse.com Thu Jul 31 21:40:49 UTC 2014 - lmuelle@suse.com

View File

@ -409,9 +409,11 @@ test -d ${TEMP_DIR} || \
test -e ${TEMP_SYSCONFIG_FILE} && \ test -e ${TEMP_SYSCONFIG_FILE} && \
old ${TEMP_SYSCONFIG_FILE} old ${TEMP_SYSCONFIG_FILE}
echo "NAMED_RUN_CHROOTED=\"${NAMED_RUN_CHROOTED}\"" >${TEMP_SYSCONFIG_FILE} echo "NAMED_RUN_CHROOTED=\"${NAMED_RUN_CHROOTED}\"" >${TEMP_SYSCONFIG_FILE}
%service_add_pre named
%preun %preun
%stop_on_removal named %stop_on_removal named
%service_del_preun named
%post %post
%{fillup_and_insserv -nf named} %{fillup_and_insserv -nf named}
@ -528,10 +530,12 @@ if [ -f ${NAMED_ACTIVE_FILE} ]; then
sbin/insserv named sbin/insserv named
test ! -s ${NAMED_ACTIVE_FILE} && rm -f ${NAMED_ACTIVE_FILE} test ! -s ${NAMED_ACTIVE_FILE} && rm -f ${NAMED_ACTIVE_FILE}
fi fi
%service_add_post named
%postun %postun
%restart_on_update named %restart_on_update named
%insserv_cleanup %insserv_cleanup
%service_del_postun named
%pre chrootenv %pre chrootenv
%{GROUPADD_NAMED} %{GROUPADD_NAMED}
@ -544,6 +548,7 @@ fi
%pre lwresd %pre lwresd
%{GROUPADD_NAMED} %{GROUPADD_NAMED}
%{USERADD_NAMED} %{USERADD_NAMED}
%service_add_pre lwresd
%post lwresd %post lwresd
# Create a key if usr/sbin/rndc-confgen is installed. # Create a key if usr/sbin/rndc-confgen is installed.
@ -559,13 +564,16 @@ fi
if [ $1 -le 1 ]; then if [ $1 -le 1 ]; then
%{fillup_and_insserv -fy lwresd} %{fillup_and_insserv -fy lwresd}
fi; fi;
%service_add_post lwresd
%preun lwresd %preun lwresd
%stop_on_removal lwresd %stop_on_removal lwresd
%service_del_preun lwresd
%postun lwresd %postun lwresd
%restart_on_update lwresd %restart_on_update lwresd
%insserv_cleanup %insserv_cleanup
%service_del_postun lwresd
%post utils %post utils
/sbin/ldconfig /sbin/ldconfig