[csw-devel] SF.net SVN: gar:[4417] csw/mgar/pkg/nsd/trunk/Makefile

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Sun Apr 19 22:44:06 CEST 2009


Revision: 4417
          http://gar.svn.sourceforge.net/gar/?rev=4417&view=rev
Author:   idogan23
Date:     2009-04-19 20:44:05 +0000 (Sun, 19 Apr 2009)

Log Message:
-----------
nsd: certain directories hanlded by the ugfiles class

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

Modified: csw/mgar/pkg/nsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nsd/trunk/Makefile	2009-04-19 20:43:06 UTC (rev 4416)
+++ csw/mgar/pkg/nsd/trunk/Makefile	2009-04-19 20:44:05 UTC (rev 4417)
@@ -19,8 +19,8 @@
 DISTFILES += cswusergroup
 DISTFILES += cswnsd
 
-SPKG_CLASSES = none cswusergroup cswcpsampleconf cswinitsmf
-PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswnsd$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/nsd\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/nsd\/nsd.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$5 = "nsd" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$6 = "nsd" } { print }'
+SPKG_CLASSES = none cswusergroup ugfiles cswcpsampleconf cswinitsmf
+PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswnsd$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/CSWnsd\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/nsd\/nsd.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$2 = "ugfiles" }  $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$5 = "nsd" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$6 = "nsd" } { print }'
 
 REQUIRED_PKGS = CSWcswclassutils
 
@@ -40,6 +40,7 @@
 	@ginstall -d $(DESTDIR)/etc/opt/csw/init.d
 	@ginstall -m 755 $(FILEDIR)/cswnsd $(DESTDIR)/etc/opt/csw/init.d/cswnsd
 	@mv $(DESTDIR)/etc/opt/csw/nsd/nsd.conf.sample $(DESTDIR)/etc/opt/csw/nsd/nsd.conf.CSW
-	@ginstall -m 755 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/nsd/cswusergroup
+	@ginstall -d $(DESTDIR)/etc/opt/csw/pkg/CSWnsd
+	@ginstall -m 644 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWnsd/cswusergroup
 
 include gar/category.mk


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