pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/gitweb Initial import of gitweb, version 1.5.0.3:
details: https://anonhg.NetBSD.org/pkgsrc/rev/b4e5fe2c9c25
branches: trunk
changeset: 526976:b4e5fe2c9c25
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Thu Mar 22 17:15:36 2007 +0000
description:
Initial import of gitweb, version 1.5.0.3:
gitweb provides an easy to use and full-fledged web interface to
your Git repositories. It allows users to browse the contents of
all served projects, including the ability to inspect individual
files and their history for any of the available branches.
diffstat:
www/gitweb/DESCR | 4 ++
www/gitweb/MESSAGE | 17 ++++++++++++
www/gitweb/Makefile | 49 ++++++++++++++++++++++++++++++++++++
www/gitweb/PLIST | 11 ++++++++
www/gitweb/distinfo | 5 +++
www/gitweb/files/gitweb.conf | 59 ++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 145 insertions(+), 0 deletions(-)
diffs (169 lines):
diff -r dd3617e560e1 -r b4e5fe2c9c25 www/gitweb/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitweb/DESCR Thu Mar 22 17:15:36 2007 +0000
@@ -0,0 +1,4 @@
+gitweb provides an easy to use and full-fledged web interface to
+your Git repositories. It allows users to browse the contents of
+all served projects, including the ability to inspect individual
+files and their history for any of the available branches.
diff -r dd3617e560e1 -r b4e5fe2c9c25 www/gitweb/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitweb/MESSAGE Thu Mar 22 17:15:36 2007 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/03/22 17:15:36 jmmv Exp $
+
+The gitweb configuration file is located at:
+
+ ${CONFFILE}
+
+At the very least you should set the `projectroot' variable in it to point
+to where your git repositories are.
+
+After that, you might be able to access the interface at the URL shown
+below, assuming that you are using the default location for Apache's
+htdocs:
+
+ http://localhost/cgi-bin/cgiweb.cgi
+
+===========================================================================
diff -r dd3617e560e1 -r b4e5fe2c9c25 www/gitweb/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitweb/Makefile Thu Mar 22 17:15:36 2007 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/22 17:15:36 jmmv Exp $
+#
+
+DISTNAME= git-1.5.0.3
+PKGNAME= ${DISTNAME:S/git/gitweb/}
+CATEGORIES= www
+MASTER_SITES= http://www.kernel.org/pub/software/scm/git/
+
+MAINTAINER= jmmv%NetBSD.org@localhost
+HOMEPAGE= http://git.or.cz/
+COMMENT= Web interface for GIT repositories
+
+DEPENDS+= apache{,2,22}-[0-9]*:../../www/apache22
+DEPENDS+= scm${DISTNAME:S/-/>=/}:../../devel/scmgit
+
+USE_TOOLS+= gmake perl:run
+
+BUILD_TARGET= gitweb/gitweb.cgi
+MAKE_FLAGS= prefix=${PREFIX}
+MAKE_FLAGS+= GITWEB_FAVICON=/gitweb/git-favicon.png
+MAKE_FLAGS+= GITWEB_CONFIG=${GITWEB_CONFIG}
+MAKE_FLAGS+= GITWEB_CSS=/gitweb/gitweb.css
+MAKE_FLAGS+= GITWEB_HOMETEXT=/gitweb/indextext.html
+MAKE_FLAGS+= GITWEB_LOGO=/gitweb/git-logo.png
+MAKE_FLAGS+= PERL_PATH=${PERL5:Q}
+
+GITWEB_CONFIG= ${PKG_SYSCONFDIR}/gitweb.conf
+GITWEB_CGIBIN= ${PREFIX}/libexec/cgi-bin
+GITWEB_HTDOCS= ${PREFIX}/share/httpd/htdocs/gitweb
+GITWEB_EGDIR= ${PREFIX}/share/examples/gitweb
+
+CONF_FILES= ${GITWEB_EGDIR}/gitweb.conf ${PKG_SYSCONFDIR}/gitweb.conf
+MESSAGE_SUBST+= CONFFILE=${PKG_SYSCONFDIR}/gitweb.conf
+
+INSTALLATION_DIRS= libexec/cgi-bin share/httpd/htdocs
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/gitweb/gitweb.cgi ${GITWEB_CGIBIN}
+ ${INSTALL_DATA_DIR} ${GITWEB_HTDOCS}
+.for f in git-favicon.png git-logo.png gitweb.css
+ ${INSTALL_DATA} ${WRKSRC}/gitweb/${f} ${GITWEB_HTDOCS}
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gitweb
+ ${INSTALL_DATA} ${WRKSRC}/gitweb/README \
+ ${PREFIX}/share/doc/gitweb
+ ${INSTALL_DATA_DIR} ${GITWEB_EGDIR}
+ ${INSTALL_DATA} ${FILESDIR}/gitweb.conf ${GITWEB_EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r dd3617e560e1 -r b4e5fe2c9c25 www/gitweb/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitweb/PLIST Thu Mar 22 17:15:36 2007 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/22 17:15:36 jmmv Exp $
+libexec/cgi-bin/gitweb.cgi
+share/doc/gitweb/README
+share/examples/gitweb/gitweb.conf
+share/httpd/htdocs/gitweb/git-favicon.png
+share/httpd/htdocs/gitweb/git-logo.png
+share/httpd/htdocs/gitweb/gitweb.css
+@dirrm share/httpd/htdocs/gitweb
+@dirrm share/httpd/htdocs
+@dirrm share/examples/gitweb
+@dirrm share/doc/gitweb
diff -r dd3617e560e1 -r b4e5fe2c9c25 www/gitweb/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitweb/distinfo Thu Mar 22 17:15:36 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/22 17:15:36 jmmv Exp $
+
+SHA1 (git-1.5.0.3.tar.gz) = a5efd2cd36daad60718ed9b1f5a4f0de1eade25c
+RMD160 (git-1.5.0.3.tar.gz) = 2af313d5414770abad82babd0b4aee9b7e0bbc5b
+Size (git-1.5.0.3.tar.gz) = 1245187 bytes
diff -r dd3617e560e1 -r b4e5fe2c9c25 www/gitweb/files/gitweb.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gitweb/files/gitweb.conf Thu Mar 22 17:15:36 2007 +0000
@@ -0,0 +1,59 @@
+#
+# gitweb.conf
+#
+# Configuration file for the web interface to GIT.
+#
+# This file is a Perl script that is executed by the gitweb interface
+# after the defaults are set. To override a setting, just uncomment
+# it here and set it to the appropriate value.
+#
+
+# Core git executable to use.
+# This can just be "git" if your webserver has a sensible PATH.
+#our $GIT = "/path/to/git";
+
+# Absolute fs-path which will be prepended to the project path.
+# This is where your GIT repositories live in.
+#our $projectroot = "/pub/scm";
+
+# Target of the home link on top of all pages.
+#our $home_link = $my_uri || "/";
+
+# String of the home link on top of all pages.
+#our $home_link_str = "projects";
+
+# Name of your site or organization to appear in page titles.
+# Replace this with something more descriptive for clearer bookmarks.
+#our $site_name = ""
+
+# Filename of HTML text to include at top of each page.
+#our $site_header = "";
+# HTML text to include at home page.
+#our $home_text = "/gitweb/indextext.html";
+# Filename of HTML text to include at bottom of each page.
+#our $site_footer = "";
+
+# URI of the stylesheet to use.
+#our $stylesheet = "/gitweb/gitweb.css";
+# URI of GIT logo (72x27 size).
+#our $logo = "/gitweb/git-logo.png";
+# URI of GIT favicon, assumed to be image/png type.
+#our $favicon = "/gitweb/git-favicon.png";
+
+# URI and label (title) of GIT logo link.
+#our $logo_url = "http://git.or.cz/";
+#our $logo_label = "git homepage";
+
+# Source of projects list.
+#our $projects_list = "";
+
+# Show repository only if this file exists.
+# Only effective if this variable evaluates to true.
+#our $export_ok = "";
+
+# Only allow viewing of repositories also shown on the overview page.
+#our $strict_export = "";
+
+# List of git base URLs used for URL to where fetch project from,
+# i.e. full URL is "$git_base_url/$project"
+#our @git_base_url_list = grep { $_ ne '' } ("/some/url");
Home |
Main Index |
Thread Index |
Old Index