Update of /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv4334

Modified Files:
        bind9.info bind9.patch 
Log Message:
further cleanup, + install doc

Index: bind9.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo/bind9.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bind9.info  9 Feb 2007 04:41:22 -0000       1.1
+++ bind9.info  10 Feb 2007 19:20:36 -0000      1.2
@@ -1,7 +1,7 @@
 Info2: <<
 Package: bind9%type_pkg[ssl]
 Version: 9.3.999
-Revision: 1
+Revision: 2
 Type: v (9.4.0rc2), ssl (-ssl)
 # type[ssl]=. would give a 'unified' version _ but this leads in configure
 # to finding openssl too old, + to warning about potential security problems
@@ -18,7 +18,11 @@
 Provides: host
 # the Provides is because other pkgs like xtraceroute depend on host and not 
on the alternative
 Source: ftp://ftp.isc.org/isc/%{Ni}/%type_raw[v]/bind-%type_raw[v].tar.gz
-# the patch file should be re-checked _ I updated the db.root part (was from 
97...), but nothing else
+Source-MD5: 95daa3e6f70c979d8a64282011bb3419
+Source2: ftp://ftp.internic.net/domain/named.root
+Source2-MD5: c17d2e4325d3fdcc247188e8f26a059e
+Source2ExtractDir: bind-%type_raw[v]/etc
+# the patch file should be re-checked. I updated _ ie, removed .. _ the 
named.root part (was from 97...), but nothing else
 PatchScript: <<
   sed 's|@FINKPREFIX@|%p|g' <%a/%{Ni}.patch | patch -p1
   perl -pi -e 's,(\{d\}\.)so,\1dylib,; s,db\-4\.2,db-4.4,' configure
@@ -28,8 +32,8 @@
 NoSetLDFLAGS: true
 NoSetCPPFLAGS: true
 ConfigureParams: <<
- --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib 
--sysconfdir=%p/etc/bind --localstatedir=%p/var \
- --enable-libbind --enable-threads --with-dlz-filesystem=yes --with-dlz-bdb=%p 
--with-libtool \
+ --mandir=%i/share/man --infodir=%p/share/info \
+ --with-libtool --enable-libbind --enable-threads --with-dlz-filesystem=yes 
--with-dlz-bdb=%p \
  (%type_raw[ssl] = .) --with-openssl=%p/lib/system-openssl (%type_raw[ssl] = 
-ssl) --with-openssl=%p
 <<
 CompileScript: <<
@@ -37,27 +41,38 @@
  export CPATH=%p/include/db4:%p/include
  export STD_CDEFINES="-DDIG_SIGCHASE=1"
  %{default_script}
- make FAQ
-# The following commented out because it will change your system dns 
environment while running _ but should be run !
-# ( ./bin/tests/system/ifconfig.sh up; make -k check 2>&1|tee /tmp/bind9.test 
|| true )
+<<
+InfoTest: <<
+  # the following may slightly change your system environment while running
+  TestScript: ( ./bin/tests/system/ifconfig.sh up; make -k check 2>&1|tee 
/tmp/bind9.test ) || true
 <<
 InstallScript: <<
   make install prefix=%i
   mkdir -p %i/var/cache/bind
-  mkdir -p %i/etc/bind
-  cp etc/* %i/etc/bind
+  chown 0:0 etc/*
+  cp -pPR etc %i
   mv %i/bind/include %i/include/bind
   rm -rf %i/bind
-  mkdir -p %i/share/doc; ln -s %N-shlibs %i/share/doc/%n
+  mkdir -p %i/share/doc/%n
+  ln -s ../%N-shlibs/COPYRIGHT %i/share/doc/%n
+  install -m 644 doc/arm/Bv9ARM.pdf %i/share/doc/%n
 <<
-PreInstScript: rm -fR %p/share/doc/%n
+PreInstScript: <<
+  ## in case existing one is a symlink (as in %r=1)
+  rm -f %p/share/doc/%n 2>/dev/null || :
+  ## save the conffiles to new name and location, so dpkg will allow users to 
keep them
+  ## (changed location to default in %r=2, so named finds the conffiles on its 
own)
+  for f in `ls -1 %p/etc/bind/* 2>/dev/null` ; do /bin/mv -n $f `sed -e 
's,/bind,,' -e 's,etc/db\.,etc/named.,' <<<"$f"` ; done
+  rm -fR %p/etc/bind || :
+<<
+DocFiles: CHANGES FAQ README
 ConfFiles: <<
-  %p/etc/bind/named.conf
-  %p/etc/bind/db.127
-  %p/etc/bind/db.0
-  %p/etc/bind/db.255
-  %p/etc/bind/db.local
-  %p/etc/bind/db.root
+  %p/etc/named.conf
+  %p/etc/named.0
+  %p/etc/named.127
+  %p/etc/named.255
+  %p/etc/named.local
+  %p/etc/named.root
 <<
 DaemonicName: bind9
 DaemonicFile: <<
@@ -69,8 +84,8 @@
 <executable background="yes">%p/sbin/named</executable>
 <!-- the daemon will background itself, but may take a while
      to start up to the point where it does so -->
-<configfile>%p/etc/bind/named.conf</configfile>
-<parameters>-c %p/etc/bind/named.conf</parameters>
+<configfile>%p/etc/named.conf</configfile>
+<parameters>-c %p/etc/named.conf</parameters>
 <pidfile>%p/var/run/named.pid</pidfile>
 </daemon>
 
@@ -91,7 +106,7 @@
        %p/lib/libisccfg.30.dylib       31.0.0  %n      (>= 9.3.999-1)
        %p/lib/liblwres.30.dylib        31.0.0  %n      (>= 9.3.999-1)
  <<
- DocFiles: CHANGES COPYRIGHT FAQ README
+ DocFiles: COPYRIGHT
 <<
 Splitoff2: <<
  Package: %N-dev
@@ -111,13 +126,10 @@
 with other objects in the network.
 <<
 DescPort: <<
-Update of bind9, + policy conformance ( making shared libs too, shlibs policy, 
etc), + cleanup, by jfm
+Update of bind9, + policy conformance (making shared libs too, shlibs policy, 
etc), + cleanup, by jfm
 File is commented as to main points. Using this as a TODO :
 _ probably needs a good DescUsage field (from what I remember about bind from 
long ago)
-_ need to make the doc buildable (get a yes to all "docbook" questions at the 
end of configure..)
 _ other subdirs of contrib to make ? (dbus eg ?)
-_ go systematically through the test-failures
-       (in /tmp/bind9.test, after un-commenting the "make check" line )
 <<
 License: Public Domain
 DescPackaging: <<
@@ -125,5 +137,4 @@
 <<
 Maintainer: None <fink-devel@lists.sourceforge.net>
 Homepage: http://www.isc.org/products/BIND/
-Source-MD5: 95daa3e6f70c979d8a64282011bb3419
 <<

Index: bind9.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo/bind9.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bind9.patch 9 Feb 2007 04:41:22 -0000       1.1
+++ bind9.patch 10 Feb 2007 19:20:36 -0000      1.2
@@ -1,6 +1,6 @@
-diff -ru bind-9.2.1/etc/db.0 bind-9.2.1-patched/etc/db.0
---- bind-9.2.1/etc/db.0        Sat Jan 26 04:13:34 2002
-+++ bind-9.2.1-patched/etc/db.0        Sat Jan 26 04:04:33 2002
+diff -ru bind-9.2.1/etc/named.0 bind-9.2.1-patched/etc/named.0
+--- bind-9.2.1/etc/named.0     Sat Jan 26 04:13:34 2002
++++ bind-9.2.1-patched/etc/named.0     Sat Jan 26 04:04:33 2002
 @@ -0,0 +1,12 @@
 +;
 +; BIND reverse data file for broadcast zone
@@ -14,9 +14,9 @@
 +                       604800 )       ; Negative Cache TTL
 +;
 +@     IN      NS      localhost.
-diff -ru bind-9.2.1/etc/db.127 bind-9.2.1-patched/etc/db.127
---- bind-9.2.1/etc/db.127      Sat Jan 26 04:13:37 2002
-+++ bind-9.2.1-patched/etc/db.127      Sat Jan 26 04:04:33 2002
+diff -ru bind-9.2.1/etc/named.127 bind-9.2.1-patched/etc/named.127
+--- bind-9.2.1/etc/named.127   Sat Jan 26 04:13:37 2002
++++ bind-9.2.1-patched/etc/named.127   Sat Jan 26 04:04:33 2002
 @@ -0,0 +1,13 @@
 +;
 +; BIND reverse data file for local loopback interface
@@ -31,9 +31,9 @@
 +;
 +@     IN      NS      localhost.
 +1.0.0 IN      PTR     localhost.
-diff -ru bind-9.2.1/etc/db.255 bind-9.2.1-patched/etc/db.255
---- bind-9.2.1/etc/db.255      Sat Jan 26 04:13:39 2002
-+++ bind-9.2.1-patched/etc/db.255      Sat Jan 26 04:04:33 2002
+diff -ru bind-9.2.1/etc/named.255 bind-9.2.1-patched/etc/named.255
+--- bind-9.2.1/etc/named.255   Sat Jan 26 04:13:39 2002
++++ bind-9.2.1-patched/etc/named.255   Sat Jan 26 04:04:33 2002
 @@ -0,0 +1,12 @@
 +;
 +; BIND reverse data file for broadcast zone
@@ -47,9 +47,9 @@
 +                       604800 )       ; Negative Cache TTL
 +;
 +@     IN      NS      localhost.
-diff -ru bind-9.2.1/etc/db.local bind-9.2.1-patched/etc/db.local
---- bind-9.2.1/etc/db.local    Sat Jan 26 04:13:42 2002
-+++ bind-9.2.1-patched/etc/db.local    Sat Jan 26 04:04:33 2002
+diff -ru bind-9.2.1/etc/named.local bind-9.2.1-patched/etc/named.local
+--- bind-9.2.1/etc/named.local Sat Jan 26 04:13:42 2002
++++ bind-9.2.1-patched/etc/named.local Sat Jan 26 04:04:33 2002
 @@ -0,0 +1,13 @@
 +;
 +; BIND data file for local loopback interface
@@ -102,7 +102,7 @@
 +// prime the server with knowledge of the root servers
 +zone "." {
 +      type hint;
-+      file "@FINKPREFIX@/etc/bind/db.root";
++      file "@FINKPREFIX@/etc/named.root";
 +};
 +
 +// be authoritative for the localhost forward and reverse zones, and for
@@ -110,107 +110,23 @@
 +
 +zone "localhost" {
 +      type master;
-+      file "@FINKPREFIX@/etc/bind/db.local";
++      file "@FINKPREFIX@/etc/named.local";
 +};
 +
 +zone "127.in-addr.arpa" {
 +      type master;
-+      file "@FINKPREFIX@/etc/bind/db.127";
++      file "@FINKPREFIX@/etc/named.127";
 +};
 +
 +zone "0.in-addr.arpa" {
 +      type master;
-+      file "@FINKPREFIX@/etc/bind/db.0";
++      file "@FINKPREFIX@/etc/named.0";
 +};
 +
 +zone "255.in-addr.arpa" {
 +      type master;
-+      file "@FINKPREFIX@/etc/bind/db.255";
++      file "@FINKPREFIX@/etc/named.255";
 +};
 +
 +// add entries for other zones below here
 +
-diff -ru bind-9.2.1/etc/db.root bind-9.2.1-patched/etc/db.root
---- bind-9.2.1/etc/db.root      Sat Jan 26 04:13:45 2002
-+++ bind-9.2.1-patched/etc/db.root      Sat Jan 26 04:04:33 2002
-@@ -0,0 +1,80 @@
-+;       This file holds the information on root name servers needed to
-+;       initialize cache of Internet domain name servers
-+;       (e.g. reference this file in the "cache  .  <file>"
-+;       configuration file of BIND domain name servers).
-+;
-+;       This file is made available by InterNIC 
-+;       under anonymous FTP as
-+;           file                /domain/named.root
-+;           on server           FTP.INTERNIC.NET
-+;       -OR-                    RS.INTERNIC.NET
-+;
-+;       last update:    Jan 29, 2004
-+;       related version of root zone:   2004012900
-+;
-+;
-+; formerly NS.INTERNIC.NET
-+;
-+.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
-+A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
-+;
-+; formerly NS1.ISI.EDU
-+;
-+.                        3600000      NS    B.ROOT-SERVERS.NET.
-+B.ROOT-SERVERS.NET.      3600000      A     192.228.79.201
-+;
-+; formerly C.PSI.NET
-+;
-+.                        3600000      NS    C.ROOT-SERVERS.NET.
-+C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
-+;
-+; formerly TERP.UMD.EDU
-+;
-+.                        3600000      NS    D.ROOT-SERVERS.NET.
-+D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
-+;
-+; formerly NS.NASA.GOV
-+;
-+.                        3600000      NS    E.ROOT-SERVERS.NET.
-+E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
-+;
-+; formerly NS.ISC.ORG
-+;
-+.                        3600000      NS    F.ROOT-SERVERS.NET.
-+F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241
-+;
-+; formerly NS.NIC.DDN.MIL
-+;
-+.                        3600000      NS    G.ROOT-SERVERS.NET.
-+G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
-+;
-+; formerly AOS.ARL.ARMY.MIL
-+;
-+.                        3600000      NS    H.ROOT-SERVERS.NET.
-+H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
-+;
-+; formerly NIC.NORDU.NET
-+;
-+.                        3600000      NS    I.ROOT-SERVERS.NET.
-+I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
-+;
-+; operated by VeriSign, Inc.
-+;
-+.                        3600000      NS    J.ROOT-SERVERS.NET.
-+J.ROOT-SERVERS.NET.      3600000      A     192.58.128.30
-+;
-+; operated by RIPE NCC
-+;
-+.                        3600000      NS    K.ROOT-SERVERS.NET.
-+K.ROOT-SERVERS.NET.      3600000      A     193.0.14.129 
-+;
-+; operated by ICANN
-+;
-+.                        3600000      NS    L.ROOT-SERVERS.NET.
-+L.ROOT-SERVERS.NET.      3600000      A     198.32.64.12
-+;
-+; operated by WIDE
-+;
-+.                        3600000      NS    M.ROOT-SERVERS.NET.
-+M.ROOT-SERVERS.NET.      3600000      A     202.12.27.33
-+; End of File


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to