cgit for Debian

Prebuilt packages

Prebuilt packages are available from http://debian.keshi.org/cgit/. No support is provided for these packages. Use them at your own risk.

apt-line for sid:

deb http://debian.keshi.org/cgit/sid ./

apt-line for wheezy:

deb http://debian.keshi.org/cgit/wheezy ./

Import the archive key before apt-get:

curl http://debian.keshi.org/archive.key | apt-key add -
apt-get update
apt-get install cgit

Building packages

How to build a binary package using git-buildpackage:

git clone http://git.keshi.org/debian/cgit
cd cgit
git remote add upstream git://git.zx2c4.com/cgit
git remote update
git submodule init
git submodule update

The upstream archive (cgit-x.xx.orig.tar.xz) will be exported from the repository using a tag like v0.10 as well as submoduled /git.