slackbuilds

My Slackbuilds
git clone git://git.server.ky/slackcoder/slackbuilds
Log | Files | Refs | README

README (1003B)


      1 git (the stupid content tracker)
      2 
      3 Git is a fast, scalable, distributed revision control system with an
      4 unusually rich command set that provides both high-level operations
      5 and full access to internals.
      6 
      7 "git" can mean anything, depending on your mood.
      8 
      9 Git was originally written by Linus Torvalds and is currently
     10 maintained by Junio C. Hamano.
     11 
     12 The package is a fork from Slackware to include the git-service file.
     13 It requires a 'git' user/group before building or running.
     14 
     15   useradd git \
     16     --system \
     17     --comment 'git daemon' \
     18     --shell /bin/false \
     19     --system \
     20     --user-group \
     21     --home-dir /srv/git
     22 
     23 It also requires removing any existing git package before building.
     24 
     25   removepkg git
     26 
     27 To have the git daemon to start and stop with your host, add to the
     28 beginning of /etc/rc.d/rc.local:
     29 
     30   if [ -x /etc/rc.d/rc.git ]; then
     31     /etc/rc.d/rc.git start
     32   fi
     33 
     34 and to /etc/rc.d/rc.local_shutdown (creating it if needed):
     35 
     36   if [ -x /etc/rc.d/rc.git ]; then
     37     /etc/rc.d/rc.git stop
     38   fi