summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2014-11-08 14:56:41 (GMT)
committerArkadiusz Miśkiewicz2014-11-08 14:56:41 (GMT)
commitf3fc3a2048d77748c50ff3d82a3e6e8780138af4 (patch)
tree92b40e0ad34ae3259077bf82ce8504477172c699
parent26fd37d8892662dfff2a738fa280af4f7a2eebde (diff)
downloadbind-f3fc3a2048d77748c50ff3d82a3e6e8780138af4.zip
bind-f3fc3a2048d77748c50ff3d82a3e6e8780138af4.tar.gz
- rel 3; disable seccomp as bind built with it hangs/stops at boot; newstats option no longer existsauto/th/bind-9.10.1-3
-rw-r--r--bind.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/bind.spec b/bind.spec
index 2866ef6..03deead 100644
--- a/bind.spec
+++ b/bind.spec
@@ -12,6 +12,7 @@
%bcond_with edns_cli # build with the ability to use edns-client-subnet in dig
%bcond_with hip # build with HIP RR support
%bcond_without geoip # build with GeoIP support
+%bcond_with seccomp # seccomp
%if "%{pld_release}" == "ac"
%bcond_with epoll # enable epoll support
@@ -43,7 +44,7 @@ Summary(uk.UTF-8): BIND - cервер системи доменних імен (
Summary(zh_CN.UTF-8): Internet 域名服务器
Name: bind
Version: %{ver}%{pverdot}
-Release: 2
+Release: 3
Epoch: 7
License: BSD-like
Group: Networking/Daemons
@@ -79,7 +80,7 @@ BuildRequires: bison
BuildRequires: flex
%{?with_kerberos5:BuildRequires: heimdal-devel}
BuildRequires: idnkit-devel
-BuildRequires: libseccomp-devel
+%{?with_seccomp:BuildRequires: libseccomp-devel}
BuildRequires: libtool
%{?with_hip:BuildRequires: libxml2-devel}
%{?with_sql:BuildRequires: mysql-devel}
@@ -402,9 +403,8 @@ cp -f /usr/share/automake/config.* .
--enable-sit \
--enable-threads \
--enable-getifaddrs \
- --enable-newstats \
--enable-full-report \
- --enable-seccomp
+ %{__enable_disable seccomp}
%{__make}
%{?with_hip:cd bind-hip/; %{__make}}