pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/viewvc ViewVC is a browser interface for CVS and S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b30ef6aaba5
branches:  trunk
changeset: 520410:3b30ef6aaba5
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Oct 21 09:05:44 2006 +0000

description:
ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files as
well as diffs between those versions. Basically, ViewVC provides the bulk of the
report-like functionality you expect out of your version control tool, but much
more prettily than the average textual command-line program output.

diffstat:

 www/viewvc/DESCR            |    6 +
 www/viewvc/Makefile         |   52 ++++++++++++++++
 www/viewvc/PLIST            |  139 ++++++++++++++++++++++++++++++++++++++++++++
 www/viewvc/distinfo         |    7 ++
 www/viewvc/options.mk       |   28 ++++++++
 www/viewvc/patches/patch-aa |   22 ++++++
 www/viewvc/patches/patch-ab |   54 +++++++++++++++++
 7 files changed, 308 insertions(+), 0 deletions(-)

diffs (truncated from 336 to 300 lines):

diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/DESCR  Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,6 @@
+ViewVC is a browser interface for CVS and Subversion version control
+repositories. It generates templatized HTML to present navigable directory,
+revision, and change log listings. It can display specific versions of files as
+well as diffs between those versions. Basically, ViewVC provides the bulk of the
+report-like functionality you expect out of your version control tool, but much
+more prettily than the average textual command-line program output.
diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/Makefile       Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+#
+
+DISTNAME=      viewvc-1.0.3
+CATEGORIES=    devel www
+MASTER_SITES=  http://viewvc.tigris.org/files/documents/3330/34803/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.viewvc.org/
+COMMENT=       Viewing the content of CVS/SVN repositories with a Webbrowser
+
+BOOTSTRAP_DEPENDS+=    wget-[0-9]*:../../net/wget
+PYTHON_PATCH_SCRIPTS=  viewvc-install bin/* bin/cgi/*.cgi lib/*.py
+
+.if !exists(/usr/bin/rlog)
+DEPENDS+=      rcs-[0-9]*:../../devel/rcs
+.endif
+
+NO_BUILD=      YES
+FETCH_CMD=     ${PREFIX}/bin/wget
+VIEWVCDIR=     share/viewvc
+PLIST_SUBST+=  VIEWVCDIR=${VIEWVCDIR:Q}
+
+CONF_FILES=    ${PREFIX}/share/examples/viewvc/viewvc.conf \
+               ${PREFIX}/${VIEWVCDIR:Q}/viewvc.conf
+CONF_FILES+=   ${PREFIX}/share/examples/viewvc/cvsgraph.conf \
+               ${PREFIX}/${VIEWVCDIR:Q}/cvsgraph.conf
+
+.include "options.mk"
+
+SUBST_CLASSES+=                conf
+SUBST_STAGE.conf=      post-patch
+SUBST_MESSAGE.conf=    Fixing configuration files.
+SUBST_FILES.conf=      viewvc.conf.dist
+SUBST_SED.conf=                -e "s|@VIEWVCDIR@|${VIEWVCDIR}|g"
+SUBST_SED.conf+=       -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_SED.conf+=       -e "s|@PHP_OPT@|${PHP_OPT}|g"
+SUBST_SED.conf+=       -e "s|@CVSGRAPH_OPT@|${CVSGRAPH_OPT}|g"
+
+do-install:
+       (cd ${WRKSRC} && \
+               ${PYTHONBIN} \
+               viewvc-install --prefix=${PREFIX}/${VIEWVCDIR} --destdir="")
+
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/viewvc
+       ${INSTALL_DATA} ${WRKSRC}/viewvc.conf.dist \
+               ${PREFIX}/share/examples/viewvc/viewvc.conf
+       ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf.dist \
+               ${PREFIX}/share/examples/viewvc/cvsgraph.conf
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/PLIST  Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,139 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+share/examples/viewvc/viewvc.conf
+share/examples/viewvc/cvsgraph.conf
+${VIEWVCDIR}/bin/cgi/query.cgi
+${VIEWVCDIR}/bin/cgi/viewvc.cgi
+${VIEWVCDIR}/bin/cvsdbadmin
+${VIEWVCDIR}/bin/loginfo-handler
+${VIEWVCDIR}/bin/make-database
+${VIEWVCDIR}/bin/mod_python/.htaccess
+${VIEWVCDIR}/bin/mod_python/handler.py
+${VIEWVCDIR}/bin/mod_python/query.py
+${VIEWVCDIR}/bin/mod_python/viewvc.py
+${VIEWVCDIR}/bin/standalone.py
+${VIEWVCDIR}/bin/svndbadmin
+${VIEWVCDIR}/lib/PyFontify.py
+${VIEWVCDIR}/lib/PyFontify.pyc
+${VIEWVCDIR}/lib/accept.py
+${VIEWVCDIR}/lib/accept.pyc
+${VIEWVCDIR}/lib/blame.py
+${VIEWVCDIR}/lib/blame.pyc
+${VIEWVCDIR}/lib/compat.py
+${VIEWVCDIR}/lib/compat.pyc
+${VIEWVCDIR}/lib/compat_difflib.py
+${VIEWVCDIR}/lib/compat_difflib.pyc
+${VIEWVCDIR}/lib/compat_ndiff.py
+${VIEWVCDIR}/lib/compat_ndiff.pyc
+${VIEWVCDIR}/lib/config.py
+${VIEWVCDIR}/lib/config.pyc
+${VIEWVCDIR}/lib/cvsdb.py
+${VIEWVCDIR}/lib/cvsdb.pyc
+${VIEWVCDIR}/lib/dbi.py
+${VIEWVCDIR}/lib/dbi.pyc
+${VIEWVCDIR}/lib/debug.py
+${VIEWVCDIR}/lib/debug.pyc
+${VIEWVCDIR}/lib/ezt.py
+${VIEWVCDIR}/lib/ezt.pyc
+${VIEWVCDIR}/lib/idiff.py
+${VIEWVCDIR}/lib/idiff.pyc
+${VIEWVCDIR}/lib/popen.py
+${VIEWVCDIR}/lib/popen.pyc
+${VIEWVCDIR}/lib/py2html.py
+${VIEWVCDIR}/lib/py2html.pyc
+${VIEWVCDIR}/lib/query.py
+${VIEWVCDIR}/lib/query.pyc
+${VIEWVCDIR}/lib/sapi.py
+${VIEWVCDIR}/lib/sapi.pyc
+${VIEWVCDIR}/lib/vclib/__init__.py
+${VIEWVCDIR}/lib/vclib/__init__.pyc
+${VIEWVCDIR}/lib/vclib/bincvs/__init__.py
+${VIEWVCDIR}/lib/vclib/bincvs/__init__.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/__init__.py
+${VIEWVCDIR}/lib/vclib/ccvs/__init__.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/blame.py
+${VIEWVCDIR}/lib/vclib/ccvs/blame.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/__init__.py
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/__init__.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/common.py
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/common.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/debug.py
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/debug.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/default.py
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/default.pyc
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/texttools.py
+${VIEWVCDIR}/lib/vclib/ccvs/rcsparse/texttools.pyc
+${VIEWVCDIR}/lib/vclib/svn/__init__.py
+${VIEWVCDIR}/lib/vclib/svn/__init__.pyc
+${VIEWVCDIR}/lib/vclib/svn_ra/__init__.py
+${VIEWVCDIR}/lib/vclib/svn_ra/__init__.pyc
+${VIEWVCDIR}/lib/viewvc.py
+${VIEWVCDIR}/lib/viewvc.pyc
+${VIEWVCDIR}/lib/win32popen.py
+${VIEWVCDIR}/lib/win32popen.pyc
+${VIEWVCDIR}/templates/annotate.ezt
+${VIEWVCDIR}/templates/diff.ezt
+${VIEWVCDIR}/templates/dir_new.ezt
+${VIEWVCDIR}/templates/directory.ezt
+${VIEWVCDIR}/templates/docroot/help.css
+${VIEWVCDIR}/templates/docroot/help_dirview.html
+${VIEWVCDIR}/templates/docroot/help_log.html
+${VIEWVCDIR}/templates/docroot/help_query.html
+${VIEWVCDIR}/templates/docroot/help_rootview.html
+${VIEWVCDIR}/templates/docroot/images/annotate.png
+${VIEWVCDIR}/templates/docroot/images/back.png
+${VIEWVCDIR}/templates/docroot/images/back_small.png
+${VIEWVCDIR}/templates/docroot/images/broken.png
+${VIEWVCDIR}/templates/docroot/images/chalk.jpg
+${VIEWVCDIR}/templates/docroot/images/cvsgraph_16x16.png
+${VIEWVCDIR}/templates/docroot/images/cvsgraph_32x32.png
+${VIEWVCDIR}/templates/docroot/images/diff.png
+${VIEWVCDIR}/templates/docroot/images/dir.png
+${VIEWVCDIR}/templates/docroot/images/down.png
+${VIEWVCDIR}/templates/docroot/images/download.png
+${VIEWVCDIR}/templates/docroot/images/feed-icon-16x16.jpg
+${VIEWVCDIR}/templates/docroot/images/forward.png
+${VIEWVCDIR}/templates/docroot/images/list.png
+${VIEWVCDIR}/templates/docroot/images/log.png
+${VIEWVCDIR}/templates/docroot/images/logo.png
+${VIEWVCDIR}/templates/docroot/images/text.png
+${VIEWVCDIR}/templates/docroot/images/up.png
+${VIEWVCDIR}/templates/docroot/images/view.png
+${VIEWVCDIR}/templates/docroot/styles.css
+${VIEWVCDIR}/templates/error.ezt
+${VIEWVCDIR}/templates/graph.ezt
+${VIEWVCDIR}/templates/include/diff_form.ezt
+${VIEWVCDIR}/templates/include/dir_footer.ezt
+${VIEWVCDIR}/templates/include/dir_header.ezt
+${VIEWVCDIR}/templates/include/file_header.ezt
+${VIEWVCDIR}/templates/include/footer.ezt
+${VIEWVCDIR}/templates/include/header.ezt
+${VIEWVCDIR}/templates/include/log_footer.ezt
+${VIEWVCDIR}/templates/include/log_header.ezt
+${VIEWVCDIR}/templates/include/paging.ezt
+${VIEWVCDIR}/templates/include/pathrev_form.ezt
+${VIEWVCDIR}/templates/include/sort.ezt
+${VIEWVCDIR}/templates/log.ezt
+${VIEWVCDIR}/templates/log_table.ezt
+${VIEWVCDIR}/templates/markup.ezt
+${VIEWVCDIR}/templates/query.ezt
+${VIEWVCDIR}/templates/query_form.ezt
+${VIEWVCDIR}/templates/query_results.ezt
+${VIEWVCDIR}/templates/revision.ezt
+${VIEWVCDIR}/templates/roots.ezt
+${VIEWVCDIR}/templates/rss.ezt
+@dirrm ${VIEWVCDIR}/templates/include
+@dirrm ${VIEWVCDIR}/templates/docroot/images
+@dirrm ${VIEWVCDIR}/templates/docroot
+@dirrm ${VIEWVCDIR}/templates
+@dirrm ${VIEWVCDIR}/lib/vclib/svn_ra
+@dirrm ${VIEWVCDIR}/lib/vclib/svn
+@dirrm ${VIEWVCDIR}/lib/vclib/ccvs/rcsparse
+@dirrm ${VIEWVCDIR}/lib/vclib/ccvs
+@dirrm ${VIEWVCDIR}/lib/vclib/bincvs
+@dirrm ${VIEWVCDIR}/lib/vclib
+@dirrm ${VIEWVCDIR}/lib
+@dirrm ${VIEWVCDIR}/bin/mod_python
+@dirrm ${VIEWVCDIR}/bin/cgi
+@dirrm ${VIEWVCDIR}/bin
+@unexec ${RMDIR} %D/${VIEWVCDIR} 2>/dev/null || ${TRUE}
+@dirrm share/examples/viewvc
diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/distinfo       Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+
+SHA1 (viewvc-1.0.3.tar.gz) = 4523be70f3cf743991201b82f93fcd7f9799b955
+RMD160 (viewvc-1.0.3.tar.gz) = 2e36a2f1228b0648ac003c75469a1bce56e024f3
+Size (viewvc-1.0.3.tar.gz) = 406570 bytes
+SHA1 (patch-aa) = 0dffa89ce75ed0aae1b6b322a469da4157b77d9f
+SHA1 (patch-ab) = c8562a82ea747690d748807503d826bbc0a063ab
diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/options.mk     Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.viewvc
+
+PKG_SUPPORTED_OPTIONS= cvsgraph viewvc-php
+
+.include "../../mk/bsd.options.mk"
+.include "../../lang/php/phpversion.mk"
+
+###
+### Use cvsgraph for printing pretty little pictures
+###
+.if !empty(PKG_OPTIONS:Mcvsgraph)
+DEPENDS+=              cvsgraph-[0-9]*:../../devel/cvsgraph
+CVSGRAPH_OPT=          1
+.else
+CVSGRAPH_OPT=          0
+.endif
+
+###
+### Use php to colorize .php and .inc files
+###
+.if !empty(PKG_OPTIONS:Mviewvc-php)
+.include "${PHPPKGSRCDIR}/buildlink3.mk"
+PHP_OPT=               1
+.else
+PHP_OPT=               0
+.endif
diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/patches/patch-aa       Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+
+--- viewvc-install.orig        2006-03-26 21:23:14.000000000 +0100
++++ viewvc-install
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/pkg/bin/python2.4
+ # -*- Mode: python -*-
+ #
+ # Copyright (C) 1999-2006 The ViewCVS Group. All Rights Reserved.
+@@ -67,11 +67,6 @@ FILE_INFO_LIST = [
+     ("bin/mod_python/handler.py", "bin/mod_python/handler.py", 0755, 1, 0, 0),
+     ("bin/mod_python/.htaccess", "bin/mod_python/.htaccess", 0755, 0, 0, 0),
+     ("bin/standalone.py", "bin/standalone.py", 0755, 1, 0, 0),
+-    ("viewvc.conf.dist", "viewvc.conf", 0644, 0,
+-           """Note: If you are upgrading from viewcvs-0.7 or earlier: 
+-The section [text] has been removed from viewcvs.conf.  The functionality
+-went into the new files in subdirectory templates.""", 0),
+-    ("cvsgraph.conf.dist", "cvsgraph.conf", 0644, 0, 1, 0),
+ 
+     ("bin/loginfo-handler", "bin/loginfo-handler", 0755, 1, 0, 0),
+     ("bin/cvsdbadmin", "bin/cvsdbadmin", 0755, 1, 0, 0),
diff -r 8416a452b9d7 -r 3b30ef6aaba5 www/viewvc/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/viewvc/patches/patch-ab       Sat Oct 21 09:05:44 2006 +0000
@@ -0,0 +1,54 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+
+--- viewvc.conf.dist.orig      2006-09-28 02:13:36.000000000 +0100
++++ viewvc.conf.dist
+@@ -135,7 +135,7 @@ use_rcsparse = 0
+ # uncomment this option and point it at a MIME type file.
+ #
+ # For example, you can use the mime.types from apache here:
+-#mime_types_file = /usr/local/apache/conf/mime.types
++#mime_types_file = @PREFIX@/etc/httpd/mime.types
+ 
+ # This address is shown in the footer of the generated pages. 
+ # It must be replaced with the address of the local repository maintainer.
+@@ -456,14 +456,14 @@ highlight_line_numbers = 1
+ highlight_convert_tabs = 2
+ 
+ # use php to colorize .php and .inc files?
+-use_php = 0



Home | Main Index | Thread Index | Old Index