libcgic2 - C library for developing CGI applications

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libcgic2
Package version 2.05
Package release 3
Package architecture amd64
Package type deb
Installed size 64 B
Download size 19.67 KB
Official Mirror
Cgic is an ANSI-C library for the creation of CGI-based World Wide Web
applications.  Cgic provides the following:
* Parses form data, correcting for defective and/or inconsistent
* Transparently accepts both GET and POST form data
* Handles line breaks in form fields in a consistent manner
* Provides string, integer, floating-point, and single- and
multiple-choice functions to retrieve form data
* Provides bounds checking for numeric fields
* Loads CGI environment variables into C strings which are always
* Provides a way to capture CGI situations for replay in a debugging
This package provides a shared library version of cgic.


Package Version Architecture Repository
libcgic2_2.05-3_i386.deb 2.05 i386 Debian Main
libcgic2 - - -


Name Value
libc6 >= 2.4


Type URL
Binary Package libcgic2_2.05-3_amd64.deb
Source Package libcgic

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libcgic2 deb package:
    # sudo apt-get install libcgic2




2012-05-13 - Bart Martens <>
libcgic (2.05-3) unstable; urgency=low
* debian/control: Suggests: httpd.  Closes: #600138.
* debian/control: Fixed debhelper-but-no-misc-depends.
2008-07-13 - Bart Martens <>
libcgic (2.05-2) unstable; urgency=low
* debian/control: Standards-Version, Homepage.
2007-08-19 - Bart Martens <>
libcgic (2.05-1) unstable; urgency=low
* New maitnainer.  Closes: #438643.
* New upstream release.
* debian/*: Repackaged with cdbs.
* debian/changelog-upstream.html: Removed.
* debian/Makefile.examples: Removed.
* debian/README.Debian: Removed.
* debian/copyright: Updated.
* debian/watch: Updated.
2003-01-24 - Colin Watson <>
libcgic (1.07-3) unstable; urgency=low
* Policy version 3.5.8:
- CFLAGS now always contains -g; DEB_BUILD_OPTIONS=debug just adds
- Support DEB_BUILD_OPTIONS=noopt to build without optimizations.
- Drop /usr/doc symlink.
* Use debhelper in version 3 mode.
* Suggest libgd1-noxpm and libgd-noxpm-dev as real alternatives for the
virtual packages libgd1 and libgd-dev respectively.
2001-09-16 - Colin Watson <>
libcgic (1.07-2) unstable; urgency=low
* debian/rules: Use dpkg-parsechangelog rather than parsing `pwd`. Other
* Policy version 3.5.6.
2001-02-07 - Colin Watson <>
libcgic (1.07-1) unstable; urgency=low
* New maintainer (closes: #68591).
* New upstream release:
- Fixed a fencepost error causing various functions to return
cgiFormTruncated if the returned string fit the buffer exactly.
* Standards-Version: 3.5.0:
- Build dependencies.
- Don't install shared libraries executable (though dh_fixperms fixed
this anyway).
- The postinst of libcgicg1 didn't have a debhelper token, so the
/usr/doc link got lost. Fixed.
- Added postrm with missing ldconfig call (triggers lintian bug #82479).
* Build with debhelper v2.
* Build libraries with -D_REENTRANT, as per policy (Does anyone
actually use threaded CGI scripts?)
* Removed old libc5 packages libcgic1 and libcgic1-altdev, and got rid of
the consequent cruft from debian/rules (to all intents and purposes this
closes: #74254, especially since the libgd development packages for
libc5 have also been dropped; also see the next changelog entry).
* Use new names of libgd packages (libgd1 and libgd-dev) (closes: #74212).
* Moved support.txt to the runtime package.
* Constructed an upstream changelog from cgic.html.
* Removed unnecessary call to dh_suidregister.
* Other miscellaneous packaging cleanups.
* Correctly prototype cgiMain() (closes: #77544).
* Applied Ian Jackson's suggestions for cgic-capture (closes: #77652):
- Change all /tmp references to use the current directory instead. Added
documentation that the current directory needs to be writeable.
- Revert an earlier Debian patch which coped with the security issues of
writing into /tmp by opening with O_WRONLY | O_CREAT | O_EXCL. Since a
CGI script's current directory may reasonably be assumed to be secure,
this isn't necessary.
- Since capture is far from the best way to debug CGI scripts, we don't
ship it as a separate package any more. Instead, install it as one of
the examples in libcgicg1-dev, like cgictest.c; those who need it for
debugging can compile it themselves, since they must be doing the same
for the script they're debugging anyway. An abridged copy of the main
Makefile is provided.
- Check return code of cgiReadEnvironment() and cgiWriteEnvironment() in
cgictest.c and capture.c respectively.
* Fix format string in cgictest.c (%s -> %d).
1999-11-25 - Torsten Landschoff <>
libcgic (1.06-4) unstable; urgency=low
* Debian QA upload.
* debian/rules: Build libc5 packages conditionally (closes: #51181).

See Also

Package Description
libcgicc-doc_3.2.9-3_all.deb C++ class library for writing CGI applications (documentation)
libcgicc5-dev_3.2.9-3_amd64.deb C++ class library for writing CGI applications (development files)
libcgicc5_3.2.9-3_amd64.deb C++ class library for writing CGI applications (library)
libcglib3-java-doc_3.1+dfsg-1_all.deb code generation library for Java - documentation
libcglib3-java_3.1+dfsg-1_all.deb code generation library for Java
libcgmanager-dev_0.33-2+deb8u2_amd64.deb Central cgroup manager daemon (dev)
libcgmanager0_0.33-2+deb8u2_amd64.deb Central cgroup manager daemon (client library)
libcgns-dev_3.1.4.2-2+b1_amd64.deb CFD General Notation System library
libcgns3.1_3.1.4.2-2+b1_amd64.deb CFD General Notation System library
libcgraph6_2.38.0-7_amd64.deb rich set of graph drawing tools - cgraph library
libcgroup-dev_0.41-6_amd64.deb control and monitor control groups (development)
libcgroup1_0.41-6_amd64.deb control and monitor control groups (library)
libcgsi-gsoap-dev_1.3.6-1+b1_amd64.deb GSI plugin for gSOAP - development files
libcgsi-gsoap1_1.3.6-1+b1_amd64.deb GSI plugin for gSOAP
libchado-perl_1.23-2_all.deb database schema and tools for genomic data