debian/0000755000000000000000000000000011550723062007167 5ustar debian/docs0000644000000000000000000000003311547446616010053 0ustar AUTHORS NEWS README THANKS debian/copyright0000644000000000000000000000332511547446616011142 0ustar This package was downloaded from http://www.gnu.org/software/cgicc Files: debian/* Copyright: © 2003-2008 Chris Butler License: GPL-2+ The Debian packaging information is under the GPL, version 2 or later Files: * Copyright: © 1996 - 2004 Stephen F. Booth 2007 Sebastien DIAZ License: LGPL-3+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-3'. Files: doc/* Copyright: © 1996 - 2004 Stephen F. Booth License: GFDL-1.1+ Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts. On Debian systems, the complete text of the GNU Free Documentation License can be found in `/usr/share/common-licenses/GFDL'. debian/changelog0000644000000000000000000001320511550722601011040 0ustar libcgicc (3.2.9-3) unstable; urgency=low * Fix binary-only build by adding --no-run-if-empty to xargs in the override_dh_fixperms target (closes: #622203) -- Chris Butler Tue, 12 Apr 2011 02:06:04 +0100 libcgicc (3.2.9-2) unstable; urgency=low * Install pkg-config file to the correct location (closes: #600943) * Do not install unnecessary .la file (closes: #621651) * Updated to Standards-Version 3.9.2 (no changes required other than .la file removal) * Switched Vcs-* fields to new git locations * Added ${misc:Depends} to Depends fields for libcgicc-doc and libcgicc5-dev * Switched to debhelper 7 with short rules file -- Chris Butler Fri, 08 Apr 2011 01:46:21 +0100 libcgicc (3.2.9-1) unstable; urgency=low * New upstream release * Updated to Standards-Version 3.8.3 (no changes required) * Updated to source version 3.0 (quilt) -- Chris Butler Tue, 17 Nov 2009 22:41:43 +0000 libcgicc (3.2.8-1) unstable; urgency=low * New upstream version - Repacked upstream .orig.tar.gz after running 'make distclean' on it, as it contained a cygwin build. Merely cleaning this during the build caused dpkg-buildpackage to complain of unrepresentable changes to the source. * Updated to Standards-Version 3.8.2 (no changes required) * Updated debian/compat to 7, added comma after ${shlibs:Depends} in debian/control. Replaced dh_clean -k with dh_prep, updated build-dep on debhelper to version 7. (fixes lintian warnings) * Add commands to debian/rules to re-libtoolize and autoreconf the package (closes: #527752) -- Chris Butler Thu, 03 Sep 2009 20:15:22 +0100 libcgicc (3.2.7-1) unstable; urgency=low * New upstream release * Updated to Standards-Version 3.8.0 (added parallel option to debian/rules) -- Chris Butler Sat, 12 Jul 2008 00:25:09 +0100 libcgicc (3.2.6-1) unstable; urgency=low * New upstream release * Call the autotools programs in configure target to fix upstream's symlinks * Added Homepage and Vcs fields to debian/control -- Chris Butler Sun, 18 May 2008 22:44:41 +0100 libcgicc (3.2.5-1) unstable; urgency=low * Acknowledged NMU * New upstream release * Updated debian/copyright to reflect the upstream change to LGPL version 3, and rewrote the file to follow the machine-readable copyright format * Updated Standards-Version to 3.7.3 (no changes required) * Include contrib/ in examples directory (closes: #351275) * Fixed doc-base file to get rid of lintian warnings -- Chris Butler Wed, 9 Apr 2008 14:57:10 +0100 libcgicc (3.2.3-5.1) unstable; urgency=low * Non-maintainer upload. * fix g++-4.3 FTBFS Thanks to Cyril Brulebois (Closes: 455284). * fix typo in debian/rules, thanks to Cyril Brulebois again. -- Pierre Habouzit Sun, 16 Mar 2008 21:12:36 +0000 libcgicc (3.2.3-5) unstable; urgency=low * Acknowledged NMU that I somehow missed in my last upload. (closes: #412502) * Removed the empty #ifdef sections introduced by the NMU. * Replaced calls to std::endl with "\r\n" to follow the CGI standard (closes: #353878) * Changed some boilerplate text in the cgicc-config manpage * Added pkg-config file to /usr/lib/pkgconfig * Renamed binary packages to match soname (fixes lintian warning) -- Chris Butler Thu, 30 Aug 2007 13:42:49 +0100 libcgicc (3.2.3-4) unstable; urgency=low * Fixed autoconf script to make distclean target work (closes: #424496) * Bumped Standards-Version to 3.7.2 (no changes required) -- Chris Butler Tue, 19 Jun 2007 13:16:49 +0100 libcgicc (3.2.3-3.1) unstable; urgency=high * Non-maintainer upload. * Remove all instances of "#pragma interface" and "#pragma implementation"; the has multiple .h files which clearly contain actual implementations (in the form of inline functions), which would cause errors on link time. Per suggestion from Helmut Grohne. (Closes: #412502) -- Steinar H. Gunderson Tue, 6 Mar 2007 01:16:42 +0100 libcgicc (3.2.3-3) unstable; urgency=low * Incorporate changes from NMU (closes: #302854) * Upgrade libtool (closes: #320937, #321150) * rebuild for new C++ ABI * debian/control: Bumped Standards-Version to 3.6.2 -- Chris Butler Wed, 18 Jan 2006 11:13:42 +0000 libcgicc (3.2.3-2.1) unstable; urgency=high * Non-maintainer upload. * Urgency high due to RC bug fix * Corrected doc-base so -doc can be installed again (closes: #302854) -- Luk Claes Mon, 9 May 2005 19:45:31 +0200 libcgicc (3.2.3-2) unstable; urgency=low * Fixed bug in multipart form extraction on x86_64 * Split the 5mb of documentation into a seperate package -- Chris Butler Wed, 23 Feb 2005 00:03:18 +0000 libcgicc (3.2.3-1) unstable; urgency=low * New upstream version - form_urldecode now checks length of %-encoded strings (closes: #260429) * debian/control: Bumped Standards-Version to 3.6.1 -- Chris Butler Tue, 22 Feb 2005 15:11:52 +0000 libcgicc (3.2.2-1) unstable; urgency=low * New upstream version * debian/control: Bumped Standards-Version to 3.6.0 -- Chris Butler Thu, 17 Jul 2003 02:07:37 +0100 libcgicc (3.2.1-2) unstable; urgency=low * doc/Makefile.am: Fix path to documentation. (closes: #194481) -- Chris Butler Mon, 26 May 2003 15:59:08 +0100 libcgicc (3.2.1-1) unstable; urgency=low * Initial Debian Release. (closes: #161073) -- Chris Butler Sun, 27 Apr 2003 05:02:30 +0100 debian/libcgicc-doc.install0000644000000000000000000000003511547446616013074 0ustar usr/share/doc/libcgicc-doc/* debian/control0000644000000000000000000000576311550326264010610 0ustar Source: libcgicc Priority: optional Section: libs Maintainer: Chris Butler Build-Depends: debhelper (>> 7.0.50~), automake, libtool, doxygen, dh-autoreconf Standards-Version: 3.9.2 Homepage: http://www.gnu.org/software/cgicc/ Vcs-Git: git://git.crustynet.org.uk/libcgicc.git/ Vcs-Browser: http://git.crustynet.org.uk/libcgicc.git Package: libcgicc-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: C++ class library for writing CGI applications (documentation) An ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web. libcgicc performs the following functions: . * Parses both GET and POST form data transparently. * Provides string, integer, floating-point and single- and multiple-choice retrieval methods for form data. * Provides methods for saving and restoring CGI environments to aid in application debugging. * Provides full on-the-fly HTML generation capabilities, with support for cookies. * Supports HTTP file upload. * Compatible with FastCGI. . This package contains documentation on the usage of the library. Package: libcgicc5-dev Section: libdevel Architecture: any Depends: libcgicc5 (= ${binary:Version}), ${misc:Depends} Provides: libcgicc-dev Conflicts: libcgicc-dev, libcgicc1-dev Suggests: libcgicc-doc Replaces: libcgicc1-dev Description: C++ class library for writing CGI applications (development files) An ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web. libcgicc performs the following functions: . * Parses both GET and POST form data transparently. * Provides string, integer, floating-point and single- and multiple-choice retrieval methods for form data. * Provides methods for saving and restoring CGI environments to aid in application debugging. * Provides full on-the-fly HTML generation capabilities, with support for cookies. * Supports HTTP file upload. * Compatible with FastCGI. . This package contains development files needed for writing and compiling applications that use libcgicc. Package: libcgicc5 Replaces: libcgicc1 Conflicts: libcgicc1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: C++ class library for writing CGI applications (library) An ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web. libcgicc performs the following functions: . * Parses both GET and POST form data transparently. * Provides string, integer, floating-point and single- and multiple-choice retrieval methods for form data. * Provides methods for saving and restoring CGI environments to aid in application debugging. * Provides full on-the-fly HTML generation capabilities, with support for cookies. * Supports HTTP file upload. * Compatible with FastCGI. . This package contains runtime library files for running applications that use libcgicc. debian/libcgicc5-dev.manpages0000644000000000000000000000002611550326264013305 0ustar debian/cgicc-config.1 debian/libcgicc5-dev.install0000644000000000000000000000024711547447013013167 0ustar usr/include/* usr/include usr/lib/lib*.a usr/lib usr/lib/lib*.so usr/lib usr/lib/pkgconfig/* usr/lib/pkgconfig usr/bin/* usr/bin usr/share/aclocal/* usr/share/aclocal debian/libcgicc5.install0000644000000000000000000000003211547446616012413 0ustar usr/lib/lib*.so.* usr/lib debian/compat0000644000000000000000000000000211547446616010402 0ustar 7 debian/patches/0000755000000000000000000000000011547721526010627 5ustar debian/patches/0003-fix-autoconf-automake-files-to-fit-policy.patch0000644000000000000000000000323311547721526022234 0ustar From: Chris Butler Date: Fri, 8 Apr 2011 01:11:20 +0100 Subject: fix autoconf/automake files to fit policy --- configure.ac | 12 ++---------- doc/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 23ae071..8477b45 100644 --- a/configure.ac +++ b/configure.ac @@ -77,10 +77,6 @@ AC_MSG_CHECKING(whether to build the cgicc demos) AC_MSG_RESULT($cgicc_demos) AM_CONDITIONAL(DEMOS, test "$cgicc_demos" = yes) -if test "$cgicc_demos" = yes; then - AC_CONFIG_FILES(demo/Makefile) -fi - dnl enable/disable the FastCgi demos, if specified AC_ARG_ENABLE(fcgi-demos, [ --enable-fcgi-demos build FastCgi demos [[default=no]]], @@ -99,13 +95,9 @@ if test "$cgicc_fcgi_demos" = yes; then fi AC_SUBST(FCGI_LIBS) -dnl Output contrib/Makefile if either of the demos are enabled -if test "$cgicc_demos" = yes || test "$cgicc_fcgi_demos" = yes; then - AC_CONFIG_FILES(contrib/Makefile) -fi - dnl Always output certain files AC_CONFIG_FILES([Makefile cgicc/Makefile cgicc/CgiDefs.h - support/Makefile support/cgicc-config doc/Makefile doc/Doxyfile]) + support/Makefile support/cgicc-config doc/Makefile doc/Doxyfile + demo/Makefile contrib/Makefile support/cgicc.pc]) AC_OUTPUT diff --git a/doc/Makefile.am b/doc/Makefile.am index 7071315..11d3ff1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,7 +2,7 @@ CLEANFILES = *~ stamp -docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) +# docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) FILES = index.tmpl license.tmpl lists.tmpl bugs.tmpl demos.tmpl \ cgi-overview.tmpl tutorial.tmpl lib-overview.tmpl COPYING COPYING.LIB \ -- debian/patches/0002-fix-g-4.3-FTBFS.patch0000644000000000000000000000113311547721526014403 0ustar From: Chris Butler Date: Fri, 8 Apr 2011 01:10:45 +0100 Subject: fix g++-4.3 FTBFS --- cgicc/HTMLElement.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cgicc/HTMLElement.cpp b/cgicc/HTMLElement.cpp index a76b05c..c0e2ed2 100644 --- a/cgicc/HTMLElement.cpp +++ b/cgicc/HTMLElement.cpp @@ -30,6 +30,8 @@ #include "cgicc/HTMLElement.h" #include "cgicc/HTMLElementList.h" +#include + // ============================================================ // Class HTMLElement // ============================================================ -- debian/patches/series0000644000000000000000000000016411547721526012045 0ustar 0001-Create-a-pkg-config-file.patch 0002-fix-g-4.3-FTBFS.patch 0003-fix-autoconf-automake-files-to-fit-policy.patch debian/patches/0001-Create-a-pkg-config-file.patch0000644000000000000000000000173211547721526016611 0ustar From: Chris Butler Date: Fri, 8 Apr 2011 01:04:28 +0100 Subject: Create a pkg-config file --- support/Makefile.am | 2 ++ support/cgicc.pc.in | 12 ++++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 support/cgicc.pc.in diff --git a/support/Makefile.am b/support/Makefile.am index 52a03fe..5038c02 100644 --- a/support/Makefile.am +++ b/support/Makefile.am @@ -7,3 +7,5 @@ depcomp install-sh ltmain.sh missing bin_SCRIPTS = cgicc-config +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = cgicc.pc diff --git a/support/cgicc.pc.in b/support/cgicc.pc.in new file mode 100644 index 0000000..287120a --- /dev/null +++ b/support/cgicc.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +includedir=@includedir@ +libdir=@libdir@ + +Name: cgicc +Description: cgicc is a C++ library for writing CGI applications +Version: @VERSION@ +Requires: +Conflicts: +Libs: -L${libdir} -lcgicc +Cflags: -I${includedir} -- debian/libcgicc-doc.examples0000644000000000000000000000001511547446616013242 0ustar contrib demo debian/cgicc-config.10000644000000000000000000000312411547446616011601 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH CGICC-CONFIG 1 "11 September 07" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME cgicc-config \- script to get information about the installed version of cgicc .SH SYNOPSIS .B cgicc-config [\-\-prefix] [\-\-exec\-prefix] [\-\-version] [\-\-libs] [\-\-static-libs] [\-\-cflags] .SH DESCRIPTION .B cgicc-config displays information about the libcgicc installation .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). .TP .B \-\-prefix Display architecture-independent installation dir .TP .B \-\-exec\-prefix Display architecture-dependent installation dir .TP .B \-\-includedir Display header file installation dir .TP .B \-\-libdir Display object-code installation dir .TP .B \-\-host Display host information .TP .B \-\-version Display version information .TP .B \-\-help Display summary of options. .SH AUTHOR This manual page was written by Chris Butler , for the Debian project (but may be used by others). debian/watch0000644000000000000000000000007111547446616010233 0ustar version=3 http://ftp.gnu.org/gnu/cgicc/cgicc-(.*).tar.gz debian/libcgicc5-dev.dirs0000644000000000000000000000004211547446616012463 0ustar usr/bin usr/lib usr/include/cgicc debian/source/0000755000000000000000000000000011547446616010504 5ustar debian/source/format0000644000000000000000000000001411547446616011712 0ustar 3.0 (quilt) debian/libcgicc-doc.doc-base0000644000000000000000000000043611547446616013110 0ustar Document: libcgicc Title: Reference manual for libcgicc Author: Stephen F. Booth Abstract: This manual describes the functions available in libcgicc Section: Programming/C++ Format: HTML Index: /usr/share/doc/libcgicc-doc/html/index.html Files: /usr/share/doc/libcgicc-doc/html/*.html debian/libcgicc5.dirs0000644000000000000000000000001011547446616011702 0ustar usr/lib debian/rules0000755000000000000000000000243011550643444010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh --with autoreconf $@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) override_dh_auto_configure: ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --htmldir=\$${prefix}/share/doc/libcgicc-doc/html --disable-demos override_dh_auto_install: dh_auto_install # work around doxygen bug - embeds copy of jquery unnecessarily rm -f $(CURDIR)/debian/tmp/usr/share/doc/libcgicc-doc/html/jquery.js override_dh_installexamples: dh_installexamples -XMakefile override_dh_fixperms: dh_fixperms find $(CURDIR)/debian/libcgicc-doc -name '*.png' -o -name '*.svg' | xargs --no-run-if-empty chmod 644 find $(CURDIR)/debian/libcgicc-doc -name .deps | xargs --no-run-if-empty rm -r