- Add the sdb-ldap backend module (fate#313216).
- Details can be found here: * http://bind9-ldap.bayour.com/ * http://bind9-ldap.bayour.com/dnszonehowto.html OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=136
This commit is contained in:
11
bind.spec
11
bind.spec
@@ -58,6 +58,7 @@ Patch2: pid-path.diff
|
||||
Patch4: perl-path.diff
|
||||
Patch51: pie_compile.diff
|
||||
Patch52: named-bootconf.diff
|
||||
Patch53: bind-sdb-ldap.patch
|
||||
Patch100: configure.in.diff2
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: gpg-offline
|
||||
@@ -206,6 +207,7 @@ Name Domain (BIND) DNS server is found in the package named bind.
|
||||
%patch51
|
||||
%endif
|
||||
%patch52
|
||||
%patch53
|
||||
%if 0%{?suse_version} <= 1010
|
||||
%patch100 -p1
|
||||
%endif
|
||||
@@ -225,8 +227,8 @@ for file in docu/README tools/createNamedConfInclude config/{README,named.conf}
|
||||
replaceStrings ${file}
|
||||
done
|
||||
popd
|
||||
#cp bind-sdb-ldap-%{SDB_LDAP_VERSION}/ldapdb.c bin/named/
|
||||
#cp bind-sdb-ldap-%{SDB_LDAP_VERSION}/ldapdb.h bin/named/include/
|
||||
cp contrib/sdb/ldap/ldapdb.c bin/named/
|
||||
cp contrib/sdb/ldap/ldapdb.h bin/named/include/
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
%build
|
||||
@@ -268,7 +270,8 @@ CONFIGURE_OPTIONS="\
|
||||
--with-libtool \
|
||||
--enable-runidn \
|
||||
--with-libxml2 \
|
||||
--with-dlz-mysql --with-dlz-ldap \
|
||||
--with-dlz-mysql \
|
||||
--with-dlz-ldap \
|
||||
--enable-rrl
|
||||
"
|
||||
cp -f -p config.guess config.sub contrib/idn/idnkit-1.0-src/
|
||||
@@ -363,7 +366,7 @@ cp -a vendor-files/docu/README ${RPM_BUILD_ROOT}/%{_defaultdocdir}/bind/README.%
|
||||
cp -a vendor-files/docu/dnszonehowto.html contrib/sdb/ldap/
|
||||
mkdir -p vendor-files/config/ISC-examples
|
||||
cp -a bin/tests/*.conf* vendor-files/config/ISC-examples
|
||||
for file in CHANGES COPYRIGHT README FAQ version contrib doc/{arm,misc} vendor-files/config; do
|
||||
for file in CHANGES COPYRIGHT README FAQ version contrib doc/{arm,misc} vendor-files/config contrib/sdb/ldap/INSTALL.ldap; do
|
||||
basename=$( basename ${file})
|
||||
cp -a ${file} ${RPM_BUILD_ROOT}/%{_defaultdocdir}/bind/${basename}
|
||||
echo "%doc %{_defaultdocdir}/bind/${basename}" >>filelist-bind-doc
|
||||
|
Reference in New Issue
Block a user