Browse Source

bind-current-9.8.4p1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7258 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 11 years ago
parent
commit
430c67b026
1 changed files with 15 additions and 7 deletions
  1. 15 7
      b/bind-current/bind-current-vl.spec

+ 15 - 7
b/bind-current/bind-current-vl.spec

@@ -2,8 +2,8 @@
 
 %define sname bind
 %define pname bind-current
-%define pversion 9.8.0p2
-%define sversion 9.8.0-P2
+%define pversion 9.8.4p1
+%define sversion 9.8.4-P1
 %define bind_epoch 1
 # fixed <BTS:VineLinux:1139>
 %define old_bind_version 1:9.6.ESV.R1
@@ -15,7 +15,7 @@ Summary: A DNS (Domain Name System) server.
 Summary(ja): DNS (Domain Name System) サーバ
 Name: %{pname}
 Version: %{pversion}
-Release: 2%{?_dist_release}
+Release: 1%{?_dist_release}
 Epoch: %{bind_epoch}
 License: distributable
 Group: System Environment/Daemons
@@ -37,7 +37,7 @@ Requires(pre): shadow-utils
 Requires(post): %{pname}-utils = %{bind_epoch}:%{version}-%{release}
 Requires(post): coreutils, chkconfig
 Requires(preun): initscripts, chkconfig
-Requires(triggerpostun): chkconfig
+#Requires(triggerpostun): chkconfig
 Conflicts: bind9 <= 9.2.1-0vl5, bind < %{bind_epoch}:%{version}-%{release}
 Obsoletes: bind9 <= 9.2.1-0vl5, bind < %{old_bind_version}
 
@@ -119,12 +119,13 @@ bind.
 %prep
 %setup -n bind-%{sversion} -q
 %patch1 -p1 -b .key
+perl -pi -e 's/^(SUBDIRS =.+)dlzexternal(.+)$/\1\2/' bin/tests/system/Makefile.in
 
 %build
 libtoolize --copy --force
 aclocal
 autoconf
-%configure --with-libtool --with-openssl=/usr --enable-threads
+%configure --with-libtool --with-openssl=/usr --enable-threads --with-dlz-dlopen
 make %{?_smp_mflags}
 
 %install
@@ -149,6 +150,7 @@ rm -f man5/named.conf.5.gz
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
 cp %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/named
 
+chmod +x %{buildroot}%{_libdir}/*.so.*
 
 %pre
 if [ "$1" -eq 1 ]; then
@@ -201,9 +203,11 @@ fi
 rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
 
 
-%post libs -p /sbin/ldconfig
+%post libs
+/sbin/ldconfig
 
-%postun libs -p /sbin/ldconfig
+%postun libs
+/sbin/ldconfig
 
 
 %files
@@ -283,6 +287,10 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
 %{_bindir}/isc-config.sh
 
 %changelog
+* Tue Dec 18 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.8.4p1-1
+- new upstream release.
+- added an option "--with-dlz-dlopen".
+
 * Tue May 31 2011 IWAI, Masaharu <iwai@alib.jp> 9.8.0p2-2
 - Obosoletes: bind.* < 1:9.6.ESV.R1
  - fixed <BTS:VineLinux:1139>