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