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.
In the other systems
The newest version among them is 1.4.0.20260528, as upstream numbers it.
cd /usr/dports/devel/viewvc-devel && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
graph LR
me["devel/viewvc-devel"]
me --> d0["devel/py-subversion"]
me --> d1["lang/python311"]
me --> d2["textproc/py-pygments"]
me --> d3["www/apache24"]
classDef this fill:#ab2b28,color:#ffffff,stroke:#ab2b28
class me this
To use ViewVC, modify the configuration file located at
/usr/local/viewvc/viewvc.conf.
If no webserver was selected during installation, then
a rc script for running ViewVC standalone is installed.
To enable the standalone ViewVC server in rc.conf use
parameter viewvc_enable="YES".
You can also adjust the user which runs the ViewVC standalone
server with the parameter "viewvc_user".
If you want to run the ViewVC standalone server with another
IP/PORT, use the parameter "viewvc_flags".
To see all available parameters, use the command
/usr/local/viewvc/bin/standalone.py --help
To use ViewVC with Apache or lighttpd as a CGI script,
see the following config examples.
Example config lines for Apache 2.4
===================================
<IfModule wsgi_module>
WSGIRestrictSignal Off
</IfModule>
<IfModule !wsgi_module>
ScriptAlias "/viewvc" "/usr/local/viewvc/bin/cgi/viewvc.cgi"
</IfModule>
<IfModule wsgi_module>
WSGIScriptAlias "/viewvc" "/usr/local/viewvc/bin/wsgi/viewvc.wsgi"
</IfModule>
<Location /viewvc>
Options NONE +ExecCGI
</Location>
Example config lines for lighttpd
=================================
server.modules = (
"mod_alias",
"mod_access"
)
alias.url += ( "/viewvc" => "/usr/local/viewvc/bin/cgi" )
$HTTP["url"] =~ "^/viewvc/" {
index-file.names = ( "viewvc.cgi" )
cgi.assign = (
".cgi" => "/usr/local/bin/python3.11",
)
}
Note: Cvsdb (Bonsai-like repository query) feature is not stable and
have some incompatibility on DB data with any released version,
(and it may be also incompatible with any feature release).
Please review your vievc.conf, see viewvc.sample.conf
======================================================
- the template path has changed
- the vhost notation has changed
Additional upgrade informations:
https://github.com/viewvc/viewvc/blob/master/docs/upgrading-howto.html
Note: Cvsdb (Bonsai-like repository query) feature is not stable and
have some incompatibility on DB data with any released version,
(and it may be also incompatible with any feature release).
So if you want to use this feature, make sure to make back up
of existing DB and then rebuild your DB data with
cvsdbadmin/svndbadmin.
This site uses Google Analytics cookies to count visits and see which pages are read.
No cookie is set until you accept. What is collected