Browse Source

- add patch2 to install libraries as exec
- add patch10 to install missing header (isc/hmacsha.h)



git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6000 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 12 years ago
parent
commit
c102020385
1 changed files with 11 additions and 3 deletions
  1. 11 3
      b/bind/bind-vl.spec

+ 11 - 3
b/bind/bind-vl.spec

@@ -11,7 +11,7 @@ Summary: A DNS (Domain Name System) server.
 Summary(ja): DNS (Domain Name System) サーバ
 Name: bind
 Version: %{pversion}
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: distributable
 Group: System Environment/Daemons
 Source: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{sversion}.tar.gz
@@ -22,8 +22,10 @@ Source4: named.logrotate
 Source5: keygen.c
 Url: http://www.isc.org/bind.html
 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
-BuildRequires(pre): openssl-devel glibc-devel libtool
+BuildRequires: openssl-devel glibc-devel libtool
 BuildRequires: libxml2-devel libcap-devel
 Requires(pre): chkconfig, sh-utils, textutils, fileutils, shadow-utils, perl, sed
 Requires(pre): bind-utils = %{bind_epoch}:%{version}-%{release}
@@ -104,6 +106,8 @@ bind.
 %prep
 %setup -n bind-%{sversion} -q
 %patch1 -p1 -b .key
+%patch2 -p1 -b .nonexec
+%patch10 -p1 -b .install-missin-header
 
 %build
 libtoolize --copy --force
@@ -231,7 +235,7 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
      
 
 %files libs
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_libdir}/*.so.*
 
 %files utils
@@ -262,6 +266,10 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
 %{_bindir}/isc-config.sh
 
 %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
 - new upstream release with security fix (CVE-2011-2464)
 - use hoge(pre) tags instead of old hogepre tags