Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-libs/cgicc
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/ChangeLog,v 1.12 2008/01/30 11:23:26 dev-zero Exp $
*cgicc-3.2.5 (30 Jan 2008)
30 Jan 2008; Tiziano Müller
+cgicc-3.2.5.ebuild:
Version bump (bug #208091, general cleanup of the ebuild concerning style
and correctness, license changed). Dropped old version.
22 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
29 Nov 2006; Tiziano Müller
Set herd as maintainer
23 Nov 2005; Luis Medinas
Stable on amd64. Closes Bug #109177.
19 Sep 2005; Mark Loeser
Adding to cpp herd
04 Jul 2005; Aaron Walker
Stable on x86.
*cgicc-3.2.3 (11 Feb 2005)
11 Feb 2005; Aaron Walker
cgicc-3.2.1.ebuild, +cgicc-3.2.3.ebuild:
Version bump; added IUSE='doc debug'.
14 Mar 2004; Michael Sterrett
Don't assign default to S; header fix
07 Dec 2002; J Robert Ray
*cgicc-3.2.1 (20 Dec 2002)
20 Dec 2002; J Robert Ray
Miguel Revilla Rodriguez
DIST cgicc-3.2.3.tar.bz2 445393 RMD160 c1da8be93801344bc4c6338e2547788eb4de217d SHA1 0d49c933a77d5a917ebf761f416fe1f0140e7664 SHA256 88fc878aa30d9529d3599891732143c5ac602f4d863126ca2a51d7f7692b7b2d
DIST cgicc-3.2.5.tar.gz 1857935 RMD160 058623d8fde2eabd58c86156e92bf13d832de6ec SHA1 0aedf7723169a23078ef4cae06df8699ab22445c SHA256 fba029ec25c53f32f13ffccd8ff5521111cd05bdbcb96b9b5bcadea6e2d5f46b
EBUILD cgicc-3.2.3.ebuild 1249 RMD160 4c4ac317c929726794cbb1bed7723e0177f5a249 SHA1 325a74445a1d5004a65816fbffd393c5b456864f SHA256 8755b9c808106a14c0a43c24aadcc6571863cf5fd93079a1f7b7be2831a1a184
EBUILD cgicc-3.2.5.ebuild 1598 RMD160 baf09d340802c53773aa4401b10a954e51e86a4f SHA1 c51e542ae5525f4ba83aa86ed932de8cc8c3ed82 SHA256 822da2318e8389c6b6da5a46e836c11017c84fd1f0e0fc90ce66c7b7a7e684bc
MISC ChangeLog 1449 RMD160 e717b78b37003be380107621e2c02da84fe1240e SHA1 c2de5e9697bca4c1c60187b7be01dea671037588 SHA256 a0438384295a5af6654b70753e28b1c5f66b5895e89a64bdc5bcaa647dec0346
MISC metadata.xml 784 RMD160 cfe7cf3fa1dd175345231125f4201d0b209dcfcf SHA1 4d598d7d298b426c66c6b0b8a6a12277ba677ea0 SHA256 4789427922c77ada8215965261bf671160836be79fde7963ca3db10e3131dd2a
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.3.ebuild,v 1.3 2005/11/23 00:56:41 metalgod Exp $
DESCRIPTION="A C++ class library for writing CGI applications"
HOMEPAGE="http://www.cgicc.org/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE="doc debug"
DEPEND=">=sys-apps/sed-4"
RDEPEND="virtual/libc"
src_unpack() {
unpack ${A}
# docs are included in html form, no need to depend on doxygen and regenerate them
sed -i \
-e 's|^\(SUBDIRS = cgicc\) doc\( support $(DEMO)\)|\1\2|' \
-e 's|^\(DIST_SUBDIRS = cgicc\) doc\(support demo contrib\)|\1\2|' \
-e 's|\($(mkdir_p) $(distdir)/cgicc\) $(distdir)/doc\( $(distdir)/support\)|\1\2|' \
${S}/Makefile.in || die "sed Makefile.in failed"
}
src_compile() {
econf \
--disable-demos \
--enable-warnings \
$(use_enable debug debug-logging) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
use doc && dohtml -r doc/html/*
rm -rf doc
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog COPYING COPYING.DOC COPYING.LIB INSTALL NEWS \
README README.WIN THANKS
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.5.ebuild,v 1.1 2008/01/30 11:23:26 dev-zero Exp $
DESCRIPTION="A C++ class library for writing CGI applications"
HOMEPAGE="http://www.cgicc.org/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="LGPL-3 doc? ( FDL-1.2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc debug"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
# remove stray GNUCAP_LDFLAGS
# upstream bug: #22176
sed -i \
-e 's/@GNUCAP_LDFLAGS@//' \
cgicc/Makefile.in || die "sed failed"
# Fix docdir/htmldir paths in doc/Makefile.in
# upstream bug: #6385
sed -i \
-e 's|$(docdir)|@htmldir@|g' \
-e 's|$(prefix)/doc/\$(PACKAGE)-\$(VERSION)|@docdir@|' \
doc/Makefile.in || die "sed failed"
}
src_compile() {
if ! use doc ; then
sed -i \
-e 's/^\(SUBDIRS = .*\) doc \(.*\)/\1 \2/' \
Makefile.in || die "sed failed"
fi
econf \
--disable-demos \
--htmldir=/usr/share/doc/${PF}/html \
$(use_enable debug debug-logging) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS
# Manually install the m4-file
# upstream bug: #22177
insinto /usr/share/aclocal
doins example/cgicc.m4
if use doc ; then
insinto /usr/share/doc/${PF}/contrib
doins contrib/*.cpp contrib/README
insinto /usr/share/doc/${PF}/demo
doins -r demo/*.{h,cpp} demo/images demo/README
fi
}
GNU cgicc is an ANSI C++ compliant class library that greatly
simplifies the creation of CGI applications for the World Wide
Web. cgicc 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 4.0 generation capabilities, with support
for cookies
- Supports HTTP file upload
- Compatible with FastCGI