[csw-devel] SF.net SVN: gar:[7083] csw/mgar/gar/v2-migrateconf/gar.pkg.mk
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Nov 3 11:29:36 CET 2009
Revision: 7083
http://gar.svn.sourceforge.net/gar/?rev=7083&view=rev
Author: wahwah
Date: 2009-11-03 10:29:36 +0000 (Tue, 03 Nov 2009)
Log Message:
-----------
gar/v2-migrateconf: preliminary support in GAR
Modified Paths:
--------------
csw/mgar/gar/v2-migrateconf/gar.pkg.mk
Modified: csw/mgar/gar/v2-migrateconf/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2-migrateconf/gar.pkg.mk 2009-11-02 18:28:45 UTC (rev 7082)
+++ csw/mgar/gar/v2-migrateconf/gar.pkg.mk 2009-11-03 10:29:36 UTC (rev 7083)
@@ -171,6 +171,7 @@
# and able to be consumed by a service that might be started.
SPKG_CLASSES := $(call _spkg_cond_add,SAMPLECONF,cswcpsampleconf)
SPKG_CLASSES := $(call _spkg_cond_add,PRESERVECONF,cswpreserveconf)
+SPKG_CLASSES := $(call _spkg_cond_add,MIGRATECONF,cswpycompile)
SPKG_CLASSES := $(call _spkg_cond_add,ETCSERVICES,cswetcservices)
SPKG_CLASSES := $(call _spkg_cond_add,USERGROUP,cswusergroup)
SPKG_CLASSES := $(call _spkg_cond_add,PYCOMPILE,cswpycompile)
@@ -178,10 +179,11 @@
SPKG_CLASSES := $(call _spkg_cond_add,INITSMF,cswinitsmf)
# - set class for all config files
-ifneq ($(SAMPLECONF)$(PRESERVECONF)$(ETCSERVICES)$(INETDCONF)$(INITSMF)$(USERGROUP)$(PYCOMPILE),)
+ifneq ($(SAMPLECONF)$(PRESERVECONF)$(MIGRATECONF)$(ETCSERVICES)$(INETDCONF)$(INITSMF)$(USERGROUP)$(PYCOMPILE),)
_CSWCLASS_FILTER = | perl -ane '\
$(foreach FILE,$(SAMPLECONF:%\.CSW=%),$$F[1] = "cswcpsampleconf" if ( $$F[2] =~ m(^$(FILE)\.CSW$$) );)\
$(foreach FILE,$(PRESERVECONF:%\.CSW=%),$$F[1] = "cswpreserveconf" if( $$F[2] =~ m(^$(FILE)\.CSW$$) );)\
+ $(foreach FILE,$(MIGRATECONF),$$F[1] = "cswmigrateconf" if( $$F[2] =~ m(^$(FILE)$$) );)\
$(foreach FILE,$(ETCSERVICES),$$F[1] = "cswetcservices" if( $$F[2] =~ m(^$(FILE)$$) );)\
$(foreach FILE,$(INETDCONF),$$F[1] = "cswinetd" if( $$F[2] =~ m(^$(FILE)$$) );)\
$(foreach FILE,$(INITSMF),$$F[1] = "cswinitsmf" if( $$F[2] =~ m(^$(FILE)$$) );)\
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