source@mandoc.bsd.lv
 help / color / Atom feed
* cvsweb: delete remnants of side by side diff mode and adjust $mime_types 
@ 2019-11-10 14:05 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-11-10 14:05 UTC (permalink / raw)
  To: source

Log Message:
-----------
delete remnants of side by side diff mode
and adjust $mime_types to work chrooted;
from Mattieu Baptiste on ports@ 2012-06-15 11:54:34

Modified Files:
--------------
    cvsweb:
        cvsweb.conf

Revision Data
-------------
Index: cvsweb.conf
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.conf,v
retrieving revision 4.2
retrieving revision 4.3
diff -Lcvsweb.conf -Lcvsweb.conf -u -p -r4.2 -r4.3
--- cvsweb.conf
+++ cvsweb.conf
@@ -139,10 +139,8 @@ $mancgi =
     #   h      Human readable
     #   u      Unified diff
     #   c      Context diff
-    #   s      Side by side
     #   uc     Unified diff, enscript colored (falls back to "u" w/o enscript)
     #   cc     Context diff, enscript colored (falls back to "c" w/o enscript)
-    #   sc     Side by side, enscript colored (falls back to "s" w/o enscript)
     "f" => "u",
 
     # hidecvsroot: Don't show the CVSROOT directory.  Note that this is
@@ -287,15 +285,6 @@ $hr_breakable = 1;
 #
 $showfunc = 1;
 
-# For each pair of regexps, files that match the first regexp will be diff'ed
-# with an -F option using the second regexp (unified and context only).
-# See the -F option in the diff(1) man page.
-#
-%funcline_regexp = (
-    qr/\.(?:4th|fr)$/o => "\\(^\\|[ \t]\\): ",
-    qr/\.rb$/o         => "^[\t ]*\\(class\\|module\\|def\\) ",
-);
-
 # Ignore whitespace in human readable diffs? ('-w' option to diff)
 #
 $hr_ignwhite = 0;
@@ -362,7 +351,7 @@ $inputTextSize = 12;
 # The traditional mime.types file, eg. the one from Apache is fine.
 # See above where this gets used.
 #
-$mime_types = '/usr/local/etc/apache/mime.types';
+$mime_types = '/conf/mime.types';
 
 # Charset appended to the Content-Type HTTP header for text/* MIME types.
 # Note that the web server may default to some charset which may take effect
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 14:05 cvsweb: delete remnants of side by side diff mode and adjust $mime_types schwarze

source@mandoc.bsd.lv

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mandoc-source

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.source


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git