]> git.pld-linux.org Git - packages/bind.git/blobdiff - bind.spec
- added bcond edns_cli and patch for building with the ability to use edns-client...
[packages/bind.git] / bind.spec
index e783ab7b12dae21db04f1d06036e0df04f75f616..61b2dba03f6561b5dd249ee294384fcf36c730db 100644 (file)
--- a/bind.spec
+++ b/bind.spec
@@ -9,6 +9,7 @@
 %bcond_without sql             # build without SQL support
 %bcond_without static_libs     # build without static libraries
 %bcond_without tests           # perform tests
+%bcond_with edns_cli           # build with the ability to use edns-client-subnet in dig
 %bcond_with    hip             # build with HIP RR support
 %if "%{pld_release}" == "ac"
 %bcond_with            epoll           # enable epoll support
@@ -40,7 +41,7 @@ Summary(uk.UTF-8):    BIND - cервер системи доменних імен (
 Summary(zh_CN.UTF-8):  Internet 域名服务器
 Name:          bind
 Version:       %{ver}%{pverdot}
-Release:       2
+Release:       5
 Epoch:         7
 License:       BSD-like
 Group:         Networking/Daemons
@@ -64,6 +65,8 @@ Patch0:               %{name}-time.patch
 Patch1:                %{name}-link.patch
 Patch2:                %{name}-pmake.patch
 Patch3:                %{name}-sdb-ldap.patch
+Patch4:                %{name}-ac-libs.patch
+Patch5:                %{name}-edns-client-subnet.patch
 URL:           https://www.isc.org/software/bind
 BuildRequires: autoconf
 BuildRequires: automake
@@ -356,8 +359,10 @@ Schemat BIND dla openldap.
 %patch1 -p1
 %patch2 -p1
 %{?with_ldap:%patch3 -p1}
+%patch4 -p1
 %{?with_hip:mv bind-hip/hip_55.[ch] lib/dns/rdata/generic}
 
+%{?with_edns_cli:%patch5 -p0}
 
 %build
 %{__libtoolize}
@@ -368,7 +373,7 @@ cp -f /usr/share/automake/config.* .
        CFLAGS="-D_GNU_SOURCE=1 %{rpmcppflags}" \
        --with-idn \
        --with-libtool \
-       %{?with_ssl:--with-openssl=%{_prefix}} \
+       %{?with_ssl:--with-openssl} \
        %{?with_ipv6:--enable-ipv6} \
        %{?with_kerberos5:--with-gssapi} \
        %{?with_sql:--with-dlz-postgres=yes} \
This page took 0.025055 seconds and 4 git commands to generate.