summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca>2002-01-19 10:20:12 +0000
committertaca <taca>2002-01-19 10:20:12 +0000
commit71d95390c902e75b792adce1fef688400d17ff7b (patch)
tree7e7472f362255f757ea19ced3436b707eaa260e7 /www
parentc3299106509297d8c16801a2ac6a8ee375882c9e (diff)
downloadpkgsrc-71d95390c902e75b792adce1fef688400d17ff7b.tar.gz
Update ap-ruby package (mod_ruby) to 0.9.5. Quote from ChangeLog
is below. Thu Dec 27 15:27:02 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.5 released. Mon Dec 17 16:29:30 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (ruby_startup): save Apache's signal handlers. Tue Oct 30 14:56:22 2001 Neil Conway <nconway@klamath.dyndns.org> * connection.c (connection_aborted): new method. Wed Oct 17 15:03:34 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.4 released. Mon Oct 15 12:25:28 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (ruby_startup): call Init_stack(). * request.c (cleanup_request_object): free RDATA(reqobj)->data. * request.c (request_headers_in): allow non-auth handlers to access Authorization header fields. * request.c (request_get_basic_auth_pw): allow non-auth handlers. Fri Oct 12 17:48:57 2001 Shugo Maeda <shugo@modruby.net> * apachelib.h (DEFINE_ATTR_READER): raise exception if data == NULL. * apachelib.h (DEFINE_ATTR_WRITER): ditto. * mod_ruby.c (per_request_cleanup): set r->main to rb_request if r is a sub_request. * request.c (request_mark): return immediately if data == NULL. Fri Oct 12 12:35:12 2001 Miles Egan <miles@pixar.com> * configure.rb.in: chomp output of apxs. Wed Oct 10 12:15:16 2001 Shugo Maeda <shugo@modruby.net> * ruby_config.c (ruby_cmd_output_mode): new directive RubyOutputMode. * request.c (apache_request_new): save request objects to r->request_config. * request.c (cleanup_request_object): new function. Thu Aug 30 18:28:46 2001 Sean Chittenden <sean-apache-modruby@chittenden.org> * request.c (rb_apache_request_flush): call ap_rflush(). * request.c: allow the path_info for the request to be changed. Fri Aug 24 11:24:38 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.3 released. Fri Aug 24 11:20:56 2001 Shugo Maeda <shugo@modruby.net> * lib/apache/eruby-run.rb (postrun): do not overwrite r.content_type. Thu Aug 23 19:59:41 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (ruby_require): handle SystemExit correctly. Mon Aug 20 15:22:10 2001 Shugo Maeda <shugo@modruby.net> * request.c (request_method_number): new method. * apachelib.c: new constants M_GET, M_PUT, .... Tue Aug 14 14:58:56 2001 Shugo Maeda <shugo@modruby.net> * configure.rb: rebuild with autoconf.rb 0.2.3 for Solaris. Mon Aug 13 11:25:13 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.2 released. Sun Aug 12 18:19:51 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (ruby_require): initialize $:. Mon Aug 6 14:38:39 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.1 released. Mon Aug 6 14:36:20 2001 Shugo Maeda <shugo@modruby.net> * changed license for Apache. Mon Aug 6 14:09:20 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (ruby_handler): flush rb_request only in RubyHandler. * server.c (server_document_root): new method. Thanks to Sean Chittenden. Sat Jul 28 19:16:44 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (ruby_trans_handler): renamed translate_uri2file to translate_uri. Fri Jul 27 13:44:14 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (per_request_cleanup): do not restore rb_stdout. Mon Jul 23 11:16:05 2001 Aristarkh A Zagorodnikov <xm@w3d.ru> * request.c (request_the_request): new method. Fri Jul 6 14:26:34 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.0 released. Mon Jul 2 15:26:47 2001 Shugo Maeda <shugo@modruby.net> * request.c (request_sent_http_header): new method. Mon Jul 2 12:42:54 2001 Shugo Maeda <shugo@modruby.net> * request.c (request_set_content_type): accept nil. * request.c (request_set_content_encoding): ditto. * request.c (request_set_content_languages): ditto. Fri Jun 29 16:05:06 2001 Shugo Maeda <shugo@modruby.net> * mod_ruby.c (per_request_init): set rb_stdin, rb_stdout, rb_defout to rb_request. * mod_ruby.c (per_request_cleanup): flush rb_request. * request.c (request_output_buffer): new method. * lib/apache/cgi-support.rb: removed. * lib/apache/eruby-run.rb: use tempfile. * lib/apache/erb-run.rb: ditto.
Diffstat (limited to 'www')
-rw-r--r--www/ap-ruby/Makefile23
-rw-r--r--www/ap-ruby/PLIST8
-rw-r--r--www/ap-ruby/distinfo6
3 files changed, 20 insertions, 17 deletions
diff --git a/www/ap-ruby/Makefile b/www/ap-ruby/Makefile
index b1b68df3b78..91d6b9ac7e7 100644
--- a/www/ap-ruby/Makefile
+++ b/www/ap-ruby/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/07/01 14:56:31 taca Exp $
+# $NetBSD: Makefile,v 1.3 2002/01/19 10:20:12 taca Exp $
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.10 2000/12/31 10:14:53 knu Exp $
DISTNAME= mod_ruby-${VERSION}
@@ -16,7 +16,7 @@ DEPENDS+= ${RUBY_PKGNAMEPREFIX}eruby>=0.9:../../textproc/ruby-eruby
DIST_SUBDIR= ruby
USE_RUBY= yes
RUBY_REQD= 1.6
-VERSION= 0.8.5
+VERSION= 0.9.5
APXS= ${LOCALBASE}/sbin/apxs
@@ -26,8 +26,12 @@ CONFIGURE_ARGS= --with-apxs="${APXS}" \
--with-eruby-includes="${LOCALBASE}/include" \
--with-eruby-libraries="${LOCALBASE}/lib"
-DOCS_EN= ChangeLog README.en
-DOCS_JA= README.ja
+CONF_FILES= ${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf \
+ ${LOCALBASE}/etc/httpd/mod_ruby.conf
+FILES_SUBST+= RUBY_DOCDIR=${RUBY_DOCDIR}
+FILES_SUBST+= RUBY_EXAMPLESDIR=${RUBY_EXAMPLESDIR}
+
+DOCS= ChangeLog README.en README.ja
post-build:
${SED} -e 's|/usr/local/apache/libexec|${LOCALBASE}/lib/httpd|g' \
@@ -35,14 +39,13 @@ post-build:
do-install:
${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so
- ${INSTALL_DATA} ${WRKDIR}/mod_ruby.conf ${LOCALBASE}/etc/httpd
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby/ja
-.for f in ${DOCS_EN}
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mod_ruby
+ ${INSTALL_DATA} ${WRKDIR}/mod_ruby.conf ${RUBY_EXAMPLESDIR}/mod_ruby
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby
+.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby
.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/ja
-.endfor
.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-ruby/PLIST b/www/ap-ruby/PLIST
index 42045826513..5a87f82daed 100644
--- a/www/ap-ruby/PLIST
+++ b/www/ap-ruby/PLIST
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:15:57 zuntum Exp $
-etc/httpd/mod_ruby.conf
+@comment $NetBSD: PLIST,v 1.2 2002/01/19 10:20:12 taca Exp $
lib/httpd/mod_ruby.so
@exec %D/sbin/apxs -e -A -n ruby %D/%F
@unexec %D/sbin/apxs -e -A -n ruby %D/%F
${RUBY_DOCDIR}/mod_ruby/ChangeLog
${RUBY_DOCDIR}/mod_ruby/README.en
-${RUBY_DOCDIR}/mod_ruby/ja/README.ja
-@dirrm ${RUBY_DOCDIR}/mod_ruby/ja
+${RUBY_DOCDIR}/mod_ruby/README.ja
@dirrm ${RUBY_DOCDIR}/mod_ruby
+${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf
+@dirrm ${RUBY_EXAMPLESDIR}/mod_ruby
diff --git a/www/ap-ruby/distinfo b/www/ap-ruby/distinfo
index 1606980b5a4..3b5c0ea131e 100644
--- a/www/ap-ruby/distinfo
+++ b/www/ap-ruby/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:13:48 taca Exp $
+$NetBSD: distinfo,v 1.2 2002/01/19 10:20:12 taca Exp $
-SHA1 (ruby/mod_ruby-0.8.5.tar.gz) = 529cb651ef27f5c90f134496ca8c3b98e2ef936c
-Size (ruby/mod_ruby-0.8.5.tar.gz) = 44917 bytes
+SHA1 (ruby/mod_ruby-0.9.5.tar.gz) = 5bdef67af3f20a953b8020c2e0ac3d85f8133663
+Size (ruby/mod_ruby-0.9.5.tar.gz) = 40733 bytes