SPECS: bind.spec - added HIP RR support from openhip

gotar gotar at pld-linux.org
Mon Mar 12 20:20:54 CET 2007


Author: gotar                        Date: Mon Mar 12 19:20:54 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added HIP RR support from openhip

---- Files affected:
SPECS:
   bind.spec (1.243 -> 1.244) 

---- Diffs:

================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.243 SPECS/bind.spec:1.244
--- SPECS/bind.spec:1.243	Sun Mar 11 22:50:47 2007
+++ SPECS/bind.spec	Mon Mar 12 20:20:49 2007
@@ -7,6 +7,7 @@
 %bcond_without	ipv6		# build without IPv6 support
 %bcond_without	ldap		# build without LDAP support
 %bcond_without	static_libs	# build without static libraries
+%bcond_with	hip		# build with HIP RR support
 #
 Summary:	BIND - DNS name server
 Summary(de.UTF-8):	BIND - DNS-Namenserver
@@ -35,6 +36,8 @@
 # Source5-md5:	35b1dfaa12615c9802126ee833e0e7f7
 Source6:	http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
 # Source6-md5:	49fe799c6eca54ae227b22d57ebc1145
+Source7:	%{name}-hip.tar.gz
+# Source7-md5:	62a8a67f51ff8db9fe815205416a1f62
 Patch0:		%{name}-time.patch
 Patch1:		%{name}-autoconf.patch
 Patch2:		%{name}-includedir-libbind.patch
@@ -49,6 +52,7 @@
 BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	idnkit-devel
+%{?with_hip:BuildRequires:	libxml2-devel}
 BuildRequires:	libtool
 %{?with_ldap:BuildRequires:	openldap-devel}
 %{?with_ssl:BuildRequires:	openssl-devel >= 0.9.7d}
@@ -325,7 +329,7 @@
 Schemat BIND dla openldap.
 
 %prep
-%setup -q -a1
+%setup -q -a1 %{?with_hip:-a7}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -334,6 +338,7 @@
 %{?with_ldap:%patch5 -p1}
 %patch6 -p1
 %patch7 -p1
+%{?with_hip:mv bind-hip/hip_55.[ch] lib/dns/rdata/generic}
 
 %build
 %{__libtoolize}
@@ -363,6 +368,7 @@
 	--enable-getifaddrs=glibc
 
 %{__make}
+%{?with_hip:cd bind-hip/; %{__make}}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -396,13 +402,14 @@
 
 %{?with_ldap:install -d $RPM_BUILD_ROOT%{_datadir}/openldap/schema}
 %{?with_ldap:install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/openldap/schema/dnszone.schema}
+%{?with_hip:install bind-hip/hi2dns $RPM_BUILD_ROOT%{_bindir}}
 
 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/named-compilezone.8
 echo ".so man8/named-checkzone.8" > $RPM_BUILD_ROOT%{_mandir}/man8/named-compilezone.8
 
 # we don't want Makefiles in documentation...
 # FIXME: breaks re-entrant install
-rm -f doc/misc/Makefile*
+#rm -f doc/misc/Makefile*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -451,7 +458,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README EXAMPLE-CONFIG-* FAQ doc/misc/* doc/arm/*.html doc/rfc/index %{?with_ldap:doc/*.sdb-ldap}
+%doc README EXAMPLE-CONFIG-* FAQ doc/misc/* doc/arm/*.html doc/rfc/index %{?with_ldap:doc/*.sdb-ldap} %{?with_hip:bind-hip/COPYRIGHT-HIP-RR}
 
 %attr(754,root,root) /etc/rc.d/init.d/named
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/named
@@ -492,6 +499,7 @@
 %attr(755,root,root) %{_bindir}/host
 %attr(755,root,root) %{_bindir}/nslookup
 %attr(755,root,root) %{_bindir}/nsupdate
+%{?with_hip:%attr(755,root,root) %{_bindir}/hi2dns}
 %{_mandir}/man1/dig.1*
 %{_mandir}/man1/host.1*
 %{_mandir}/man1/nslookup.1*
@@ -540,6 +548,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.244  2007/03/12 19:20:49  gotar
+- added HIP RR support from openhip
+
 Revision 1.243  2007/03/11 21:50:47  gotar
 - fixed device node creation
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bind.spec?r1=1.243&r2=1.244&f=u



More information about the pld-cvs-commit mailing list