viewcvs - Web based CVS client (a Python-based CGI) ChangeLog

HOWTO


# ViewCVS 0.9.4
# =============
# ViewCVS has been replaced by ViewVC, unless you need the old one for some
# reason, you should go with ViewVC

# Prerequisites (beyond those listed above):
# RCS
# CVS
# Apache
# enscript (optional; to colorize code)
# MySQLdb (MySQL-Python)
# CvsGraph

# Some files in this howto used to be put into a viewcvs directory, clean
# that up before you begin if you've run through older revisions of this
# page
cd
test installed/viewcvs &&
( mv -f installed/viewcvs/viewcvs-* installed/
   rm -r installed/viewcvs )
test src/viewcvs &&
( mv -f src/viewcvs/viewcvs-* src/
   rm -r src/viewcvs )
su -c "find /usr/local -maxdepth 1 -type d -name "viewcvs-*" \
-exec rm -r {} \;"

cd
test -f installed/viewcvs-0.9.4.tar.gz &&
mv installed/viewcvs-0.9.4.tar.gz .
test ! -f viewcvs-0.9.4.tar.gz &&
wget http://viewcvs.sourceforge.net/viewcvs-0.9.4.tar.gz
cd src/viewcvs
find -maxdepth 1 -type d -name "viewcvs-*" -exec rm -r {} \;
tar xzvf ~/viewcvs-0.9.4.tar.gz
cd viewcvs-0.9.4
test $UID = 0 && chown -R root:root .

# Become root to install it
su

find /usr/local -maxdepth 1 -type d -name "viewcvs-*" -exec rm -r {} \;
echo | ./viewcvs-install
cd /usr/local
ln -sf viewcvs-0.9.4 viewcvs
cd viewcvs
test -d /usr/local/apache2/cgi-bin &&
( cp cgi/viewcvs.cgi /usr/local/apache2/cgi-bin/
   chown root:nobody /usr/local/apache/cgi-bin/viewcvs.cgi
   chmod 750 /usr/local/apache/cgi-bin/viewcvs.cgi )
test -d /usr/local/apache/cgi-bin &&
( cp cgi/viewcvs.cgi /usr/local/apache/cgi-bin/
   chown root:nobody /usr/local/apache/cgi-bin/viewcvs.cgi
   chmod 750 /usr/local/apache/cgi-bin/viewcvs.cgi )

# Now, fix up /usr/local/viewcvs/viewcvs.conf
# (I have a sample here)
# Create a MySQL user (the one you set in viewcvs.conf)
# Run /usr/local/viewcvs/make-database
# Try http://localhost/cgi-bin/viewcvs.cgi

# Become yourself again
exit

cd
rm -f installed/viewcvs/viewcvs-*.tar.*
mv viewcvs-0.9.4.tar.gz installed/viewcvs/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2007-08-25 12:41pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]