From 244e1d866c1c65562067abdf1f0fe23fad24b41d Mon Sep 17 00:00:00 2001 From: "Fernando J. Pereda" Date: Tue, 14 Nov 2006 10:21:19 +0000 Subject: gitweb is now included in git tarballs and uses a different naming scheme Package-Manager: portage-2.1.1-r1 --- www-apps/gitweb/ChangeLog | 8 +++++- www-apps/gitweb/files/README.gentoo | 2 +- www-apps/gitweb/files/digest-gitweb-1.4.3.5 | 3 +++ www-apps/gitweb/gitweb-1.4.3.5.ebuild | 40 +++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 www-apps/gitweb/files/digest-gitweb-1.4.3.5 create mode 100644 www-apps/gitweb/gitweb-1.4.3.5.ebuild diff --git a/www-apps/gitweb/ChangeLog b/www-apps/gitweb/ChangeLog index b0e407234b92..1bda36e18eda 100644 --- a/www-apps/gitweb/ChangeLog +++ b/www-apps/gitweb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/gitweb # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/gitweb/ChangeLog,v 1.13 2006/09/27 19:45:25 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/gitweb/ChangeLog,v 1.14 2006/11/14 10:21:19 ferdy Exp $ + +*gitweb-1.4.3.5 (14 Nov 2006) + + 14 Nov 2006; Fernando J. Pereda files/README.gentoo, + +gitweb-1.4.3.5.ebuild, -gitweb-267.ebuild: + gitweb is now included in git tarballs and uses a different naming scheme. 27 Sep 2006; Fernando J. Pereda -gitweb-261.ebuild, -gitweb-263.ebuild, -gitweb-264.ebuild: diff --git a/www-apps/gitweb/files/README.gentoo b/www-apps/gitweb/files/README.gentoo index e8b0ad8354fb..2c530203887d 100644 --- a/www-apps/gitweb/files/README.gentoo +++ b/www-apps/gitweb/files/README.gentoo @@ -21,7 +21,7 @@ gitweb should show. The example below defines a project located in ( Note the use of the plus sign (``+``) ) -Also you may want to create the file ``index/text.html``. This file will +Also you may want to create the file ``indextext.html``. This file will be included in the header of the project listing page in gitweb. Webserver configuration diff --git a/www-apps/gitweb/files/digest-gitweb-1.4.3.5 b/www-apps/gitweb/files/digest-gitweb-1.4.3.5 new file mode 100644 index 000000000000..a32824f9463e --- /dev/null +++ b/www-apps/gitweb/files/digest-gitweb-1.4.3.5 @@ -0,0 +1,3 @@ +MD5 db7c8dad84643b9f6744a0eca22521c7 git-1.4.3.5.tar.bz2 859712 +RMD160 076514f909a901f18f01151a1839b6cac03d1e1e git-1.4.3.5.tar.bz2 859712 +SHA256 8ab38be18a8221d2181a09b17dd98d4e29e33d897be7c6d9ee31495dc5756409 git-1.4.3.5.tar.bz2 859712 diff --git a/www-apps/gitweb/gitweb-1.4.3.5.ebuild b/www-apps/gitweb/gitweb-1.4.3.5.ebuild new file mode 100644 index 000000000000..cef81ee2feb3 --- /dev/null +++ b/www-apps/gitweb/gitweb-1.4.3.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gitweb/gitweb-1.4.3.5.ebuild,v 1.1 2006/11/14 10:21:19 ferdy Exp $ + +inherit webapp + +GIT_VERSION="${PV}" + +DESCRIPTION="Web interface to GIT repositories" +HOMEPAGE="http://git.or.cz/" +SRC_URI="mirror://kernel/software/scm/git/git-${GIT_VERSION}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl +>=dev-util/git-${PV}" + +S="${WORKDIR}"/git-${GIT_VERSION}/gitweb + +src_compile() { + sed -i \ + -e 's~^\(GITWEB_PROJECTROOT =\).*$~\1 /var/git~g' \ + -e 's~^\(GITWEB_LIST =\).*$~\1 index/index.aux~g' \ + ../Makefile || die "failed to sed Makefile" + emake -C .. prefix=/usr gitweb/gitweb.cgi || die "emake failed" +} + +src_install() { + webapp_src_preinst + dodoc README "${FILESDIR}"/README.gentoo + rm -f README + + cp gitweb.{cgi,css} git-{favicon,logo}.png ${D}/${MY_HTDOCSDIR} + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} -- cgit v1.2.3-65-gdbad