openbsd-ports/devel/cvsweb/patches/patch-cvsweb_conf
naddy 4767e9b75b Update to 1.104.1.62.
- Run "tar cf - ... | gzip -c" rather than "tar zcf - ..." to avoid
  tar(1)'s automatic padding of nulls to align with the block size,
  which is just garbage for a receiver.
- Have $uname variable to hold the OS implementation name and wrap
  FreeBSD or OpenBSD specific features in conditional blocks using
  $uname.
- Miscellaneous small fixes.
2001-01-12 00:13:08 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-cvsweb_conf,v 1.5 2001/01/12 00:13:09 naddy Exp $
--- cvsweb.conf.orig Thu Jan 11 03:00:55 2001
+++ cvsweb.conf Thu Jan 11 18:14:54 2001
@@ -15,7 +15,7 @@
# uname, cvs, rlog, rcsdiff
# gzip (if you enable $allow_compress)
# tar,rm (if you enable $allow_tar)
-$command_path = '/bin:/usr/bin:/usr/local/bin';
+$command_path = '/bin:/usr/bin';
# Search the above directories for each command
for (qw(uname cvs rlog rcsdiff gzip tar rm)) {
@@ -206,7 +206,7 @@ EOT
# These default icons are coming with apache.
# If these icons are too large, check out the miniicons in the
# icons/ directory; they have a width/height of 16/16
-my $iconsdir = "/icons";
+my $iconsdir = "/icons/cvsweb";
# format: TEXT ICON-URL width height
%ICONS = (
back => [ ("[BACK]", "$iconsdir/back.gif", 20, 22) ],
@@ -326,7 +326,7 @@ $inputTextSize = 12;
# cvsweb to guess the correct mime-type on
# checkout; you can use the mime.types from
# apache here:
-$mime_types = '/usr/local/etc/apache/mime.types';
+$mime_types = '/var/www/conf/mime.types';
# quick mime-type lookup; maps file-suffices to
# mime-types for displaying checkouts in the browser.