CVSweb Changes

Dylan Reinhold dylan at ocnetworking.com
Fri Jan 30 23:23:33 PST 2004


The current cvsweb page is still the default from FreeBSD, attached are 
some changes to cvsweb.conf. As the cvsweb files are not under cvs 
control not sure if Matt has to make the changes or if the other 
commiters have shell access on the box.
 You can take a look at the changes @ 
http://dragonfly.ocnetworking.com/cvsweb/cvsweb.cgi

Changes :
1 - Added the DragonFly Logo.
2 - Changed page title and body title to show DragonFly BSD
3 - Changed 'hideattic' from on to off to show attic files.
4 - Changed manual gateway from 5-x to 4.9 ( not sure how you get to the 
manual pages from the cvsweb but its an option..)
5 - Removed FreeBSD email address from bottom, This should be set to the 
maintainer of the cvsweb when one is appointed...

Dylan
--- cvsweb.conf    Fri Jan 30 22:36:49 2004
+++ cvsweb.conf.new Fri Jan 30 23:05:20 2004
@@ -43,7 +43,7 @@
 # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
 # Listed in the order specified:
 @CVSrepositories = (
-       'local'   => ['My CVS Repository', '/home/cvs'],
+       'dragonfly'   => ['DragonFly', '/home/dcvs'],
 #      'freebsd' => ['FreeBSD',          '/home/ncvs'],
 #      'openbsd' => ['OpenBSD',          '/home/ncvs'],
 #      'netbsd'  => ['NetBSD',           '/home/ncvs'],
@@ -82,7 +82,7 @@
 # Manual gateway
 ##############
 $mancgi =
-    "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
+    "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+4.9-RELEASE&format=html";

 ##############
 # Defaults for UserSettings
@@ -102,7 +102,7 @@
        #   1      Hide files in Attic
        #   0      Show files in Attic

-       "hideattic" => "1",
+       "hideattic" => "0",

        # logsort: Sort order for CVS logs
        #   date   Sort revisions by date
@@ -140,13 +140,13 @@
 $body_tag_for_src = '<body text="#000000" bgcolor="#eeeeee">';

 # Wanna have a logo on the page ?
-$logo = '<p><img src="/icons/apache_pb.gif" alt="Powered by Apache"></p>';
+$logo = '<P><img src="/smalldf.jpg" alt="DragonFly BSD" align=RIGHT></P><br>';

 # The title of the Page on startup.  This will be put inside a <h1> tag.
-$defaulttitle = "CVS Repository";
+$defaulttitle = "DragonFly CVS Repository";

 # The address is shown on the footer.  This will be put inside a <address> tag.
-$address = '<span style="font-size: smaller">FreeBSD-CVSweb <freebsd-cvsweb at xxxxxxxxxxx></span>';
+#$address = '<span style="font-size: smaller">DragonFly-CVSweb <cvsweb at xxxxxxxxxxxxxxxx></span>';

 # color of navigation Header for
 # diffs and annotations
@@ -154,7 +154,7 @@

 $long_intro = <<EOT;
 <p>
-This is a WWW interface for CVS Repositories.
+This is a WWW interface for DragonFly BSD CVS Repositories.
 You can browse the file hierarchy by picking directories
 (which have slashes after them, <i>e.g.</i>, <b>src/</b>).
 If you pick a file, you will see the revision history




More information about the Submit mailing list