initial import
authorFernando J. Pereda <ferdy@gentoo.org>
Wed, 5 Oct 2005 16:31:35 +0000 (16:31 +0000)
committerFernando J. Pereda <ferdy@gentoo.org>
Wed, 5 Oct 2005 16:31:35 +0000 (16:31 +0000)
Package-Manager: portage-2.0.51.22-r2

www-apps/gitweb/ChangeLog [new file with mode: 0644]
www-apps/gitweb/Manifest [new file with mode: 0644]
www-apps/gitweb/files/README.gentoo [new file with mode: 0644]
www-apps/gitweb/files/digest-gitweb-247 [new file with mode: 0644]
www-apps/gitweb/files/postinstall-en.txt [new file with mode: 0644]
www-apps/gitweb/gitweb-247.ebuild [new file with mode: 0644]
www-apps/gitweb/metadata.xml [new file with mode: 0644]

diff --git a/www-apps/gitweb/ChangeLog b/www-apps/gitweb/ChangeLog
new file mode 100644 (file)
index 0000000..98e528c
--- /dev/null
@@ -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 (file)
index 0000000..4890d87
--- /dev/null
@@ -0,0 +1,16 @@
+-----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-----
diff --git a/www-apps/gitweb/files/README.gentoo b/www-apps/gitweb/files/README.gentoo
new file mode 100644 (file)
index 0000000..e8b0ad8
--- /dev/null
@@ -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 (file)
index 0000000..69e39cb
--- /dev/null
@@ -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 (file)
index 0000000..00f5fe8
--- /dev/null
@@ -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 (file)
index 0000000..3d43e56
--- /dev/null
@@ -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 (file)
index 0000000..7ab656a
--- /dev/null
@@ -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>
+