pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-fcgi Importing ruby-fcgi package based on PR ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cde2f677f479
branches:  trunk
changeset: 470832:cde2f677f479
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 12 05:12:08 2004 +0000

description:
Importing ruby-fcgi package based on PR pkg 24612 from
Rasputin (rasputin at idoru dot mine dot nu).


Ruby bindings for the FastCGI system.
This is merged version matz's C version(fcgi.so) and
Eli's pure ruby version(fastcgi.rb).

diffstat:

 www/ruby-fcgi/DESCR            |   3 +++
 www/ruby-fcgi/MESSAGE          |  10 ++++++++++
 www/ruby-fcgi/Makefile         |  30 ++++++++++++++++++++++++++++++
 www/ruby-fcgi/PLIST            |   6 ++++++
 www/ruby-fcgi/distinfo         |   5 +++++
 www/ruby-fcgi/patches/patch-aa |  22 ++++++++++++++++++++++
 6 files changed, 76 insertions(+), 0 deletions(-)

diffs (100 lines):

diff -r ad40d07afe21 -r cde2f677f479 www/ruby-fcgi/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-fcgi/DESCR       Fri Mar 12 05:12:08 2004 +0000
@@ -0,0 +1,3 @@
+Ruby bindings for the FastCGI system.
+This is merged version matz's C version(fcgi.so) and
+Eli's pure ruby version(fastcgi.rb).
diff -r ad40d07afe21 -r cde2f677f479 www/ruby-fcgi/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-fcgi/MESSAGE     Fri Mar 12 05:12:08 2004 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $
+
+If you have a problem with using pure ruby version, please set:
+
+       FCGI_PURE_RUBY=true
+
+before require fcgi library.
+
+===========================================================================
diff -r ad40d07afe21 -r cde2f677f479 www/ruby-fcgi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-fcgi/Makefile    Fri Mar 12 05:12:08 2004 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $
+
+DISTNAME=              ${RUBY_PKGNAMEPREFIX}fcgi-${VER}
+CATEGORIES=            www devel
+MASTER_SITES=          http://www.moonwolf.com/ruby/archive/
+
+MAINTAINER=            rasputnik%hellooperator.net@localhost
+HOMEPAGE=              http://rwiki.moonwolf.com/rw-cgi.cgi?cmd=view;name=fcgi
+COMMENT=               FastCGI interface for Ruby
+
+USE_BUILDLINK2=                # defined
+
+VER=                   0.8.4
+CONFIGURE_ARGS=                -- --with-fcgi-dir=${PREFIX}
+USE_RUBY_SETUP=                # defined
+RUBY_SETUP=            install.rb
+RUBY_EXTCONF_SUBDIRS=  ext/fcgi
+
+DOCS=                  README README.signals
+
+post-install:
+       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/fcgi
+.for f in ${DOCS}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/fcgi
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby-base/buildlink2.mk"
+.include "../../www/fcgi/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ad40d07afe21 -r cde2f677f479 www/ruby-fcgi/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-fcgi/PLIST       Fri Mar 12 05:12:08 2004 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $
+${RUBY_SITELIBDIR}/fcgi.rb
+${RUBY_SITEARCHLIBDIR}/fcgi.so
+${RUBY_DOCDIR}/fcgi/README
+${RUBY_DOCDIR}/fcgi/README.signals
+@dirrm ${RUBY_DOCDIR}/fcgi
diff -r ad40d07afe21 -r cde2f677f479 www/ruby-fcgi/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-fcgi/distinfo    Fri Mar 12 05:12:08 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $
+
+SHA1 (ruby-fcgi-0.8.4.tar.gz) = dd9847307ae4f2e1033723a2707305ebd29f910e
+Size (ruby-fcgi-0.8.4.tar.gz) = 15283 bytes
+SHA1 (patch-aa) = bace92dcb7cf1b8c91614a9f97768a494cbca09f
diff -r ad40d07afe21 -r cde2f677f479 www/ruby-fcgi/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-fcgi/patches/patch-aa    Fri Mar 12 05:12:08 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $
+
+--- install.rb.orig    2003-08-27 20:28:34.000000000 +0900
++++ install.rb
+@@ -648,7 +648,7 @@ class Installer
+   end
+ 
+   def install_dir_lib( rel )
+-    install_files targfiles, config('rb-dir') + '/' + rel, 0644
++    install_files targfiles, config('rb-dir') + '/' + rel, 0444
+   end
+ 
+   def install_dir_ext( rel )
+@@ -662,7 +662,7 @@ class Installer
+   end
+ 
+   def install_dir_data( rel )
+-    install_files targfiles, config('data-dir') + '/' + rel, 0644
++    install_files targfiles, config('data-dir') + '/' + rel, 0444
+   end
+ 
+   def install_files( list, dest, mode )



Home | Main Index | Thread Index | Old Index