[csw-devel] SF.net SVN: gar:[5516] csw/mgar/pkg/bind/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Jul 6 17:40:57 CEST 2009


Revision: 5516
          http://gar.svn.sourceforge.net/gar/?rev=5516&view=rev
Author:   bonivart
Date:     2009-07-06 15:40:56 +0000 (Mon, 06 Jul 2009)

Log Message:
-----------
bind: update to 9.6.1

Modified Paths:
--------------
    csw/mgar/pkg/bind/trunk/Makefile
    csw/mgar/pkg/bind/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed
    csw/mgar/pkg/bind/trunk/files/README.CSW
    csw/mgar/pkg/bind/trunk/files/db.127.0.0
    csw/mgar/pkg/bind/trunk/files/db.localhost
    csw/mgar/pkg/bind/trunk/files/named.conf
    csw/mgar/pkg/bind/trunk/files/named.root
    csw/mgar/pkg/bind/trunk/files/rndc.key

Removed Paths:
-------------
    csw/mgar/pkg/bind/trunk/files/CSWbind.README.CSW
    csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed
    csw/mgar/pkg/bind/trunk/files/CSWbind.db.127.0.0
    csw/mgar/pkg/bind/trunk/files/CSWbind.db.localhost
    csw/mgar/pkg/bind/trunk/files/CSWbind.named.conf
    csw/mgar/pkg/bind/trunk/files/CSWbind.named.root
    csw/mgar/pkg/bind/trunk/files/CSWbind.rndc.key
    csw/mgar/pkg/bind/trunk/files/CSWbinddevel.gspec
    csw/mgar/pkg/bind/trunk/files/CSWbindutils.gspec
    csw/mgar/pkg/bind/trunk/files/CSWlibbind.gspec

Modified: csw/mgar/pkg/bind/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bind/trunk/Makefile	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/Makefile	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,9 +1,11 @@
+# remove named.pid or change to type v
+
 GARNAME = bind
-GARVERSION = 9.6.0
-RELEASE = P1
-DISTVERSION = $(GARVERSION)-$(RELEASE)
-DISTNAME = $(GARNAME)-$(DISTVERSION)
-WORKSRC = $(WORKDIR)/$(DISTNAME)
+GARVERSION = 9.6.1
+#RELEASE = P1
+#DISTVERSION = $(GARVERSION)-$(RELEASE)
+#DISTNAME = $(GARNAME)-$(DISTVERSION)
+#WORKSRC = $(WORKDIR)/$(DISTNAME)
 CATEGORIES = net
 
 DESCRIPTION = ISC BIND DNS reference implementation
@@ -15,13 +17,19 @@
 endef
 
 UPSTREAM_MASTER_SITES = http://ftp.isc.org/isc/bind9/
-MASTER_SITES = http://ftp.isc.org/isc/bind9/$(GARVERSION)-$(RELEASE)/
-DISTFILES  = $(GARNAME)-$(GARVERSION)-$(RELEASE).tar.gz
+#MASTER_SITES = http://ftp.isc.org/isc/bind9/$(GARVERSION)-$(RELEASE)/
+#DISTFILES  = $(GARNAME)-$(GARVERSION)-$(RELEASE).tar.gz
+MASTER_SITES = http://ftp.isc.org/isc/bind9/$(GARVERSION)/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 DISTFILES += $(call admfiles,CSWbind,preinstall preremove)
-DISTFILES += $(call admfiles,CSWbinddevel,)
-DISTFILES += $(call admfiles,CSWlibbind,)
-DISTFILES += $(call admfiles,CSWbindutils,)
 
+PACKAGES = CSWbind CSWbinddevel CSWlibbind CSWbindutils
+CATALOGNAME_CSWbinddevel = bind_devel
+CATALOGNAME_CSWbindutils = bind_utils
+ARCHALL_CSWbinddevel = 1
+
+LICENSE = COPYRIGHT
+
 SPKG_DESC_CSWbind = ISC BIND DNS main package
 SPKG_DESC_CSWbinddevel = ISC BIND DNS development package
 SPKG_DESC_CSWlibbind = ISC BIND DNS library package
@@ -33,7 +41,7 @@
 REQUIRED_PKGS_CSWbindutils = CSWlibbind CSWiconv CSWlibxml2 CSWosslrt
 
 # We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = (\d+(?:\.\d+)*)-([A-Z][0-9])
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*)(-([A-Z][0-9]))?
 
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-libtool
@@ -53,29 +61,32 @@
 
 INSTALL_SCRIPTS = custom
 
-PROTOTYPE_FILTER  = awk '$$$$3 ~ /\/init.d\/cswnamed$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/named.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } $$$$3 ~ /\/var\/opt\/csw\/named/ { $$$$5 = "named" } { print }'
+# fix class for conf file and named files
+PROTOTYPE_FILTER  = awk ' \
+	$$$$3 ~ /\/init.d\/cswnamed$$$$/ { $$$$2 = "cswinitsmf" } \
+	$$$$3 ~ /\/named.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \
+	$$$$3 ~ /\/var\/opt\/csw\/named/ { $$$$5 = "named" } \
+	{ print }'
 
 SPKG_SOURCEURL = http://www.isc.org/software/bind
+# use usergroup class also
 SPKG_CLASSES_CSWbind = none cswcpsampleconf cswinitsmf
 
 include gar/category.mk
 
-SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(RELEASE)
+#SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(RELEASE)
 
+DOCLIST = README.CSW db.127.0.0 db.localhost named.conf named.root rndc.key
+
 install-custom:
 	@echo " ==> Installing $(GARNAME) (custom)"
 	@ginstall -d $(DESTDIR)/etc/opt/csw/init.d
 	@cp $(FILEDIR)/CSWbind.cswnamed $(DESTDIR)/etc/opt/csw/init.d/cswnamed
 	@cp $(FILEDIR)/CSWbind.named.conf.CSW $(DESTDIR)/etc/opt/csw/named.conf.CSW
 	@ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
-	@cp $(FILEDIR)/CSWbind.README.CSW $(DESTDIR)$(docdir)/$(GARNAME)/README.CSW
-	@cp $(FILEDIR)/CSWbind.db.127.0.0 $(DESTDIR)$(docdir)/$(GARNAME)/db.127.0.0
-	@cp $(FILEDIR)/CSWbind.db.localhost $(DESTDIR)$(docdir)/$(GARNAME)/db.localhost
-	@cp $(FILEDIR)/CSWbind.named.conf $(DESTDIR)$(docdir)/$(GARNAME)/named.conf
-	@cp $(FILEDIR)/CSWbind.named.root $(DESTDIR)$(docdir)/$(GARNAME)/named.root
-	@cp $(FILEDIR)/CSWbind.rndc.key $(DESTDIR)$(docdir)/$(GARNAME)/rndc.key
-	@cp $(WORKSRC)/COPYRIGHT $(DESTDIR)$(docdir)/$(GARNAME)/LICENSE
+	@$(foreach DOC,$(DOCLIST),cp $(FILEDIR)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
 	( cd $(WORKSRC) ; \
 	  gmake DESTDIR=$(DESTDIR) install )
 	@touch $(DESTDIR)/var/opt/csw/named/named.pid
+# add usergroup conf file
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/bind/trunk/checksums
===================================================================
--- csw/mgar/pkg/bind/trunk/checksums	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/checksums	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,7 +1,7 @@
-886b7eae55cfdc8cd8d2ca74a2f99c6e  download/bind-9.6.0-P1.tar.gz
 e346b8d43181db864605c76435a0f731  download/CSWbind.gspec
 9338f20547092ec54136ebebd5f663d3  download/CSWbind.preinstall
 90026b0ca15e2435ddae730c5bed4a42  download/CSWbind.preremove
-771f4b6098f7bdeb83c5690dfeb6b5eb  download/CSWbinddevel.gspec
+3664fb88cf7649f67ea8cca47b6b7a0c  download/CSWbinddevel.gspec
+a6c7fa764b592aed3b370b9a49e9920e  download/CSWbindutils.gspec
 d5c381cd0cf6be25fc3a75fc470eeaf6  download/CSWlibbind.gspec
-a6c7fa764b592aed3b370b9a49e9920e  download/CSWbindutils.gspec
+516ac74d8eaaef30ad4c99ada8b715cd  download/bind-9.6.1.tar.gz

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.README.CSW
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.README.CSW	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.README.CSW	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,20 +0,0 @@
-README.CSW
-==========
-
-Default locations
------------------
-Configuration directory: /etc/opt/csw.
-Work directory: /var/opt/csw/named.
-
-Installation
-------------
-1. Modify the named.conf file in /etc/opt/csw.
-2. Create the zone files you specified in named.conf.
-3. Start Bind with "/etc/init.d/cswnamed start".
-
-There's sample files to look at in this directory.
-
-More info here: http://www.isc.org/software/BIND/.
-
-
-bonivart/081118

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,42 +0,0 @@
-#!/sbin/sh
-
-# rc-script for CSW Bind
-# Peter Bonivart, 2008-12-18
-
-USER=named
-#OPTIONS="-d 1" # debug mode
-#OPTIONS="-c /opt/csw/etc/named.conf" # use old location of conf file
-OPTIONS="-u $USER"
-
-ZONE= # used for initialization, do not change
-
-case "$1" in
-  start)
-    if [ -f /opt/csw/sbin/named -a -f /etc/opt/csw/named.conf ]; then
-      echo 'Starting bind.'
-      # ulimit -n 1024
-      /opt/csw/sbin/named $OPTIONS &
-    fi
-    ;;
-  stop)
-    echo 'Shutting down bind.'
-    if [ -x /usr/bin/zonename ]; then
-      if [ "`/usr/bin/zonename`" = "global" ]; then
-        ZONE="-z global"
-      fi
-    fi
-    pkill $ZONE -x named
-    ;;
-  reload|refresh)
-    echo 'Reloading bind.'
-    if [ -x /usr/bin/zonename ]; then
-      if [ "`/usr/bin/zonename`" = "global" ]; then
-        ZONE="-z global"
-      fi
-    fi
-    pkill -HUP $ZONE -x named
-    ;;
-  *)
-    echo "Usage: $0 { start | stop | reload | refresh }"
-    ;;
-esac

Added: csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.cswnamed	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,45 @@
+#!/sbin/sh
+
+#RC_KLEV 0,1,S
+#RC_SLEV 2
+
+# rc-script for CSW Bind
+# Peter Bonivart, 2009-01-24
+
+USER=named
+#OPTIONS="-d 1" # debug mode
+#OPTIONS="-c /opt/csw/etc/named.conf" # use old location of conf file
+OPTIONS="-u $USER"
+
+ZONE= # used for initialization, do not change
+
+case "$1" in
+  start)
+    if [ -f /opt/csw/sbin/named -a -f /etc/opt/csw/named.conf ]; then
+      echo 'Starting bind.'
+      # ulimit -n 1024
+      /opt/csw/sbin/named $OPTIONS &
+    fi
+    ;;
+  stop)
+    echo 'Shutting down bind.'
+    if [ -x /usr/bin/zonename ]; then
+      if [ "`/usr/bin/zonename`" = "global" ]; then
+        ZONE="-z global"
+      fi
+    fi
+    pkill $ZONE -x named
+    ;;
+  reload|refresh)
+    echo 'Reloading bind.'
+    if [ -x /usr/bin/zonename ]; then
+      if [ "`/usr/bin/zonename`" = "global" ]; then
+        ZONE="-z global"
+      fi
+    fi
+    pkill -HUP $ZONE -x named
+    ;;
+  *)
+    echo "Usage: $0 { start | stop | reload | refresh }"
+    ;;
+esac

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.db.127.0.0
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.db.127.0.0	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.db.127.0.0	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,11 +0,0 @@
-$TTL 86400
-@               IN      SOA     ns.yourdomain.com. hostmaster.yourdomain.com. (
-                                        2007100201      ; Serial number
-                                        10800           ; Refresh every 3 H
-                                        3600            ; Retry every 1 H
-                                        604800          ; Expire after 1 W
-                                        86400 )         ; Minimum TTL of 1 D
-
-                IN      NS      ns.yourdomain.com.
-
-1               IN      PTR     localhost.

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.db.localhost
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.db.localhost	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.db.localhost	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,11 +0,0 @@
-$TTL 86400
-localhost.      IN      SOA     ns.yourdomain.com. hostmaster.yourdomain.com. (
-                                        2007100201      ; Serial number
-                                        10800           ; Refresh every 3 H
-                                        3600            ; Retry every 1 H
-                                        604800          ; Expire every 1 W
-                                        86400 )         ; Minimum TTL of 1 D
-
-localhost.      IN      NS      ns.yourdomain.com.
-
-localhost.      IN      A       127.0.0.1

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.named.conf
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.named.conf	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.named.conf	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,33 +0,0 @@
-options {
-        directory "/var/opt/csw/named";
-        pid-file "named.pid";
-};
-
-key "rndc-key" {
-        algorithm hmac-md5;
-        secret "nm/hkdldjGjsdfjSdfsdDD==";
-};
-
-controls {
-        inet 127.0.0.1 port 953
-        allow { 127.0.0.1; } keys { "rndc-key"; };
-};
-
-zone    "localhost" {
-        type master;
-        file "default/db.localhost";
-        forwarders { };
-};
-
-zone    "0.0.127.in-addr.arpa" {
-        type master;
-        file "default/db.127.0.0";
-        forwarders { };
-};
-
-# Hint zone
-
-zone    "." {
-        type hint;
-        file "default/named.root";
-};

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.named.root
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.named.root	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.named.root	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,87 +0,0 @@
-;       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.
-;
-.                        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

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.rndc.key
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.rndc.key	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.rndc.key	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,4 +0,0 @@
-key "rndc-key" {
-    algorithm hmac-md5;
-    secret "nm/hkdldjGjsdfjSdfsdDD==";
-};

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbinddevel.gspec
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbinddevel.gspec	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbinddevel.gspec	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,7 +0,0 @@
-%var            bitname bind_devel
-%var            pkgname CSWbinddevel
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright
-
-Please see /opt/csw/share/doc/bind/LICENSE for license information
-

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbindutils.gspec
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbindutils.gspec	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWbindutils.gspec	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,7 +0,0 @@
-%var            bitname bind_utils
-%var            pkgname CSWbindutils
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright
-
-Please see /opt/csw/share/doc/bind/LICENSE for license information
-

Deleted: csw/mgar/pkg/bind/trunk/files/CSWlibbind.gspec
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWlibbind.gspec	2009-07-06 15:03:54 UTC (rev 5515)
+++ csw/mgar/pkg/bind/trunk/files/CSWlibbind.gspec	2009-07-06 15:40:56 UTC (rev 5516)
@@ -1,7 +0,0 @@
-%var            bitname libbind
-%var            pkgname CSWlibbind
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright
-
-Please see /opt/csw/share/doc/bind/LICENSE for license information
-

Copied: csw/mgar/pkg/bind/trunk/files/README.CSW (from rev 2616, csw/mgar/pkg/bind/trunk/files/CSWbind.README.CSW)
===================================================================
--- csw/mgar/pkg/bind/trunk/files/README.CSW	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/README.CSW	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,20 @@
+README.CSW
+==========
+
+Default locations
+-----------------
+Configuration directory: /etc/opt/csw.
+Work directory: /var/opt/csw/named.
+
+Installation
+------------
+1. Modify the named.conf file in /etc/opt/csw.
+2. Create the zone files you specified in named.conf.
+3. Start Bind with "/etc/init.d/cswnamed start".
+
+There's sample files to look at in this directory.
+
+More info here: http://www.isc.org/software/BIND/.
+
+
+bonivart/081118

Copied: csw/mgar/pkg/bind/trunk/files/db.127.0.0 (from rev 2616, csw/mgar/pkg/bind/trunk/files/CSWbind.db.127.0.0)
===================================================================
--- csw/mgar/pkg/bind/trunk/files/db.127.0.0	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/db.127.0.0	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,11 @@
+$TTL 86400
+@               IN      SOA     ns.yourdomain.com. hostmaster.yourdomain.com. (
+                                        2007100201      ; Serial number
+                                        10800           ; Refresh every 3 H
+                                        3600            ; Retry every 1 H
+                                        604800          ; Expire after 1 W
+                                        86400 )         ; Minimum TTL of 1 D
+
+                IN      NS      ns.yourdomain.com.
+
+1               IN      PTR     localhost.

Copied: csw/mgar/pkg/bind/trunk/files/db.localhost (from rev 2616, csw/mgar/pkg/bind/trunk/files/CSWbind.db.localhost)
===================================================================
--- csw/mgar/pkg/bind/trunk/files/db.localhost	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/db.localhost	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,11 @@
+$TTL 86400
+localhost.      IN      SOA     ns.yourdomain.com. hostmaster.yourdomain.com. (
+                                        2007100201      ; Serial number
+                                        10800           ; Refresh every 3 H
+                                        3600            ; Retry every 1 H
+                                        604800          ; Expire every 1 W
+                                        86400 )         ; Minimum TTL of 1 D
+
+localhost.      IN      NS      ns.yourdomain.com.
+
+localhost.      IN      A       127.0.0.1

Copied: csw/mgar/pkg/bind/trunk/files/named.conf (from rev 2616, csw/mgar/pkg/bind/trunk/files/CSWbind.named.conf)
===================================================================
--- csw/mgar/pkg/bind/trunk/files/named.conf	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/named.conf	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,33 @@
+options {
+        directory "/var/opt/csw/named";
+        pid-file "named.pid";
+};
+
+key "rndc-key" {
+        algorithm hmac-md5;
+        secret "nm/hkdldjGjsdfjSdfsdDD==";
+};
+
+controls {
+        inet 127.0.0.1 port 953
+        allow { 127.0.0.1; } keys { "rndc-key"; };
+};
+
+zone    "localhost" {
+        type master;
+        file "default/db.localhost";
+        forwarders { };
+};
+
+zone    "0.0.127.in-addr.arpa" {
+        type master;
+        file "default/db.127.0.0";
+        forwarders { };
+};
+
+# Hint zone
+
+zone    "." {
+        type hint;
+        file "default/named.root";
+};

Copied: csw/mgar/pkg/bind/trunk/files/named.root (from rev 2616, csw/mgar/pkg/bind/trunk/files/CSWbind.named.root)
===================================================================
--- csw/mgar/pkg/bind/trunk/files/named.root	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/named.root	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,87 @@
+;       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.
+;
+.                        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

Copied: csw/mgar/pkg/bind/trunk/files/rndc.key (from rev 2616, csw/mgar/pkg/bind/trunk/files/CSWbind.rndc.key)
===================================================================
--- csw/mgar/pkg/bind/trunk/files/rndc.key	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/rndc.key	2009-07-06 15:40:56 UTC (rev 5516)
@@ -0,0 +1,4 @@
+key "rndc-key" {
+    algorithm hmac-md5;
+    secret "nm/hkdldjGjsdfjSdfsdDD==";
+};


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list