Browse Source

modifying package: bind-9.2.3 20031023 -> 20031108

master
parent
commit
433a79eb3e
  1. 14
      bind/bind.spec

14
bind/bind.spec

@ -25,7 +25,7 @@
# package versions
%define V_bind 9.2.3
%define V_dlz 0.5.0
%define V_dlz 0.6.0
# package information
Name: bind
@ -37,7 +37,7 @@ Distribution: OpenPKG [BASE]
Group: DNS
License: ISC
Version: %{V_bind}
Release: 20031023
Release: 20031108
# package options
%option with_dlz_mysql no
@ -73,6 +73,10 @@ BuildPreReq: OpenPKG, openpkg >= 20030909, make
PreReq: OpenPKG, openpkg >= 20030909
BuildPreReq: openssl
PreReq: openssl
%if "%{with_dlz}" == "yes"
# FIXME: rse: autoconf dependency can be removed once DLZ patch is available for 9.2.3
BuildPreReq: autoconf
%endif
%if "%{with_dlz_mysql}" == "yes"
BuildPreReq: mysql
PreReq: mysql
@ -104,7 +108,11 @@ Conflicts: bind8, powerdns
%setup -q
%if "%{with_dlz}" == "yes"
%setup -q -T -D -a 10
%{l_patch} -p1 <dlz.patch
# FIXME: rse: sed hacks can be removed once DLZ patch is available for 9.2.3
sed -e '/^diff -Naur.*\/configure$/,/^diff/d' \
-e '/^diff -Naur.*lib\/dns\/win32\/libdns\.def$/,/^diff/d' \
<dlz.patch | %{l_patch} -p1
autoconf
# fix up DLZ link libraries for MySQL and PostgreSQL
%{l_shtool} subst \
-e '/-lmysqlclient/s;-lnsl\([ "]\);\1;g' \

Loading…
Cancel
Save