head 1.2;
access;
symbols
pkgsrc-2020Q1:1.2.0.98
pkgsrc-2020Q1-base:1.2
pkgsrc-2019Q4:1.2.0.120
pkgsrc-2019Q4-base:1.2
pkgsrc-2019Q3:1.2.0.116
pkgsrc-2019Q3-base:1.2
pkgsrc-2019Q2:1.2.0.114
pkgsrc-2019Q2-base:1.2
pkgsrc-2019Q1:1.2.0.112
pkgsrc-2019Q1-base:1.2
pkgsrc-2018Q4:1.2.0.110
pkgsrc-2018Q4-base:1.2
pkgsrc-2018Q3:1.2.0.108
pkgsrc-2018Q3-base:1.2
pkgsrc-2018Q2:1.2.0.106
pkgsrc-2018Q2-base:1.2
pkgsrc-2018Q1:1.2.0.104
pkgsrc-2018Q1-base:1.2
pkgsrc-2017Q4:1.2.0.102
pkgsrc-2017Q4-base:1.2
pkgsrc-2017Q3:1.2.0.100
pkgsrc-2017Q3-base:1.2
pkgsrc-2017Q2:1.2.0.96
pkgsrc-2017Q2-base:1.2
pkgsrc-2017Q1:1.2.0.94
pkgsrc-2017Q1-base:1.2
pkgsrc-2016Q4:1.2.0.92
pkgsrc-2016Q4-base:1.2
pkgsrc-2016Q3:1.2.0.90
pkgsrc-2016Q3-base:1.2
pkgsrc-2016Q2:1.2.0.88
pkgsrc-2016Q2-base:1.2
pkgsrc-2016Q1:1.2.0.86
pkgsrc-2016Q1-base:1.2
pkgsrc-2015Q4:1.2.0.84
pkgsrc-2015Q4-base:1.2
pkgsrc-2015Q3:1.2.0.82
pkgsrc-2015Q3-base:1.2
pkgsrc-2015Q2:1.2.0.80
pkgsrc-2015Q2-base:1.2
pkgsrc-2015Q1:1.2.0.78
pkgsrc-2015Q1-base:1.2
pkgsrc-2014Q4:1.2.0.76
pkgsrc-2014Q4-base:1.2
pkgsrc-2014Q3:1.2.0.74
pkgsrc-2014Q3-base:1.2
pkgsrc-2014Q2:1.2.0.72
pkgsrc-2014Q2-base:1.2
pkgsrc-2014Q1:1.2.0.70
pkgsrc-2014Q1-base:1.2
pkgsrc-2013Q4:1.2.0.68
pkgsrc-2013Q4-base:1.2
pkgsrc-2013Q3:1.2.0.66
pkgsrc-2013Q3-base:1.2
pkgsrc-2013Q2:1.2.0.64
pkgsrc-2013Q2-base:1.2
pkgsrc-2013Q1:1.2.0.62
pkgsrc-2013Q1-base:1.2
pkgsrc-2012Q4:1.2.0.60
pkgsrc-2012Q4-base:1.2
pkgsrc-2012Q3:1.2.0.58
pkgsrc-2012Q3-base:1.2
pkgsrc-2012Q2:1.2.0.56
pkgsrc-2012Q2-base:1.2
pkgsrc-2012Q1:1.2.0.54
pkgsrc-2012Q1-base:1.2
pkgsrc-2011Q4:1.2.0.52
pkgsrc-2011Q4-base:1.2
pkgsrc-2011Q3:1.2.0.50
pkgsrc-2011Q3-base:1.2
pkgsrc-2011Q2:1.2.0.48
pkgsrc-2011Q2-base:1.2
pkgsrc-2011Q1:1.2.0.46
pkgsrc-2011Q1-base:1.2
pkgsrc-2010Q4:1.2.0.44
pkgsrc-2010Q4-base:1.2
pkgsrc-2010Q3:1.2.0.42
pkgsrc-2010Q3-base:1.2
pkgsrc-2010Q2:1.2.0.40
pkgsrc-2010Q2-base:1.2
pkgsrc-2010Q1:1.2.0.38
pkgsrc-2010Q1-base:1.2
pkgsrc-2009Q4:1.2.0.36
pkgsrc-2009Q4-base:1.2
pkgsrc-2009Q3:1.2.0.34
pkgsrc-2009Q3-base:1.2
pkgsrc-2009Q2:1.2.0.32
pkgsrc-2009Q2-base:1.2
pkgsrc-2009Q1:1.2.0.30
pkgsrc-2009Q1-base:1.2
pkgsrc-2008Q4:1.2.0.28
pkgsrc-2008Q4-base:1.2
pkgsrc-2008Q3:1.2.0.26
pkgsrc-2008Q3-base:1.2
cube-native-xorg:1.2.0.24
cube-native-xorg-base:1.2
pkgsrc-2008Q2:1.2.0.22
pkgsrc-2008Q2-base:1.2
cwrapper:1.2.0.20
pkgsrc-2008Q1:1.2.0.18
pkgsrc-2008Q1-base:1.2
pkgsrc-2007Q4:1.2.0.16
pkgsrc-2007Q4-base:1.2
pkgsrc-2007Q3:1.2.0.14
pkgsrc-2007Q3-base:1.2
pkgsrc-2007Q2:1.2.0.12
pkgsrc-2007Q2-base:1.2
pkgsrc-2007Q1:1.2.0.10
pkgsrc-2007Q1-base:1.2
pkgsrc-2006Q4:1.2.0.8
pkgsrc-2006Q4-base:1.2
pkgsrc-2006Q3:1.2.0.6
pkgsrc-2006Q3-base:1.2
pkgsrc-2006Q2:1.2.0.4
pkgsrc-2006Q2-base:1.2
pkgsrc-2006Q1:1.2.0.2
pkgsrc-2006Q1-base:1.2
pkgsrc-2005Q4:1.1.1.1.0.12
pkgsrc-2005Q4-base:1.1.1.1
pkgsrc-2005Q3:1.1.1.1.0.10
pkgsrc-2005Q3-base:1.1.1.1
pkgsrc-2005Q2:1.1.1.1.0.8
pkgsrc-2005Q2-base:1.1.1.1
pkgsrc-2005Q1:1.1.1.1.0.6
pkgsrc-2005Q1-base:1.1.1.1
pkgsrc-2004Q4:1.1.1.1.0.4
pkgsrc-2004Q4-base:1.1.1.1
pkgsrc-2004Q3:1.1.1.1.0.2
pkgsrc-2004Q3-base:1.1.1.1
pkgsrc-base:1.1.1.1
TNF:1.1.1;
locks; strict;
comment @# @;
1.2
date 2006.01.06.22.46.51; author adam; state Exp;
branches;
next 1.1;
1.1
date 2004.07.20.21.44.29; author jmmv; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2004.07.20.21.44.29; author jmmv; state Exp;
branches;
next ;
desc
@@
1.2
log
@Changes 2.05:
Temporary files used to accept file uploads were not closed properly. This
resulted in a file descriptor leak, which was unlikely to be serious because of
the short lifespan of CGI programs and the fact that very few forms upload many
files at once. However, on the Windows platform and possibly some others, file
locking semantics prevented file uploads from working at all with these files
not properly closed. Fixed in 2.05.
Changes 2.04:
Documentation fixes: the cgiHtmlEscape, cgiHtmlEscapeData, cgiValueEscape, and
cgiValueEscapeData routines were named incorrectly in the manual. No code
changes in version 2.04.
Changes 2.03:
Support for setting cookies has been reimplemented. The new code closely
follows the actual practice of web sites that successfully use cookies, rather
than attempting to implement the specification. The new code can successfully
set more than one cookie at a time in typical web browsers.
@
text
@$NetBSD$
--- cgic.html.orig 2004-11-15 17:59:19.000000000 +0100
+++ cgic.html
@@@@ -378,6 +378,29 @@@@ cgic.c to your project?
If none of the above proves effective, please see the
section regarding support.
+
+*Important Note for NetBSD packages users from the package maintainer: *
+
+This section does not work for users of cgic who have it installed via
+a NetBSD package. While mostly true, there are several very important
+differences which were created during the port to the NetBSD pkgsrc
+environment:
+
+

+- Linking is now done against libcgic instead of cgic.c itself. This
+ is done by adding a "-lcgic" and other command line options as needed
+ when linking.
+
- The application must now provide its own main() function, which calls the
+ cgiInit() function before any of the other functions are called. This
+ function returns 0 upon success, and -1 upon failure. It also registers
+ a function, cgiFreeResources(), via atexit() to be called at exit time.
+

+
+While this removes the ability to compile cgic with DEBUG defined, it
+aligns the cgic library with the model followed by other libraries.
+
+
+
*Note: * All cgic applications must be linked to the cgic.c module
itself. How to do this depends on your operating system; under Unix,
just use the provided Makefile as an example.
@
1.1
log
@Initial revision
@
text
@d3 1
a3 1
--- cgic.html.orig Sun Jan 12 13:59:43 2003
d5 1
a5 1
@@@@ -365,6 +365,29 @@@@ cgic.c to your project?
@
1.1.1.1
log
@Initial import of cgic, version 2.02, provided by cinnion at ka8zrt.com:
This is the code written to accompany Thomas Boutell's book "CGI
Programming in C & Perl". It provides a library of routines for use
in CGI programming, and unlike cgilib-0.5, this library handles the
"multipart/form-data" encoding required to use the FILE input control
type as defined in the HTML specification.
NOTE: It should be aware that there were a few developer visible changes
made from Thomas Boutell's original distribution when integrating it
with the NetBSD packages environment. They are:
1) Instead of being yet another source file which is used in building
the application, the package have been converted totally into a
library format. This library is linked using "-lcgic".
2) As a result of the first item, the developer no longer writes their
entry point under the function name of cgiMain(). Instead, the
user will provide their own main(), and will need to call cgiInit()
before any other cgic function is called.
@
text
@@