]> git.pld-linux.org Git - packages/cvsweb.git/commitdiff
- fixes from debian package
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 2 Apr 2005 00:15:31 +0000 (00:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvsweb-config.patch -> 1.3
    cvsweb-fixes.patch -> 1.1

cvsweb-config.patch
cvsweb-fixes.patch [new file with mode: 0644]

index 74d06f0946cb69554a59eb2ebf7669e2debe25ac..49a398173ce71500f2e639185c84f4ddc963f574 100644 (file)
@@ -10,3 +10,43 @@ diff -uNr cvsweb.orig/cvsweb.cgi cvsweb/cvsweb.cgi
  
  # == Configuration defaults ==
  # Defaults for configuration variables that shouldn't need
+--- ./cvsweb.conf~     2005-04-02 03:00:23.000000000 +0300
++++ ./cvsweb.conf      2005-04-02 03:01:29.000000000 +0300
+@@ -23,14 +23,15 @@
+ # 'symbolic_name' 'path_to_the_actual_repository'
+ %CVSROOT = (
+-          'Development' => '/usr/local/src/cvsrep',
+-          'Configuration' => '/tmp/cvsroot/conf',
+-          'HTML-files' => '/tmp/upload'
++# Uncomment next line and modify the path if you have only one CVS repository.
++#         'Development' => '/usr/local/src/cvsrep',
++#         'Configuration' => '/tmp/cvsroot/conf',
++#         'HTML-files' => '/tmp/upload'
+           );
+ # This tree is enabled by default when
+ # you enter the page
+-$cvstreedefault = 'Configuration';
++$cvstreedefault = 'Local-CVS';
+ ##############
+ # Defaults for UserSettings
+@@ -81,7 +82,7 @@
+ ##############
+ # color settings in the body-tag
+-$body_tag = '<body text="#000000" bgcolor="#ffffff">';
++$body_tag = '<body text="#000000" bgcolor="#ffffff" link="#0000ff" alink="#ff0000" vlink="#800080">';
+ # Wanna have a logo on the page ?
+ $logo = '<img src="/icons/apache_pb.gif">';
+@@ -291,6 +292,8 @@
+          "gif"   => "image/gif",
+          "jpeg"  => "image/jpeg",
+          "jpg"   => "image/jpeg",   
++         "png"   => "image/png",
++         "xpm"   => "image/xpm",
+          "*"     => "text/plain",
+          );
diff --git a/cvsweb-fixes.patch b/cvsweb-fixes.patch
new file mode 100644 (file)
index 0000000..a8aed20
--- /dev/null
@@ -0,0 +1,18 @@
+--- ./cvsweb.cgi~      2005-04-02 03:03:37.000000000 +0300
++++ ./cvsweb.cgi       2005-04-02 03:03:57.000000000 +0300
+@@ -164,6 +164,7 @@
+ $verbose = $v;
+ $checkoutMagic = "~checkout~";
+ $where = defined($ENV{'PATH_INFO'}) ? $ENV{'PATH_INFO'} : "";
++$where =~ tr|/|/|s;
+ $doCheckout = ($where =~ /^\/$checkoutMagic/);
+ $where =~ s|^/($checkoutMagic)?||;
+ $where =~ s|/+$||;
+@@ -936,6 +937,7 @@
+ sub link($$) {
+       my($name, $where) = @_;
++      $where =~ s| |%20|;
+       return "<A HREF=\"$where\">$name</A>\n";
+ }
This page took 0.075729 seconds and 4 git commands to generate.