Accepting request 33443 from home:jengelh:dns
Copy from home:jengelh:dns/bind via accept of submit request 33443 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/33443 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
5277489d15
commit
cb8f633ea0
11
bind.spec
11
bind.spec
@@ -21,7 +21,7 @@
|
||||
Name: bind
|
||||
%define pkg_name bind
|
||||
%define pkg_vers 9.7.0
|
||||
#BuildRequires: openldap2 openldap2-devel
|
||||
BuildRequires: openldap2-devel
|
||||
BuildRequires: libcap libcap-devel libmysqlclient-devel libxml2-devel openssl openssl-devel
|
||||
Summary: Domain Name System (DNS) Server (named)
|
||||
Version: 9.7.0
|
||||
@@ -45,6 +45,8 @@ Patch2: pid-path.diff
|
||||
Patch4: perl-path.diff
|
||||
Patch51: pie_compile.diff
|
||||
Patch52: named-bootconf.diff
|
||||
Patch60: dlz-dollarvar.patch
|
||||
Source60: dlz-schema.txt
|
||||
%if %ul_version >= 1
|
||||
%define VENDOR UL
|
||||
%else
|
||||
@@ -221,6 +223,7 @@ Authors:
|
||||
%endif
|
||||
%patch52
|
||||
#%patch53
|
||||
%patch -P 60 -p1
|
||||
# modify settings of some files regarding to OS version and vendor
|
||||
function replaceStrings()
|
||||
{
|
||||
@@ -278,10 +281,10 @@ CONFIGURE_OPTIONS="\
|
||||
--with-libtool \
|
||||
--enable-runidn \
|
||||
--with-libxml2 \
|
||||
--with-dlz-mysql
|
||||
--with-dlz-mysql --with-dlz-ldap
|
||||
"
|
||||
./configure ${CONFIGURE_OPTIONS}
|
||||
%{__make} %{?jobs:-j%jobs};
|
||||
%{__make} %{?_smp_mflags}
|
||||
pushd contrib/idn/idnkit-1.0-src
|
||||
./configure ${CONFIGURE_OPTIONS}
|
||||
%{__make} %{?jobs:-j%jobs};
|
||||
@@ -341,6 +344,7 @@ install -m 0754 vendor-files/tools/createNamedConfInclude ${RPM_BUILD_ROOT}/%{_d
|
||||
install -m 0755 vendor-files/tools/bind.genDDNSkey ${RPM_BUILD_ROOT}/%{_bindir}/genDDNSkey
|
||||
cp -a vendor-files/docu/BIND.desktop ${RPM_BUILD_ROOT}/%{_datadir}/susehelp/meta/Administration/System
|
||||
cp -p ${RPM_SOURCE_DIR}/dnszone-schema.txt ${RPM_BUILD_ROOT}/%{_sysconfdir}/openldap/schema/dnszone.schema
|
||||
cp -p "%{S:60}" "${RPM_BUILD_ROOT}/%{_sysconfdir}/openldap/schema/dlz.schema"
|
||||
install -m 0754 vendor-files/tools/ldapdump ${RPM_BUILD_ROOT}/%{_datadir}/bind
|
||||
find ${RPM_BUILD_ROOT}/%{_libdir} -type f -name '*.so*' -print0 | xargs -0 chmod 0755
|
||||
touch ${RPM_BUILD_ROOT}/var/lib/named/etc/{localtime,named.conf.include,named.d/rndc.access.conf}
|
||||
@@ -679,6 +683,7 @@ fi
|
||||
%dir %{_sysconfdir}/openldap
|
||||
%dir %{_sysconfdir}/openldap/schema
|
||||
%attr(0444,root,root) %config %{_sysconfdir}/openldap/schema/dnszone.schema
|
||||
%attr(0444,root,root) %config %{_sysconfdir}/openldap/schema/dlz.schema
|
||||
%{_bindir}/dig
|
||||
%{_bindir}/host
|
||||
%{_bindir}/idnconv
|
||||
|
Reference in New Issue
Block a user