From 23f29e4b2a147a738726b2846d8ef0290363ea2a Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Sun, 10 May 2009 14:02:31 +0200 Subject: added cgit ebuild --- www-apps/cgit/files/cgitrc | 84 ++++++++++++++++++++++++++++++++++ www-apps/cgit/files/postinstall-en.txt | 3 ++ 2 files changed, 87 insertions(+) create mode 100644 www-apps/cgit/files/cgitrc create mode 100644 www-apps/cgit/files/postinstall-en.txt (limited to 'www-apps/cgit/files') diff --git a/www-apps/cgit/files/cgitrc b/www-apps/cgit/files/cgitrc new file mode 100644 index 0000000..c73d064 --- /dev/null +++ b/www-apps/cgit/files/cgitrc @@ -0,0 +1,84 @@ +## Enable caching of up to 1000 output entriess +cache-size=1000 + +## Specify some default clone prefixes +#clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git + +## Specify the css url +css=/cgit/cgit.css + +## Show extra links for each repository on the index page +enable-index-links=1 + +## Show number of affected files per commit on the log pages +enable-log-filecount=1 + +## Show number of added/removed lines per commit on the log pages +enable-log-linecount=1 + +## Add a cgit favicon +#favicon=/favicon.ico + +## Use a custom logo +logo=/cgit/cgit.png + +## Set the title and heading of the repository index page +#root-title=foobar.com git repositories + +## Set a subheading for the repository index page +#root-desc=tracking the foobar development + +## Include some more info about foobar.com on the index page +#root-readme=/var/www/htdocs/about.html + +## Allow download of tar.gz, tar.bz and zip-files +snapshots=tar.gz tar.bz zip + +## +## List of repositories. +## PS: Any repositories listed when repo.group is unset will not be +## displayed under a group heading +## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') +## and included like this: +## include=/etc/cgitrepos +## + +#repo.url=foo +#repo.path=/pub/git/foo.git +#repo.desc=the master foo repository +#repo.owner=fooman@foobar.com +#repo.readme=info/web/about.html + +#repo.url=bar +#repo.path=/pub/git/bar.git +#repo.desc=the bars for your foo +#repo.owner=barman@foobar.com +#repo.readme=info/web/about.html + +## The next repositories will be displayed under the 'extras' heading +#repo.group=extras + +#repo.url=baz +#repo.path=/pub/git/baz.git +#repo.desc=a set of extensions for bar users + +#repo.url=wiz +#repo.path=/pub/git/wiz.git +#repo.desc=the wizard of foo + +## Add some mirrored repositories +#repo.group=mirrors + +#repo.url=git +#repo.path=/pub/git/git.git +#repo.desc=the dscm + +#repo.url=linux +#repo.path=/pub/git/linux.git +#repo.desc=the kernel + +## Disable adhoc downloads of this repo +#repo.snapshots=0 + +## Disable line-counts for this repo +#repo.enable-log-linecount=0 diff --git a/www-apps/cgit/files/postinstall-en.txt b/www-apps/cgit/files/postinstall-en.txt new file mode 100644 index 0000000..9102396 --- /dev/null +++ b/www-apps/cgit/files/postinstall-en.txt @@ -0,0 +1,3 @@ +You need to modify /etc/cgitrc with the list of available +repositories. Look at the examples in the file by searching for +repo.path -- cgit v1.2.3