summaryrefslogtreecommitdiff
path: root/dev-libs/cgicc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/cgicc
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/cgicc')
-rw-r--r--dev-libs/cgicc/Manifest9
-rw-r--r--dev-libs/cgicc/cgicc-3.2.16.ebuild48
-rw-r--r--dev-libs/cgicc/cgicc-3.2.9.ebuild43
-rw-r--r--dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch13
-rw-r--r--dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch34
-rw-r--r--dev-libs/cgicc/metadata.xml23
6 files changed, 170 insertions, 0 deletions
diff --git a/dev-libs/cgicc/Manifest b/dev-libs/cgicc/Manifest
new file mode 100644
index 000000000000..5092c7fa2f32
--- /dev/null
+++ b/dev-libs/cgicc/Manifest
@@ -0,0 +1,9 @@
+AUX 3.2.10-fix-pkgconfig.patch 419 SHA256 825559a99380f35e634cd634b6549cc6f65fbf23c4f5baa5d72cc042da5a8941 SHA512 f2b688795317f11f67070b94227ef75afed02353cba5d0d98918a6107fc3a1ec107ab1b33ec29b32047098ca0d2acfda087016eef7de16be58af72ea7dd53977 WHIRLPOOL ce71afd094255aecac9fed490fdeb5edbbdea6d6859b0d60a069d806fa4a18fbf3cc26c13314f3bcd7f333af198255eecc9dd35b35c87d79d8bc6b5258afd052
+AUX cgicc-3.2.16-fix-doc-building.patch 812 SHA256 c23165b1d5936787fad76988c700239980df5bd325198a3ba6330bc9f3b88aed SHA512 c31d72d32dc0df5ec5b5d2286865e969d4ec432b3551c533d2b23c1acae8c4a821ea7891980f2af22da16c71f0561a19a38070a4394f43b4cfc4ec9ec5ed51e1 WHIRLPOOL 33df4d299c1bee3359e2e651066be908864391d1722f7b6b06deb1f82719badebe3e7627c4598ed31fcd3fde9c616ff7f64a100d1956e4e30c957f931202027b
+DIST cgicc-3.2.16.tar.gz 1409037 SHA256 9dceb36d2da52791ee11f2fb5bb6435c22e69ef50f38073c4329386b883d5aaa SHA512 3334777204f3de57e80f759503db08076fe8e7a12cf779bb50345e7d06c6be4cc612b473bd74eded5debd79684b49c5bb79bcfff1b631a815c7fe9d14960d537 WHIRLPOOL d55900ff650c5f42ec385eb4b20d41b8ee131ecd1ba3e1a27dc21326633281651e5ea4e0e7bde71f11ed2440282e7f1d52bbe9e1cae754f5afa2de358a38bdc5
+DIST cgicc-3.2.9.tar.gz 2087796 SHA256 7bf392da75787e848ddf04395a5ed08fc472411deaa07cbae2c3edbea8fbeed4 SHA512 bd02750a0ad81a64c017e8ccf6cee0c6801506bdc00ea4b0a5e4ea28e35e453122e3e25b3578cb1cb7b22011d5147b99ed79bf7c4702d4c7ab404096aabca623 WHIRLPOOL 01f0da6ca0c28415ed44ab37f3ea56892d18c1dd57a9724bbc0c86bac20e6954bb29b826c96a72cbe8ea99bddcba12b18f9d21c17e5216a20406d931224b6a07
+EBUILD cgicc-3.2.16.ebuild 939 SHA256 6c9e229a2a3a755ee2ac7528c9d785fcf3e6b7e7391286a7af5637d6c531ba8d SHA512 9b0197404e270b1c92d468c0caaa376071e654ff0661598d5d1c7eab337ac2f5a8988ec54b6e17c610df1034b23a52d20d18ebb0657f47ace2c1bda64cf742d5 WHIRLPOOL 3aeee50b3e2091ab9c1ba9545e4c2074ee244c30e559010f95aab46965f80434e8f4b2eef7f5829680eeb02c4a5eeb5a3dbf089d8bea4503904b6e3cdf465bb0
+EBUILD cgicc-3.2.9.ebuild 898 SHA256 0fc0b90e8c383f1d279aa36031b9580e3779265bb8a4a8ab5a9ae06395c68798 SHA512 429e72a2428969da7d93ef99f6be25148cc25f980305bb929957ff8775a2dc1308f31d972e48dd653fe74bba83a09b23749e663a2d83a427f3c58ef42c97f77f WHIRLPOOL c070514cf4ec0fc30ecc26c85b5f6095db638000a2d14769cff967b2c6fe8261eb4407e8a192570a4e16990b36037499350da622729247c5b65ce674ab6c4f35
+MISC ChangeLog 3490 SHA256 633a3e0f0c67454df9b9e75306508a55593aa20a248464250f01c175be382d7d SHA512 dd71691a348ac3965609000a3032f13dbb3d1c91ae58d3c3e75136ec6a9333d41f1ac13cc616d82990333f9caa99cd4d293b4e835d0a25a82cfbf69ed2795f93 WHIRLPOOL 761f8143a875d934e3221bf79da01c591ca29882281a3e7189a83c1e62a9b5ca88ebb4305e3cecfff2c653c26e9aa1a4089282e7582cd284635970699ce1ba06
+MISC ChangeLog-2015 2149 SHA256 bfda7a38489326eea7e10ae6ac11e5927c8aaaa001b0824f9b92ed2dcfb403ed SHA512 267c08eb4168621f5c5ba2691d98782e6c283929ed3f0c91f6df6497ee31c254a77780f1e372f38e4e3d803eca256150c999fec7a4dddd35bedd60281bcf842e WHIRLPOOL de34cf8137754f365de270af7bfde5da490a93884712b684e26b7a88f0974ca612a9f8517027ecf5a02807cec49aeb0b39273f7a9e006392aeafd1c9cc434d3f
+MISC metadata.xml 875 SHA256 39138a7def5dc86258fe2512e304616db27220c76a03e790a8a968d4e9f04d07 SHA512 4ed7b605ecb6b1af7d962fdb524e40723fa65b207e23c08da8c78dd17588ac2c4373ff105e9cbb2552ee09908c671d8ff8fb3d32ad8d8e69447f21b2884ec5dd WHIRLPOOL 5a71c124370e39d65f42531b3b33c2c0a7a3f6f4b832c98b7c72010301652b66c1a390773493ab6ab4817aca8047c47b5a7795277700efd49f08b1e6209597ed
diff --git a/dev-libs/cgicc/cgicc-3.2.16.ebuild b/dev-libs/cgicc/cgicc-3.2.16.ebuild
new file mode 100644
index 000000000000..84c5498b2c95
--- /dev/null
+++ b/dev-libs/cgicc/cgicc-3.2.16.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A C++ class library for writing CGI applications"
+HOMEPAGE="https://www.gnu.org/software/cgicc/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3 doc? ( FDL-1.2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples static-libs"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}/3.2.10-fix-pkgconfig.patch"
+ "${FILESDIR}/${PN}-3.2.16-fix-doc-building.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable examples demos) \
+ $(use_enable doc) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ # package provides .pc files
+ find "${D}" -name '*.la' -delete || die
+
+ if use examples; then
+ docinto examples
+ dodoc {contrib,demo}/{*.{cpp,h},*.cgi,README}
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-libs/cgicc/cgicc-3.2.9.ebuild b/dev-libs/cgicc/cgicc-3.2.9.ebuild
new file mode 100644
index 000000000000..393b55599081
--- /dev/null
+++ b/dev-libs/cgicc/cgicc-3.2.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="A C++ class library for writing CGI applications"
+HOMEPAGE="https://www.gnu.org/software/cgicc/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3 doc? ( FDL-1.2 )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_configure() {
+ if ! use doc; then
+ sed -i \
+ -e 's/^\(SUBDIRS = .*\) doc \(.*\)/\1 \2/' \
+ Makefile.in || die
+ fi
+
+ econf \
+ --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ --disable-dependency-tracking \
+ --disable-demos
+}
+
+src_install() {
+ default
+
+ dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/contrib
+ doins contrib/*.{cpp,h} contrib/README
+
+ insinto /usr/share/doc/${PF}/demo
+ doins -r demo/*.{cpp,h} demo/images demo/README
+ fi
+}
diff --git a/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch b/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch
new file mode 100644
index 000000000000..af1c069334e9
--- /dev/null
+++ b/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch
@@ -0,0 +1,13 @@
+diff --git a/cgicc.pc.in b/cgicc.pc.in
+index 2006be8..e42c9bf 100644
+--- a/cgicc.pc.in
++++ b/cgicc.pc.in
+@@ -7,5 +7,5 @@ Name: cgicc
+ Description: GNU cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web.
+ Requires:
+ Version: @VERSION@
+-Libs: -L${libdir}
+-Cflags:
+\ No newline at end of file
++Libs: -L${libdir} -lcgicc
++Cflags: -I${includedir}
diff --git a/dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch b/dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch
new file mode 100644
index 000000000000..4430ffafaf95
--- /dev/null
+++ b/dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch
@@ -0,0 +1,34 @@
+Fix build system properly, such that hacking the Makefile.in's
+is not required anymore.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -77,6 +77,13 @@
+ AC_MSG_RESULT($cgicc_demos)
+ AM_CONDITIONAL(DEMOS, test "$cgicc_demos" = yes)
+
++dnl enable/disable the docs, if specified
++AC_ARG_ENABLE([doc],
++ AS_HELP_STRING([--disable-doc], [Disable building documentation]))
++AC_MSG_CHECKING([whether to build the cgicc docs])
++AC_MSG_RESULT([$enable_doc])
++AM_CONDITIONAL([DOCS], [test "x$enable_doc" != "xno"])
++
+ if test "$cgicc_demos" = yes; then
+ AC_CONFIG_FILES(demo/Makefile)
+ AC_CHECK_FUNCS([gethostbyaddr])
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,7 +10,11 @@
+
+ ACLOCAL_AMFLAGS=
+
+-SUBDIRS = cgicc doc support $(DEMO)
++SUBDIRS = cgicc support $(DEMO)
++
++if DOCS
++SUBDIRS += doc
++endif
+
+ CLEANFILES = *~
+
diff --git a/dev-libs/cgicc/metadata.xml b/dev-libs/cgicc/metadata.xml
new file mode 100644
index 000000000000..644b8d29d3a6
--- /dev/null
+++ b/dev-libs/cgicc/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cpp@gentoo.org</email>
+ <name>Gentoo C++ Project</name>
+ </maintainer>
+ <longdescription lang="en">
+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
+ </longdescription>
+</pkgmetadata>