[csw-devel] SF.net SVN: gar:[6853] csw/mgar/pkg/gitosis/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Oct 13 17:08:14 CEST 2009


Revision: 6853
          http://gar.svn.sourceforge.net/gar/?rev=6853&view=rev
Author:   bdwalton
Date:     2009-10-13 15:08:14 +0000 (Tue, 13 Oct 2009)

Log Message:
-----------
gitosis: prepare for cswinetdconf class utils support

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

Added Paths:
-----------
    csw/mgar/pkg/gitosis/trunk/files/inetd.conf

Modified: csw/mgar/pkg/gitosis/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gitosis/trunk/Makefile	2009-10-13 14:41:01 UTC (rev 6852)
+++ csw/mgar/pkg/gitosis/trunk/Makefile	2009-10-13 15:08:14 UTC (rev 6853)
@@ -59,9 +59,10 @@
 
 GITOSISHOME = /var/opt/csw/gitosis
 CSWUG = gitosis:gitosis:Gitosis Host:$(GITOSISHOME):/opt/csw/bin/bash::
-CSWUGD = $(INSTALLISADIR)/opt/csw/etc/pkg/CSW$(GARNAME)
+CSWPKGD = $(INSTALLISADIR)/opt/csw/etc/pkg/CSW$(GARNAME)
 
 USERGROUP = /opt/csw/etc/pkg/CSWgitosis/cswusergroup
+INETDCONF = /opt/csw/etc/pkg/CSWgitosis/inetd.conf
 
 PROTOTYPE_FILTER  = awk '$$$$3 ~ /\/var\/opt\/csw\/gitosis/ { $$$$2 = "ugfiles"; $$$$5 = "gitosis"; $$$$6 = "gitosis" }; { print }'
 
@@ -78,8 +79,9 @@
 SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(PATCHLEVEL)
 
 post-install-modulated:
-	@( gmkdir -p $(CSWUGD); \
-		echo "$(CSWUG)" > $(CSWUGD)/cswusergroup; \
+	@( gmkdir -p $(CSWPKGD); \
+		echo "$(CSWUG)" > $(CSWPKGD)/cswusergroup; \
+	   ginstall -m 0644 $(FILEDIR)/inetd.conf $(CSWPKGD); \
 	   gmkdir -p $(INSTALLISADIR)$(GITOSISHOME); \
 	   echo 'PATH=/opt/csw/bin:$$PATH' > $(INSTALLISADIR)$(GITOSISHOME)/.bashrc; \
 	   echo 'PATH=/opt/csw/bin:$$PATH' > $(INSTALLISADIR)$(GITOSISHOME)/.bash_profile; \

Added: csw/mgar/pkg/gitosis/trunk/files/inetd.conf
===================================================================
--- csw/mgar/pkg/gitosis/trunk/files/inetd.conf	                        (rev 0)
+++ csw/mgar/pkg/gitosis/trunk/files/inetd.conf	2009-10-13 15:08:14 UTC (rev 6853)
@@ -0,0 +1 @@
+git     stream  tcp     nowait  gitosis /opt/csw/bin/git        git daemon --base-path=/var/opt/csw/gitosis/repositories --syslog --inetd --verbose
\ No newline at end of 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