cgit - A web frontend for git repositories

Distribution: openSUSE 13.2
Repository: openSUSE Update all
Package name: cgit
Package version: 0.11.2
Package release: 13.3.1
Package architecture: i586
Package type: rpm
Installed size: 1019.62 KB
Download size: 428.17 KB
Official Mirror:
This is an attempt to create a fast web interface for the Git SCM, using a builtin cache to decrease server I/O pressue. Authors: -------- Lars Hjemli (



  • cgit = 0.11.2-13.3.1
  • cgit(x86-32) = 0.11.2-13.3.1
  • config(cgit) = 0.11.2-13.3.1


    Install Howto

    Install cgit rpm package:

    # zypper install cgit


    • /etc/cgitrc
    • /srv/www/cgi-bin/cgit/cgit.cgi
    • /srv/www/htdocs/cgit/cgit.css
    • /srv/www/htdocs/cgit/cgit.png
    • /srv/www/htdocs/cgit/favicon.ico
    • /srv/www/htdocs/cgit/robots.txt
    • /usr/lib/cgit/
    • /usr/lib/cgit/filters/
    • /usr/lib/cgit/filters/
    • /usr/lib/cgit/filters/email-gravatar.lua
    • /usr/lib/cgit/filters/
    • /usr/lib/cgit/filters/email-libravatar.lua
    • /usr/lib/cgit/filters/gentoo-ldap-authentication.lua
    • /usr/lib/cgit/filters/owner-example.lua
    • /usr/lib/cgit/filters/simple-authentication.lua
    • /usr/lib/cgit/filters/
    • /usr/lib/cgit/filters/
    • /usr/lib/cgit/filters/html-converters/man2html
    • /usr/lib/cgit/filters/html-converters/md2html
    • /usr/lib/cgit/filters/html-converters/rst2html
    • /usr/lib/cgit/filters/html-converters/txt2html
    • /usr/lib/cgit/filters/html-converters/resources/
    • /usr/lib/cgit/filters/html-converters/resources/rst-template.txt
    • /usr/share/doc/packages/cgit/COPYING
    • /usr/share/doc/packages/cgit/README
    • /usr/share/man/man5/cgitrc.5.gz


    2015-06-09 - - Update bundled git tarball to 2.4.3

    2015-05-04 - - Update to new upstream release 0.11.2 * addition of a Lua scripting engine * fine-grained authentication support through the new Lua scripting system * support for the "rawdiff" command was added * sendfile() is now used when available (Linux systems) instead of a loop of read() and write(). This should significantly increase performance for high volume sites which make heavy use of the caching feature, as it saves copies to and from user-space. * Caching granularity is now improved with the introduction of the cache-snapshot-ttl option, which allows configuration of the ttl for tarball and zip snapshots of repositories. * When filtering in the index, make the sorting links point to the same filtered page of results * Take into account leading slashes when comptuing links - Avoid double %setup (messes with quilt). Simplify filelist. %doc for man is implicit. - Drop cgit-git-1.7.6_build_fix.patch, cgit-fix-print-tree.diff, cgit-fix-more-read_tree_recursive-invocations.diff, cgit-CVE-2013-2117-disallow-directory-traversal.patch - Add signature for the git core tarball.

    2014-11-24 - - Fix css and logo path in cgitrc file (replace /git by /cgit)

    2014-10-06 - - Remove ancient specfile tags/sections - Enable parallel build

    2013-07-05 - - Fix VUL-0: cgit: remote file disclosure flaw (CVE-2013-2117, bnc#822166)

    2012-11-20 - - BuildRequire xz

    2012-11-20 - - updated to cgit-0.9.1: Enhancements: - path-selected submodule links - intelligent default branch guessing - /etc/mime.types lookup - gitweb.* and cgit.* git-config support - case insensitive sorting and age sorting - commit, repository, and section sorting - bold currently viewed page in pagination - support BSDs in makefile Security: - CVE-2012-4465: heap-buffer overflow in parsing.c - CVE-2012-4548: syntax highlighting command injection Bug Fixes: - transition maintainer to Jason Donenfeld (zx2c4) - download git snapshot from github instead of Lars' old server - css fixes - stablization of tests - more compatible default highlight script - suppress gzip timestamp so that tarballs only use tar timestamps - treat ctags as target in makefile - do not let global variables override certain local repo settings - print ampersand as proper html entity - use placeholder for empty commit subject - format diff view for addition and removal of files - point links at correct blob from ssdiff - drop obsoleted patches cgit-CVE-2011-2711-fix.diff cgit-CVE-2012-4465-fix.diff cgit-CVE-2012-4548-fix.diff

    2012-10-29 - - cgit-CVE-2012-4548-fix.diff: Fix VUL-0: cgit: arbitrary code / command execution via improperly quoted arguments (CVE-2012-4548, bnc#787074)

    2012-10-10 - - Fix VUL-0: specially-crafted commits can trigger a heap-based buffer overflow (CVE-2012-4465, bnc#783012)

    2012-02-13 - - patch license to follow standard