diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-10-05 16:31:35 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-10-05 16:31:35 +0000 |
commit | 031c79dcf4104483c8e43ceb853932c151ea7f09 (patch) | |
tree | dc55e68d5f75074d18269d3f40c5b627171e1c8d /www-apps/gitweb | |
parent | Added src_install. Bug 64997. (diff) | |
download | historical-031c79dcf4104483c8e43ceb853932c151ea7f09.tar.gz historical-031c79dcf4104483c8e43ceb853932c151ea7f09.tar.bz2 historical-031c79dcf4104483c8e43ceb853932c151ea7f09.zip |
initial import
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'www-apps/gitweb')
-rw-r--r-- | www-apps/gitweb/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/gitweb/Manifest | 16 | ||||
-rw-r--r-- | www-apps/gitweb/files/README.gentoo | 40 | ||||
-rw-r--r-- | www-apps/gitweb/files/digest-gitweb-247 | 1 | ||||
-rw-r--r-- | www-apps/gitweb/files/postinstall-en.txt | 2 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-247.ebuild | 32 | ||||
-rw-r--r-- | www-apps/gitweb/metadata.xml | 10 |
7 files changed, 111 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..4890d871ae4b --- /dev/null +++ b/www-apps/gitweb/Manifest @@ -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 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> + |