# ChangeLog for dev-ruby/ruby-fcgi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-fcgi/ChangeLog,v 1.17 2007/02/22 01:10:49 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-fcgi/ChangeLog,v 1.18 2007/03/06 12:59:22 graaff Exp $
+
+*ruby-fcgi-0.8.7 (06 Mar 2007)
+
+ 06 Mar 2007; Hans de Graaff <graaff@gentoo.org>
+ -files/ruby-fcgi-leak.patch, -files/ruby-fcgi-sigabrt.patch,
+ -ruby-fcgi-0.8.4.ebuild, -ruby-fcgi-0.8.5-r1.ebuild,
+ +ruby-fcgi-0.8.7.ebuild:
+ Version bump; remove old versions and patches.
22 Feb 2007; Piotr JaroszyĆski <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
-AUX ruby-fcgi-leak.patch 1341 RMD160 9bc74e9c9532caca27755b1d820417cc9563cc1d SHA1 0b749c4ce3723efd79d178210149fea56b3dcd3e SHA256 0eee33a016d109647657f7aa8d01fa2d8c0dede3f6615928876b0a7e99825b67
-MD5 e23d001e3dd969b126193cd686e9a71f files/ruby-fcgi-leak.patch 1341
-RMD160 9bc74e9c9532caca27755b1d820417cc9563cc1d files/ruby-fcgi-leak.patch 1341
-SHA256 0eee33a016d109647657f7aa8d01fa2d8c0dede3f6615928876b0a7e99825b67 files/ruby-fcgi-leak.patch 1341
-AUX ruby-fcgi-sigabrt.patch 497 RMD160 89f6bc759513c3671ade95807fcc2eb06fea3f25 SHA1 fcdc1cc211e34d0e365121a6b564899457e1d4c3 SHA256 0e1d8ca6d8c15d6af274e4fda8bb1022484c33a7e9f139879e895447b43e730e
-MD5 c230547a3d1a9b39d37f221583855ce1 files/ruby-fcgi-sigabrt.patch 497
-RMD160 89f6bc759513c3671ade95807fcc2eb06fea3f25 files/ruby-fcgi-sigabrt.patch 497
-SHA256 0e1d8ca6d8c15d6af274e4fda8bb1022484c33a7e9f139879e895447b43e730e files/ruby-fcgi-sigabrt.patch 497
-DIST ruby-fcgi-0.8.4.tar.gz 15283 RMD160 cf75b2cfaca8dd08740e0a363521fa395f92a6ea SHA1 dd9847307ae4f2e1033723a2707305ebd29f910e SHA256 6f1c63d16f196810a9003a645d24cfbe0117831f8d3340b508c83261461371d8
-DIST ruby-fcgi-0.8.5.tar.gz 15483 RMD160 87f4462f25705f3c4b0825bb83bf792ae0d63f9e SHA1 0d6320a969ca0d246c88da47f47c0854e08819ff SHA256 8d5ad21c06083ed29ec6b6c9e7476d6cba8c01dfca633a613783454f4aa26359
DIST ruby-fcgi-0.8.6.tar.gz 16077 RMD160 2617c7b07ac552f61287762644f34535e9404789 SHA1 f72d43b69aa7d10a535b30870afe279758944333 SHA256 23d337c921d85c220e850c1f53d2991cfc6acdedd4042ed9b38e61276f4071b3
-EBUILD ruby-fcgi-0.8.4.ebuild 494 RMD160 2b89e461b505f7495896ec3aff1232986839fbb0 SHA1 268cc33ebe02fd2a351e042fbd92a8ab153d37c7 SHA256 0bd48330720198647882cae92e32d57deb87d293fec149a5174435ddddff94c6
-MD5 951a04387863c2fc014a7d1644b22dce ruby-fcgi-0.8.4.ebuild 494
-RMD160 2b89e461b505f7495896ec3aff1232986839fbb0 ruby-fcgi-0.8.4.ebuild 494
-SHA256 0bd48330720198647882cae92e32d57deb87d293fec149a5174435ddddff94c6 ruby-fcgi-0.8.4.ebuild 494
-EBUILD ruby-fcgi-0.8.5-r1.ebuild 580 RMD160 b9ec8121174584b5242edfffab728b51fb315977 SHA1 8b1c96a18843fe6f9cf66d2d203b3de254ca1cf5 SHA256 6ecbb63038f1971a62959e42cd6af8f18417ad4df74a4f88b4cd1ebe3b5a6e0d
-MD5 18e275ab56b6164bb199bfa65f038fb1 ruby-fcgi-0.8.5-r1.ebuild 580
-RMD160 b9ec8121174584b5242edfffab728b51fb315977 ruby-fcgi-0.8.5-r1.ebuild 580
-SHA256 6ecbb63038f1971a62959e42cd6af8f18417ad4df74a4f88b4cd1ebe3b5a6e0d ruby-fcgi-0.8.5-r1.ebuild 580
-EBUILD ruby-fcgi-0.8.5.ebuild 537 RMD160 fad7ac08db16812455893b660a63a8eb833c210b SHA1 f471b512295432d07d7429455d9fb2ae17b0cd1a SHA256 e3571144a2fa6cf11dacbc88459c12a9de34c63138c0e6f8d47a43aed41417aa
-MD5 48197c357c0d728cd8b6bd56fdb4ca86 ruby-fcgi-0.8.5.ebuild 537
-RMD160 fad7ac08db16812455893b660a63a8eb833c210b ruby-fcgi-0.8.5.ebuild 537
-SHA256 e3571144a2fa6cf11dacbc88459c12a9de34c63138c0e6f8d47a43aed41417aa ruby-fcgi-0.8.5.ebuild 537
+DIST ruby-fcgi-0.8.7.tar.gz 19206 RMD160 c52e55fa75b8ee3371d6bc92130eb056173205ed SHA1 724d01553d35738268b13a93df1b5bb01f2d2b81 SHA256 b899273796471363931cee9ee41bbb3cb340c69fa8f25f056687fc7b5b03caa7
EBUILD ruby-fcgi-0.8.6.ebuild 521 RMD160 3d3dc65a243814f9806fbb9ac253456773de2f9b SHA1 dbbed7179cabbb3a0699b0ebee927b54839cfc60 SHA256 2186cb0f014481c5f46921abd44959e994a4b312193ef73b9861bca63277b03b
MD5 132bfc99b118d646489144e489a2c7ad ruby-fcgi-0.8.6.ebuild 521
RMD160 3d3dc65a243814f9806fbb9ac253456773de2f9b ruby-fcgi-0.8.6.ebuild 521
SHA256 2186cb0f014481c5f46921abd44959e994a4b312193ef73b9861bca63277b03b ruby-fcgi-0.8.6.ebuild 521
-MISC ChangeLog 2292 RMD160 ce18216ef9b413647bb9cdf58b7b3004fb1fb001 SHA1 cac7fb2581921459c1c93e3372666c121b67c133 SHA256 01ad8220dfe8bcbd719c2508bcd55f2551913ebed8270a2b3ef04e5a954f6ae8
-MD5 17e808f27c88da196cd92f6c1cd4d761 ChangeLog 2292
-RMD160 ce18216ef9b413647bb9cdf58b7b3004fb1fb001 ChangeLog 2292
-SHA256 01ad8220dfe8bcbd719c2508bcd55f2551913ebed8270a2b3ef04e5a954f6ae8 ChangeLog 2292
+EBUILD ruby-fcgi-0.8.7.ebuild 872 RMD160 d872255b93c226fae984c13767c1a8ba7c914420 SHA1 aebfe8ac7404905a89984263e07a47901eb176e4 SHA256 e2f3f1e61a420a4d55b95b5e8ec9d159565918ee721a513a50356124e8132693
+MD5 b9d69b30497d4998f35c4883848f63f8 ruby-fcgi-0.8.7.ebuild 872
+RMD160 d872255b93c226fae984c13767c1a8ba7c914420 ruby-fcgi-0.8.7.ebuild 872
+SHA256 e2f3f1e61a420a4d55b95b5e8ec9d159565918ee721a513a50356124e8132693 ruby-fcgi-0.8.7.ebuild 872
+MISC ChangeLog 2570 RMD160 03f6f2ae68e3cdcc7f7be00e0ec443631c0b68fd SHA1 f91ee25fd9908fb74be7a67af6df7ad6fcbd8eec SHA256 0ce12b907ae97363e8de74d9fbe16ec0d6f5618a6bc2a6978f24c5a788f90d25
+MD5 6f7c9bd634544e4e9c12ec640e83609a ChangeLog 2570
+RMD160 03f6f2ae68e3cdcc7f7be00e0ec443631c0b68fd ChangeLog 2570
+SHA256 0ce12b907ae97363e8de74d9fbe16ec0d6f5618a6bc2a6978f24c5a788f90d25 ChangeLog 2570
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c metadata.xml 157
-MD5 a45b0df07bb918f73c259ad6158b2d09 files/digest-ruby-fcgi-0.8.4 244
-RMD160 8999cc28b641279541e47646c9d66314bfc829e1 files/digest-ruby-fcgi-0.8.4 244
-SHA256 1c85bc70856d097076699b9202f0ce1bb94b27f5489e6b871209923e8fcc3a99 files/digest-ruby-fcgi-0.8.4 244
-MD5 b6a40c008c98f1e83e939ee73313ce37 files/digest-ruby-fcgi-0.8.5 244
-RMD160 dec7bb738e30ed77894b1291a539dc7d93c0aeba files/digest-ruby-fcgi-0.8.5 244
-SHA256 3008d38061112b8babf27d0e7edab513c9a9bdc1d788258724fb087dd0ad83bf files/digest-ruby-fcgi-0.8.5 244
-MD5 b6a40c008c98f1e83e939ee73313ce37 files/digest-ruby-fcgi-0.8.5-r1 244
-RMD160 dec7bb738e30ed77894b1291a539dc7d93c0aeba files/digest-ruby-fcgi-0.8.5-r1 244
-SHA256 3008d38061112b8babf27d0e7edab513c9a9bdc1d788258724fb087dd0ad83bf files/digest-ruby-fcgi-0.8.5-r1 244
MD5 ca2f1aa074e31ecb3fff9d488ef00e25 files/digest-ruby-fcgi-0.8.6 244
RMD160 377d018c8dd398887e1805f3e30f32b1924aaf7e files/digest-ruby-fcgi-0.8.6 244
SHA256 5a35d95a85be7fa39c0e6ec09bc307fd60732f7133cacbe41fa2e7c07addf16e files/digest-ruby-fcgi-0.8.6 244
+MD5 f29ed9a0f4da0830ee356d9e901d0d04 files/digest-ruby-fcgi-0.8.7 244
+RMD160 351b7d56dc5b256a851a5a99fbf73da6c328926b files/digest-ruby-fcgi-0.8.7 244
+SHA256 e3a059d1cd07312cb91f9e3214373bc757eb52b7f2d2d209124b93be0f1ef640 files/digest-ruby-fcgi-0.8.7 244
+++ /dev/null
-MD5 52f2bf1e2676f405a2a38c80133ed7ee ruby-fcgi-0.8.4.tar.gz 15283
-RMD160 cf75b2cfaca8dd08740e0a363521fa395f92a6ea ruby-fcgi-0.8.4.tar.gz 15283
-SHA256 6f1c63d16f196810a9003a645d24cfbe0117831f8d3340b508c83261461371d8 ruby-fcgi-0.8.4.tar.gz 15283
+++ /dev/null
-MD5 896007e727153c6d05c380dd2d7fb109 ruby-fcgi-0.8.5.tar.gz 15483
-RMD160 87f4462f25705f3c4b0825bb83bf792ae0d63f9e ruby-fcgi-0.8.5.tar.gz 15483
-SHA256 8d5ad21c06083ed29ec6b6c9e7476d6cba8c01dfca633a613783454f4aa26359 ruby-fcgi-0.8.5.tar.gz 15483
+++ /dev/null
-MD5 896007e727153c6d05c380dd2d7fb109 ruby-fcgi-0.8.5.tar.gz 15483
-RMD160 87f4462f25705f3c4b0825bb83bf792ae0d63f9e ruby-fcgi-0.8.5.tar.gz 15483
-SHA256 8d5ad21c06083ed29ec6b6c9e7476d6cba8c01dfca633a613783454f4aa26359 ruby-fcgi-0.8.5.tar.gz 15483
--- /dev/null
+MD5 fe4d4a019785e8108668a3e81a5df5e1 ruby-fcgi-0.8.7.tar.gz 19206
+RMD160 c52e55fa75b8ee3371d6bc92130eb056173205ed ruby-fcgi-0.8.7.tar.gz 19206
+SHA256 b899273796471363931cee9ee41bbb3cb340c69fa8f25f056687fc7b5b03caa7 ruby-fcgi-0.8.7.tar.gz 19206
+++ /dev/null
---- ext/fcgi/fcgi.c.orig 2003-08-27 20:28:35.000000000 +0900
-+++ ext/fcgi/fcgi.c 2005-02-01 16:57:39.741372024 +0900
-@@ -37,6 +37,12 @@
- rb_gc_mark(data->env);
- }
-
-+static void fcgi_free_req(fcgi_data *data)
-+{
-+ free(data->req);
-+ free(data);
-+}
-+
- static VALUE fcgi_s_accept(VALUE self)
- {
- int status;
-@@ -64,7 +70,7 @@
- VALUE obj,key, value;
- char *pkey,*pvalue;
-
-- obj = Data_Make_Struct(self, fcgi_data, fcgi_mark, 0, data);
-+ obj = Data_Make_Struct(self, fcgi_data, fcgi_mark, fcgi_free_req, data);
- data->req = req;
- data->in = Data_Wrap_Struct(cFCGIStream, 0, 0, req->in);
- data->out = Data_Wrap_Struct(cFCGIStream, 0, 0, req->out);
-@@ -379,7 +385,10 @@
- buff = ALLOC_N(char, 16384);
- n = FCGX_GetStr(buff, 16384, stream);
- CHECK_STREAM_ERROR(stream);
-- if (n == 0) return Qnil;
-+ if (n == 0) {
-+ free(buff);
-+ return Qnil;
-+ }
- str = rb_str_new(buff, n);
- OBJ_TAINT(str);
-
-@@ -389,9 +398,11 @@
- if (n > 0) {
- rb_str_cat(str, buff, n);
- } else {
-+ free(buff);
- return Qnil;
- }
- }
-+ free(buff);
- return str;
- }
-
-@@ -404,9 +415,11 @@
- if (n > 0) {
- str = rb_str_new(buff, n);
- OBJ_TAINT(str);
-+ free(buff);
- return str;
- }
- else {
-+ free(buff);
- return Qnil;
- }
- }
+++ /dev/null
---- ext/fcgi/fcgi.c.orig 2003-08-27 20:28:35.000000000 +0900
-+++ ext/fcgi/fcgi.c 2005-02-01 16:57:39.741372024 +0900
-@@ -4,6 +4,7 @@
- * Copyright (C) 2002 MoonWolf <moonwolf@moonwolf.com>
- */
-
-+#include <errno.h>
- #include <stdio.h>
- #include <sys/types.h>
- #include <unistd.h>
-@@ -155,7 +156,8 @@
- int err = FCGX_GetError(stream);\
- if (err) {\
- if (err > 0) {\
-- rb_sys_fail(0);\
-+ errno=err;\
-+ rb_sys_fail(strerror(err));\
- }\
- else {\
- switch (err) {\
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-fcgi/ruby-fcgi-0.8.4.ebuild,v 1.3 2005/02/01 08:04:44 usata Exp $
-
-inherit ruby
-
-DESCRIPTION="FastCGI library for Ruby"
-HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=fcgi"
-SRC_URI="http://www.moonwolf.com/ruby/archive/${P}.tar.gz"
-
-USE_RUBY="ruby16 ruby18 ruby19"
-KEYWORDS="~x86 ~ppc"
-LICENSE="Ruby"
-
-DEPEND="dev-libs/fcgi"
-
-IUSE=""
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-fcgi/ruby-fcgi-0.8.5-r1.ebuild,v 1.5 2005/11/13 22:54:48 weeve Exp $
-
-inherit ruby
-
-DESCRIPTION="FastCGI library for Ruby"
-HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=fcgi"
-SRC_URI="http://www.moonwolf.com/ruby/archive/${P}.tar.gz"
-
-USE_RUBY="ruby16 ruby18 ruby19"
-KEYWORDS="~amd64 ppc sparc x86"
-LICENSE="Ruby"
-
-DEPEND="dev-libs/fcgi"
-
-IUSE=""
-
-PATCHES="${FILESDIR}/${PN}-leak.patch ${FILESDIR}/${PN}-sigabrt.patch"
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-fcgi/ruby-fcgi-0.8.5.ebuild,v 1.1 2005/02/01 08:04:44 usata Exp $
-
-inherit ruby
-
-DESCRIPTION="FastCGI library for Ruby"
-HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=fcgi"
-SRC_URI="http://www.moonwolf.com/ruby/archive/${P}.tar.gz"
-
-USE_RUBY="ruby16 ruby18 ruby19"
-KEYWORDS="~x86 ~ppc"
-LICENSE="Ruby"
-
-DEPEND="dev-libs/fcgi"
-
-IUSE=""
-
-PATCHES="${FILESDIR}/${PN}-sigabrt.patch"
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-fcgi/ruby-fcgi-0.8.7.ebuild,v 1.1 2007/03/06 12:59:22 graaff Exp $
+
+inherit ruby
+
+DESCRIPTION="FastCGI library for Ruby"
+HOMEPAGE="http://rubyforge.org/projects/fcgi/"
+SRC_URI="http://rubyforge.org/frs/download.php/11368/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+LICENSE="Ruby"
+
+DEPEND="dev-libs/fcgi"
+
+IUSE=""
+
+
+# Use a custom src_install instead of the default one in ruby.eclass
+# because the one in ruby.eclass does not include setting the prefix
+# for the installation step.
+src_install() {
+ RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}"
+
+ ${RUBY} install.rb install --prefix=${D} "$@" \
+ ${RUBY_ECONF} || die "install.rb install failed"
+
+ cd "${S}"
+ dodoc ChangeLog README README.signals
+}