|
@@ -11,7 +11,7 @@ Summary: A DNS (Domain Name System) server.
|
|
Summary(ja): DNS (Domain Name System) サーバ
|
|
Summary(ja): DNS (Domain Name System) サーバ
|
|
Name: bind
|
|
Name: bind
|
|
Version: %{pversion}
|
|
Version: %{pversion}
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
License: distributable
|
|
License: distributable
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
Source: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{sversion}.tar.gz
|
|
Source: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{sversion}.tar.gz
|
|
@@ -22,8 +22,10 @@ Source4: named.logrotate
|
|
Source5: keygen.c
|
|
Source5: keygen.c
|
|
Url: http://www.isc.org/bind.html
|
|
Url: http://www.isc.org/bind.html
|
|
Patch1: bind-9.3.3rc2-rndckey.patch
|
|
Patch1: bind-9.3.3rc2-rndckey.patch
|
|
|
|
+Patch2: bind-9.6-nonexec.patch
|
|
|
|
+Patch10: bind-9.6-install-missing-header.patch
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires(pre): openssl-devel glibc-devel libtool
|
|
|
|
|
|
+BuildRequires: openssl-devel glibc-devel libtool
|
|
BuildRequires: libxml2-devel libcap-devel
|
|
BuildRequires: libxml2-devel libcap-devel
|
|
Requires(pre): chkconfig, sh-utils, textutils, fileutils, shadow-utils, perl, sed
|
|
Requires(pre): chkconfig, sh-utils, textutils, fileutils, shadow-utils, perl, sed
|
|
Requires(pre): bind-utils = %{bind_epoch}:%{version}-%{release}
|
|
Requires(pre): bind-utils = %{bind_epoch}:%{version}-%{release}
|
|
@@ -104,6 +106,8 @@ bind.
|
|
%prep
|
|
%prep
|
|
%setup -n bind-%{sversion} -q
|
|
%setup -n bind-%{sversion} -q
|
|
%patch1 -p1 -b .key
|
|
%patch1 -p1 -b .key
|
|
|
|
+%patch2 -p1 -b .nonexec
|
|
|
|
+%patch10 -p1 -b .install-missin-header
|
|
|
|
|
|
%build
|
|
%build
|
|
libtoolize --copy --force
|
|
libtoolize --copy --force
|
|
@@ -231,7 +235,7 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
%files libs
|
|
-%defattr(-,root,root)
|
|
|
|
|
|
+%defattr(-,root,root,-)
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files utils
|
|
%files utils
|
|
@@ -262,6 +266,10 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
|
%{_bindir}/isc-config.sh
|
|
%{_bindir}/isc-config.sh
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Apr 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.6.ESV.R4.P3-2
|
|
|
|
+- add patch2 to install libraries as exec
|
|
|
|
+- add patch10 to install missing header (isc/hmacsha.h)
|
|
|
|
+
|
|
* Wed Jul 6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 9.6.ESV.R4.P3-1
|
|
* Wed Jul 6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 9.6.ESV.R4.P3-1
|
|
- new upstream release with security fix (CVE-2011-2464)
|
|
- new upstream release with security fix (CVE-2011-2464)
|
|
- use hoge(pre) tags instead of old hogepre tags
|
|
- use hoge(pre) tags instead of old hogepre tags
|