Date: Thu, 20 Apr 2006 15:24:06 +0200 (CEST) From: Jean-Baptiste Quenot <jbq@caraldi.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mnag@FreeBSD.org Subject: ports/96099: New port: devel/viewvc based on devel/viewcvs Message-ID: <20060420132406.75B4B6186@vision.anyware> Resent-Message-ID: <200604201330.k3KDUFin052916@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96099 >Category: ports >Synopsis: New port: devel/viewvc based on devel/viewcvs >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 20 13:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jean-Baptiste Quenot >Release: FreeBSD 5.5-PRERELEASE i386 >Organization: >Environment: System: FreeBSD vision.anyware 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1: Thu Mar 9 19:20:53 CET 2006 jbq@vision.anyware:/usr/obj/usr/src/sys/VISION i386 >Description: ViewVC is a browser interface for CVS and Subversion version control repositories. It was previously known under the name ViewCVS. See http://viewvc.tigris.org/ Please make a repocopy from devel/viewcvs to devel/viewvc, and unpack the attached archive. Thanks in advance, >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # viewvc # viewvc/Makefile # viewvc/distinfo # viewvc/pkg-descr # viewvc/pkg-message # viewvc/pkg-plist # viewvc/files # viewvc/files/patch-viewvc-install # echo c - viewvc mkdir -p viewvc > /dev/null 2>&1 echo x - viewvc/Makefile sed 's/^X//' >viewvc/Makefile << 'END-of-viewvc/Makefile' X# New ports collection makefile for: viewcvs X# Date created: Sun 02 Jul 2000 X# Whom: will X# X# $FreeBSD: ports/devel/viewcvs/Makefile,v 1.20 2005/09/16 17:58:28 mnag Exp $ X# X XPORTNAME= viewvc XPORTVERSION= 1.0.0.r1 XDISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/} XCATEGORIES= devel python XMASTER_SITES= http://viewvc.tigris.org/files/documents/3330/31123/ X XMAINTAINER= jbq@caraldi.com XCOMMENT= Web-based Version Control Repository Browsing X XUSE_PYTHON= yes XNO_BUILD= yes XPKGMESSAGE= ${WRKDIR}/pkg-message XINSTDIR?= ${PORTNAME} XPLIST_SUB= INSTDIR=${INSTDIR} XWGET?= ${LOCALBASE}/bin/wget X XEXTRACT_DEPENDS= ${WGET}:${PORTSDIR}/ftp/wget X X.include <bsd.port.pre.mk> X Xdo-fetch: X.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) X ${WGET} -P${DISTDIR} ${MASTER_SITES}/${DISTNAME}${EXTRACT_SUFX} X.endif X Xdo-install: X @(cd ${WRKSRC} && ${PYTHON_CMD} viewvc-install --prefix=${PREFIX}/${INSTDIR} --destdir="") X Xpost-install: X @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" ${MASTERDIR}/pkg-message >${PKGMESSAGE} X @ ${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-viewvc/Makefile echo x - viewvc/distinfo sed 's/^X//' >viewvc/distinfo << 'END-of-viewvc/distinfo' XMD5 (viewvc-1.0.0-rc1.tar.gz) = db12fd348d3aed2bc9060d4ebd192a0b XSHA256 (viewvc-1.0.0-rc1.tar.gz) = 627b792d04dcde1ed8a2ba7efb06622651c1e266c0d06cd6b37a6b5b837f8f4d XSIZE (viewvc-1.0.0-rc1.tar.gz) = 379728 END-of-viewvc/distinfo echo x - viewvc/pkg-descr sed 's/^X//' >viewvc/pkg-descr << 'END-of-viewvc/pkg-descr' XViewVC is a browser interface for CVS and Subversion version control Xrepositories. It generates templatized HTML to present navigable directory, Xrevision, and change log listings. It can display specific versions of files as Xwell as diffs between those versions. Basically, ViewVC provides the bulk of the Xreport-like functionality you expect out of your version control tool, but much Xmore prettily than the average textual command-line program output. X XWWW: http://viewvc.tigris.org/ END-of-viewvc/pkg-descr echo x - viewvc/pkg-message sed 's/^X//' >viewvc/pkg-message << 'END-of-viewvc/pkg-message' XIf you would like to set up ViewCVS in a usable manner, all Xyou need to do is modify the configuration file, located at X%%INSTDIR%%/viewvc.conf, to note where your XCVSROOT is, and then copy the actual CGI (located at X%%INSTDIR%%/bin/cgi/viewvc.cgi) to your cgi-bin. XPlease notice that configuration files are installed as X".dist" and must be copied to their actual names prior to Xbe edited, e.g.: X$ cd %%INSTDIR%% X$ cp viewvc.conf.dist viewvc.conf X$ cp cvsgraph.conf.dist cvsgraph.conf XIt's up to yo to check the ".dist" files after upgrades. END-of-viewvc/pkg-message echo x - viewvc/pkg-plist sed 's/^X//' >viewvc/pkg-plist << 'END-of-viewvc/pkg-plist' X%%INSTDIR%%/bin/cgi/query.cgi X%%INSTDIR%%/bin/cgi/viewvc.cgi X%%INSTDIR%%/bin/cvsdbadmin X%%INSTDIR%%/bin/loginfo-handler X%%INSTDIR%%/bin/make-database X%%INSTDIR%%/bin/mod_python/.htaccess X%%INSTDIR%%/bin/mod_python/handler.py X%%INSTDIR%%/bin/mod_python/query.py X%%INSTDIR%%/bin/mod_python/viewvc.py X%%INSTDIR%%/bin/standalone.py X%%INSTDIR%%/bin/svndbadmin X%%INSTDIR%%/cvsgraph.conf.dist X%%INSTDIR%%/lib/PyFontify.py X%%INSTDIR%%/lib/PyFontify.pyc X%%INSTDIR%%/lib/accept.py X%%INSTDIR%%/lib/accept.pyc X%%INSTDIR%%/lib/blame.py X%%INSTDIR%%/lib/blame.pyc X%%INSTDIR%%/lib/compat.py X%%INSTDIR%%/lib/compat.pyc X%%INSTDIR%%/lib/compat_difflib.py X%%INSTDIR%%/lib/compat_difflib.pyc X%%INSTDIR%%/lib/compat_ndiff.py X%%INSTDIR%%/lib/compat_ndiff.pyc X%%INSTDIR%%/lib/config.py X%%INSTDIR%%/lib/config.pyc X%%INSTDIR%%/lib/cvsdb.py X%%INSTDIR%%/lib/cvsdb.pyc X%%INSTDIR%%/lib/dbi.py X%%INSTDIR%%/lib/dbi.pyc X%%INSTDIR%%/lib/debug.py X%%INSTDIR%%/lib/debug.pyc X%%INSTDIR%%/lib/ezt.py X%%INSTDIR%%/lib/ezt.pyc X%%INSTDIR%%/lib/idiff.py X%%INSTDIR%%/lib/idiff.pyc X%%INSTDIR%%/lib/popen.py X%%INSTDIR%%/lib/popen.pyc X%%INSTDIR%%/lib/py2html.py X%%INSTDIR%%/lib/py2html.pyc X%%INSTDIR%%/lib/query.py X%%INSTDIR%%/lib/query.pyc X%%INSTDIR%%/lib/sapi.py X%%INSTDIR%%/lib/sapi.pyc X%%INSTDIR%%/lib/vclib/__init__.py X%%INSTDIR%%/lib/vclib/__init__.pyc X%%INSTDIR%%/lib/vclib/bincvs/__init__.py X%%INSTDIR%%/lib/vclib/bincvs/__init__.pyc X%%INSTDIR%%/lib/vclib/ccvs/__init__.py X%%INSTDIR%%/lib/vclib/ccvs/__init__.pyc X%%INSTDIR%%/lib/vclib/ccvs/blame.py X%%INSTDIR%%/lib/vclib/ccvs/blame.pyc X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/__init__.py X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/__init__.pyc X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/common.py X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/common.pyc X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/debug.py X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/debug.pyc X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/default.py X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/default.pyc X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/texttools.py X%%INSTDIR%%/lib/vclib/ccvs/rcsparse/texttools.pyc X%%INSTDIR%%/lib/vclib/svn/__init__.py X%%INSTDIR%%/lib/vclib/svn/__init__.pyc X%%INSTDIR%%/lib/vclib/svn_ra/__init__.py X%%INSTDIR%%/lib/vclib/svn_ra/__init__.pyc X%%INSTDIR%%/lib/viewvc.py X%%INSTDIR%%/lib/viewvc.pyc X%%INSTDIR%%/lib/win32popen.py X%%INSTDIR%%/lib/win32popen.pyc X%%INSTDIR%%/templates/annotate.ezt X%%INSTDIR%%/templates/diff.ezt X%%INSTDIR%%/templates/dir_new.ezt X%%INSTDIR%%/templates/directory.ezt X%%INSTDIR%%/templates/docroot/help.css X%%INSTDIR%%/templates/docroot/help_dirview.html X%%INSTDIR%%/templates/docroot/help_log.html X%%INSTDIR%%/templates/docroot/help_query.html X%%INSTDIR%%/templates/docroot/help_rootview.html X%%INSTDIR%%/templates/docroot/images/annotate.png X%%INSTDIR%%/templates/docroot/images/back.png X%%INSTDIR%%/templates/docroot/images/back_small.png X%%INSTDIR%%/templates/docroot/images/broken.png X%%INSTDIR%%/templates/docroot/images/chalk.jpg X%%INSTDIR%%/templates/docroot/images/cvsgraph_16x16.png X%%INSTDIR%%/templates/docroot/images/cvsgraph_32x32.png X%%INSTDIR%%/templates/docroot/images/diff.png X%%INSTDIR%%/templates/docroot/images/dir.png X%%INSTDIR%%/templates/docroot/images/down.png X%%INSTDIR%%/templates/docroot/images/download.png X%%INSTDIR%%/templates/docroot/images/feed-icon-16x16.jpg X%%INSTDIR%%/templates/docroot/images/forward.png X%%INSTDIR%%/templates/docroot/images/list.png X%%INSTDIR%%/templates/docroot/images/log.png X%%INSTDIR%%/templates/docroot/images/logo.png X%%INSTDIR%%/templates/docroot/images/text.png X%%INSTDIR%%/templates/docroot/images/up.png X%%INSTDIR%%/templates/docroot/images/view.png X%%INSTDIR%%/templates/docroot/styles.css X%%INSTDIR%%/templates/error.ezt X%%INSTDIR%%/templates/graph.ezt X%%INSTDIR%%/templates/include/diff_form.ezt X%%INSTDIR%%/templates/include/dir_footer.ezt X%%INSTDIR%%/templates/include/dir_header.ezt X%%INSTDIR%%/templates/include/file_header.ezt X%%INSTDIR%%/templates/include/footer.ezt X%%INSTDIR%%/templates/include/header.ezt X%%INSTDIR%%/templates/include/log_footer.ezt X%%INSTDIR%%/templates/include/log_header.ezt X%%INSTDIR%%/templates/include/paging.ezt X%%INSTDIR%%/templates/include/pathrev_form.ezt X%%INSTDIR%%/templates/include/sort.ezt X%%INSTDIR%%/templates/log.ezt X%%INSTDIR%%/templates/log_table.ezt X%%INSTDIR%%/templates/markup.ezt X%%INSTDIR%%/templates/query.ezt X%%INSTDIR%%/templates/query_form.ezt X%%INSTDIR%%/templates/query_results.ezt X%%INSTDIR%%/templates/revision.ezt X%%INSTDIR%%/templates/roots.ezt X%%INSTDIR%%/templates/rss.ezt X%%INSTDIR%%/viewvc.conf.dist X@dirrm %%INSTDIR%%/templates/include X@dirrm %%INSTDIR%%/templates/docroot/images X@dirrm %%INSTDIR%%/templates/docroot X@dirrm %%INSTDIR%%/templates X@dirrm %%INSTDIR%%/lib/vclib/svn_ra X@dirrm %%INSTDIR%%/lib/vclib/svn X@dirrm %%INSTDIR%%/lib/vclib/ccvs/rcsparse X@dirrm %%INSTDIR%%/lib/vclib/ccvs X@dirrm %%INSTDIR%%/lib/vclib/bincvs X@dirrm %%INSTDIR%%/lib/vclib X@dirrm %%INSTDIR%%/lib X@dirrm %%INSTDIR%%/bin/mod_python X@dirrm %%INSTDIR%%/bin/cgi X@dirrm %%INSTDIR%%/bin X@dirrmtry %%INSTDIR%% END-of-viewvc/pkg-plist echo c - viewvc/files mkdir -p viewvc/files > /dev/null 2>&1 echo x - viewvc/files/patch-viewvc-install sed 's/^X//' >viewvc/files/patch-viewvc-install << 'END-of-viewvc/files/patch-viewvc-install' X--- viewvc-install.orig Thu Apr 20 15:14:37 2006 X+++ viewvc-install Thu Apr 20 15:15:46 2006 X@@ -67,11 +67,11 @@ X ("bin/mod_python/handler.py", "bin/mod_python/handler.py", 0755, 1, 0, 0), X ("bin/mod_python/.htaccess", "bin/mod_python/.htaccess", 0755, 0, 0, 0), X ("bin/standalone.py", "bin/standalone.py", 0755, 1, 0, 0), X- ("viewvc.conf.dist", "viewvc.conf", 0644, 0, X+ ("viewvc.conf.dist", "viewvc.conf.dist", 0644, 0, X """Note: If you are upgrading from viewcvs-0.7 or earlier: X The section [text] has been removed from viewcvs.conf. The functionality X went into the new files in subdirectory templates.""", 0), X- ("cvsgraph.conf.dist", "cvsgraph.conf", 0644, 0, 1, 0), X+ ("cvsgraph.conf.dist", "cvsgraph.conf.dist", 0644, 0, 1, 0), X X ("bin/loginfo-handler", "bin/loginfo-handler", 0755, 1, 0, 0), X ("bin/cvsdbadmin", "bin/cvsdbadmin", 0755, 1, 0, 0), END-of-viewvc/files/patch-viewvc-install exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060420132406.75B4B6186>