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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jun 4 03:50:55 CEST 2009


Revision: 5151
          http://gar.svn.sourceforge.net/gar/?rev=5151&view=rev
Author:   bdwalton
Date:     2009-06-04 01:50:55 +0000 (Thu, 04 Jun 2009)

Log Message:
-----------
Set NP instead of *LK* for gitosis user password
    - this is required for the ssh-based access to the account.

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

Modified: csw/mgar/pkg/gitosis/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gitosis/trunk/Makefile	2009-06-04 01:37:43 UTC (rev 5150)
+++ csw/mgar/pkg/gitosis/trunk/Makefile	2009-06-04 01:50:55 UTC (rev 5151)
@@ -12,6 +12,12 @@
 gitosis aims to make hosting git repos easier and safer. It manages multiple repositories under one user account, using SSH keys to identify users. End users do not need shell accounts on the server, they will talk to one shared account that will not let them run arbitrary commands.
 endef
 
+define CSWgitosis_postinstall
+#!/bin/sh
+
+/usr/bin/passwd -N gitosis
+endef
+
 PACKAGES = CSWgitosis
 CATALOGNAME_CSWgitosis = $(GARNAME)
 ARCHALL_CSWgitosis = 1
@@ -66,4 +72,4 @@
 	   gmkdir -p $(INSTALLISADIR)$(GITOSISHOME); \
 	   echo 'PATH=/opt/csw/bin:$$PATH' > $(INSTALLISADIR)$(GITOSISHOME)/.bashrc; \
 	   echo 'PATH=/opt/csw/bin:$$PATH' > $(INSTALLISADIR)$(GITOSISHOME)/.bash_profile; )
-	$(MAKECOOKIE)
\ No newline at end of file
+	$(MAKECOOKIE)


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