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

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Thu Nov 26 19:34:32 CET 2009


Revision: 7464
          http://gar.svn.sourceforge.net/gar/?rev=7464&view=rev
Author:   bonivart
Date:     2009-11-26 18:34:30 +0000 (Thu, 26 Nov 2009)

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

Modified Paths:
--------------
    csw/mgar/pkg/bind/trunk/Makefile
    csw/mgar/pkg/bind/trunk/checksums
    csw/mgar/pkg/bind/trunk/files/README.CSW
    csw/mgar/pkg/bind/trunk/files/cswusergroup

Property Changed:
----------------
    csw/mgar/pkg/bind/trunk/files/

Modified: csw/mgar/pkg/bind/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bind/trunk/Makefile	2009-11-26 17:24:46 UTC (rev 7463)
+++ csw/mgar/pkg/bind/trunk/Makefile	2009-11-26 18:34:30 UTC (rev 7464)
@@ -1,6 +1,6 @@
 GARNAME = bind
 GARVERSION = 9.6.1
-RELEASE = P1
+RELEASE = P2
 DISTVERSION = $(GARVERSION)-$(RELEASE)
 DISTNAME = $(GARNAME)-$(DISTVERSION)
 WORKSRC = $(WORKDIR)/$(DISTNAME)
@@ -20,11 +20,14 @@
 #DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 
 PACKAGES = CSWbind CSWbinddevel CSWlibbind CSWbindutils
+#PACKAGES = CSWbind CSWbinddevel CSWlibbind CSWbindutils CSWbindchroot
 
 CATALOGNAME_CSWbinddevel = bind_devel
 CATALOGNAME_CSWbindutils = bind_utils
+#CATALOGNAME_CSWbindchroot = bind_chroot
 
 ARCHALL_CSWbinddevel = 1
+#ARCHALL_CSWbindchroot = 1
 
 LICENSE = COPYRIGHT
 
@@ -32,11 +35,13 @@
 SPKG_DESC_CSWbinddevel = ISC BIND DNS development package
 SPKG_DESC_CSWlibbind = ISC BIND DNS library package
 SPKG_DESC_CSWbindutils = ISC BIND DNS utilities package
+#SPKG_DESC_CSWbindchroot = ISC BIND DNS chroot package
 
-REQUIRED_PKGS_CSWbind = CSWlibbind CSWbindutils CSWcswclassutils CSWiconv CSWlibxml2 CSWosslrt CSWzlib
+REQUIRED_PKGS_CSWbind = CSWlibbind CSWbindutils CSWiconv CSWlibxml2 CSWosslrt CSWzlib
 REQUIRED_PKGS_CSWbinddevel = CSWbind
 REQUIRED_PKGS_CSWlibbind = CSWiconv CSWlibxml2 CSWosslrt CSWzlib
 REQUIRED_PKGS_CSWbindutils = CSWlibbind CSWiconv CSWlibxml2 CSWosslrt CSWzlib
+#REQUIRED_PKGS_CSWbindchroot = CSWbind
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UPSTREAM_MASTER_SITES = http://ftp.isc.org/isc/bind9/
@@ -55,20 +60,21 @@
 PKGFILES_CSWbinddevel = $(PKGFILES_DEVEL)
 PKGFILES_CSWlibbind   = $(libdir)/.*
 PKGFILES_CSWbindutils = $(bindir)/.*
+#PKGFILES_CSWbindchroot = .*chroot.*
 
-# checkpkg can't handle split packages
-ENABLE_CHECK = 0
-
 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" ; $$$$2 = "ugfiles" } \
-	$$$$3 ~ /\/CSWbind\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } \
 	{ print }'
 
+INITSMF = .*/init.d/cswnamed
+SAMPLECONF = .*/named.conf.CSW
+USERGROUP = .*/CSWbind/cswusergroup
+
 SPKG_SOURCEURL = http://www.isc.org/software/bind
+
+# Still needed because of ugfiles
 SPKG_CLASSES_CSWbind = none cswusergroup ugfiles cswcpsampleconf cswinitsmf
 
 include gar/category.mk
@@ -79,15 +85,38 @@
 
 install-custom:
 	@echo " ==> Installing $(GARNAME) (custom)"
-	@ginstall -d $(DESTDIR)/etc/opt/csw/init.d
+	@ginstall -m 755 -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)/opt/csw/etc/CSWbind
+	@ginstall -m 755 -d $(DESTDIR)/opt/csw/etc/CSWbind
 	@cp $(FILEDIR)/cswusergroup $(DESTDIR)/opt/csw/etc/CSWbind/
-	@ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
+	@ginstall -m 755 -d $(DESTDIR)$(docdir)/$(GARNAME)
 	@$(foreach DOC,$(DOCLIST),cp $(FILEDIR)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
 	( cd $(WORKSRC) ; \
 	  gmake DESTDIR=$(DESTDIR) install )
-	@ginstall -d $(DESTDIR)/var/opt/csw/named
+	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named
 	@touch $(DESTDIR)/var/opt/csw/named/named.pid
+	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named/chroot/dev
+	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named/chroot/etc
+	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named/chroot/var/named
 	@$(MAKECOOKIE)
+
+# run bind chroot'ed:
+# (from CentOS 5.3)
+# /var/named/chroot
+# /var/named/chroot/dev
+# /var/named/chroot/dev/null
+# /var/named/chroot/dev/random
+# /var/named/chroot/dev/zero
+# /var/named/chroot/etc
+# /var/named/chroot/etc/named.caching-nameserver.conf
+# /var/named/chroot/etc/named.conf
+# /var/named/chroot/etc/rndc.conf
+# /var/named/chroot/var
+# /var/named/chroot/var/log/named.log
+# /var/named/chroot/var/named
+# /var/named/chroot/var/named/data
+# /var/named/chroot/var/named/slaves
+# /var/named/chroot/var/run
+# /var/named/chroot/var/run/named
+# /var/named/chroot/var/tmp

Modified: csw/mgar/pkg/bind/trunk/checksums
===================================================================
--- csw/mgar/pkg/bind/trunk/checksums	2009-11-26 17:24:46 UTC (rev 7463)
+++ csw/mgar/pkg/bind/trunk/checksums	2009-11-26 18:34:30 UTC (rev 7464)
@@ -1 +1 @@
-e6ce3b355c4e6bf5d66ef100f555da3f  download/bind-9.6.1-P1.tar.gz
+435bc2e26e470d46ddf2acb24abb6ea6  bind-9.6.1-P2.tar.gz


Property changes on: csw/mgar/pkg/bind/trunk/files
___________________________________________________________________
Added: svn:ignore
   + CSWbindchroot.*


Modified: csw/mgar/pkg/bind/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/bind/trunk/files/README.CSW	2009-11-26 17:24:46 UTC (rev 7463)
+++ csw/mgar/pkg/bind/trunk/files/README.CSW	2009-11-26 18:34:30 UTC (rev 7464)
@@ -10,11 +10,12 @@
 ------------
 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".
+3. Start Bind with "/etc/init.d/cswnamed start"
+   or with SMF (Solaris 10+) "svcadm enable cswnamed".
 
 There's sample files to look at in this directory.
 
 More info here: http://www.isc.org/software/BIND/.
 
 
-bonivart/081118
+bonivart/091119

Modified: csw/mgar/pkg/bind/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/bind/trunk/files/cswusergroup	2009-11-26 17:24:46 UTC (rev 7463)
+++ csw/mgar/pkg/bind/trunk/files/cswusergroup	2009-11-26 18:34:30 UTC (rev 7464)
@@ -1 +1 @@
-named::CSW BIND DNS:/false:/bin/false::
+named:named:CSW BIND DNS:/false:/bin/false:::NP


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