SHA256
1
0
forked from pool/bind

Accepting request 37088 from network

checked in (request 37088)

OBS-URL: https://build.opensuse.org/request/show/37088
OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=26
This commit is contained in:
OBS User autobuild
2010-04-13 19:20:43 +00:00
committed by Git OBS Bridge
parent cb8f633ea0
commit 8698661c2f
4 changed files with 3 additions and 221 deletions

View File

@@ -21,7 +21,7 @@
Name: bind
%define pkg_name bind
%define pkg_vers 9.7.0
BuildRequires: openldap2-devel
#BuildRequires: openldap2 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,8 +45,6 @@ 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
@@ -223,7 +221,6 @@ Authors:
%endif
%patch52
#%patch53
%patch -P 60 -p1
# modify settings of some files regarding to OS version and vendor
function replaceStrings()
{
@@ -281,10 +278,10 @@ CONFIGURE_OPTIONS="\
--with-libtool \
--enable-runidn \
--with-libxml2 \
--with-dlz-mysql --with-dlz-ldap
--with-dlz-mysql
"
./configure ${CONFIGURE_OPTIONS}
%{__make} %{?_smp_mflags}
%{__make} %{?jobs:-j%jobs};
pushd contrib/idn/idnkit-1.0-src
./configure ${CONFIGURE_OPTIONS}
%{__make} %{?jobs:-j%jobs};
@@ -344,7 +341,6 @@ 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}
@@ -683,7 +679,6 @@ 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