--- /dev/null
+# ChangeLog for www-apps/gitweb
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gitweb/ChangeLog,v 1.1 2005/10/05 16:31:35 ferdy Exp $
+
+*gitweb-247 (05 Oct 2005)
+
+ 05 Oct 2005; Fernando J. Pereda <ferdy@gentoo.org> +files/README.gentoo,
+ +files/postinstall-en.txt, +gitweb-247.ebuild:
+ initial import
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9176d69dc0400461181a9854247faba4 gitweb-247.ebuild 783
+MD5 8a895e803661b6a53a6b1d1b20d8a3a0 ChangeLog 371
+MD5 b32bfee3c12fac430c39b4247b8ff31f metadata.xml 259
+MD5 f1a84515eba72a08a13816239fe73998 files/README.gentoo 1265
+MD5 9272f93dddc13f4407e7354314666e24 files/digest-gitweb-247 62
+MD5 ba79e998d31eedfab7871f5372d6890c files/postinstall-en.txt 93
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDRAAiViELBEf1JB0RAiJ7AJwKTM+7f9kLRl7pz5zkRlPU2nOPFQCfWgjF
+ZSMWlhRtofXFWptILfd8M8A=
+=BMIV
+-----END PGP SIGNATURE-----
--- /dev/null
+Gentoo related gitweb information
+=================================
+
+Abstract
+--------
+
+gitweb comes with almost no documentation so this document should cover
+everything needed to set a gitweb instalation in Gentoo. However,
+setting gitweb is really easy. This document assumes you have your
+public repositories in ``/var/git/``.
+
+gitweb.cgi configuration
+------------------------
+
+In the directory where gitweb is installed you have to create at least
+one file named ``index/index.aux``. This file defines the repositories
+gitweb should show. The example below defines a project located in
+``/var/git/test-project.git`` owned by ``Some Project Developer``.
+
+ test-project.git Some+Project+Developer
+
+( Note the use of the plus sign (``+``) )
+
+Also you may want to create the file ``index/text.html``. This file will
+be included in the header of the project listing page in gitweb.
+
+Webserver configuration
+-----------------------
+
+If you use apache you may want to add the following to a ``.htaccess``
+file in the directory where gitweb is installed.
+
+ DirectoryIndex gitweb.cgi
+
+In lighttpd you may want to add ``gitweb.cgi`` to your indexfiles in
+your ``lighttpd.conf`` as follows:
+
+server.indexfiles += ("gitweb.cgi")
+
+.. vim: set tw=72 sw=4 et ft=glep : ..
--- /dev/null
+MD5 770fcdf6c7148c56d95dd52d5288e347 gitweb-247.tar.bz2 13770
--- /dev/null
+Before using gitweb please consider reading
+the included Gentoo specific README.gentoo file.
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gitweb/gitweb-247.ebuild,v 1.1 2005/10/05 16:31:35 ferdy Exp $
+
+inherit webapp
+
+DESCRIPTION="Web interface to GIT repositories"
+HOMEPAGE="http://git.or.cz/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~alpha"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/perl"
+
+src_install() {
+ webapp_src_preinst
+ dodoc README "${FILESDIR}/README.gentoo"
+ rm -f README
+
+ sed -i \
+ -e 's:^\(my $projectroot = *\).*$:\1"/var/git";:g' \
+ -e 's:indextext\.html:index/text.html:g' \
+ gitweb.cgi || die "sed failed"
+
+ cp gitweb.cgi ${D}${MY_HTDOCSDIR}
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ferdy@gentoo.org</email>
+ <name>Fernando J. Pereda</name>
+ </maintainer>
+</pkgmetadata>
+