summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2004-11-27 14:11:15 +0000
committertaca <taca>2004-11-27 14:11:15 +0000
commit10c0625d5ca342a70b87e8f467c6f16f8e74c44d (patch)
treee891eb785c5b36b415c23efa1ed502268e476a9e /lang
parent634fa8258271f67cec5ba8036a926ac105ebe008 (diff)
downloadpkgsrc-10c0625d5ca342a70b87e8f467c6f16f8e74c44d.tar.gz
Initial import of ruby18 package; Ruby 1.8.1 + several security fixes.
Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. Detail changes from Ruby 1.6.8 is huge and I know details in Ruby's site. <http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=1.6.8%A4%AB%A4%E91.8.0%A4%D8%A4%CE%CA%D1%B9%B9%C5%C0%28%A4%DE%A4%C8%A4%E1%29> Sadly, this is written in Japanese and I don't know where is English version.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18/DESCR19
-rw-r--r--lang/ruby18/MESSAGE17
-rw-r--r--lang/ruby18/Makefile134
-rw-r--r--lang/ruby18/PLIST707
-rw-r--r--lang/ruby18/distinfo13
-rw-r--r--lang/ruby18/patches/patch-aa33
-rw-r--r--lang/ruby18/patches/patch-ab33
-rw-r--r--lang/ruby18/patches/patch-ac13
-rw-r--r--lang/ruby18/patches/patch-ad22
-rw-r--r--lang/ruby18/patches/patch-ae20
-rw-r--r--lang/ruby18/patches/patch-af28
-rw-r--r--lang/ruby18/patches/patch-ag29
-rw-r--r--lang/ruby18/patches/patch-ah13
-rw-r--r--lang/ruby18/patches/patch-ai13
14 files changed, 1094 insertions, 0 deletions
diff --git a/lang/ruby18/DESCR b/lang/ruby18/DESCR
new file mode 100644
index 00000000000..984ff4d31ee
--- /dev/null
+++ b/lang/ruby18/DESCR
@@ -0,0 +1,19 @@
+Ruby is the interpreted scripting language for quick and
+easy object-oriented programming. It has many features to
+process text files and to do system management tasks (as in
+Perl). It is simple, straight-forward, and extensible.
+
+Features of Ruby are shown below.
+
+ + Simple Syntax
+ + *Normal* Object-Oriented features (ex. class, method calls)
+ + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
+ + Operator Overloading
+ + Exception Handling
+ + Iterators and Closures
+ + Garbage Collection
+ + Dynamic Loading of Object files (on some architecture)
+ + Highly Portable (works on many UNIX machines, and on DOS,
+ Windows, Mac, BeOS etc.)
+
+This package is Ruby 1.8 based release.
diff --git a/lang/ruby18/MESSAGE b/lang/ruby18/MESSAGE
new file mode 100644
index 00000000000..90f48bf5ec7
--- /dev/null
+++ b/lang/ruby18/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+Note that a number of packages which are installed as default with
+the Ruby 1.8 distribution are provided as separate packages:
+
+ converters/ruby-iconv: Iconv module
+ databases/ruby-dbm: DBM module
+ databases/ruby-gdbm: GDBM module
+ devel/ruby-curses: Curses module
+ security/ruby-digest: message digest module
+ security/ruby-openssl: OpenSSL module
+ devel/ruby-readline: readline module
+ x11/ruby-tcltklib: Tcl/Tk libraries
+ x11/ruby-tk: Tk modules
+
+===========================================================================
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
new file mode 100644
index 00000000000..8d1312d050f
--- /dev/null
+++ b/lang/ruby18/Makefile
@@ -0,0 +1,134 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_VERSION}
+CATEGORIES= lang ruby
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= ${RUBY_HOMEPAGE}
+COMMENT= Ruby programming language 1.8 based release
+
+CONFLICTS+= ruby-base-[1-9]*
+
+RUBY_VERSION= ${RUBY18_VERSION}
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+TEST_TARGET= test
+CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ENV+= PREFIX="${PREFIX}"
+
+# Ruby build process depends on config.status's content
+CONFIG_STATUS_OVERRIDE= # empty
+
+.include "../../lang/ruby/rubyversion.mk"
+
+.if !empty(RUBY_SUFFIX)
+CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"
+.endif
+
+.if ${OPSYS} == "NetBSD"
+.if empty(OS_VERSION:M1.[0-9].*)
+PTHREAD_OPTS+= native
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+CONFIGURE_ARGS+= --disable-pthread
+.else
+CONFIGURE_ARGS+= --enable-pthread
+.endif
+.endif
+.endif
+
+.if ${OPSYS} == "IRIX"
+# X11BASE, *not* X11PREFIX: X11PREFIX == PREFIX, but we need to point
+# to the ABI-specific libraries
+CONFIGURE_ENV+= X11BASE="${X11BASE}"
+.endif
+
+DOCS= COPYING COPYING.ja ChangeLog README \
+ README.EXT README.EXT.ja README.ja ToDo \
+ doc/ChangeLog-1.8.0 doc/NEWS \
+ doc/forwardable.rd doc/forwardable.rd.ja \
+ doc/shell.rd doc/shell.rd.ja doc/irb/irb-tools.rd.ja \
+ doc/irb/irb.rd doc/irb/irb.rd.ja
+EXT_DOCS= bigdecimal/bigdecimal_en.html bigdecimal/bigdecimal_ja.html \
+ dl/doc/dl.txt enumerator/enumerator.txt \
+ etc/etc.txt etc/etc.txt.ja syslog/syslog.txt zlib/doc/zlib.rd
+
+BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb
+DL_EXAMPLES= c++sample.C c++sample.rb drives.rb getch.rb libc.rb \
+ msgbox.rb msgbox2.rb stream.rb
+PTY_EXAMPLES= expect_sample.rb script.rb shl.rb
+
+REPLACE_RUBY= bin/erb bin/irb bin/rdoc bin/ri bin/testrb \
+ ext/bigdecimal/sample/linear.rb \
+ ext/bigdecimal/sample/nlsolve.rb \
+ ext/bigdecimal/sample/pi.rb \
+ lib/rdoc/markup/sample/rdoc2latex.rb \
+ sample/biorhythm.rb sample/cal.rb sample/exyacc.rb \
+ sample/fullpath.rb sample/less.rb sample/from.rb \
+ sample/goodfriday.rb sample/logger/shifting.rb \
+ sample/logger/app.rb sample/logger/log.rb sample/mine.rb \
+ sample/mpart.rb sample/observ.rb sample/optparse/opttest.rb \
+ sample/soap/calc/httpd.rb sample/soap/calc/server.rb \
+ sample/soap/calc/server2.rb sample/soap/icd/icd.rb \
+ sample/soap/babelfish.rb sample/soap/exchange/client.rb \
+ sample/soap/exchange/httpd.rb sample/soap/exchange/server.rb \
+ sample/soap/raa/soap4r.rb sample/soap/sampleStruct/httpd.rb \
+ sample/soap/sampleStruct/server.rb sample/pi.rb \
+ sample/wsdl/amazon/sampleClient.rb \
+ sample/wsdl/googleSearch/sampleClient.rb \
+ sample/wsdl/googleSearch/httpd.rb sample/wsdl/raa/soap4r.rb \
+ sample/test.rb sample/trojan.rb sample/time.rb \
+ sample/uumerge.rb
+
+pre-configure:
+ ${RM} -f ${WRKSRC}/ext/curses/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/dbm/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/gdbm/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/digest/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/digest/md5/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/digest/rmd160/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/digest/sha1/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/digest/sha2/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/iconv/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/openssl/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/readline/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
+ ${RM} -f ${WRKSRC}/ext/tk/MANIFEST
+ ${RM} -f ${WRKSRC}/sample/dbmtest.rb
+ ${RM} -rf ${WRKSRC}/sample/openssl
+
+pre-build:
+ @${FIND} ${WRKSRC} -name '*.orig' -exec ${RM} -f {} \;
+
+post-install:
+ ${STRIP} ${RUBY}
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/irb
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/pty
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${f:C/^doc\///}
+.endfor
+.for f in ${EXT_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/ext/${f} ${RUBY_DOCDIR}
+.endfor
+ ${CP} -r ${WRKSRC}/ext/pty/README.* ${RUBY_DOCDIR}/pty
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/pty
+ ${CP} -r ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/bigdecimal
+.for f in ${BIGDECIMAL_EXAMPLES}
+ ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/$f \
+ ${RUBY_EXAMPLESDIR}/bigdecimal
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/dl
+.for f in ${DL_EXAMPLES}
+ ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/dl/sample/$f \
+ ${RUBY_EXAMPLESDIR}/dl
+.endfor
+.for f in ${PTY_EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/ext/pty/$f ${RUBY_EXAMPLESDIR}/pty
+.endfor
+
+.include "../../lang/ruby/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/ruby18/PLIST b/lang/ruby18/PLIST
new file mode 100644
index 00000000000..52fb9eb5dc8
--- /dev/null
+++ b/lang/ruby18/PLIST
@@ -0,0 +1,707 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+bin/erb${RUBY_VER}
+bin/irb${RUBY_VER}
+bin/rdoc${RUBY_VER}
+bin/ri${RUBY_VER}
+bin/${RUBY_NAME}
+bin/testrb${RUBY_VER}
+${RUBY_DOCDIR}/COPYING
+${RUBY_DOCDIR}/COPYING.ja
+${RUBY_DOCDIR}/ChangeLog
+${RUBY_DOCDIR}/ChangeLog-1.8.0
+${RUBY_DOCDIR}/NEWS
+${RUBY_DOCDIR}/README
+${RUBY_DOCDIR}/README.EXT
+${RUBY_DOCDIR}/README.EXT.ja
+${RUBY_DOCDIR}/README.ja
+${RUBY_DOCDIR}/ToDo
+${RUBY_DOCDIR}/bigdecimal_en.html
+${RUBY_DOCDIR}/bigdecimal_ja.html
+${RUBY_DOCDIR}/dl.txt
+${RUBY_DOCDIR}/enumerator.txt
+${RUBY_DOCDIR}/etc.txt
+${RUBY_DOCDIR}/etc.txt.ja
+${RUBY_DOCDIR}/forwardable.rd
+${RUBY_DOCDIR}/forwardable.rd.ja
+${RUBY_DOCDIR}/irb/irb-tools.rd.ja
+${RUBY_DOCDIR}/irb/irb.rd
+${RUBY_DOCDIR}/irb/irb.rd.ja
+@dirrm ${RUBY_DOCDIR}/irb
+${RUBY_DOCDIR}/pty/README.expect
+${RUBY_DOCDIR}/pty/README.expect.ja
+${RUBY_DOCDIR}/pty/README.ja
+@dirrm ${RUBY_DOCDIR}/pty
+${RUBY_DOCDIR}/shell.rd
+${RUBY_DOCDIR}/shell.rd.ja
+${RUBY_DOCDIR}/syslog.txt
+${RUBY_DOCDIR}/zlib.rd
+@dirrm ${RUBY_DOCDIR}
+${RUBY_EXAMPLESDIR}/README
+${RUBY_EXAMPLESDIR}/bigdecimal/linear.rb
+${RUBY_EXAMPLESDIR}/bigdecimal/nlsolve.rb
+${RUBY_EXAMPLESDIR}/bigdecimal/pi.rb
+@dirrm ${RUBY_EXAMPLESDIR}/bigdecimal
+${RUBY_EXAMPLESDIR}/biorhythm.rb
+${RUBY_EXAMPLESDIR}/cal.rb
+${RUBY_EXAMPLESDIR}/cbreak.rb
+${RUBY_EXAMPLESDIR}/clnt.rb
+${RUBY_EXAMPLESDIR}/dir.rb
+${RUBY_EXAMPLESDIR}/dl/c++sample.C
+${RUBY_EXAMPLESDIR}/dl/c++sample.rb
+${RUBY_EXAMPLESDIR}/dl/drives.rb
+${RUBY_EXAMPLESDIR}/dl/getch.rb
+${RUBY_EXAMPLESDIR}/dl/libc.rb
+${RUBY_EXAMPLESDIR}/dl/msgbox.rb
+${RUBY_EXAMPLESDIR}/dl/msgbox2.rb
+${RUBY_EXAMPLESDIR}/dl/stream.rb
+@dirrm ${RUBY_EXAMPLESDIR}/dl
+${RUBY_EXAMPLESDIR}/dualstack-fetch.rb
+${RUBY_EXAMPLESDIR}/dualstack-httpd.rb
+${RUBY_EXAMPLESDIR}/eval.rb
+${RUBY_EXAMPLESDIR}/export.rb
+${RUBY_EXAMPLESDIR}/exyacc.rb
+${RUBY_EXAMPLESDIR}/fact.rb
+${RUBY_EXAMPLESDIR}/fib.awk
+${RUBY_EXAMPLESDIR}/fib.pl
+${RUBY_EXAMPLESDIR}/fib.py
+${RUBY_EXAMPLESDIR}/fib.rb
+${RUBY_EXAMPLESDIR}/fib.scm
+${RUBY_EXAMPLESDIR}/freq.rb
+${RUBY_EXAMPLESDIR}/from.rb
+${RUBY_EXAMPLESDIR}/fullpath.rb
+${RUBY_EXAMPLESDIR}/getopts.test
+${RUBY_EXAMPLESDIR}/goodfriday.rb
+${RUBY_EXAMPLESDIR}/less.rb
+${RUBY_EXAMPLESDIR}/list.rb
+${RUBY_EXAMPLESDIR}/list2.rb
+${RUBY_EXAMPLESDIR}/list3.rb
+${RUBY_EXAMPLESDIR}/logger/app.rb
+${RUBY_EXAMPLESDIR}/logger/log.rb
+${RUBY_EXAMPLESDIR}/logger/shifting.rb
+@dirrm ${RUBY_EXAMPLESDIR}/logger
+${RUBY_EXAMPLESDIR}/mine.rb
+${RUBY_EXAMPLESDIR}/mkproto.rb
+${RUBY_EXAMPLESDIR}/mpart.rb
+${RUBY_EXAMPLESDIR}/mrshtest.rb
+${RUBY_EXAMPLESDIR}/observ.rb
+${RUBY_EXAMPLESDIR}/occur.pl
+${RUBY_EXAMPLESDIR}/occur.rb
+${RUBY_EXAMPLESDIR}/occur2.rb
+${RUBY_EXAMPLESDIR}/optparse/opttest.rb
+@dirrm ${RUBY_EXAMPLESDIR}/optparse
+${RUBY_EXAMPLESDIR}/philos.rb
+${RUBY_EXAMPLESDIR}/pi.rb
+${RUBY_EXAMPLESDIR}/pty/expect_sample.rb
+${RUBY_EXAMPLESDIR}/pty/script.rb
+${RUBY_EXAMPLESDIR}/pty/shl.rb
+@dirrm ${RUBY_EXAMPLESDIR}/pty
+${RUBY_EXAMPLESDIR}/rcs.awk
+${RUBY_EXAMPLESDIR}/rcs.dat
+${RUBY_EXAMPLESDIR}/rcs.rb
+${RUBY_EXAMPLESDIR}/regx.rb
+${RUBY_EXAMPLESDIR}/sieve.rb
+${RUBY_EXAMPLESDIR}/soap/babelfish.rb
+${RUBY_EXAMPLESDIR}/soap/calc/calc.rb
+${RUBY_EXAMPLESDIR}/soap/calc/calc2.rb
+${RUBY_EXAMPLESDIR}/soap/calc/client.rb
+${RUBY_EXAMPLESDIR}/soap/calc/client2.rb
+${RUBY_EXAMPLESDIR}/soap/calc/httpd.rb
+${RUBY_EXAMPLESDIR}/soap/calc/server.cgi
+${RUBY_EXAMPLESDIR}/soap/calc/server.rb
+${RUBY_EXAMPLESDIR}/soap/calc/server2.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/calc
+${RUBY_EXAMPLESDIR}/soap/digraph.rb
+${RUBY_EXAMPLESDIR}/soap/exchange/client.rb
+${RUBY_EXAMPLESDIR}/soap/exchange/exchange.rb
+${RUBY_EXAMPLESDIR}/soap/exchange/httpd.rb
+${RUBY_EXAMPLESDIR}/soap/exchange/server.cgi
+${RUBY_EXAMPLESDIR}/soap/exchange/server.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/exchange
+${RUBY_EXAMPLESDIR}/soap/helloworld/hw_c.rb
+${RUBY_EXAMPLESDIR}/soap/helloworld/hw_s.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/helloworld
+${RUBY_EXAMPLESDIR}/soap/icd/IICD.rb
+${RUBY_EXAMPLESDIR}/soap/icd/icd.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/icd
+${RUBY_EXAMPLESDIR}/soap/raa/iRAA.rb
+${RUBY_EXAMPLESDIR}/soap/raa/soap4r.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/raa
+${RUBY_EXAMPLESDIR}/soap/sampleStruct/client.rb
+${RUBY_EXAMPLESDIR}/soap/sampleStruct/httpd.rb
+${RUBY_EXAMPLESDIR}/soap/sampleStruct/iSampleStruct.rb
+${RUBY_EXAMPLESDIR}/soap/sampleStruct/sampleStruct.rb
+${RUBY_EXAMPLESDIR}/soap/sampleStruct/server.cgi
+${RUBY_EXAMPLESDIR}/soap/sampleStruct/server.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/sampleStruct
+@dirrm ${RUBY_EXAMPLESDIR}/soap
+${RUBY_EXAMPLESDIR}/svr.rb
+${RUBY_EXAMPLESDIR}/test.rb
+${RUBY_EXAMPLESDIR}/testunit/adder.rb
+${RUBY_EXAMPLESDIR}/testunit/subtracter.rb
+${RUBY_EXAMPLESDIR}/testunit/tc_adder.rb
+${RUBY_EXAMPLESDIR}/testunit/tc_subtracter.rb
+${RUBY_EXAMPLESDIR}/testunit/ts_examples.rb
+@dirrm ${RUBY_EXAMPLESDIR}/testunit
+${RUBY_EXAMPLESDIR}/time.rb
+${RUBY_EXAMPLESDIR}/trojan.rb
+${RUBY_EXAMPLESDIR}/tsvr.rb
+${RUBY_EXAMPLESDIR}/uumerge.rb
+${RUBY_EXAMPLESDIR}/wsdl/amazon/AmazonSearch.rb
+${RUBY_EXAMPLESDIR}/wsdl/amazon/AmazonSearchDriver.rb
+${RUBY_EXAMPLESDIR}/wsdl/amazon/sampleClient.rb
+${RUBY_EXAMPLESDIR}/wsdl/amazon/wsdlDriver.rb
+@dirrm ${RUBY_EXAMPLESDIR}/wsdl/amazon
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/GoogleSearch.rb
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/GoogleSearchDriver.rb
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/README
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/httpd.rb
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/sampleClient.rb
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/sjissearch.sh
+${RUBY_EXAMPLESDIR}/wsdl/googleSearch/wsdlDriver.rb
+@dirrm ${RUBY_EXAMPLESDIR}/wsdl/googleSearch
+${RUBY_EXAMPLESDIR}/wsdl/raa/raa.wsdl
+${RUBY_EXAMPLESDIR}/wsdl/raa/soap4r.rb
+@dirrm ${RUBY_EXAMPLESDIR}/wsdl/raa
+@dirrm ${RUBY_EXAMPLESDIR}/wsdl
+@dirrm ${RUBY_EXAMPLESDIR}
+lib/libruby${RUBY_VER}-static.a
+lib/libruby${RUBY_VER}.so
+${RUBY_NOSHLIBMAJOR}lib/libruby${RUBY_VER}.so.${RUBY_SHLIBMAJOR}
+lib/libruby${RUBY_VER}.so.${RUBY_SHLIBVER}
+${RUBY_LIBDIR}/English.rb
+${RUBY_LIBDIR}/Env.rb
+${RUBY_LIBDIR}/abbrev.rb
+${RUBY_LIBDIR}/base64.rb
+${RUBY_LIBDIR}/benchmark.rb
+${RUBY_LIBDIR}/bigdecimal/jacobian.rb
+${RUBY_LIBDIR}/bigdecimal/ludcmp.rb
+${RUBY_LIBDIR}/bigdecimal/math.rb
+${RUBY_LIBDIR}/bigdecimal/newton.rb
+${RUBY_LIBDIR}/bigdecimal/nlsolve.rb
+${RUBY_LIBDIR}/bigdecimal/util.rb
+@dirrm ${RUBY_LIBDIR}/bigdecimal
+${RUBY_LIBDIR}/cgi/session/pstore.rb
+@dirrm ${RUBY_LIBDIR}/cgi/session
+${RUBY_LIBDIR}/cgi/session.rb
+@dirrm ${RUBY_LIBDIR}/cgi
+${RUBY_LIBDIR}/cgi-lib.rb
+${RUBY_LIBDIR}/cgi.rb
+${RUBY_LIBDIR}/complex.rb
+${RUBY_LIBDIR}/csv.rb
+${RUBY_LIBDIR}/date/format.rb
+@dirrm ${RUBY_LIBDIR}/date
+${RUBY_LIBDIR}/date.rb
+${RUBY_LIBDIR}/date2.rb
+${RUBY_LIBDIR}/debug.rb
+${RUBY_LIBDIR}/delegate.rb
+${RUBY_LIBDIR}/dl/import.rb
+${RUBY_LIBDIR}/dl/struct.rb
+${RUBY_LIBDIR}/dl/types.rb
+${RUBY_LIBDIR}/dl/win32.rb
+@dirrm ${RUBY_LIBDIR}/dl
+${RUBY_LIBDIR}/drb/acl.rb
+${RUBY_LIBDIR}/drb/drb.rb
+${RUBY_LIBDIR}/drb/eq.rb
+${RUBY_LIBDIR}/drb/extserv.rb
+${RUBY_LIBDIR}/drb/extservm.rb
+${RUBY_LIBDIR}/drb/gw.rb
+${RUBY_LIBDIR}/drb/invokemethod.rb
+${RUBY_LIBDIR}/drb/observer.rb
+${RUBY_LIBDIR}/drb/ssl.rb
+${RUBY_LIBDIR}/drb/timeridconv.rb
+${RUBY_LIBDIR}/drb/unix.rb
+@dirrm ${RUBY_LIBDIR}/drb
+${RUBY_LIBDIR}/drb.rb
+${RUBY_LIBDIR}/e2mmap.rb
+${RUBY_LIBDIR}/erb.rb
+${RUBY_LIBDIR}/eregex.rb
+${RUBY_LIBDIR}/expect.rb
+${RUBY_LIBDIR}/fileutils.rb
+${RUBY_LIBDIR}/finalize.rb
+${RUBY_LIBDIR}/find.rb
+${RUBY_LIBDIR}/forwardable.rb
+${RUBY_LIBDIR}/ftools.rb
+${RUBY_LIBDIR}/generator.rb
+${RUBY_LIBDIR}/getoptlong.rb
+${RUBY_LIBDIR}/getopts.rb
+${RUBY_LIBDIR}/gserver.rb
+${RUBY_ARCHLIBDIR}/bigdecimal.so
+${RUBY_ARCHLIBDIR}/config.h
+${RUBY_ARCHLIBDIR}/defines.h
+${RUBY_ARCHLIBDIR}/dl.so
+${RUBY_ARCHLIBDIR}/dl.h
+${RUBY_ARCHLIBDIR}/dlconfig.h
+${RUBY_ARCHLIBDIR}/dln.h
+${RUBY_ARCHLIBDIR}/enumerator.so
+${RUBY_ARCHLIBDIR}/env.h
+${RUBY_ARCHLIBDIR}/etc.so
+${RUBY_ARCHLIBDIR}/fcntl.so
+${RUBY_ARCHLIBDIR}/intern.h
+${RUBY_ARCHLIBDIR}/io/wait.so
+@dirrm ${RUBY_ARCHLIBDIR}/io
+${RUBY_ARCHLIBDIR}/missing.h
+${RUBY_ARCHLIBDIR}/nkf.so
+${RUBY_ARCHLIBDIR}/node.h
+${RUBY_ARCHLIBDIR}/pty.so
+${RUBY_ARCHLIBDIR}/racc/cparse.so
+@dirrm ${RUBY_ARCHLIBDIR}/racc
+${RUBY_ARCHLIBDIR}/rbconfig.rb
+${RUBY_ARCHLIBDIR}/re.h
+${RUBY_ARCHLIBDIR}/regex.h
+${RUBY_ARCHLIBDIR}/ruby.h
+${RUBY_ARCHLIBDIR}/rubyio.h
+${RUBY_ARCHLIBDIR}/rubysig.h
+${RUBY_ARCHLIBDIR}/sdbm.so
+${RUBY_ARCHLIBDIR}/socket.so
+${RUBY_ARCHLIBDIR}/st.h
+${RUBY_ARCHLIBDIR}/stringio.so
+${RUBY_ARCHLIBDIR}/strscan.so
+${RUBY_ARCHLIBDIR}/syck.so
+${RUBY_ARCHLIBDIR}/syslog.so
+${RUBY_ARCHLIBDIR}/util.h
+${RUBY_ARCHLIBDIR}/version.h
+${RUBY_ARCHLIBDIR}/zlib.so
+@dirrm ${RUBY_ARCHLIBDIR}
+@exec ${MKDIR} %D/${RUBY_SITEARCHLIBDIR}
+@dirrm ${RUBY_SITEARCHLIBDIR}
+@dirrm ${RUBY_SITELIBDIR}
+@unexec ${RMDIR} %D/lib/ruby/site_ruby 2>/dev/null || ${TRUE}
+${RUBY_LIBDIR}/importenv.rb
+${RUBY_LIBDIR}/io/nonblock.rb
+@dirrm ${RUBY_LIBDIR}/io
+${RUBY_LIBDIR}/ipaddr.rb
+${RUBY_LIBDIR}/irb/cmd/chws.rb
+${RUBY_LIBDIR}/irb/cmd/fork.rb
+${RUBY_LIBDIR}/irb/cmd/load.rb
+${RUBY_LIBDIR}/irb/cmd/nop.rb
+${RUBY_LIBDIR}/irb/cmd/pushws.rb
+${RUBY_LIBDIR}/irb/cmd/subirb.rb
+@dirrm ${RUBY_LIBDIR}/irb/cmd
+${RUBY_LIBDIR}/irb/completion.rb
+${RUBY_LIBDIR}/irb/context.rb
+${RUBY_LIBDIR}/irb/ext/change-ws.rb
+${RUBY_LIBDIR}/irb/ext/history.rb
+${RUBY_LIBDIR}/irb/ext/loader.rb
+${RUBY_LIBDIR}/irb/ext/math-mode.rb
+${RUBY_LIBDIR}/irb/ext/multi-irb.rb
+${RUBY_LIBDIR}/irb/ext/tracer.rb
+${RUBY_LIBDIR}/irb/ext/use-loader.rb
+${RUBY_LIBDIR}/irb/ext/workspaces.rb
+${RUBY_LIBDIR}/irb/extend-command.rb
+@dirrm ${RUBY_LIBDIR}/irb/ext
+${RUBY_LIBDIR}/irb/frame.rb
+${RUBY_LIBDIR}/irb/help.rb
+${RUBY_LIBDIR}/irb/init.rb
+${RUBY_LIBDIR}/irb/input-method.rb
+${RUBY_LIBDIR}/irb/lc/error.rb
+${RUBY_LIBDIR}/irb/lc/help-message
+${RUBY_LIBDIR}/irb/lc/ja/error.rb
+${RUBY_LIBDIR}/irb/lc/ja/help-message
+@dirrm ${RUBY_LIBDIR}/irb/lc/ja
+@dirrm ${RUBY_LIBDIR}/irb/lc
+${RUBY_LIBDIR}/irb/locale.rb
+${RUBY_LIBDIR}/irb/ruby-lex.rb
+${RUBY_LIBDIR}/irb/ruby-token.rb
+${RUBY_LIBDIR}/irb/slex.rb
+${RUBY_LIBDIR}/irb/version.rb
+${RUBY_LIBDIR}/irb/workspace.rb
+${RUBY_LIBDIR}/irb/ws-for-case-2.rb
+${RUBY_LIBDIR}/irb/xmp.rb
+@dirrm ${RUBY_LIBDIR}/irb
+${RUBY_LIBDIR}/irb.rb
+${RUBY_LIBDIR}/jcode.rb
+${RUBY_LIBDIR}/kconv.rb
+${RUBY_LIBDIR}/logger.rb
+${RUBY_LIBDIR}/mailread.rb
+${RUBY_LIBDIR}/mathn.rb
+${RUBY_LIBDIR}/matrix.rb
+${RUBY_LIBDIR}/mkmf.rb
+${RUBY_LIBDIR}/monitor.rb
+${RUBY_LIBDIR}/mutex_m.rb
+${RUBY_LIBDIR}/net/ftp.rb
+${RUBY_LIBDIR}/net/http.rb
+${RUBY_LIBDIR}/net/imap.rb
+${RUBY_LIBDIR}/net/pop.rb
+${RUBY_LIBDIR}/net/protocol.rb
+${RUBY_LIBDIR}/net/smtp.rb
+${RUBY_LIBDIR}/net/telnet.rb
+@dirrm ${RUBY_LIBDIR}/net
+${RUBY_LIBDIR}/observer.rb
+${RUBY_LIBDIR}/open-uri.rb
+${RUBY_LIBDIR}/open3.rb
+${RUBY_LIBDIR}/optparse/date.rb
+${RUBY_LIBDIR}/optparse/shellwords.rb
+${RUBY_LIBDIR}/optparse/time.rb
+${RUBY_LIBDIR}/optparse/uri.rb
+${RUBY_LIBDIR}/optparse/version.rb
+@dirrm ${RUBY_LIBDIR}/optparse
+${RUBY_LIBDIR}/optparse.rb
+${RUBY_LIBDIR}/ostruct.rb
+${RUBY_LIBDIR}/parsearg.rb
+${RUBY_LIBDIR}/parsedate.rb
+${RUBY_LIBDIR}/pathname.rb
+${RUBY_LIBDIR}/ping.rb
+${RUBY_LIBDIR}/pp.rb
+${RUBY_LIBDIR}/prettyprint.rb
+${RUBY_LIBDIR}/profile.rb
+${RUBY_LIBDIR}/profiler.rb
+${RUBY_LIBDIR}/pstore.rb
+${RUBY_LIBDIR}/racc/parser.rb
+@dirrm ${RUBY_LIBDIR}/racc
+${RUBY_LIBDIR}/rational.rb
+${RUBY_LIBDIR}/rdoc/code_objects.rb
+${RUBY_LIBDIR}/rdoc/diagram.rb
+${RUBY_LIBDIR}/rdoc/dot/dot.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/dot
+${RUBY_LIBDIR}/rdoc/generators/chm_generator.rb
+${RUBY_LIBDIR}/rdoc/generators/html_generator.rb
+${RUBY_LIBDIR}/rdoc/generators/ri_generator.rb
+${RUBY_LIBDIR}/rdoc/generators/template/chm/chm.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/generators/template/chm
+${RUBY_LIBDIR}/rdoc/generators/template/html/hefss.rb
+${RUBY_LIBDIR}/rdoc/generators/template/html/html.rb
+${RUBY_LIBDIR}/rdoc/generators/template/html/kilmer.rb
+${RUBY_LIBDIR}/rdoc/generators/template/html/old_html.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/generators/template/html
+${RUBY_LIBDIR}/rdoc/generators/template/xml/rdf.rb
+${RUBY_LIBDIR}/rdoc/generators/template/xml/xml.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/generators/template/xml
+@dirrm ${RUBY_LIBDIR}/rdoc/generators/template
+${RUBY_LIBDIR}/rdoc/generators/xml_generator.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/generators
+${RUBY_LIBDIR}/rdoc/markup/sample/rdoc2latex.rb
+${RUBY_LIBDIR}/rdoc/markup/sample/sample.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/markup/sample
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/fragments.rb
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/inline.rb
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/lines.rb
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/preprocess.rb
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/to_flow.rb
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/to_html.rb
+${RUBY_LIBDIR}/rdoc/markup/simple_markup/to_latex.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/markup/simple_markup
+${RUBY_LIBDIR}/rdoc/markup/simple_markup.rb
+${RUBY_LIBDIR}/rdoc/markup/test/AllTests.rb
+${RUBY_LIBDIR}/rdoc/markup/test/TestInline.rb
+${RUBY_LIBDIR}/rdoc/markup/test/TestParse.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/markup/test
+@dirrm ${RUBY_LIBDIR}/rdoc/markup
+${RUBY_LIBDIR}/rdoc/options.rb
+${RUBY_LIBDIR}/rdoc/parsers/parse_c.rb
+${RUBY_LIBDIR}/rdoc/parsers/parse_f95.rb
+${RUBY_LIBDIR}/rdoc/parsers/parse_rb.rb
+${RUBY_LIBDIR}/rdoc/parsers/parse_simple.rb
+${RUBY_LIBDIR}/rdoc/parsers/parserfactory.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/parsers
+${RUBY_LIBDIR}/rdoc/rdoc.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_cache.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_descriptions.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_formatter.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_options.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_paths.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_reader.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_util.rb
+${RUBY_LIBDIR}/rdoc/ri/ri_writer.rb
+@dirrm ${RUBY_LIBDIR}/rdoc/ri
+${RUBY_LIBDIR}/rdoc/template.rb
+${RUBY_LIBDIR}/rdoc/tokenstream.rb
+@dirrm ${RUBY_LIBDIR}/rdoc
+${RUBY_LIBDIR}/readbytes.rb
+${RUBY_LIBDIR}/resolv-replace.rb
+${RUBY_LIBDIR}/resolv.rb
+${RUBY_LIBDIR}/rexml/attlistdecl.rb
+${RUBY_LIBDIR}/rexml/attribute.rb
+${RUBY_LIBDIR}/rexml/cdata.rb
+${RUBY_LIBDIR}/rexml/child.rb
+${RUBY_LIBDIR}/rexml/comment.rb
+${RUBY_LIBDIR}/rexml/doctype.rb
+${RUBY_LIBDIR}/rexml/document.rb
+${RUBY_LIBDIR}/rexml/dtd/attlistdecl.rb
+${RUBY_LIBDIR}/rexml/dtd/dtd.rb
+${RUBY_LIBDIR}/rexml/dtd/elementdecl.rb
+${RUBY_LIBDIR}/rexml/dtd/entitydecl.rb
+${RUBY_LIBDIR}/rexml/dtd/notationdecl.rb
+@dirrm ${RUBY_LIBDIR}/rexml/dtd
+${RUBY_LIBDIR}/rexml/element.rb
+${RUBY_LIBDIR}/rexml/encoding.rb
+${RUBY_LIBDIR}/rexml/encodings/EUC-JP.rb
+${RUBY_LIBDIR}/rexml/encodings/ICONV.rb
+${RUBY_LIBDIR}/rexml/encodings/ISO-8859-1.rb
+${RUBY_LIBDIR}/rexml/encodings/SHIFT-JIS.rb
+${RUBY_LIBDIR}/rexml/encodings/SHIFT_JIS.rb
+${RUBY_LIBDIR}/rexml/encodings/UNILE.rb
+${RUBY_LIBDIR}/rexml/encodings/US-ASCII.rb
+${RUBY_LIBDIR}/rexml/encodings/UTF-16.rb
+${RUBY_LIBDIR}/rexml/encodings/UTF-8.rb
+@dirrm ${RUBY_LIBDIR}/rexml/encodings
+${RUBY_LIBDIR}/rexml/entity.rb
+${RUBY_LIBDIR}/rexml/functions.rb
+${RUBY_LIBDIR}/rexml/instruction.rb
+${RUBY_LIBDIR}/rexml/light/node.rb
+@dirrm ${RUBY_LIBDIR}/rexml/light
+${RUBY_LIBDIR}/rexml/namespace.rb
+${RUBY_LIBDIR}/rexml/node.rb
+${RUBY_LIBDIR}/rexml/output.rb
+${RUBY_LIBDIR}/rexml/parent.rb
+${RUBY_LIBDIR}/rexml/parseexception.rb
+${RUBY_LIBDIR}/rexml/parsers/baseparser.rb
+${RUBY_LIBDIR}/rexml/parsers/lightparser.rb
+${RUBY_LIBDIR}/rexml/parsers/pullparser.rb
+${RUBY_LIBDIR}/rexml/parsers/sax2parser.rb
+${RUBY_LIBDIR}/rexml/parsers/streamparser.rb
+${RUBY_LIBDIR}/rexml/parsers/ultralightparser.rb
+${RUBY_LIBDIR}/rexml/parsers/xpathparser.rb
+@dirrm ${RUBY_LIBDIR}/rexml/parsers
+${RUBY_LIBDIR}/rexml/quickpath.rb
+${RUBY_LIBDIR}/rexml/rexml.rb
+${RUBY_LIBDIR}/rexml/sax2listener.rb
+${RUBY_LIBDIR}/rexml/source.rb
+${RUBY_LIBDIR}/rexml/streamlistener.rb
+${RUBY_LIBDIR}/rexml/text.rb
+${RUBY_LIBDIR}/rexml/xmldecl.rb
+${RUBY_LIBDIR}/rexml/xmltokens.rb
+${RUBY_LIBDIR}/rexml/xpath.rb
+${RUBY_LIBDIR}/rexml/xpath_parser.rb
+@dirrm ${RUBY_LIBDIR}/rexml
+${RUBY_LIBDIR}/rinda/rinda.rb
+${RUBY_LIBDIR}/rinda/ring.rb
+${RUBY_LIBDIR}/rinda/tuplespace.rb
+@dirrm ${RUBY_LIBDIR}/rinda
+${RUBY_LIBDIR}/rubyunit.rb
+${RUBY_LIBDIR}/runit/assert.rb
+${RUBY_LIBDIR}/runit/cui/testrunner.rb
+@dirrm ${RUBY_LIBDIR}/runit/cui
+${RUBY_LIBDIR}/runit/error.rb
+${RUBY_LIBDIR}/runit/testcase.rb
+${RUBY_LIBDIR}/runit/testresult.rb
+${RUBY_LIBDIR}/runit/testsuite.rb
+${RUBY_LIBDIR}/runit/topublic.rb
+@dirrm ${RUBY_LIBDIR}/runit
+${RUBY_LIBDIR}/scanf.rb
+${RUBY_LIBDIR}/set.rb
+${RUBY_LIBDIR}/shell/builtin-command.rb
+${RUBY_LIBDIR}/shell/command-processor.rb
+${RUBY_LIBDIR}/shell/error.rb
+${RUBY_LIBDIR}/shell/filter.rb
+${RUBY_LIBDIR}/shell/process-controller.rb
+${RUBY_LIBDIR}/shell/system-command.rb
+${RUBY_LIBDIR}/shell/version.rb
+@dirrm ${RUBY_LIBDIR}/shell
+${RUBY_LIBDIR}/shell.rb
+${RUBY_LIBDIR}/shellwords.rb
+${RUBY_LIBDIR}/singleton.rb
+${RUBY_LIBDIR}/soap/baseData.rb
+${RUBY_LIBDIR}/soap/element.rb
+${RUBY_LIBDIR}/soap/encodingstyle/aspDotNetHandler.rb
+${RUBY_LIBDIR}/soap/encodingstyle/handler.rb
+${RUBY_LIBDIR}/soap/encodingstyle/literalHandler.rb
+${RUBY_LIBDIR}/soap/encodingstyle/soapHandler.rb
+@dirrm ${RUBY_LIBDIR}/soap/encodingstyle
+${RUBY_LIBDIR}/soap/generator.rb
+${RUBY_LIBDIR}/soap/mapping/factory.rb
+${RUBY_LIBDIR}/soap/mapping/mapping.rb
+${RUBY_LIBDIR}/soap/mapping/registry.rb
+${RUBY_LIBDIR}/soap/mapping/rubytypeFactory.rb
+${RUBY_LIBDIR}/soap/mapping/typeMap.rb
+${RUBY_LIBDIR}/soap/mapping/wsdlRegistry.rb
+@dirrm ${RUBY_LIBDIR}/soap/mapping
+${RUBY_LIBDIR}/soap/mapping.rb
+${RUBY_LIBDIR}/soap/marshal.rb
+${RUBY_LIBDIR}/soap/netHttpClient.rb
+${RUBY_LIBDIR}/soap/parser.rb
+${RUBY_LIBDIR}/soap/processor.rb
+${RUBY_LIBDIR}/soap/property.rb
+${RUBY_LIBDIR}/soap/rpc/cgistub.rb
+${RUBY_LIBDIR}/soap/rpc/driver.rb
+${RUBY_LIBDIR}/soap/rpc/element.rb
+${RUBY_LIBDIR}/soap/rpc/proxy.rb
+${RUBY_LIBDIR}/soap/rpc/router.rb
+${RUBY_LIBDIR}/soap/rpc/rpc.rb
+${RUBY_LIBDIR}/soap/rpc/soaplet.rb
+${RUBY_LIBDIR}/soap/rpc/standaloneServer.rb
+@dirrm ${RUBY_LIBDIR}/soap/rpc
+${RUBY_LIBDIR}/soap/soap.rb
+${RUBY_LIBDIR}/soap/streamHandler.rb
+${RUBY_LIBDIR}/soap/wsdlDriver.rb
+@dirrm ${RUBY_LIBDIR}/soap
+${RUBY_LIBDIR}/sync.rb
+${RUBY_LIBDIR}/tempfile.rb
+${RUBY_LIBDIR}/test/unit/assertionfailederror.rb
+${RUBY_LIBDIR}/test/unit/assertions.rb
+${RUBY_LIBDIR}/test/unit/autorunner.rb
+${RUBY_LIBDIR}/test/unit/collector/dir.rb
+${RUBY_LIBDIR}/test/unit/collector/objectspace.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/collector
+${RUBY_LIBDIR}/test/unit/collector.rb
+${RUBY_LIBDIR}/test/unit/error.rb
+${RUBY_LIBDIR}/test/unit/failure.rb
+${RUBY_LIBDIR}/test/unit/testcase.rb
+${RUBY_LIBDIR}/test/unit/testresult.rb
+${RUBY_LIBDIR}/test/unit/testsuite.rb
+${RUBY_LIBDIR}/test/unit/ui/console/testrunner.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/ui/console
+${RUBY_LIBDIR}/test/unit/ui/fox/testrunner.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/ui/fox
+${RUBY_LIBDIR}/test/unit/ui/gtk/testrunner.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/ui/gtk
+${RUBY_LIBDIR}/test/unit/ui/gtk2/testrunner.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/ui/gtk2
+${RUBY_LIBDIR}/test/unit/ui/testrunnermediator.rb
+${RUBY_LIBDIR}/test/unit/ui/testrunnerutilities.rb
+${RUBY_LIBDIR}/test/unit/ui/tk/testrunner.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/ui/tk
+@dirrm ${RUBY_LIBDIR}/test/unit/ui
+${RUBY_LIBDIR}/test/unit/util/backtracefilter.rb
+${RUBY_LIBDIR}/test/unit/util/observable.rb
+${RUBY_LIBDIR}/test/unit/util/procwrapper.rb
+@dirrm ${RUBY_LIBDIR}/test/unit/util
+@dirrm ${RUBY_LIBDIR}/test/unit
+${RUBY_LIBDIR}/test/unit.rb
+@dirrm ${RUBY_LIBDIR}/test
+${RUBY_LIBDIR}/thread.rb
+${RUBY_LIBDIR}/thwait.rb
+${RUBY_LIBDIR}/time.rb
+${RUBY_LIBDIR}/timeout.rb
+${RUBY_LIBDIR}/tmpdir.rb
+${RUBY_LIBDIR}/tracer.rb
+${RUBY_LIBDIR}/tsort.rb
+${RUBY_LIBDIR}/un.rb
+${RUBY_LIBDIR}/uri/common.rb
+${RUBY_LIBDIR}/uri/ftp.rb
+${RUBY_LIBDIR}/uri/generic.rb
+${RUBY_LIBDIR}/uri/http.rb
+${RUBY_LIBDIR}/uri/https.rb
+${RUBY_LIBDIR}/uri/ldap.rb
+${RUBY_LIBDIR}/uri/mailto.rb
+@dirrm ${RUBY_LIBDIR}/uri
+${RUBY_LIBDIR}/uri.rb
+${RUBY_LIBDIR}/weakref.rb
+${RUBY_LIBDIR}/webrick/accesslog.rb
+${RUBY_LIBDIR}/webrick/cgi.rb
+${RUBY_LIBDIR}/webrick/compat.rb
+${RUBY_LIBDIR}/webrick/config.rb
+${RUBY_LIBDIR}/webrick/cookie.rb
+${RUBY_LIBDIR}/webrick/htmlutils.rb
+${RUBY_LIBDIR}/webrick/httpauth/authenticator.rb
+${RUBY_LIBDIR}/webrick/httpauth/basicauth.rb
+${RUBY_LIBDIR}/webrick/httpauth/digestauth.rb
+${RUBY_LIBDIR}/webrick/httpauth/htdigest.rb
+${RUBY_LIBDIR}/webrick/httpauth/htgroup.rb
+${RUBY_LIBDIR}/webrick/httpauth/htpasswd.rb
+${RUBY_LIBDIR}/webrick/httpauth/userdb.rb
+@dirrm ${RUBY_LIBDIR}/webrick/httpauth
+${RUBY_LIBDIR}/webrick/httpauth.rb
+${RUBY_LIBDIR}/webrick/httpproxy.rb
+${RUBY_LIBDIR}/webrick/httprequest.rb
+${RUBY_LIBDIR}/webrick/httpresponse.rb
+${RUBY_LIBDIR}/webrick/https.rb
+${RUBY_LIBDIR}/webrick/httpserver.rb
+${RUBY_LIBDIR}/webrick/httpservlet/abstract.rb
+${RUBY_LIBDIR}/webrick/httpservlet/cgi_runner.rb
+${RUBY_LIBDIR}/webrick/httpservlet/cgihandler.rb
+${RUBY_LIBDIR}/webrick/httpservlet/erbhandler.rb
+${RUBY_LIBDIR}/webrick/httpservlet/filehandler.rb
+${RUBY_LIBDIR}/webrick/httpservlet/prochandler.rb
+@dirrm ${RUBY_LIBDIR}/webrick/httpservlet
+${RUBY_LIBDIR}/webrick/httpservlet.rb
+${RUBY_LIBDIR}/webrick/httpstatus.rb
+${RUBY_LIBDIR}/webrick/httputils.rb
+${RUBY_LIBDIR}/webrick/httpversion.rb
+${RUBY_LIBDIR}/webrick/log.rb
+${RUBY_LIBDIR}/webrick/server.rb
+${RUBY_LIBDIR}/webrick/ssl.rb
+${RUBY_LIBDIR}/webrick/utils.rb
+${RUBY_LIBDIR}/webrick/version.rb
+@dirrm ${RUBY_LIBDIR}/webrick
+${RUBY_LIBDIR}/webrick.rb
+${RUBY_LIBDIR}/wsdl/binding.rb
+${RUBY_LIBDIR}/wsdl/data.rb
+${RUBY_LIBDIR}/wsdl/definitions.rb
+${RUBY_LIBDIR}/wsdl/documentation.rb
+${RUBY_LIBDIR}/wsdl/import.rb
+${RUBY_LIBDIR}/wsdl/importer.rb
+${RUBY_LIBDIR}/wsdl/info.rb
+${RUBY_LIBDIR}/wsdl/message.rb
+${RUBY_LIBDIR}/wsdl/operation.rb
+${RUBY_LIBDIR}/wsdl/operationBinding.rb
+${RUBY_LIBDIR}/wsdl/param.rb
+${RUBY_LIBDIR}/wsdl/parser.rb
+${RUBY_LIBDIR}/wsdl/part.rb
+${RUBY_LIBDIR}/wsdl/port.rb
+${RUBY_LIBDIR}/wsdl/portType.rb
+${RUBY_LIBDIR}/wsdl/service.rb
+${RUBY_LIBDIR}/wsdl/soap/address.rb
+${RUBY_LIBDIR}/wsdl/soap/binding.rb
+${RUBY_LIBDIR}/wsdl/soap/body.rb
+${RUBY_LIBDIR}/wsdl/soap/complexType.rb
+${RUBY_LIBDIR}/wsdl/soap/data.rb
+${RUBY_LIBDIR}/wsdl/soap/definitions.rb
+${RUBY_LIBDIR}/wsdl/soap/fault.rb
+${RUBY_LIBDIR}/wsdl/soap/header.rb
+${RUBY_LIBDIR}/wsdl/soap/headerfault.rb
+${RUBY_LIBDIR}/wsdl/soap/operation.rb
+@dirrm ${RUBY_LIBDIR}/wsdl/soap
+${RUBY_LIBDIR}/wsdl/types.rb
+${RUBY_LIBDIR}/wsdl/wsdl.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/all.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/any.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/attribute.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/choice.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/complexContent.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/complexType.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/content.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/data.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/element.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/import.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/parser.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/schema.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/sequence.rb
+${RUBY_LIBDIR}/wsdl/xmlSchema/unique.rb
+@dirrm ${RUBY_LIBDIR}/wsdl/xmlSchema
+@dirrm ${RUBY_LIBDIR}/wsdl
+${RUBY_LIBDIR}/xmlrpc/base64.rb
+${RUBY_LIBDIR}/xmlrpc/client.rb
+${RUBY_LIBDIR}/xmlrpc/config.rb
+${RUBY_LIBDIR}/xmlrpc/create.rb
+${RUBY_LIBDIR}/xmlrpc/datetime.rb
+${RUBY_LIBDIR}/xmlrpc/httpserver.rb
+${RUBY_LIBDIR}/xmlrpc/marshal.rb
+${RUBY_LIBDIR}/xmlrpc/parser.rb
+${RUBY_LIBDIR}/xmlrpc/server.rb
+${RUBY_LIBDIR}/xmlrpc/utils.rb
+@dirrm ${RUBY_LIBDIR}/xmlrpc
+${RUBY_LIBDIR}/xsd/charset.rb
+${RUBY_LIBDIR}/xsd/datatypes.rb
+${RUBY_LIBDIR}/xsd/datatypes1999.rb
+${RUBY_LIBDIR}/xsd/iconvcharset.rb
+${RUBY_LIBDIR}/xsd/namedelements.rb
+${RUBY_LIBDIR}/xsd/ns.rb
+${RUBY_LIBDIR}/xsd/qname.rb
+${RUBY_LIBDIR}/xsd/xmlparser/parser.rb
+${RUBY_LIBDIR}/xsd/xmlparser/rexmlparser.rb
+${RUBY_LIBDIR}/xsd/xmlparser/xmlparser.rb
+${RUBY_LIBDIR}/xsd/xmlparser/xmlscanner.rb
+@dirrm ${RUBY_LIBDIR}/xsd/xmlparser
+${RUBY_LIBDIR}/xsd/xmlparser.rb
+@dirrm ${RUBY_LIBDIR}/xsd
+${RUBY_LIBDIR}/yaml/baseemitter.rb
+${RUBY_LIBDIR}/yaml/basenode.rb
+${RUBY_LIBDIR}/yaml/constants.rb
+${RUBY_LIBDIR}/yaml/dbm.rb
+${RUBY_LIBDIR}/yaml/emitter.rb
+${RUBY_LIBDIR}/yaml/encoding.rb
+${RUBY_LIBDIR}/yaml/error.rb
+${RUBY_LIBDIR}/yaml/loader.rb
+${RUBY_LIBDIR}/yaml/rubytypes.rb
+${RUBY_LIBDIR}/yaml/store.rb
+${RUBY_LIBDIR}/yaml/stream.rb
+${RUBY_LIBDIR}/yaml/stringio.rb
+${RUBY_LIBDIR}/yaml/syck.rb
+${RUBY_LIBDIR}/yaml/types.rb
+${RUBY_LIBDIR}/yaml/yamlnode.rb
+${RUBY_LIBDIR}/yaml/ypath.rb
+@dirrm ${RUBY_LIBDIR}/yaml
+${RUBY_LIBDIR}/yaml.rb
+@dirrm ${RUBY_LIBDIR}
+@unexec ${RMDIR} %D/lib/ruby 2>/dev/null || ${TRUE}
+man/man1/${RUBY_NAME}.1
diff --git a/lang/ruby18/distinfo b/lang/ruby18/distinfo
new file mode 100644
index 00000000000..8a0df2837b7
--- /dev/null
+++ b/lang/ruby18/distinfo
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+SHA1 (ruby/ruby-1.8.1.tar.gz) = 894cb1e7624b74e699d127344ce5600fc3a7d515
+Size (ruby/ruby-1.8.1.tar.gz) = 2671875 bytes
+SHA1 (patch-aa) = 07fca086d2eb3d520be8d969c064f0ff7ad8819a
+SHA1 (patch-ab) = 2c7f81d0481b02af67815affcb9e274abcaa3fa2
+SHA1 (patch-ac) = ad9da65c2b09f0ee4b368989cb7b03fe3217c077
+SHA1 (patch-ad) = a9561d30dd9ba8506a2943d50e8e5abdfe359db2
+SHA1 (patch-ae) = 09d5d24b6d8d56776b6dbefd98d5ac361d986516
+SHA1 (patch-af) = 163dbcb44bd8784ac3e90df1e39ec927f927300f
+SHA1 (patch-ag) = ad1e2085077401bd3bff796932e15fa8e98376c8
+SHA1 (patch-ah) = 4f94e8f116938b8d8b065c5b25a0cf8da80bdc85
+SHA1 (patch-ai) = 908f89deccf0ad45fb5fc7602c747769a0dcba43
diff --git a/lang/ruby18/patches/patch-aa b/lang/ruby18/patches/patch-aa
new file mode 100644
index 00000000000..755730854df
--- /dev/null
+++ b/lang/ruby18/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- configure.in.orig 2003-12-25 04:19:12.000000000 +0900
++++ configure.in
+@@ -864,6 +864,12 @@ if test "$with_dln_a_out" != yes; then
+ osf*) : ${LDSHARED="ld -shared -expect_unresolved \"*\""}
+ rb_cv_dlopen=yes ;;
+ linux*) : ${LDSHARED="$CC -shared"}
++ if test "$rb_cv_binary_elf" = yes; then
++ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
++ LIBPATHFLAG=' -L%1$-s'
++ RPATHFLAG=' -Wl,-R%1$-s'
++ fi
+ rb_cv_dlopen=yes ;;
+ gnu*) : ${LDSHARED="$CC -shared"}
+ rb_cv_dlopen=yes
+@@ -879,6 +885,7 @@ if test "$with_dln_a_out" != yes; then
+ netbsd*) : ${LDSHARED='${CC} -shared'}
+ if test "$rb_cv_binary_elf" = yes; then
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
+ LIBPATHFLAG=' -L%1$-s'
+ RPATHFLAG=' -Wl,-R%1$-s'
+ fi
+@@ -1157,6 +1164,7 @@ if test "$enable_shared" = 'yes'; then
+ ;;
+ linux*)
+ LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'
++ LIBRUBYARG_SHARED='-Wl,-R -Wl,${libdir} -L${libdir} -L. -l$(RUBY_SO_NAME)'
+ LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
+ ;;
+ gnu*)
diff --git a/lang/ruby18/patches/patch-ab b/lang/ruby18/patches/patch-ab
new file mode 100644
index 00000000000..ab4c5d679b1
--- /dev/null
+++ b/lang/ruby18/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- configure.orig 2003-12-25 04:21:24.000000000 +0900
++++ configure
+@@ -13729,6 +13729,12 @@ echo $ECHO_N "checking whether OS depend
+ osf*) : ${LDSHARED="ld -shared -expect_unresolved \"*\""}
+ rb_cv_dlopen=yes ;;
+ linux*) : ${LDSHARED="$CC -shared"}
++ if test "$rb_cv_binary_elf" = yes; then
++ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
++ LIBPATHFLAG=' -L%1$-s'
++ RPATHFLAG=' -Wl,-R%1$-s'
++ fi
+ rb_cv_dlopen=yes ;;
+ gnu*) : ${LDSHARED="$CC -shared"}
+ rb_cv_dlopen=yes
+@@ -13744,6 +13750,7 @@ echo $ECHO_N "checking whether OS depend
+ netbsd*) : ${LDSHARED='${CC} -shared'}
+ if test "$rb_cv_binary_elf" = yes; then
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
+ LIBPATHFLAG=' -L%1$-s'
+ RPATHFLAG=' -Wl,-R%1$-s'
+ fi
+@@ -14438,6 +14445,7 @@ if test "$enable_shared" = 'yes'; then
+ ;;
+ linux*)
+ LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'
++ LIBRUBYARG_SHARED='-Wl,-R -Wl,${libdir} -L${libdir} -L. -l$(RUBY_SO_NAME)'
+ LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
+ ;;
+ gnu*)
diff --git a/lang/ruby18/patches/patch-ac b/lang/ruby18/patches/patch-ac
new file mode 100644
index 00000000000..6a664b754e8
--- /dev/null
+++ b/lang/ruby18/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- dln.c.orig 2003-12-21 01:59:09.000000000 +0900
++++ dln.c
+@@ -1115,7 +1115,7 @@ dln_sym(name)
+ #endif /* USE_DLN_A_OUT */
+
+ #ifdef USE_DLN_DLOPEN
+-# ifdef __NetBSD__
++# if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ < 105000000
+ # include <nlist.h>
+ # include <link.h>
+ # else
diff --git a/lang/ruby18/patches/patch-ad b/lang/ruby18/patches/patch-ad
new file mode 100644
index 00000000000..a30678fa1f2
--- /dev/null
+++ b/lang/ruby18/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- eval.c.orig 2003-12-25 04:38:15.000000000 +0900
++++ eval.c
+@@ -5141,7 +5141,7 @@ rb_call0(klass, recv, id, oid, argc, arg
+ rb_raise(rb_eArgError, "wrong number of arguments(%d for %d)",
+ argc, i);
+ }
+- if (node->nd_rest == -1) {
++ if ((long)node->nd_rest == -1) {
+ int opt = i;
+ NODE *optnode = node->nd_opt;
+
+@@ -5176,7 +5176,7 @@ rb_call0(klass, recv, id, oid, argc, arg
+ }
+ }
+ local_vars = ruby_scope->local_vars;
+- if (node->nd_rest >= 0) {
++ if ((long)node->nd_rest >= 0) {
+ VALUE v;
+
+ if (argc > 0)
diff --git a/lang/ruby18/patches/patch-ae b/lang/ruby18/patches/patch-ae
new file mode 100644
index 00000000000..bda9f2d8a51
--- /dev/null
+++ b/lang/ruby18/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- ext/curses/extconf.rb.orig 2003-12-16 16:47:58.000000000 +0900
++++ ext/curses/extconf.rb
+@@ -7,14 +7,7 @@ dir_config('termcap')
+ make=false
+ have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
+ have_library("tinfo", "tgetent") or have_library("termcap", "tgetent")
+-if have_header(*curses=%w"ncurses.h") and have_library("ncurses", "initscr")
+- make=true
+-elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr")
+- make=true
+-elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr")
+- curses.unshift("varargs.h")
+- make=true
+-elsif have_header(*curses=%w"curses.h") and have_library("curses", "initscr")
++if have_header(*curses=%w"curses.h") and have_library("curses", "initscr")
+ make=true
+ end
+
diff --git a/lang/ruby18/patches/patch-af b/lang/ruby18/patches/patch-af
new file mode 100644
index 00000000000..617fead07f7
--- /dev/null
+++ b/lang/ruby18/patches/patch-af
@@ -0,0 +1,28 @@
+$NetBSD: patch-af,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- ext/socket/socket.c.orig 2003-12-16 00:54:07.000000000 +0900
++++ ext/socket/socket.c
+@@ -650,6 +650,23 @@ sock_addrinfo(host, port, socktype, flag
+ rb_raise(rb_eSocket, "getaddrinfo: %s", gai_strerror(error));
+ }
+
++#if defined(__APPLE__) && defined(__MACH__)
++ {
++ struct addrinfo *r;
++ r = res;
++ while (r) {
++ if (! r->ai_socktype) r->ai_socktype = hints.ai_socktype;
++ if (! r->ai_protocol) {
++ if (r->ai_socktype == SOCK_DGRAM) {
++ r->ai_protocol = IPPROTO_UDP;
++ } else if (r->ai_socktype == SOCK_STREAM) {
++ r->ai_protocol = IPPROTO_TCP;
++ }
++ }
++ r = r->ai_next;
++ }
++ }
++#endif
+ return res;
+ }
+
diff --git a/lang/ruby18/patches/patch-ag b/lang/ruby18/patches/patch-ag
new file mode 100644
index 00000000000..fceeea554a7
--- /dev/null
+++ b/lang/ruby18/patches/patch-ag
@@ -0,0 +1,29 @@
+$NetBSD: patch-ag,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- lib/cgi.rb.orig 2003-12-22 22:16:33.000000000 +0900
++++ lib/cgi.rb
+@@ -923,7 +923,7 @@ class CGI
+
+ %w[ CONTENT_LENGTH SERVER_PORT ].each do |env|
+ define_method(env.sub(/^HTTP_/n, '').downcase) do
+- val = env_table[env] && Integer(val)
++ (val = env_table[env]) && Integer(val)
+ end
+ end
+
+@@ -1012,10 +1012,13 @@ class CGI
+ end
+
+ c = if bufsize < content_length
+- stdinput.read(bufsize) or ''
++ stdinput.read(bufsize)
+ else
+- stdinput.read(content_length) or ''
++ stdinput.read(content_length)
+ end
++ if c.nil?
++ raise EOFError, "bad content body"
++ end
+ buf.concat(c)
+ content_length -= c.size
+ end
diff --git a/lang/ruby18/patches/patch-ah b/lang/ruby18/patches/patch-ah
new file mode 100644
index 00000000000..1178416f37a
--- /dev/null
+++ b/lang/ruby18/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- lib/cgi/session.rb.orig 2003-08-29 22:38:31.000000000 +0900
++++ lib/cgi/session.rb
+@@ -372,7 +372,7 @@ class CGI
+ begin
+ @f = open(path, "r+")
+ rescue Errno::ENOENT
+- @f = open(path, "w+")
++ @f = File.open(path, File::CREAT|File::RDWR, 0600)
+ end
+ end
+
diff --git a/lang/ruby18/patches/patch-ai b/lang/ruby18/patches/patch-ai
new file mode 100644
index 00000000000..ff130f5dd52
--- /dev/null
+++ b/lang/ruby18/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- lib/delegate.rb.orig 2003-12-16 16:33:25.000000000 +0900
++++ lib/delegate.rb
+@@ -37,7 +37,7 @@ class Delegator
+ rescue Exception
+ $@.delete_if{|s| /:in `__getobj__'$/ =~ s} #`
+ $@.delete_if{|s| /^\\(eval\\):/ =~ s}
+- raise
++ Kernel::raise
+ end
+ end
+ EOS