# CvsGraph 1.7.0
# ==============
# Some things that I know of that use CvsGraph are:
# CVSweb
# Horde's Chora
# ViewCVS
# ViewVC
# Prerequisites (beyond those listed above):
# Flex
# Bison
# GD (mandatory)
# freetype (if needed for GD)
# libpng (if needed for GD)
# libjpeg (if needed for GD)
# If you have an old version that was installed by my ViewCVS howto, clean
# up old files from that first
test -d installed/viewcvs &&
mv -f installed/viewcvs/cvsgraph-* installed/
test -d src/viewcvs &&
mv -f src/viewcvs/cvsgraph-* src/
su
rm -f /usr/local/bin/cvsgraph \
/usr/local/etc/cvsgraph.conf \
/usr/local/etc/cvsgraph.conf.new \
/usr/local/man/man1/cvsgraph.1.gz \
/usr/local/man/man5/cvsgraph.conf.5.gz
exit
# If you already have a cvsgraph.conf and it is different than the sample,
# this will install the new one as cvsgraph.conf.new so you can review the
# changes later.
# Get CvsGraph
cd
test -f installed/cvsgraph-1.7.0.tar.gz &&
mv installed/cvsgraph-1.7.0.tar.gz .
test ! -f cvsgraph-1.7.0.tar.gz &&
wget http://www.akhphd.au.dk/~bertho/cvsgraph/release/cvsgraph-1.7.0.tar.gz
# Extract the tarball
cd src
find -maxdepth 1 -type d -name "cvsgraph-*" -exec rm -r {} \;
tar xzvf ~/cvsgraph-1.7.0.tar.gz
cd cvsgraph-1.7.0
test $UID = 0 && chown -R root:root .