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

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Jul 7 10:42:43 CEST 2009


Revision: 5527
          http://gar.svn.sourceforge.net/gar/?rev=5527&view=rev
Author:   bonivart
Date:     2009-07-07 08:42:42 +0000 (Tue, 07 Jul 2009)

Log Message:
-----------
bind: add usergroup

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

Added Paths:
-----------
    csw/mgar/pkg/bind/trunk/files/cswusergroup

Removed Paths:
-------------
    csw/mgar/pkg/bind/trunk/files/CSWbind.gspec

Modified: csw/mgar/pkg/bind/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bind/trunk/Makefile	2009-07-06 23:07:43 UTC (rev 5526)
+++ csw/mgar/pkg/bind/trunk/Makefile	2009-07-07 08:42:42 UTC (rev 5527)
@@ -21,7 +21,8 @@
 #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,CSWbind,preinstall preremove)
+DISTFILES += $(,CSWbind,preinstall preremove)
 
 PACKAGES = CSWbind CSWbinddevel CSWlibbind CSWbindutils
 CATALOGNAME_CSWbinddevel = bind_devel
@@ -65,12 +66,13 @@
 PROTOTYPE_FILTER  = awk ' \
 	$$$$3 ~ /\/init.d\/cswnamed$$$$/ { $$$$2 = "cswinitsmf" } \
 	$$$$3 ~ /\/named.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \
-	$$$$3 ~ /\/var\/opt\/csw\/named/ { $$$$5 = "named" } \
+	$$$$3 ~ /\/var\/opt\/csw\/named/ { $$$$5 = "named" ; $$$$2 = "ugfiles" } \
+	$$$$3 ~ /\/CSWbind\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } \
 	{ print }'
 
 SPKG_SOURCEURL = http://www.isc.org/software/bind
 # use usergroup class also
-SPKG_CLASSES_CSWbind = none cswcpsampleconf cswinitsmf
+SPKG_CLASSES_CSWbind = none cswusergroup cswugfiles cswcpsampleconf cswinitsmf
 
 include gar/category.mk
 
@@ -83,10 +85,11 @@
 	@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)/etc/opt/csw/CSWbind
+	@cp $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/CSWbind/
 	@ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
 	@$(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)

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.gspec
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.gspec	2009-07-06 23:07:43 UTC (rev 5526)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.gspec	2009-07-07 08:42:42 UTC (rev 5527)
@@ -1,7 +0,0 @@
-%var            bitname bind
-%var            pkgname CSWbind
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright
-
-Please see /opt/csw/share/doc/bind/LICENSE for license information
-

Added: csw/mgar/pkg/bind/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/bind/trunk/files/cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/bind/trunk/files/cswusergroup	2009-07-07 08:42:42 UTC (rev 5527)
@@ -0,0 +1 @@
+named::CSW BIND DNS:/false:/bin/false::


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