Accepting request 313681 from network

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/313681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bind?expand=0&rev=106
This commit is contained in:
Stephan Kulow 2015-07-05 15:58:14 +00:00 committed by Git OBS Bridge
commit c76dd164ae
3 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed May 13 09:35:40 UTC 2015 - hguo@suse.com
- Fix inappropriate use of /var/lib/named for locating dynamic-DB plugins.
Dynamic-DB plugins are now loaded from %{_libexecdir}/bind, consistent with
openSUSE packaging guideline.
- Install additional header files which are helpful to the development of
dynamic-DB plugins.
-------------------------------------------------------------------
Fri May 8 18:00:41 UTC 2015 - lmuelle@suse.com

View File

@ -490,13 +490,18 @@ mkdir -p \
${RPM_BUILD_ROOT}/var/adm/fillup-templates \
${RPM_BUILD_ROOT}/%{_rundir} \
${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services \
${RPM_BUILD_ROOT}%{_includedir}/bind/dns
${RPM_BUILD_ROOT}%{_includedir}/bind/dns \
${RPM_BUILD_ROOT}%{_libexecdir}/bind
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
pushd contrib/idn/idnkit-1.0-src
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
popd
# install header file for developing Dynamic DB plugin
install -m 0644 ./lib/dns/include/dns/dynamic_db.h ${RPM_BUILD_ROOT}%{_includedir}/bind/dns/
# install interface header file for developing Dynamic DB plugin
install -m 0644 lib/dns/include/dns/dynamic_db.h ${RPM_BUILD_ROOT}%{_includedir}/bind/dns/
# install errno2result.h, some dynamic DB plugins could use it.
install -m 0755 -d ${RPM_BUILD_ROOT}%{_includedir}/isc/
install -m 0644 lib/isc/unix/errno2result.h ${RPM_BUILD_ROOT}%{_includedir}/isc/
# remove useless .la files
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libidnkit.la
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libidnkitlite.la
@ -834,6 +839,7 @@ fi
%ghost %{_var}/lib/named/etc/localtime
%attr(0644,root,named) %ghost %{_var}/lib/named/etc/named.conf.include
%attr(-,named,named) %dir %{_var}/lib/named/var/run/named
%dir %{_libexecdir}/bind
%files -n idnkit
%defattr(-,root,root)
@ -920,6 +926,8 @@ fi
%files devel
%defattr(-,root,root)
%dir %{_includedir}/isc
%{_includedir}/isc/errno2result.h
%{_bindir}/isc-config.sh
%{_libdir}/libbind9.so
%{_libdir}/libdns.so

View File

@ -670,7 +670,7 @@ diff -rupN bind-9.10.1-P1-orig/lib/dns/Makefile.in bind-9.10.1-P1-patched/lib/dn
+dynamic_db.@O@: dynamic_db.c
+ ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
+ -DDYNDB_LIBDIR=\"/var/lib/named/\" \
+ -DDYNDB_LIBDIR=\"/usr/lib/bind/\" \
+ -c ${srcdir}/dynamic_db.c
+
libdns.@SA@: ${OBJS}