diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-06-26 01:24:03 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-06-26 01:24:03 +0000 |
commit | d98d2ef7f9c0b835289deb38e97fcbfa597efe6e (patch) | |
tree | baa6cd6e5598494202de85b6f8113b5cce35e609 /dev-libs | |
parent | Added ~sparc keyword wrt bug #96775. (diff) | |
download | historical-d98d2ef7f9c0b835289deb38e97fcbfa597efe6e.tar.gz historical-d98d2ef7f9c0b835289deb38e97fcbfa597efe6e.tar.bz2 historical-d98d2ef7f9c0b835289deb38e97fcbfa597efe6e.zip |
Add patch from CVS, compile and install cgilib.test to make testing easier
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cgilib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/cgilib/Manifest | 17 | ||||
-rw-r--r-- | dev-libs/cgilib/cgilib-0.5-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/cgilib/files/cgilib-0.5-cgitest.diff | 19 | ||||
-rw-r--r-- | dev-libs/cgilib/files/digest-cgilib-0.5-r1 | 1 |
5 files changed, 67 insertions, 13 deletions
diff --git a/dev-libs/cgilib/ChangeLog b/dev-libs/cgilib/ChangeLog index 1853579cd1bb..e742a4c8d89d 100644 --- a/dev-libs/cgilib/ChangeLog +++ b/dev-libs/cgilib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/cgilib # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/ChangeLog,v 1.10 2005/06/12 16:54:12 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/ChangeLog,v 1.11 2005/06/26 01:24:03 vanquirius Exp $ + +*cgilib-0.5-r1 (26 Jun 2005) + + 26 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> + +files/cgilib-0.5-cgitest.diff, +cgilib-0.5-r1.ebuild: + Add patch from CVS, compile and install cgilib.test to make testing easier. 12 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> cgilib-0.5.ebuild: Stable on alpha. diff --git a/dev-libs/cgilib/Manifest b/dev-libs/cgilib/Manifest index e9388b053e36..5e90a4a6fb0c 100644 --- a/dev-libs/cgilib/Manifest +++ b/dev-libs/cgilib/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 dd1de909c5d5c4c1032e7623d0c3917a ChangeLog 1419 -MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160 +MD5 10e6e3485497d3c202833a604f277ec8 cgilib-0.5-r1.ebuild 920 MD5 47008a297eae1c39e7b14efddc08624a cgilib-0.5.ebuild 754 +MD5 ffce915afa86c061451802414888261c ChangeLog 1641 +MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160 +MD5 81af59a7b4da26191ad1d4ca2f68137c files/cgilib-0.5-cgitest.diff 792 MD5 7b0e4e09c6696f543a80f54e6d9de1f8 files/digest-cgilib-0.5 61 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCrGjNKf2g/qXtneoRAhPUAJ9bXanJtwR9F5kH0HtkU6cUJQo4PwCeMevG -9zmorqJx10VEYdLrLeJotnQ= -=6Kc5 ------END PGP SIGNATURE----- +MD5 7b0e4e09c6696f543a80f54e6d9de1f8 files/digest-cgilib-0.5-r1 61 diff --git a/dev-libs/cgilib/cgilib-0.5-r1.ebuild b/dev-libs/cgilib/cgilib-0.5-r1.ebuild new file mode 100644 index 000000000000..a5dd20585295 --- /dev/null +++ b/dev-libs/cgilib/cgilib-0.5-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/cgilib-0.5-r1.ebuild,v 1.1 2005/06/26 01:24:03 vanquirius Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="A programmers library for the CGI interface" +HOMEPAGE="http://www.infodrom.org/projects/cgilib/" +SRC_URI="http://www.infodrom.org/projects/${PN}/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86" +IUSE="" + +src_unpack(){ + unpack ${A} + epatch ${FILESDIR}/${P}-cgitest.diff + cd ${S} + sed -i "s|^\(CFLAGS = -I. -Wall\).*$|\1 ${CFLAGS}|" Makefile || \ + die "sed Makefile failed" +} + +src_compile(){ + emake + $(tc-getCC) -o cgilib.test cgitest.c -lcgi +} +src_install(){ + insinto /usr/include + doins cgi.h + dolib.a libcgi.a + dobin cgilib.test + doman *.[35] + dodoc CHANGES CREDITS readme cookies.txt +} diff --git a/dev-libs/cgilib/files/cgilib-0.5-cgitest.diff b/dev-libs/cgilib/files/cgilib-0.5-cgitest.diff new file mode 100644 index 000000000000..bcba7973136a --- /dev/null +++ b/dev-libs/cgilib/files/cgilib-0.5-cgitest.diff @@ -0,0 +1,19 @@ +--- cgilib-0.5/cgitest.c 1999-08-17 10:21:20.000000000 -0300 ++++ cgilib.cvs/cgitest.c 2005-05-03 00:38:50.000000000 -0300 +@@ -23,6 +23,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <cgi.h> + + s_cgi *cgi; +@@ -113,7 +114,7 @@ + cgiHeader(); + printf ("<html>\n<head><title>cgilib</title></title>\n\n<body bgcolor=\"#ffffff\">\n"); + printf ("<h1><a href=\"%s\">cgilib</a></h1>\n", URL); +- printf ("<h3>Cookie "Library" set</h3>\n"); ++ printf ("<h3>Cookie Library set</h3>\n"); + printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest\">Test</a><p>\n"); + printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest/redirect\">Redirect</a><p>\n"); + printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest/listall\">List Everything</a><p>\n"); diff --git a/dev-libs/cgilib/files/digest-cgilib-0.5-r1 b/dev-libs/cgilib/files/digest-cgilib-0.5-r1 new file mode 100644 index 000000000000..0bc4351166dc --- /dev/null +++ b/dev-libs/cgilib/files/digest-cgilib-0.5-r1 @@ -0,0 +1 @@ +MD5 5187ba11b2ec165b6c5b6629087733b0 cgilib-0.5.tar.gz 13991 |