BSD Ports

devel/cgit 1.2.3_1 DragonFly

Fast, lightweight web frontend for Git repositories

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel, www
Package size
764.0 KiB, 1860.2 KiB installed

Description

cgit is a fast web interface for the Git SCM, using a built-in cache to decrease server I/O pressure.

In the other systems

SystemPortVersion
DragonFlydevel/cgit1.2.3_1
FreeBSDdevel/cgit1.3_1
OpenBSDwww/cgit1.2.3
NetBSDwww/cgit1.3nb1
MidnightBSDdevel/cgit1.2.3_1

Install

Binary package:

pkg install cgit

From DPorts:

cd /usr/dports/devel/cgit && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

cgit has been successfully installed.

To enable cgit in Apache, use something like the following:

  <Directory "/usr/local/www/cgit/">
      AllowOverride None
      Options +ExecCGI
      Require all granted 
  </Directory>

Documentation and sample configuration can be found
in /usr/local/share/doc/cgit/cgitrc.5.txt.