summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2008-06-05 20:24:21 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commite48efd2aca04b1df9a04340f892e82cd8f0ea256 (patch)
tree23ce0190540ff7d01c1c89de2d3277398f3f0ce1
parentb25b5443c202e0f47b0f7bb00706865b74bf261c (diff)
downloadbind-auto/th/bind-9_5_0-2.zip
bind-auto/th/bind-9_5_0-2.tar.gz
- rel 2; kerberos bcond; define _GNU_SOURCE for in6_pktinfoauto/th/bind-9_5_0-2
Changed files: bind.spec -> 1.277
-rw-r--r--bind.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/bind.spec b/bind.spec
index 5ee039b..d4dc2be 100644
--- a/bind.spec
+++ b/bind.spec
@@ -5,6 +5,7 @@
%bcond_without ssl # build without OpenSSL support
%bcond_without ipv6 # build without IPv6 support
%bcond_without ldap # build without LDAP support
+%bcond_without kerberos5 # build without kerneros5 support
%bcond_without sql # build without SQL support
%bcond_without static_libs # build without static libraries
%bcond_without tests # perform tests
@@ -22,7 +23,7 @@ Summary(uk.UTF-8): BIND - cервер системи доменних імен (
Summary(zh_CN.UTF-8): Internet 域名服务器
Name: bind
Version: 9.5.0
-Release: 1
+Release: 2
Epoch: 7
License: BSD-like
Group: Networking/Daemons
@@ -55,6 +56,7 @@ BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: idnkit-devel
+%{?with_kerberos5:BuildRequires: krb5-devel}
%{?with_hip:BuildRequires: libxml2-devel}
BuildRequires: libtool
%{?with_ldap:BuildRequires: openldap-devel}
@@ -356,10 +358,12 @@ cd lib/bind
cp -f /usr/share/automake/config.* .
cd ../..
%configure \
+ CFLAGS="-D_GNU_SOURCE=1" \
--with-idn \
--with-libtool \
%{?with_ssl:--with-openssl=%{_prefix}} \
%{?with_ipv6:--enable-ipv6} \
+ %{?with_kerberos5:--with-gssapi} \
--enable-libbind \
%{?with_sql:--with-dlz-postgres=yes} \
%{?with_sql:--with-dlz-mysql=yes} \