summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2005-10-05 16:31:35 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2005-10-05 16:31:35 +0000
commita4d22f9679c769f36044e7e1ce862f03ed3402fa (patch)
tree6ddfa296781ef1ad6a01d2bb59ec6abe365a0f8e /www-apps/gitweb
parentAdded src_install. Bug 64997. (diff)
downloadgentoo-2-a4d22f9679c769f36044e7e1ce862f03ed3402fa.tar.gz
gentoo-2-a4d22f9679c769f36044e7e1ce862f03ed3402fa.tar.bz2
gentoo-2-a4d22f9679c769f36044e7e1ce862f03ed3402fa.zip
initial import
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps/gitweb')
-rw-r--r--www-apps/gitweb/ChangeLog10
-rw-r--r--www-apps/gitweb/Manifest6
-rw-r--r--www-apps/gitweb/files/README.gentoo40
-rw-r--r--www-apps/gitweb/files/digest-gitweb-2471
-rw-r--r--www-apps/gitweb/files/postinstall-en.txt2
-rw-r--r--www-apps/gitweb/gitweb-247.ebuild32
-rw-r--r--www-apps/gitweb/metadata.xml10
7 files changed, 101 insertions, 0 deletions
diff --git a/www-apps/gitweb/ChangeLog b/www-apps/gitweb/ChangeLog
new file mode 100644
index 000000000000..98e528c6a316
--- /dev/null
+++ b/www-apps/gitweb/ChangeLog
@@ -0,0 +1,10 @@
+# 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
+
diff --git a/www-apps/gitweb/Manifest b/www-apps/gitweb/Manifest
new file mode 100644
index 000000000000..759054474511
--- /dev/null
+++ b/www-apps/gitweb/Manifest
@@ -0,0 +1,6 @@
+MD5 2c278e24e8af39c1e9740d1e740827e7 gitweb-247.ebuild 689
+MD5 be01bf97420f9f8b82b9e9a19af36f37 ChangeLog 285
+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
diff --git a/www-apps/gitweb/files/README.gentoo b/www-apps/gitweb/files/README.gentoo
new file mode 100644
index 000000000000..e8b0ad8354fb
--- /dev/null
+++ b/www-apps/gitweb/files/README.gentoo
@@ -0,0 +1,40 @@
+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 : ..
diff --git a/www-apps/gitweb/files/digest-gitweb-247 b/www-apps/gitweb/files/digest-gitweb-247
new file mode 100644
index 000000000000..69e39cbe2be6
--- /dev/null
+++ b/www-apps/gitweb/files/digest-gitweb-247
@@ -0,0 +1 @@
+MD5 770fcdf6c7148c56d95dd52d5288e347 gitweb-247.tar.bz2 13770
diff --git a/www-apps/gitweb/files/postinstall-en.txt b/www-apps/gitweb/files/postinstall-en.txt
new file mode 100644
index 000000000000..00f5fe888bc3
--- /dev/null
+++ b/www-apps/gitweb/files/postinstall-en.txt
@@ -0,0 +1,2 @@
+Before using gitweb please consider reading
+the included Gentoo specific README.gentoo file.
diff --git a/www-apps/gitweb/gitweb-247.ebuild b/www-apps/gitweb/gitweb-247.ebuild
new file mode 100644
index 000000000000..3d43e565f798
--- /dev/null
+++ b/www-apps/gitweb/gitweb-247.ebuild
@@ -0,0 +1,32 @@
+# 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
+}
diff --git a/www-apps/gitweb/metadata.xml b/www-apps/gitweb/metadata.xml
new file mode 100644
index 000000000000..7ab656a092d3
--- /dev/null
+++ b/www-apps/gitweb/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+