# CVSweb 3.0.6
# ============
# CVSweb 3.0.6 was released on September 25, 2005 ViewVC may be a better
# replacement if you're looking for something current.
# Prerequisites:
# Perl >= 5.6.0
# A web server like Apache
# RCS' rlog and rcsdiff
# CVS
# CvsGraph >= 1.4.0 (optional)
# enscript >= 1.6.3 (optional)
# CVSHistory >= 2.0
cd
test -f installed/cvsweb-3.0.6.tar.gz && mv installed/cvsweb-3.0.6.tar.gz .
test ! -f cvsweb-3.0.6.tar.gz &&
wget ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/\
cvsweb-3.0.6.tar.gz
# Run each blurb below (everything up to the 'done' line) for whichever
# directory exists
for apachedir in /usr/local/apache /usr/local/apache2; do
test ! -d "$apachedir" && continue
# If you don't already have one, copy the configuration file to
# /usr/local/apache/cvsweb.conf
test ! -f ${apachedir}/cgi-bin/cvsweb.conf &&
cp cvsweb.conf ${apachedir}/cgi-bin/
chown root:nobody ${apachedir}/cgi-bin/cvsweb.conf
chmod 750 ${apachedir}/cgi-bin/cvsweb.conf
# Edit /usr/local/apache*/cgi-bin/cvsweb.conf
# At least change the path of your repository,
# change $cssurl to '/cvsweb.css',
# change $mime_types to '/usr/local/apache/conf/mime.types',
# change $cvsgraph_config (if it's installed),
# uncomment $allow_enscript (if it's installed),
# etc.