cgit - A web frontend for git repositories

Distribution: openSUSE 13.2
Repository: openSUSE Update all
Package name: cgit
Package version: 0.12
Package release: 13.9.1
Package architecture: x86_64
Package type: rpm
Installed size: 1.01 MB
Download size: 455.31 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.



  • cgit = 0.12-13.9.1
  • cgit(x86-64) = 0.12-13.9.1
  • config(cgit) = 0.12-13.9.1


    Source package: cgit-0.12-13.9.1.src.rpm

    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/share/doc/packages/cgit/COPYING
    • /usr/share/doc/packages/cgit/README
    • /usr/share/man/man5/cgitrc.5.gz


    2016-03-16 - - Fix remote code execution via buffer overflow (CVE-2016-2315, CVE-2016-2324, bsc#971328): 0012-http-push-stop-using-name_path.patch 0013-show_object_with_name-simplify-by-using-path_name.patch 0014-list-objects-convert-name_path-to-a-strbuf.patch 0015-list-objects-drop-name_path-entirely.patch 0016-list-objects-pass-full-pathname-to-callbacks.patch

    2016-01-14 - - Update to new upstream release 0.12 * Show remote refs in branch switcher combobox. * Add sample post-receive hook in /contrib. * Add HTML escaping to filters. * Add "enable-follow-links" option to have the log UI behave the same way as "git log --follow", as well as updating the diffand commit UIs. * Errors are now cached under the dynamic-ttl setting. * Simplified filters and converters. * Add "enable-html-serving" to turn on serving of HTML mimetypes from the /plain handler, to prevent against stored XSS. * /blob no longer takes a mimetype query string parameter. - Resolve: Reflected Cross Site Scripting & Header Injection in Mimetype Query String; Stored Cross Site Scripting & Header Injection in Filename Parameter; Stored Cross Site Scripting in Git Repo Files; Integer Overflow resulting in Buffer Overflow [boo#961916 CVE-2016-1899 CVE-2016-1900 CVE-2016-1901] - Update bundled git tarball to 2.7.0 (build-time requirement)

    2015-10-06 - - Update bundled git tarball to 2.6.1 [bnc#948969]

    2015-09-24 - - Update bundled git tarball to 2.5.3

    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