pkgsrc/www/htmllint/patches/patch-ad

58 lines
2.3 KiB
Text
Raw Normal View History

$NetBSD: patch-ad,v 1.2 2001/03/18 14:05:12 kei Exp $
--- htmllintenv.orig Thu Feb 1 21:16:08 2001
+++ htmllintenv Sun Mar 18 08:38:21 2001
@@ -5,7 +5,7 @@
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򤦤ޤ<F2A4A6A4><DEA4><EFBFBD><EFBFBD>פ<EFBFBD><D7A4>ơ<EFBFBD>¾<EFBFBD>ͤ<EFBFBD><CDA4><EFBFBD><E9B8AB><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD>ˤ<EFBFBD><CBA4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
# CGI <20>ѥǥ<D1A5><C7A5><EFBFBD>ȥ<EFBFBD> (<28><><EFBFBD>Хѥ<D0A5><D1A5><EFBFBD>CGI<47><49><EFBFBD>Хѥ<D0A5><D1A5>ǻ<EFBFBD><C7BB><EFBFBD>ʤ<EFBFBD><CAA4>٤<EFBFBD><D9A4><EFBFBD><EFBFBD>Хѥ<D0A5><D1A5>ˤ<EFBFBD><CBA4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
-$RULEDIR = './'; # <20><>§<EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
+$RULEDIR = '@PREFIX@/share/httpd/htdocs/htmllint/'; # <20><>§<EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
#$LOGSDIR = './logs/'; # <20><><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD> (<28><><EFBFBD>פʤ饳<CAA4><E9A5B3><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD>)
$TMPDIR = '/tmp/'; # <20>ƥ<EFBFBD><C6A5>ݥ<EFBFBD><DDA5><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
$IMGDIR = './'; # <20><><EFBFBD><EFBFBD><E1A1BC><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
@@ -13,11 +13,11 @@
# <20><><EFBFBD><EFBFBD><EAA4B9><EFBFBD>Ȥ<EFBFBD><C8A4>ϥ<EFBFBD><CFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŭ<EFBFBD><C5AC><EFBFBD><EFBFBD>Ϳ<EFBFBD><CDBF><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
# HTML <20>ѥǥ<D1A5><C7A5><EFBFBD>ȥ<EFBFBD> (CGI <20><><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD> HTML <20><><EFBFBD>ǻȤ<C7BB>)
-$HTMLDIR = './'; # HTML<4D>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
+$HTMLDIR = '/htmllint/'; # HTML<4D>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
$GATEWAYURL = $HTMLDIR.'htmllint.html'; # <20><><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> HTML
$EXPLAIN = $HTMLDIR.'explain.html'; # <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> HTML (HTML<4D><4C>)
-$CGIROOT = $HTMLDIR; # CGI<47>ξ<EFBFBD><CEBE><EFBFBD>
-$IMGROOT = $HTMLDIR; # <20><><EFBFBD><EFBFBD><E1A1BC><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
+$CGIROOT = '/cgi-bin/'; # CGI<47>ξ<EFBFBD><CEBE><EFBFBD>
+$IMGROOT = $HTMLDIR.'images/'; # <20><><EFBFBD><EFBFBD><E1A1BC><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><CEBE><EFBFBD>
# <20><><EFBFBD>󥯥롼<F3A5AFA5>ɥѥ<C9A5><D1A5><EFBFBD><EFBFBD>ɲ<EFBFBD>
unshift @INC, '.', $RULEDIR;
@@ -74,15 +74,15 @@
#$GETLOCALFILE = 1;
# CGI <20><><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD> HTML <20>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤδ<C9A4><CEB4><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Ƥ<EFBFBD><C6A4><EFBFBD>)
-#$KANJICODE = 'JIS'; # JIS/EUC/SJIS/UTF8 <20>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>
+$KANJICODE = 'JIS'; # JIS/EUC/SJIS/UTF8 <20>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>
# Lynx (<28><><EFBFBD>פ<EFBFBD><D7A4><EFBFBD><EBA4A4>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD>ʤ饳<CAA4><E9A5B3><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD>)
-#$LYNX = '/usr/local/bin/lynx -dump -nolist -force_html';
+#$LYNX = '@PREFIX@/lynx -dump -nolist -force_html';
# w3m (<28><><EFBFBD>פ<EFBFBD><D7A4><EFBFBD><EBA4A4>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD>ʤ饳<CAA4><E9A5B3><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD>)
# <20><><EFBFBD><EFBFBD><E9A1BC>ǽ<EFBFBD>Τʤ<CEA4><CAA4><EFBFBD><EFBFBD><EFBFBD> -M <20>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD>
-# -e <20><> EUC<55><43>Shift JIS <20>ʤ<EFBFBD> -s
-#$W3M = '/usr/local/bin/w3m -dump -T text/html -M -e';
+# -j <20><> JIS<49><53>-e <20><> EUC<55><43>Shift JIS <20>ʤ<EFBFBD> -s
+#$W3M = '@PREFIX@/w3m -dump -T text/html -M -j';
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD>ѥ<EFBFBD><D1A5><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>פʤ饳<CAA4><E9A5B3><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD>)
# # <20><><EFBFBD><EFBFBD>ʬ<EFBFBD><CAAC>ǯ<EFBFBD><C7AF><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>
@@ -97,7 +97,7 @@
#@EXCEPTSCORES = qw(uso800.ac.jp);
# Muquit's Access Counter CGI (<28><><EFBFBD>פ<EFBFBD><D7A4><EFBFBD><EBA4A4>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD>ʤ饳<CAA4><E9A5B3><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD>)
-#$COUNTER = '/usr/local/www/cgi-bin/Count.cgi';
+#$COUNTER = '@PREFIX@/libexec/cgi-bin/Count.cgi';
# <20>ӥ<EFBFBD><D3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD><C3A5>ؿ<EFBFBD>
# sub BusyCheck() {