summaryrefslogtreecommitdiff
path: root/www/tcl-cgi/patches
diff options
context:
space:
mode:
authorjwise <jwise>2000-08-30 15:42:58 +0000
committerjwise <jwise>2000-08-30 15:42:58 +0000
commita74364aa4513732a969fb5c380d80f7c1762579e (patch)
treed1d80c562823bf4cef889b48d0a3d53c258daa08 /www/tcl-cgi/patches
parente216ee69ef42c63163285375472c493c74ed118b (diff)
downloadpkgsrc-a74364aa4513732a969fb5c380d80f7c1762579e.tar.gz
Update to tcl-cgi-1.3, and adapt to tcl-8.3.2.
Changes since tcl-cgi-0.8 include: 5/19/00 1.3.0 Changed many cgi_puts to cgi_put in hopes of addressing more of Zygo's 5/9/00 complaint (i.e., same problem in tables). 5/9/00 1.2.2 Zygo Blaxell <zblaxell@feedme.hungrycats.org> provided signif. cgi_input regexp speedup for long x=y-style values. He also noted that some browsers are sensitive to leading/following \n's in textarea and provided a patch to avoid adding them in the first place. James Ward <jew@rincon.com> noted absence of pkgIndex.tcl (presumably due to really old Tcl) broke installation. Fixed pkgcreate to create stub file to allow Make to complete. Robin Lauren <robin.lauren@novostore.com> contributed the doc in HTML form. Really need to automate this now, sigh. Jan.Vlcek@sasprg.cz observed that converting %XX to \u00XX and then using subst is only good for us-ascii and corrupts iso8859-1, iso8859-2, etc. He provided a patch for cgi_unquote_input. Ross Mohn <rpmohn@waxandwane.com> corrected syntax error in cgi_span and made <hr> handle width= better. Tore Morkemo provided a patch to his prior patch for cgi_eval. Asari Hirotsugu <asari@math.uiuc.edu> provided additional installation advice for Mac. 12/27/99 1.2.1 Tore Morkemo noted expires=never value of 9999 inappropriate as Netscape ignores anything beyond mid-January 2038. Tore also provided patch for cgi_eval when running inside of a proc. 12/20/99 1.2.0 Keith Lea <keith@cs.oswego.edu> noted 2-digit years as per RFC2109. Despite RFC, Netscape now accepts 4-digit years. Some browsers won't like this but it hardly matters anyway since they'll do the wrong thing on old 2-digit years come Y2K anyway. Petrus Vloet noted example/nistguest missing from distrib. 12/18/99 1.1.0 Tomas Soucek" <tomas.soucek@sasprg.cz> noted cgi_input was adding eol characters to uploaded files if they didn't contain them. Fixed this and also enhanced file upload example so that it could do both cat/od and also warn when Tcl couldn't do binary upload. Added braces around unprotected expressions. Added check to unimail example for HTTP_REFERER. Petrus Vloet requested Makefile install example data files. Added img.cgi example and modified frame example so it accepts "example=whatever" so that I can post URLs that go right to a particular example and have it framed. 9/12/99 1.0.0 Bumped version to 1 to pacify management. Jeffrey Hobbs rewrote cgi_unquote_input to take advantage of 8.2 features. 300% speed improvement! 7/16/99 0.8.1 Douglas Ridgway provided mod to make cgi_image_button handle optional args. Made code use straight cgi_input_multipart if on Tcl 8.1. Jeffrey Hobbs provided cgi_unquote_input that works better for 8.1. Petrus Vloet <petrus.vloet@siemens.at> requested sample data files for examples that need them; ability to change example install destination.
Diffstat (limited to 'www/tcl-cgi/patches')
-rw-r--r--www/tcl-cgi/patches/patch-aa14
-rw-r--r--www/tcl-cgi/patches/patch-ab37
2 files changed, 42 insertions, 9 deletions
diff --git a/www/tcl-cgi/patches/patch-aa b/www/tcl-cgi/patches/patch-aa
index da9d7984416..0520cb3c5c2 100644
--- a/www/tcl-cgi/patches/patch-aa
+++ b/www/tcl-cgi/patches/patch-aa
@@ -1,19 +1,15 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/07/07 15:15:12 bouyer Exp $
-
---- cgi.tcl.in.orig Tue Jul 6 17:58:42 1999
-+++ cgi.tcl.in Tue Jul 6 18:00:17 1999
-@@ -2006,8 +2006,8 @@
+--- cgi.tcl.in.orig Wed Aug 30 11:07:29 2000
++++ cgi.tcl.in Wed Aug 30 11:08:26 2000
+@@ -2040,7 +2040,7 @@
flush $_cgi(mailfid)
- if {[file executable /usr/lib/sendmail]} {
-- exec /usr/lib/sendmail -t -odb < $_cgi(mailfile)
+ if {[file executable /usr/sbin/sendmail]} {
-+ exec /usr/sbin/sendmail -t -odb < $_cgi(mailfile)
+ exec /usr/lib/sendmail -t -odb < $_cgi(mailfile)
# Explanation:
# -t means: pick up recipient from body
- # -odb means: deliver in background
-@@ -2022,6 +2022,9 @@
+@@ -2056,6 +2056,9 @@
set s [socket $_cgi(mail_relay) 25]
gets $s answer
if {[lindex $answer 0] != 220} {error $answer}
diff --git a/www/tcl-cgi/patches/patch-ab b/www/tcl-cgi/patches/patch-ab
new file mode 100644
index 00000000000..a2763ffa1c8
--- /dev/null
+++ b/www/tcl-cgi/patches/patch-ab
@@ -0,0 +1,37 @@
+--- Makefile.in.orig Thu Apr 20 11:21:24 2000
++++ Makefile.in Wed Aug 30 11:18:05 2000
+@@ -58,13 +58,13 @@
+
+ mandir = $(prefix)/man
+ man1dir = $(mandir)/man1
+-man3dir = $(mandir)/man3
++man3dir = $(mandir)/mann
+ docdir = $(datadir)/doc
+
+ # utility script directories - arch-independent and arch-non-
+ # independent.
+-SCRIPTDIR = $(datadir)/cgi$(SHORT_VERSION)
+-EXECSCRIPTDIR = $(execdatadir)/cgi$(SHORT_VERSION)
++SCRIPTDIR = $(datadir)/tcl/cgi$(SHORT_VERSION)
++EXECSCRIPTDIR = $(execdatadir)/tcl/cgi$(SHORT_VERSION)
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+@@ -93,7 +93,7 @@
+ # (but not the noninstalled files such as `make all' creates)
+ uninstall:
+ -rm -f $(SCRIPTDIR)/cgi.tcl
+- -rm -f $(man3dir)/cgi.tcl.3
++ -rm -f $(man3dir)/cgi.tcl.n
+ -rm -f $(SCRIPTDIR)/pkgIndex.tcl
+
+ .PHONY: install-info install info
+@@ -104,7 +104,7 @@
+ # install scripts
+ $(INSTALL_DATA) cgi.tcl $(SCRIPTDIR)
+ # install library man page
+- $(INSTALL_DATA) cgi.tcl.man $(man3dir)/cgi.tcl.3
++ $(INSTALL_DATA) cgi.tcl.man $(man3dir)/cgi.tcl.n
+ $(INSTALL_DATA) pkgIndex.tcl $(SCRIPTDIR)
+
+ examples: