Type make install.
-Create a "git" user that will run the outer part of the git-daemon.
+Create a "userv-git" user that will run the outer part of the git-daemon.
Ensure your /etc/services contains a line like "git 9418/tcp".
Insert the inetd.conf fragment into your /etc/inetd.conf
----------
The userv-git-daemon is invoked by inetd which also tells it where to
-find its global git-urlmap script.
+find its global git-urlmap config.
The git-daemon parses the request from the network and uses the global
-git-urlmap script to determine which user will run the requested
-service. It invokes userv for the request to be performed. The most
+git-urlmap config to determine which user will run the requested
+service. It invokes userv for the request to be performed. The most
common service is git-upload-pack, which is confusingly named: it
uploads from the repository to the network; other services supported
by git are git-upload-archive and git-receive-pack.
-The git-daemon will pass any service beginning git- to userv. The
+The git-daemon will pass any service beginning git- to userv. The
userv configuration determines which services may be requested. This
package includes example git-upload-pack service configurations.
The service configuration uses the git-service script to run the
-service. It passes the global and per-user git-urlmap scripts to the
+service. It passes the global and per-user git-urlmap configs to the
git-service script to determine where in the filesyetem the requested
-repository is. Later urlmap scripts override the choices made by
-earlier ones. See the sample git-urlmap script for details of the
-variables they can examine and set.
+repository is. Later urlmap entries override the choices made by
+earlier ones.
If a repository is located, the git-service script runs the requested
service, which is simply the git program with the same name.
+Configuration:
+--------------
+
+See "git-urlmap" for syntax description and an example.
+
+
----------------------------------------------
-This was written by Tony Finch <dot@dotat.at>
-You may do anything with it, at your own risk.
+This was written by Tony Finch <dot@dotat.at> and subsequently
+heavily modified by Ian Jackson <ijackson@chiark.greenend.org.uk>
http://creativecommons.org/publicdomain/zero/1.0/