Importing ruby193-base version 1.9.3p0 (Ruby 1.9.3 p0):

Please refer detail for:
	http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/NEWS
	http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/ChangeLog

Short summary from NEWS:

* Ruby's License is changed from a dual license with GPLv2
  to a dual license with 2-clause BSDL.

* Encoding
  * new encodings: CP950, CP951, UTF-16 and UTF-32
  * change alias:
    * SJIS is Windows-31J

* Regexps now support Unicode 6.0. (new characters and scripts)

* builtin classes

  * ARGF
    * new methods: ARGF.read_nonblock and so on.
  * Array
    * extended method: Array#pack supports endian modifiers
  * String
    * extended method: String#unpack supports endian modifiers
    * new method: String#prepend and String#byteslice
  * Bignum
    * Multiplication algorithm for Bignums with a large number of digits over
      150 BDIGITs is changed in order to reduce its calculation time.
      Now such large Bignums are multiplied by using Toom-3 algorithm.
  * File
    * new constant: File::NULL and File::DIRECT
  * IO
    * extended method: IO#putc supports multibyte characters
    * new methods: * IO#advise, IO.write and IO.binwrite
  * Kernel
    * move #__id__ to BasicObject
    * extended method: Kernel#rand supports range argument
  * Module
    * new methods: Module#private_constant and Module#public_constant
  * Random
    * extended method: Random.rand supports range argument
  * Time
    * extended method: Time#strftime supports %:z and %::z
  * Process
    * Process#maxgroups and Process#maxgroups= now raise NotImplementedError if
      the platform don't support supplementary groups concept
This commit is contained in:
taca 2011-11-08 16:10:51 +00:00
parent 2ea2ba4415
commit 2e1860a66f
28 changed files with 1879 additions and 0 deletions

View file

@ -0,0 +1,6 @@
bin/erb @PREFIX@/bin/erb@RUBY_VER@
bin/gem @PREFIX@/bin/gem@RUBY_VER@
bin/irb @PREFIX@/bin/irb@RUBY_VER@
bin/rake @PREFIX@/bin/rake@RUBY_VER@
bin/ruby @PREFIX@/bin/@RUBY_NAME@
bin/testrb @PREFIX@/bin/testrb@RUBY_VER@

View file

@ -0,0 +1,16 @@
# $NetBSD: DEINSTALL,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
PREFIX="@PREFIX@"
RUBY_GEM_BASE="${PREFIX}/@RUBY_GEM_BASE@"
RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
case ${STAGE} in
DEINSTALL)
${RM} -f ${RUBY_SITERIDIR}/created.rid
;;
POST-DEINSTALL)
${RM} -rf ${GEM_HOME}
${RMDIR} ${RUBY_GEM_BASE} 2>/dev/null || true
;;
esac
exit

19
lang/ruby193-base/DESCR Normal file
View file

@ -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.9.3 release minimum base package.

15
lang/ruby193-base/INSTALL Normal file
View file

@ -0,0 +1,15 @@
# $NetBSD: INSTALL,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
DATE="@DATE@"
PREFIX="@PREFIX@"
RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
rid="${RUBY_SITERIDIR}/created.rid"
case ${STAGE} in
POST-INSTALL)
if [ -d ${RUBY_SITERIDIR} ]; then
${DATE} > ${rid}
fi
;;
esac
exit

15
lang/ruby193-base/MESSAGE Normal file
View file

@ -0,0 +1,15 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Note that this is a minimal package.
The original ${RUBY_DISTNAME} distribution includes more extension
libraries, some of which are provided as separate packages:
databases/ruby-gdbm: GDBM module
devel/ruby-curses: Curses module
devel/ruby-fiddle: Fiddle module
devel/ruby-readline: readline module
x11/ruby-tk: Tk modules
===========================================================================

160
lang/ruby193-base/Makefile Normal file
View file

@ -0,0 +1,160 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL}
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
#PKGREVISION=
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby ${RUBY_VERSION} release minimum base package
LICENSE= ${RUBY_LICENSE}
RUBY_VERSION_SUPPORTED= 193
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c
USE_TOOLS+= pax yacc
GNU_CONFIGURE= yes
TEST_TARGET= test
CONFIGURE_ARGS+= --enable-shared
WRKSRC= ${RUBY_WRKSRC}
MAKE_DIRS= ${RUBY_SITEARCHLIB} ${RUBY_VENDORARCHLIB}
#
# Don't refrect pkgsrc's INSTALL macro since Ruby expect it could
# execute by unprivileged user.
#
CONFIGURE_ENV+= INSTALL="${INSTALL} ${COPY}" \
INSTALL_DATA= INSTALL_PROGRAM= INSTALL_SCRIPT=
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
LIBS.SunOS+= -B static -lsunmath -B dynamic -lm
LDFLAGS.SunOS+= -L${SUNWSPROBASE}/lib -Wl,-R${SUNWSPROBASE}/lib
CONFIGURE_ENV+= LDSHARED="${CC} -G"
.else
LIBS.SunOS+= -lm
.endif
# Ruby build process depends on config.status's content
CONFIG_STATUS_OVERRIDE= # empty
MAKE_DIRS+= ${RUBY_SITERIDIR}
FILES_SUBST+= DATE=${DATE:Q}
REQD_DIRS+= ${GEM_HOME}/cache
REQD_DIRS+= ${GEM_HOME}/doc
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-install
SUBST_FILES.conf= lib/rubygems/config_file.rb
SUBST_SED.conf= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.conf= Fixing configuration files.
.include "options.mk"
.include "../../lang/ruby/rubyversion.mk"
.if !empty(RUBY_SUFFIX)
CONFIGURE_ARGS+= --program-suffix=${RUBY_SUFFIX}
CONFIGURE_ARGS+= --with-soname=${RUBY_NAME}
CONFIGURE_ARGS+= --with-sitedir=${PREFIX}/${RUBY_SITELIB_BASE}
CONFIGURE_ARGS+= --with-vendordir=${PREFIX}/${RUBY_VENDORLIB_BASE}
CONFIGURE_ARGS+= --with-ruby-version=${RUBY_VERSION}
.endif
#
# IRIX work around which should be fixed.
#
PLIST_VARS+= io
.if ${OPSYS} != "IRIX"
PLIST.io= yes
.endif
#
# Work around for getucontext(3)
#
.if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0"
CONFIGURE_ENV+= ac_cv_header_ucontext_h=no
.endif
#
# work around for getaddrinfo(3)
#
.if ${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.[6-9])
CONFIGURE_ARGS+= --enable-wide-getaddrinfo
.endif
#
# work around for Linux
#
.if ${OPSYS} == "Linux"
CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
.endif
DOCS= COPYING COPYING.ja ChangeLog NEWS README \
README.EXT README.EXT.ja README.ja ToDo \
doc/ChangeLog-1.8.0 doc/ChangeLog-YARV doc/NEWS-1.8.7 \
doc/forwardable.rd doc/forwardable.rd.ja \
doc/irb/irb-tools.rd.ja doc/irb/irb.rd doc/irb/irb.rd.ja \
doc/shell.rd doc/shell.rd.ja
EXT_DOCS= bigdecimal/bigdecimal_en.html bigdecimal/bigdecimal_ja.html \
syslog/syslog.txt
BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb
OPENSSL_EXAMPLES= c_rehash.rb cert2text.rb certstore.rb cipher.rb \
crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
smime_read.rb smime_write.rb wget.rb
REPLACE_RUBY= bin/erb bin/gem bin/irb bin/rake bin/rdoc \
bin/ri bin/testrb
REPLACE_RUBY_DIRS= ext lib sample
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \
${RUBY_DOC}/irb ${RUBY_EG}/bigdecimal ${RUBY_EG}/pty
# ${RUBY_ARCHINC} ${RUBY_ARCHLIB}
EMPTY_DIRS= generator/template markup/simple_markup
pre-configure:
${RM} -f ${WRKSRC}/ext/curses/extconf.rb
${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
${RM} -f ${WRKSRC}/ext/fiddle/extconf.rb
${RM} -f ${WRKSRC}/ext/readline/extconf.rb
${RM} -f ${WRKSRC}/ext/tk/extconf.rb
pre-install:
cd ${WRKSRC}/lib; \
${FIND} . \( -name '*.orig' -o -name '*.orig_dist' \) \
-exec ${RM} -f {} \;
.for f in ${EMPTY_DIRS}
${RMDIR} ${WRKSRC}/lib/rdoc/${f} 2>/dev/null || ${TRUE}
.endfor
post-install:
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/${f:C/^doc\///}
.endfor
.for f in ${EXT_DOCS}
${INSTALL_DATA} ${WRKSRC}/ext/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}
.endfor
cd ${WRKSRC}/ext/ripper; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/ripper
cd ${WRKSRC}/ext/stringio; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/stringio
cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}
.for f in ${BIGDECIMAL_EXAMPLES}
${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/${f} \
${DESTDIR}${PREFIX}/${RUBY_EG}/bigdecimal
.endfor
.for f in ${OPENSSL_EXAMPLES}
${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \
${DESTDIR}${PREFIX}/${RUBY_EG}/openssl
.endfor
${RUBY_GENERATE_PLIST}
.include "../../lang/ruby/Makefile.common"
.include "../../textproc/libyaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

943
lang/ruby193-base/PLIST Normal file
View file

@ -0,0 +1,943 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
bin/erb${RUBY_VER}
bin/gem${RUBY_VER}
bin/irb${RUBY_VER}
bin/rake${RUBY_VER}
bin/rdoc${RUBY_VER}
bin/ri${RUBY_VER}
bin/${RUBY_NAME}
bin/testrb${RUBY_VER}
${RUBY_ARCHINC}/ruby/config.h
${RUBY_INC}/ruby.h
${RUBY_INC}/ruby/backward/classext.h
${RUBY_INC}/ruby/backward/rubyio.h
${RUBY_INC}/ruby/backward/rubysig.h
${RUBY_INC}/ruby/backward/st.h
${RUBY_INC}/ruby/backward/util.h
${RUBY_INC}/ruby/defines.h
${RUBY_INC}/ruby/digest.h
${RUBY_INC}/ruby/dl.h
${RUBY_INC}/ruby/encoding.h
${RUBY_INC}/ruby/intern.h
${RUBY_INC}/ruby/io.h
${RUBY_INC}/ruby/missing.h
${RUBY_INC}/ruby/oniguruma.h
${RUBY_INC}/ruby/re.h
${RUBY_INC}/ruby/regex.h
${RUBY_INC}/ruby/ruby.h
${RUBY_INC}/ruby/st.h
${RUBY_INC}/ruby/subst.h
${RUBY_INC}/ruby/util.h
${RUBY_INC}/ruby/version.h
${RUBY_INC}/ruby/vm.h
${RUBY_ARCHINC}/ruby/config.h
lib/libruby${RUBY_STATICLIB}
lib/libruby${RUBY_VER}.${RUBY_SLEXT}
${RUBY_SHLIBALIAS}
lib/libruby${RUBY_SHLIB}
lib/pkgconfig/ruby-${RUBY_VERSION}.pc
${RUBY_LIB}/English.rb
${RUBY_LIB}/abbrev.rb
${RUBY_LIB}/base64.rb
${RUBY_LIB}/benchmark.rb
${RUBY_LIB}/bigdecimal/jacobian.rb
${RUBY_LIB}/bigdecimal/ludcmp.rb
${RUBY_LIB}/bigdecimal/math.rb
${RUBY_LIB}/bigdecimal/newton.rb
${RUBY_LIB}/bigdecimal/util.rb
${RUBY_LIB}/cgi.rb
${RUBY_LIB}/cgi/cookie.rb
${RUBY_LIB}/cgi/core.rb
${RUBY_LIB}/cgi/html.rb
${RUBY_LIB}/cgi/session.rb
${RUBY_LIB}/cgi/session/pstore.rb
${RUBY_LIB}/cgi/util.rb
${RUBY_LIB}/cmath.rb
${RUBY_LIB}/complex.rb
${RUBY_LIB}/csv.rb
${RUBY_LIB}/date.rb
${RUBY_LIB}/date/format.rb
${RUBY_LIB}/debug.rb
${RUBY_LIB}/delegate.rb
${RUBY_LIB}/digest.rb
${RUBY_LIB}/digest/hmac.rb
${RUBY_LIB}/digest/sha2.rb
${RUBY_LIB}/dl.rb
${RUBY_LIB}/dl/callback.rb
${RUBY_LIB}/dl/cparser.rb
${RUBY_LIB}/dl/func.rb
${RUBY_LIB}/dl/import.rb
${RUBY_LIB}/dl/pack.rb
${RUBY_LIB}/dl/stack.rb
${RUBY_LIB}/dl/struct.rb
${RUBY_LIB}/dl/types.rb
${RUBY_LIB}/dl/value.rb
${RUBY_LIB}/drb.rb
${RUBY_LIB}/drb/acl.rb
${RUBY_LIB}/drb/drb.rb
${RUBY_LIB}/drb/eq.rb
${RUBY_LIB}/drb/extserv.rb
${RUBY_LIB}/drb/extservm.rb
${RUBY_LIB}/drb/gw.rb
${RUBY_LIB}/drb/invokemethod.rb
${RUBY_LIB}/drb/observer.rb
${RUBY_LIB}/drb/ssl.rb
${RUBY_LIB}/drb/timeridconv.rb
${RUBY_LIB}/drb/unix.rb
${RUBY_LIB}/e2mmap.rb
${RUBY_LIB}/erb.rb
${RUBY_LIB}/expect.rb
${RUBY_LIB}/fileutils.rb
${RUBY_LIB}/find.rb
${RUBY_LIB}/forwardable.rb
${RUBY_LIB}/getoptlong.rb
${RUBY_LIB}/gserver.rb
${PLIST.io}${RUBY_LIB}/io/console/size.rb
${RUBY_LIB}/ipaddr.rb
${RUBY_LIB}/irb.rb
${RUBY_LIB}/irb/cmd/chws.rb
${RUBY_LIB}/irb/cmd/fork.rb
${RUBY_LIB}/irb/cmd/help.rb
${RUBY_LIB}/irb/cmd/load.rb
${RUBY_LIB}/irb/cmd/nop.rb
${RUBY_LIB}/irb/cmd/pushws.rb
${RUBY_LIB}/irb/cmd/subirb.rb
${RUBY_LIB}/irb/completion.rb
${RUBY_LIB}/irb/context.rb
${RUBY_LIB}/irb/ext/change-ws.rb
${RUBY_LIB}/irb/ext/history.rb
${RUBY_LIB}/irb/ext/loader.rb
${RUBY_LIB}/irb/ext/math-mode.rb
${RUBY_LIB}/irb/ext/multi-irb.rb
${RUBY_LIB}/irb/ext/save-history.rb
${RUBY_LIB}/irb/ext/tracer.rb
${RUBY_LIB}/irb/ext/use-loader.rb
${RUBY_LIB}/irb/ext/workspaces.rb
${RUBY_LIB}/irb/extend-command.rb
${RUBY_LIB}/irb/frame.rb
${RUBY_LIB}/irb/help.rb
${RUBY_LIB}/irb/init.rb
${RUBY_LIB}/irb/input-method.rb
${RUBY_LIB}/irb/inspector.rb
${RUBY_LIB}/irb/lc/error.rb
${RUBY_LIB}/irb/lc/help-message
${RUBY_LIB}/irb/lc/ja/encoding_aliases.rb
${RUBY_LIB}/irb/lc/ja/error.rb
${RUBY_LIB}/irb/lc/ja/help-message
${RUBY_LIB}/irb/locale.rb
${RUBY_LIB}/irb/magic-file.rb
${RUBY_LIB}/irb/notifier.rb
${RUBY_LIB}/irb/output-method.rb
${RUBY_LIB}/irb/ruby-lex.rb
${RUBY_LIB}/irb/ruby-token.rb
${RUBY_LIB}/irb/slex.rb
${RUBY_LIB}/irb/src_encoding.rb
${RUBY_LIB}/irb/version.rb
${RUBY_LIB}/irb/workspace.rb
${RUBY_LIB}/irb/ws-for-case-2.rb
${RUBY_LIB}/irb/xmp.rb
${RUBY_LIB}/json.rb
${RUBY_LIB}/json/add/complex.rb
${RUBY_LIB}/json/add/core.rb
${RUBY_LIB}/json/add/rational.rb
${RUBY_LIB}/json/common.rb
${RUBY_LIB}/json/ext.rb
${RUBY_LIB}/json/version.rb
${RUBY_LIB}/kconv.rb
${RUBY_LIB}/logger.rb
${RUBY_LIB}/mathn.rb
${RUBY_LIB}/matrix.rb
${RUBY_LIB}/matrix/eigenvalue_decomposition.rb
${RUBY_LIB}/matrix/lup_decomposition.rb
${RUBY_LIB}/minitest/autorun.rb
${RUBY_LIB}/minitest/benchmark.rb
${RUBY_LIB}/minitest/mock.rb
${RUBY_LIB}/minitest/pride.rb
${RUBY_LIB}/minitest/spec.rb
${RUBY_LIB}/minitest/unit.rb
${RUBY_LIB}/mkmf.rb
${RUBY_LIB}/monitor.rb
${RUBY_LIB}/mutex_m.rb
${RUBY_LIB}/net/ftp.rb
${RUBY_LIB}/net/http.rb
${RUBY_LIB}/net/https.rb
${RUBY_LIB}/net/imap.rb
${RUBY_LIB}/net/pop.rb
${RUBY_LIB}/net/protocol.rb
${RUBY_LIB}/net/smtp.rb
${RUBY_LIB}/net/telnet.rb
${RUBY_LIB}/observer.rb
${RUBY_LIB}/open-uri.rb
${RUBY_LIB}/open3.rb
${RUBY_LIB}/openssl.rb
${RUBY_LIB}/openssl/bn.rb
${RUBY_LIB}/openssl/buffering.rb
${RUBY_LIB}/openssl/cipher.rb
${RUBY_LIB}/openssl/config.rb
${RUBY_LIB}/openssl/digest.rb
${RUBY_LIB}/openssl/ssl-internal.rb
${RUBY_LIB}/openssl/ssl.rb
${RUBY_LIB}/openssl/x509-internal.rb
${RUBY_LIB}/openssl/x509.rb
${RUBY_LIB}/optparse.rb
${RUBY_LIB}/optparse/date.rb
${RUBY_LIB}/optparse/shellwords.rb
${RUBY_LIB}/optparse/time.rb
${RUBY_LIB}/optparse/uri.rb
${RUBY_LIB}/optparse/version.rb
${RUBY_LIB}/ostruct.rb
${RUBY_LIB}/pathname.rb
${RUBY_LIB}/pp.rb
${RUBY_LIB}/prettyprint.rb
${RUBY_LIB}/prime.rb
${RUBY_LIB}/profile.rb
${RUBY_LIB}/profiler.rb
${RUBY_LIB}/pstore.rb
${RUBY_LIB}/psych.rb
${RUBY_LIB}/psych/coder.rb
${RUBY_LIB}/psych/core_ext.rb
${RUBY_LIB}/psych/deprecated.rb
${RUBY_LIB}/psych/handler.rb
${RUBY_LIB}/psych/json.rb
${RUBY_LIB}/psych/json/ruby_events.rb
${RUBY_LIB}/psych/json/stream.rb
${RUBY_LIB}/psych/json/tree_builder.rb
${RUBY_LIB}/psych/json/yaml_events.rb
${RUBY_LIB}/psych/nodes.rb
${RUBY_LIB}/psych/nodes/alias.rb
${RUBY_LIB}/psych/nodes/document.rb
${RUBY_LIB}/psych/nodes/mapping.rb
${RUBY_LIB}/psych/nodes/node.rb
${RUBY_LIB}/psych/nodes/scalar.rb
${RUBY_LIB}/psych/nodes/sequence.rb
${RUBY_LIB}/psych/nodes/stream.rb
${RUBY_LIB}/psych/omap.rb
${RUBY_LIB}/psych/parser.rb
${RUBY_LIB}/psych/scalar_scanner.rb
${RUBY_LIB}/psych/set.rb
${RUBY_LIB}/psych/stream.rb
${RUBY_LIB}/psych/streaming.rb
${RUBY_LIB}/psych/tree_builder.rb
${RUBY_LIB}/psych/visitors.rb
${RUBY_LIB}/psych/visitors/depth_first.rb
${RUBY_LIB}/psych/visitors/emitter.rb
${RUBY_LIB}/psych/visitors/json_tree.rb
${RUBY_LIB}/psych/visitors/to_ruby.rb
${RUBY_LIB}/psych/visitors/visitor.rb
${RUBY_LIB}/psych/visitors/yaml_tree.rb
${RUBY_LIB}/racc/parser.rb
${RUBY_LIB}/rake.rb
${RUBY_LIB}/rake/alt_system.rb
${RUBY_LIB}/rake/application.rb
${RUBY_LIB}/rake/classic_namespace.rb
${RUBY_LIB}/rake/clean.rb
${RUBY_LIB}/rake/cloneable.rb
${RUBY_LIB}/rake/contrib/compositepublisher.rb
${RUBY_LIB}/rake/contrib/ftptools.rb
${RUBY_LIB}/rake/contrib/publisher.rb
${RUBY_LIB}/rake/contrib/rubyforgepublisher.rb
${RUBY_LIB}/rake/contrib/sshpublisher.rb
${RUBY_LIB}/rake/contrib/sys.rb
${RUBY_LIB}/rake/default_loader.rb
${RUBY_LIB}/rake/dsl_definition.rb
${RUBY_LIB}/rake/early_time.rb
${RUBY_LIB}/rake/ext/core.rb
${RUBY_LIB}/rake/ext/module.rb
${RUBY_LIB}/rake/ext/string.rb
${RUBY_LIB}/rake/ext/time.rb
${RUBY_LIB}/rake/file_creation_task.rb
${RUBY_LIB}/rake/file_list.rb
${RUBY_LIB}/rake/file_task.rb
${RUBY_LIB}/rake/file_utils.rb
${RUBY_LIB}/rake/file_utils_ext.rb
${RUBY_LIB}/rake/gempackagetask.rb
${RUBY_LIB}/rake/invocation_chain.rb
${RUBY_LIB}/rake/invocation_exception_mixin.rb
${RUBY_LIB}/rake/lib/project.rake
${RUBY_LIB}/rake/loaders/makefile.rb
${RUBY_LIB}/rake/multi_task.rb
${RUBY_LIB}/rake/name_space.rb
${RUBY_LIB}/rake/packagetask.rb
${RUBY_LIB}/rake/pathmap.rb
${RUBY_LIB}/rake/pseudo_status.rb
${RUBY_LIB}/rake/rake_module.rb
${RUBY_LIB}/rake/rake_test_loader.rb
${RUBY_LIB}/rake/rdoctask.rb
${RUBY_LIB}/rake/ruby182_test_unit_fix.rb
${RUBY_LIB}/rake/rule_recursion_overflow_error.rb
${RUBY_LIB}/rake/runtest.rb
${RUBY_LIB}/rake/task.rb
${RUBY_LIB}/rake/task_argument_error.rb
${RUBY_LIB}/rake/task_arguments.rb
${RUBY_LIB}/rake/task_manager.rb
${RUBY_LIB}/rake/tasklib.rb
${RUBY_LIB}/rake/testtask.rb
${RUBY_LIB}/rake/version.rb
${RUBY_LIB}/rake/win32.rb
${RUBY_LIB}/rational.rb
${RUBY_LIB}/rbconfig/datadir.rb
${RUBY_LIB}/rbconfig/obsolete.rb
${RUBY_LIB}/rdoc.rb
${RUBY_LIB}/rdoc/alias.rb
${RUBY_LIB}/rdoc/anon_class.rb
${RUBY_LIB}/rdoc/any_method.rb
${RUBY_LIB}/rdoc/attr.rb
${RUBY_LIB}/rdoc/class_module.rb
${RUBY_LIB}/rdoc/code_object.rb
${RUBY_LIB}/rdoc/code_objects.rb
${RUBY_LIB}/rdoc/constant.rb
${RUBY_LIB}/rdoc/context.rb
${RUBY_LIB}/rdoc/cross_reference.rb
${RUBY_LIB}/rdoc/encoding.rb
${RUBY_LIB}/rdoc/erbio.rb
${RUBY_LIB}/rdoc/generator.rb
${RUBY_LIB}/rdoc/generator/darkfish.rb
${RUBY_LIB}/rdoc/generator/markup.rb
${RUBY_LIB}/rdoc/generator/ri.rb
${RUBY_LIB}/rdoc/generator/template/darkfish/classpage.rhtml
${RUBY_LIB}/rdoc/generator/template/darkfish/filepage.rhtml
${RUBY_LIB}/rdoc/generator/template/darkfish/images/brick.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/brick_link.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/bug.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/bullet_black.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/date.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/find.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/loadingAnimation.gif
${RUBY_LIB}/rdoc/generator/template/darkfish/images/macFFBgHack.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/package.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/page_green.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/page_white_text.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/page_white_width.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/plugin.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/ruby.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/tag_green.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/wrench.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/wrench_orange.png
${RUBY_LIB}/rdoc/generator/template/darkfish/images/zoom.png
${RUBY_LIB}/rdoc/generator/template/darkfish/index.rhtml
${RUBY_LIB}/rdoc/generator/template/darkfish/js/darkfish.js
${RUBY_LIB}/rdoc/generator/template/darkfish/js/jquery.js
${RUBY_LIB}/rdoc/generator/template/darkfish/js/quicksearch.js
${RUBY_LIB}/rdoc/generator/template/darkfish/js/thickbox-compressed.js
${RUBY_LIB}/rdoc/generator/template/darkfish/rdoc.css
${RUBY_LIB}/rdoc/ghost_method.rb
${RUBY_LIB}/rdoc/include.rb
${RUBY_LIB}/rdoc/known_classes.rb
${RUBY_LIB}/rdoc/markup.rb
${RUBY_LIB}/rdoc/markup/attribute_manager.rb
${RUBY_LIB}/rdoc/markup/blank_line.rb
${RUBY_LIB}/rdoc/markup/document.rb
${RUBY_LIB}/rdoc/markup/formatter.rb
${RUBY_LIB}/rdoc/markup/formatter_test_case.rb
${RUBY_LIB}/rdoc/markup/heading.rb
${RUBY_LIB}/rdoc/markup/indented_paragraph.rb
${RUBY_LIB}/rdoc/markup/inline.rb
${RUBY_LIB}/rdoc/markup/list.rb
${RUBY_LIB}/rdoc/markup/list_item.rb
${RUBY_LIB}/rdoc/markup/paragraph.rb
${RUBY_LIB}/rdoc/markup/parser.rb
${RUBY_LIB}/rdoc/markup/pre_process.rb
${RUBY_LIB}/rdoc/markup/raw.rb
${RUBY_LIB}/rdoc/markup/rule.rb
${RUBY_LIB}/rdoc/markup/text_formatter_test_case.rb
${RUBY_LIB}/rdoc/markup/to_ansi.rb
${RUBY_LIB}/rdoc/markup/to_bs.rb
${RUBY_LIB}/rdoc/markup/to_html.rb
${RUBY_LIB}/rdoc/markup/to_html_crossref.rb
${RUBY_LIB}/rdoc/markup/to_rdoc.rb
${RUBY_LIB}/rdoc/markup/to_test.rb
${RUBY_LIB}/rdoc/markup/to_tt_only.rb
${RUBY_LIB}/rdoc/markup/verbatim.rb
${RUBY_LIB}/rdoc/meta_method.rb
${RUBY_LIB}/rdoc/method_attr.rb
${RUBY_LIB}/rdoc/normal_class.rb
${RUBY_LIB}/rdoc/normal_module.rb
${RUBY_LIB}/rdoc/options.rb
${RUBY_LIB}/rdoc/parser.rb
${RUBY_LIB}/rdoc/parser/c.rb
${RUBY_LIB}/rdoc/parser/ruby.rb
${RUBY_LIB}/rdoc/parser/ruby_tools.rb
${RUBY_LIB}/rdoc/parser/simple.rb
${RUBY_LIB}/rdoc/rdoc.rb
${RUBY_LIB}/rdoc/require.rb
${RUBY_LIB}/rdoc/ri.rb
${RUBY_LIB}/rdoc/ri/driver.rb
${RUBY_LIB}/rdoc/ri/formatter.rb
${RUBY_LIB}/rdoc/ri/paths.rb
${RUBY_LIB}/rdoc/ri/store.rb
${RUBY_LIB}/rdoc/ruby_lex.rb
${RUBY_LIB}/rdoc/ruby_token.rb
${RUBY_LIB}/rdoc/rubygems_hook.rb
${RUBY_LIB}/rdoc/single_class.rb
${RUBY_LIB}/rdoc/stats.rb
${RUBY_LIB}/rdoc/stats/normal.rb
${RUBY_LIB}/rdoc/stats/quiet.rb
${RUBY_LIB}/rdoc/stats/verbose.rb
${RUBY_LIB}/rdoc/task.rb
${RUBY_LIB}/rdoc/text.rb
${RUBY_LIB}/rdoc/token_stream.rb
${RUBY_LIB}/rdoc/top_level.rb
${RUBY_LIB}/resolv-replace.rb
${RUBY_LIB}/resolv.rb
${RUBY_LIB}/rexml/attlistdecl.rb
${RUBY_LIB}/rexml/attribute.rb
${RUBY_LIB}/rexml/cdata.rb
${RUBY_LIB}/rexml/child.rb
${RUBY_LIB}/rexml/comment.rb
${RUBY_LIB}/rexml/doctype.rb
${RUBY_LIB}/rexml/document.rb
${RUBY_LIB}/rexml/dtd/attlistdecl.rb
${RUBY_LIB}/rexml/dtd/dtd.rb
${RUBY_LIB}/rexml/dtd/elementdecl.rb
${RUBY_LIB}/rexml/dtd/entitydecl.rb
${RUBY_LIB}/rexml/dtd/notationdecl.rb
${RUBY_LIB}/rexml/element.rb
${RUBY_LIB}/rexml/encoding.rb
${RUBY_LIB}/rexml/entity.rb
${RUBY_LIB}/rexml/formatters/default.rb
${RUBY_LIB}/rexml/formatters/pretty.rb
${RUBY_LIB}/rexml/formatters/transitive.rb
${RUBY_LIB}/rexml/functions.rb
${RUBY_LIB}/rexml/instruction.rb
${RUBY_LIB}/rexml/light/node.rb
${RUBY_LIB}/rexml/namespace.rb
${RUBY_LIB}/rexml/node.rb
${RUBY_LIB}/rexml/output.rb
${RUBY_LIB}/rexml/parent.rb
${RUBY_LIB}/rexml/parseexception.rb
${RUBY_LIB}/rexml/parsers/baseparser.rb
${RUBY_LIB}/rexml/parsers/lightparser.rb
${RUBY_LIB}/rexml/parsers/pullparser.rb
${RUBY_LIB}/rexml/parsers/sax2parser.rb
${RUBY_LIB}/rexml/parsers/streamparser.rb
${RUBY_LIB}/rexml/parsers/treeparser.rb
${RUBY_LIB}/rexml/parsers/ultralightparser.rb
${RUBY_LIB}/rexml/parsers/xpathparser.rb
${RUBY_LIB}/rexml/quickpath.rb
${RUBY_LIB}/rexml/rexml.rb
${RUBY_LIB}/rexml/sax2listener.rb
${RUBY_LIB}/rexml/source.rb
${RUBY_LIB}/rexml/streamlistener.rb
${RUBY_LIB}/rexml/syncenumerator.rb
${RUBY_LIB}/rexml/text.rb
${RUBY_LIB}/rexml/undefinednamespaceexception.rb
${RUBY_LIB}/rexml/validation/relaxng.rb
${RUBY_LIB}/rexml/validation/validation.rb
${RUBY_LIB}/rexml/validation/validationexception.rb
${RUBY_LIB}/rexml/xmldecl.rb
${RUBY_LIB}/rexml/xmltokens.rb
${RUBY_LIB}/rexml/xpath.rb
${RUBY_LIB}/rexml/xpath_parser.rb
${RUBY_LIB}/rinda/rinda.rb
${RUBY_LIB}/rinda/ring.rb
${RUBY_LIB}/rinda/tuplespace.rb
${RUBY_LIB}/ripper.rb
${RUBY_LIB}/ripper/core.rb
${RUBY_LIB}/ripper/filter.rb
${RUBY_LIB}/ripper/lexer.rb
${RUBY_LIB}/ripper/sexp.rb
${RUBY_LIB}/rss.rb
${RUBY_LIB}/rss/0.9.rb
${RUBY_LIB}/rss/1.0.rb
${RUBY_LIB}/rss/2.0.rb
${RUBY_LIB}/rss/atom.rb
${RUBY_LIB}/rss/content.rb
${RUBY_LIB}/rss/content/1.0.rb
${RUBY_LIB}/rss/content/2.0.rb
${RUBY_LIB}/rss/converter.rb
${RUBY_LIB}/rss/dublincore.rb
${RUBY_LIB}/rss/dublincore/1.0.rb
${RUBY_LIB}/rss/dublincore/2.0.rb
${RUBY_LIB}/rss/dublincore/atom.rb
${RUBY_LIB}/rss/image.rb
${RUBY_LIB}/rss/itunes.rb
${RUBY_LIB}/rss/maker.rb
${RUBY_LIB}/rss/maker/0.9.rb
${RUBY_LIB}/rss/maker/1.0.rb
${RUBY_LIB}/rss/maker/2.0.rb
${RUBY_LIB}/rss/maker/atom.rb
${RUBY_LIB}/rss/maker/base.rb
${RUBY_LIB}/rss/maker/content.rb
${RUBY_LIB}/rss/maker/dublincore.rb
${RUBY_LIB}/rss/maker/entry.rb
${RUBY_LIB}/rss/maker/feed.rb
${RUBY_LIB}/rss/maker/image.rb
${RUBY_LIB}/rss/maker/itunes.rb
${RUBY_LIB}/rss/maker/slash.rb
${RUBY_LIB}/rss/maker/syndication.rb
${RUBY_LIB}/rss/maker/taxonomy.rb
${RUBY_LIB}/rss/maker/trackback.rb
${RUBY_LIB}/rss/parser.rb
${RUBY_LIB}/rss/rexmlparser.rb
${RUBY_LIB}/rss/rss.rb
${RUBY_LIB}/rss/slash.rb
${RUBY_LIB}/rss/syndication.rb
${RUBY_LIB}/rss/taxonomy.rb
${RUBY_LIB}/rss/trackback.rb
${RUBY_LIB}/rss/utils.rb
${RUBY_LIB}/rss/xml-stylesheet.rb
${RUBY_LIB}/rss/xml.rb
${RUBY_LIB}/rss/xmlparser.rb
${RUBY_LIB}/rss/xmlscanner.rb
${RUBY_LIB}/rubygems.rb
${RUBY_LIB}/rubygems/builder.rb
${RUBY_LIB}/rubygems/command.rb
${RUBY_LIB}/rubygems/command_manager.rb
${RUBY_LIB}/rubygems/commands/build_command.rb
${RUBY_LIB}/rubygems/commands/cert_command.rb
${RUBY_LIB}/rubygems/commands/check_command.rb
${RUBY_LIB}/rubygems/commands/cleanup_command.rb
${RUBY_LIB}/rubygems/commands/contents_command.rb
${RUBY_LIB}/rubygems/commands/dependency_command.rb
${RUBY_LIB}/rubygems/commands/environment_command.rb
${RUBY_LIB}/rubygems/commands/fetch_command.rb
${RUBY_LIB}/rubygems/commands/generate_index_command.rb
${RUBY_LIB}/rubygems/commands/help_command.rb
${RUBY_LIB}/rubygems/commands/install_command.rb
${RUBY_LIB}/rubygems/commands/list_command.rb
${RUBY_LIB}/rubygems/commands/lock_command.rb
${RUBY_LIB}/rubygems/commands/outdated_command.rb
${RUBY_LIB}/rubygems/commands/owner_command.rb
${RUBY_LIB}/rubygems/commands/pristine_command.rb
${RUBY_LIB}/rubygems/commands/push_command.rb
${RUBY_LIB}/rubygems/commands/query_command.rb
${RUBY_LIB}/rubygems/commands/rdoc_command.rb
${RUBY_LIB}/rubygems/commands/search_command.rb
${RUBY_LIB}/rubygems/commands/server_command.rb
${RUBY_LIB}/rubygems/commands/setup_command.rb
${RUBY_LIB}/rubygems/commands/sources_command.rb
${RUBY_LIB}/rubygems/commands/specification_command.rb
${RUBY_LIB}/rubygems/commands/stale_command.rb
${RUBY_LIB}/rubygems/commands/uninstall_command.rb
${RUBY_LIB}/rubygems/commands/unpack_command.rb
${RUBY_LIB}/rubygems/commands/update_command.rb
${RUBY_LIB}/rubygems/commands/which_command.rb
${RUBY_LIB}/rubygems/config_file.rb
${RUBY_LIB}/rubygems/custom_require.rb
${RUBY_LIB}/rubygems/defaults.rb
${RUBY_LIB}/rubygems/dependency.rb
${RUBY_LIB}/rubygems/dependency_installer.rb
${RUBY_LIB}/rubygems/dependency_list.rb
${RUBY_LIB}/rubygems/deprecate.rb
${RUBY_LIB}/rubygems/doc_manager.rb
${RUBY_LIB}/rubygems/errors.rb
${RUBY_LIB}/rubygems/exceptions.rb
${RUBY_LIB}/rubygems/ext.rb
${RUBY_LIB}/rubygems/ext/builder.rb
${RUBY_LIB}/rubygems/ext/configure_builder.rb
${RUBY_LIB}/rubygems/ext/ext_conf_builder.rb
${RUBY_LIB}/rubygems/ext/rake_builder.rb
${RUBY_LIB}/rubygems/format.rb
${RUBY_LIB}/rubygems/gem_openssl.rb
${RUBY_LIB}/rubygems/gem_path_searcher.rb
${RUBY_LIB}/rubygems/gem_runner.rb
${RUBY_LIB}/rubygems/gemcutter_utilities.rb
${RUBY_LIB}/rubygems/indexer.rb
${RUBY_LIB}/rubygems/install_update_options.rb
${RUBY_LIB}/rubygems/installer.rb
${RUBY_LIB}/rubygems/installer_test_case.rb
${RUBY_LIB}/rubygems/local_remote_options.rb
${RUBY_LIB}/rubygems/mock_gem_ui.rb
${RUBY_LIB}/rubygems/old_format.rb
${RUBY_LIB}/rubygems/package.rb
${RUBY_LIB}/rubygems/package/f_sync_dir.rb
${RUBY_LIB}/rubygems/package/tar_header.rb
${RUBY_LIB}/rubygems/package/tar_input.rb
${RUBY_LIB}/rubygems/package/tar_output.rb
${RUBY_LIB}/rubygems/package/tar_reader.rb
${RUBY_LIB}/rubygems/package/tar_reader/entry.rb
${RUBY_LIB}/rubygems/package/tar_test_case.rb
${RUBY_LIB}/rubygems/package/tar_writer.rb
${RUBY_LIB}/rubygems/package_task.rb
${RUBY_LIB}/rubygems/path_support.rb
${RUBY_LIB}/rubygems/platform.rb
${RUBY_LIB}/rubygems/remote_fetcher.rb
${RUBY_LIB}/rubygems/require_paths_builder.rb
${RUBY_LIB}/rubygems/requirement.rb
${RUBY_LIB}/rubygems/security.rb
${RUBY_LIB}/rubygems/server.rb
${RUBY_LIB}/rubygems/source_index.rb
${RUBY_LIB}/rubygems/spec_fetcher.rb
${RUBY_LIB}/rubygems/specification.rb
${RUBY_LIB}/rubygems/test_case.rb
${RUBY_LIB}/rubygems/test_utilities.rb
${RUBY_LIB}/rubygems/text.rb
${RUBY_LIB}/rubygems/uninstaller.rb
${RUBY_LIB}/rubygems/user_interaction.rb
${RUBY_LIB}/rubygems/validator.rb
${RUBY_LIB}/rubygems/version.rb
${RUBY_LIB}/rubygems/version_option.rb
${RUBY_LIB}/scanf.rb
${RUBY_LIB}/securerandom.rb
${RUBY_LIB}/set.rb
${RUBY_LIB}/shell.rb
${RUBY_LIB}/shell/builtin-command.rb
${RUBY_LIB}/shell/command-processor.rb
${RUBY_LIB}/shell/error.rb
${RUBY_LIB}/shell/filter.rb
${RUBY_LIB}/shell/process-controller.rb
${RUBY_LIB}/shell/system-command.rb
${RUBY_LIB}/shell/version.rb
${RUBY_LIB}/shellwords.rb
${RUBY_LIB}/singleton.rb
${RUBY_LIB}/socket.rb
${RUBY_LIB}/syck.rb
${RUBY_LIB}/syck/baseemitter.rb
${RUBY_LIB}/syck/basenode.rb
${RUBY_LIB}/syck/constants.rb
${RUBY_LIB}/syck/encoding.rb
${RUBY_LIB}/syck/error.rb
${RUBY_LIB}/syck/loader.rb
${RUBY_LIB}/syck/rubytypes.rb
${RUBY_LIB}/syck/stream.rb
${RUBY_LIB}/syck/stringio.rb
${RUBY_LIB}/syck/syck.rb
${RUBY_LIB}/syck/tag.rb
${RUBY_LIB}/syck/types.rb
${RUBY_LIB}/syck/yamlnode.rb
${RUBY_LIB}/syck/ypath.rb
${RUBY_LIB}/sync.rb
${RUBY_LIB}/tempfile.rb
${RUBY_LIB}/test/unit.rb
${RUBY_LIB}/test/unit/assertions.rb
${RUBY_LIB}/test/unit/parallel.rb
${RUBY_LIB}/test/unit/testcase.rb
${RUBY_LIB}/thread.rb
${RUBY_LIB}/thwait.rb
${RUBY_LIB}/time.rb
${RUBY_LIB}/timeout.rb
${RUBY_LIB}/tmpdir.rb
${RUBY_LIB}/tracer.rb
${RUBY_LIB}/tsort.rb
${RUBY_LIB}/ubygems.rb
${RUBY_LIB}/un.rb
${RUBY_LIB}/uri.rb
${RUBY_LIB}/uri/common.rb
${RUBY_LIB}/uri/ftp.rb
${RUBY_LIB}/uri/generic.rb
${RUBY_LIB}/uri/http.rb
${RUBY_LIB}/uri/https.rb
${RUBY_LIB}/uri/ldap.rb
${RUBY_LIB}/uri/ldaps.rb
${RUBY_LIB}/uri/mailto.rb
${RUBY_LIB}/weakref.rb
${RUBY_LIB}/webrick.rb
${RUBY_LIB}/webrick/accesslog.rb
${RUBY_LIB}/webrick/cgi.rb
${RUBY_LIB}/webrick/compat.rb
${RUBY_LIB}/webrick/config.rb
${RUBY_LIB}/webrick/cookie.rb
${RUBY_LIB}/webrick/htmlutils.rb
${RUBY_LIB}/webrick/httpauth.rb
${RUBY_LIB}/webrick/httpauth/authenticator.rb
${RUBY_LIB}/webrick/httpauth/basicauth.rb
${RUBY_LIB}/webrick/httpauth/digestauth.rb
${RUBY_LIB}/webrick/httpauth/htdigest.rb
${RUBY_LIB}/webrick/httpauth/htgroup.rb
${RUBY_LIB}/webrick/httpauth/htpasswd.rb
${RUBY_LIB}/webrick/httpauth/userdb.rb
${RUBY_LIB}/webrick/httpproxy.rb
${RUBY_LIB}/webrick/httprequest.rb
${RUBY_LIB}/webrick/httpresponse.rb
${RUBY_LIB}/webrick/https.rb
${RUBY_LIB}/webrick/httpserver.rb
${RUBY_LIB}/webrick/httpservlet.rb
${RUBY_LIB}/webrick/httpservlet/abstract.rb
${RUBY_LIB}/webrick/httpservlet/cgi_runner.rb
${RUBY_LIB}/webrick/httpservlet/cgihandler.rb
${RUBY_LIB}/webrick/httpservlet/erbhandler.rb
${RUBY_LIB}/webrick/httpservlet/filehandler.rb
${RUBY_LIB}/webrick/httpservlet/prochandler.rb
${RUBY_LIB}/webrick/httpstatus.rb
${RUBY_LIB}/webrick/httputils.rb
${RUBY_LIB}/webrick/httpversion.rb
${RUBY_LIB}/webrick/log.rb
${RUBY_LIB}/webrick/server.rb
${RUBY_LIB}/webrick/ssl.rb
${RUBY_LIB}/webrick/utils.rb
${RUBY_LIB}/webrick/version.rb
${RUBY_LIB}/xmlrpc/base64.rb
${RUBY_LIB}/xmlrpc/client.rb
${RUBY_LIB}/xmlrpc/config.rb
${RUBY_LIB}/xmlrpc/create.rb
${RUBY_LIB}/xmlrpc/datetime.rb
${RUBY_LIB}/xmlrpc/httpserver.rb
${RUBY_LIB}/xmlrpc/marshal.rb
${RUBY_LIB}/xmlrpc/parser.rb
${RUBY_LIB}/xmlrpc/server.rb
${RUBY_LIB}/xmlrpc/utils.rb
${RUBY_LIB}/yaml.rb
${RUBY_LIB}/yaml/dbm.rb
${RUBY_LIB}/yaml/store.rb
${RUBY_LIB}/yaml/syck.rb
${RUBY_ARCHLIB}/bigdecimal.${RUBY_DLEXT}
${RUBY_ARCHLIB}/continuation.${RUBY_DLEXT}
${RUBY_ARCHLIB}/coverage.${RUBY_DLEXT}
${RUBY_ARCHLIB}/date_core.${RUBY_DLEXT}
${RUBY_ARCHLIB}/dbm.${RUBY_DLEXT}
${RUBY_ARCHLIB}/digest.${RUBY_DLEXT}
${RUBY_ARCHLIB}/digest/bubblebabble.${RUBY_DLEXT}
${RUBY_ARCHLIB}/digest/md5.${RUBY_DLEXT}
${RUBY_ARCHLIB}/digest/rmd160.${RUBY_DLEXT}
${RUBY_ARCHLIB}/digest/sha1.${RUBY_DLEXT}
${RUBY_ARCHLIB}/digest/sha2.${RUBY_DLEXT}
${RUBY_ARCHLIB}/dl.${RUBY_DLEXT}
${RUBY_ARCHLIB}/dl/callback.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/big5.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/cp949.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/emacs_mule.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/encdb.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/euc_jp.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/euc_kr.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/euc_tw.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/gb18030.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/gb2312.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/gbk.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_1.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_10.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_11.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_13.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_14.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_15.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_16.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_2.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_3.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_4.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_5.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_6.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_7.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_8.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/iso_8859_9.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/koi8_r.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/koi8_u.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/shift_jis.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/big5.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/chinese.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/emoji.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/emoji_iso2022_kddi.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/emoji_sjis_docomo.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/emoji_sjis_kddi.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/emoji_sjis_softbank.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/escape.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/gb18030.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/gbk.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/iso2022.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/japanese.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/japanese_euc.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/japanese_sjis.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/korean.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/single_byte.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/transdb.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/utf8_mac.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/trans/utf_16_32.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/utf_16be.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/utf_16le.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/utf_32be.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/utf_32le.${RUBY_DLEXT}
${RUBY_ARCHLIB}/enc/windows_1251.${RUBY_DLEXT}
${RUBY_ARCHLIB}/etc.${RUBY_DLEXT}
${RUBY_ARCHLIB}/fcntl.${RUBY_DLEXT}
${RUBY_ARCHLIB}/fiber.${RUBY_DLEXT}
${RUBY_ARCHLIB}/iconv.${RUBY_DLEXT}
${PLIST.io}${RUBY_ARCHLIB}/io/console.${RUBY_DLEXT}
${PLIST.io}${RUBY_ARCHLIB}/io/nonblock.${RUBY_DLEXT}
${PLIST.io}${RUBY_ARCHLIB}/io/wait.${RUBY_DLEXT}
${RUBY_ARCHLIB}/json/ext/generator.${RUBY_DLEXT}
${RUBY_ARCHLIB}/json/ext/parser.${RUBY_DLEXT}
${RUBY_ARCHLIB}/mathn/complex.${RUBY_DLEXT}
${RUBY_ARCHLIB}/mathn/rational.${RUBY_DLEXT}
${RUBY_ARCHLIB}/nkf.${RUBY_DLEXT}
${RUBY_ARCHLIB}/objspace.${RUBY_DLEXT}
${RUBY_ARCHLIB}/openssl.${RUBY_DLEXT}
${RUBY_ARCHLIB}/pathname.${RUBY_DLEXT}
${RUBY_ARCHLIB}/psych.${RUBY_DLEXT}
${RUBY_ARCHLIB}/pty.${RUBY_DLEXT}
${RUBY_ARCHLIB}/racc/cparse.${RUBY_DLEXT}
${RUBY_ARCHLIB}/rbconfig.rb
${RUBY_ARCHLIB}/ripper.${RUBY_DLEXT}
${RUBY_ARCHLIB}/sdbm.${RUBY_DLEXT}
${RUBY_ARCHLIB}/socket.${RUBY_DLEXT}
${RUBY_ARCHLIB}/stringio.${RUBY_DLEXT}
${RUBY_ARCHLIB}/strscan.${RUBY_DLEXT}
${RUBY_ARCHLIB}/syck.${RUBY_DLEXT}
${RUBY_ARCHLIB}/syslog.${RUBY_DLEXT}
${RUBY_ARCHLIB}/zlib.${RUBY_DLEXT}
${GEM_HOME}/gems/rake-0.9.2.2/bin/rake
${GEM_HOME}/gems/rdoc-3.9.4/bin/rdoc
${GEM_HOME}/gems/rdoc-3.9.4/bin/ri
${GEM_HOME}/specifications/bigdecimal-1.1.0.gemspec
${GEM_HOME}/specifications/io-console-0.3.gemspec
${GEM_HOME}/specifications/json-1.5.4.gemspec
${GEM_HOME}/specifications/minitest-2.5.1.gemspec
${GEM_HOME}/specifications/rake-0.9.2.2.gemspec
${GEM_HOME}/specifications/rdoc-3.9.4.gemspec
man/man1/erb${RUBY_VER}.1
man/man1/irb${RUBY_VER}.1
man/man1/rake${RUBY_VER}.1
man/man1/ri${RUBY_VER}.1
man/man1/${RUBY_NAME}.1
${RUBY_DOC}/COPYING
${RUBY_DOC}/COPYING.ja
${RUBY_DOC}/ChangeLog
${RUBY_DOC}/ChangeLog-1.8.0
${RUBY_DOC}/ChangeLog-YARV
${RUBY_DOC}/NEWS
${RUBY_DOC}/NEWS-1.8.7
${RUBY_DOC}/README
${RUBY_DOC}/README.EXT
${RUBY_DOC}/README.EXT.ja
${RUBY_DOC}/README.ja
${RUBY_DOC}/ToDo
${RUBY_DOC}/bigdecimal_en.html
${RUBY_DOC}/bigdecimal_ja.html
${RUBY_DOC}/forwardable.rd
${RUBY_DOC}/forwardable.rd.ja
${RUBY_DOC}/irb/irb-tools.rd.ja
${RUBY_DOC}/irb/irb.rd
${RUBY_DOC}/irb/irb.rd.ja
${RUBY_DOC}/ripper/README
${RUBY_DOC}/shell.rd
${RUBY_DOC}/shell.rd.ja
${RUBY_DOC}/stringio/README
${RUBY_DOC}/syslog.txt
${RUBY_EG}/README
${RUBY_EG}/bigdecimal/linear.rb
${RUBY_EG}/bigdecimal/nlsolve.rb
${RUBY_EG}/bigdecimal/pi.rb
${RUBY_EG}/biorhythm.rb
${RUBY_EG}/cal.rb
${RUBY_EG}/cbreak.rb
${RUBY_EG}/clnt.rb
${RUBY_EG}/coverage.rb
${RUBY_EG}/dir.rb
${RUBY_EG}/drb/README.rd
${RUBY_EG}/drb/README.rd.ja
${RUBY_EG}/drb/darray.rb
${RUBY_EG}/drb/darrayc.rb
${RUBY_EG}/drb/dbiff.rb
${RUBY_EG}/drb/dcdbiff.rb
${RUBY_EG}/drb/dchatc.rb
${RUBY_EG}/drb/dchats.rb
${RUBY_EG}/drb/dhasen.rb
${RUBY_EG}/drb/dhasenc.rb
${RUBY_EG}/drb/dlogc.rb
${RUBY_EG}/drb/dlogd.rb
${RUBY_EG}/drb/dqin.rb
${RUBY_EG}/drb/dqlib.rb
${RUBY_EG}/drb/dqout.rb
${RUBY_EG}/drb/dqueue.rb
${RUBY_EG}/drb/drbc.rb
${RUBY_EG}/drb/drbch.rb
${RUBY_EG}/drb/drbm.rb
${RUBY_EG}/drb/drbmc.rb
${RUBY_EG}/drb/drbs-acl.rb
${RUBY_EG}/drb/drbs.rb
${RUBY_EG}/drb/drbssl_c.rb
${RUBY_EG}/drb/drbssl_s.rb
${RUBY_EG}/drb/extserv_test.rb
${RUBY_EG}/drb/gw_ct.rb
${RUBY_EG}/drb/gw_cu.rb
${RUBY_EG}/drb/gw_s.rb
${RUBY_EG}/drb/holderc.rb
${RUBY_EG}/drb/holders.rb
${RUBY_EG}/drb/http0.rb
${RUBY_EG}/drb/http0serv.rb
${RUBY_EG}/drb/name.rb
${RUBY_EG}/drb/namec.rb
${RUBY_EG}/drb/old_tuplespace.rb
${RUBY_EG}/drb/rinda_ts.rb
${RUBY_EG}/drb/rindac.rb
${RUBY_EG}/drb/rindas.rb
${RUBY_EG}/drb/ring_echo.rb
${RUBY_EG}/drb/ring_inspect.rb
${RUBY_EG}/drb/ring_place.rb
${RUBY_EG}/drb/simpletuple.rb
${RUBY_EG}/drb/speedc.rb
${RUBY_EG}/drb/speeds.rb
${RUBY_EG}/dualstack-fetch.rb
${RUBY_EG}/dualstack-httpd.rb
${RUBY_EG}/eval.rb
${RUBY_EG}/export.rb
${RUBY_EG}/exyacc.rb
${RUBY_EG}/fact.rb
${RUBY_EG}/fib.awk
${RUBY_EG}/fib.pl
${RUBY_EG}/fib.py
${RUBY_EG}/fib.rb
${RUBY_EG}/fib.scm
${RUBY_EG}/freq.rb
${RUBY_EG}/from.rb
${RUBY_EG}/fullpath.rb
${RUBY_EG}/less.rb
${RUBY_EG}/list.rb
${RUBY_EG}/list2.rb
${RUBY_EG}/list3.rb
${RUBY_EG}/logger/app.rb
${RUBY_EG}/logger/log.rb
${RUBY_EG}/logger/shifting.rb
${RUBY_EG}/mine.rb
${RUBY_EG}/mkproto.rb
${RUBY_EG}/mpart.rb
${RUBY_EG}/observ.rb
${RUBY_EG}/occur.pl
${RUBY_EG}/occur.rb
${RUBY_EG}/occur2.rb
${RUBY_EG}/openssl/c_rehash.rb
${RUBY_EG}/openssl/cert2text.rb
${RUBY_EG}/openssl/certstore.rb
${RUBY_EG}/openssl/cipher.rb
${RUBY_EG}/openssl/crlstore.rb
${RUBY_EG}/openssl/echo_cli.rb
${RUBY_EG}/openssl/echo_svr.rb
${RUBY_EG}/openssl/gen_csr.rb
${RUBY_EG}/openssl/smime_read.rb
${RUBY_EG}/openssl/smime_write.rb
${RUBY_EG}/openssl/wget.rb
${RUBY_EG}/optparse/opttest.rb
${RUBY_EG}/optparse/subcommand.rb
${RUBY_EG}/philos.rb
${RUBY_EG}/pi.rb
${RUBY_EG}/pty/expect_sample.rb
${RUBY_EG}/pty/script.rb
${RUBY_EG}/pty/shl.rb
${RUBY_EG}/rcs.awk
${RUBY_EG}/rcs.dat
${RUBY_EG}/rcs.rb
${RUBY_EG}/rdoc/markup/rdoc2latex.rb
${RUBY_EG}/rdoc/markup/sample.rb
${RUBY_EG}/ripper/ruby2html.rb
${RUBY_EG}/ripper/strip-comment.rb
${RUBY_EG}/rss/blend.rb
${RUBY_EG}/rss/convert.rb
${RUBY_EG}/rss/list_description.rb
${RUBY_EG}/rss/re_read.rb
${RUBY_EG}/rss/rss_recent.rb
${RUBY_EG}/sieve.rb
${RUBY_EG}/svr.rb
${RUBY_EG}/test.rb
${RUBY_EG}/testunit/adder.rb
${RUBY_EG}/testunit/subtracter.rb
${RUBY_EG}/testunit/tc_adder.rb
${RUBY_EG}/testunit/tc_subtracter.rb
${RUBY_EG}/testunit/ts_examples.rb
${RUBY_EG}/time.rb
${RUBY_EG}/timeout.rb
${RUBY_EG}/trojan.rb
${RUBY_EG}/tsvr.rb
${RUBY_EG}/uumerge.rb
${RUBY_EG}/webrick/demo-app.rb
${RUBY_EG}/webrick/demo-multipart.cgi
${RUBY_EG}/webrick/demo-servlet.rb
${RUBY_EG}/webrick/demo-urlencoded.cgi
${RUBY_EG}/webrick/hello.cgi
${RUBY_EG}/webrick/hello.rb
${RUBY_EG}/webrick/httpd.rb
${RUBY_EG}/webrick/httpproxy.rb
${RUBY_EG}/webrick/httpsd.rb
@pkgdir ${RUBY_SITEARCHLIB}
@pkgdir ${RUBY_VENDORARCHLIB}
@pkgdir ${GEM_HOME}/cache
@pkgdir ${GEM_HOME}/doc
@pkgdir ${RUBY_SITERIDIR}

View file

@ -0,0 +1,23 @@
$NetBSD: distinfo,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
SHA1 (ruby-1.9.3-p0.tar.bz2) = f63c116411b981ef54c2caeefb9ccc4d71a5d2cf
RMD160 (ruby-1.9.3-p0.tar.bz2) = 92e95f1d41f89864e2e4791b522a815e6bf51711
Size (ruby-1.9.3-p0.tar.bz2) = 9554576 bytes
SHA1 (patch-configure) = 95d397b26a6244f3515f69f616917994b7aa445b
SHA1 (patch-configure.in) = b499168bbf1eab93cd98737d766db3b2c0460472
SHA1 (patch-lib_rdoc_ri_driver.rb) = acb4cb022893eb8dea2adf7564f5e5e1a0f1e9c8
SHA1 (patch-lib_rubygems.rb) = cc02e3a296d88605ef8444d64ca805ddebb524c6
SHA1 (patch-lib_rubygems_commands_install__command.rb) = ff637f39f3fd76b7550fd7f8c32fe303eec6f8c3
SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 85b666544fc0787e67bb54071d8660cbfe3015d6
SHA1 (patch-lib_rubygems_commands_uninstall__command.rb) = 7d8dd07d332f0e89822d06f2d71e7552358107cc
SHA1 (patch-lib_rubygems_commands_unpack__command.rb) = b8e18f1feedb7966e2a5280d6020c6134a7d83a3
SHA1 (patch-lib_rubygems_config__file.rb) = 7c07ac3069c5186d7e2eaef6128291ee1d49f0e9
SHA1 (patch-lib_rubygems_defaults.rb) = 101a6e653ef3811cdda3ed333b50448c0d3f0d26
SHA1 (patch-lib_rubygems_dependency__installer.rb) = 572775dd430619f93168732ad312d06819b6f1d7
SHA1 (patch-lib_rubygems_doc__manager.rb) = 4b2d70e5dfaeff1f1b70ff27f1084065dcc742d3
SHA1 (patch-lib_rubygems_install__update__options.rb) = 74f81900c92bc3c7a663a112cccf6ff88b6ae180
SHA1 (patch-lib_rubygems_installer.rb) = cec82bd0c5255a2a23799273c7a2835e2bef7e33
SHA1 (patch-lib_rubygems_specification.rb) = 187e290d3b1d05dee348960391240b1a8d6b21cc
SHA1 (patch-lib_rubygems_uninstaller.rb) = bde19710968f80e56760288d09870a08f3a4ec52
SHA1 (patch-test_rubygems_test__gem.rb) = bb6946eceed2112a7b3d8df84f59c793bdb73bb0
SHA1 (patch-vsnprintf.c) = 7bb4ca07381536717518143ef7803634168ca9fa

View file

@ -0,0 +1,21 @@
# $NetBSD: hacks.mk,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
.if !defined(RUBY19_BASE_HACKS_MK)
RUBY19_BASE_HACKS_MK= defined
.include "../../mk/compiler.mk"
### [ Sun Jun 5 10:05:39 CEST 2005 : seb ]
### On NetBSD/sparc64, gcc optimisation, at least for version 3.3.3,
### produces segmentation faulting miniruby binary.
### Also note that `-O' level optimisation produces a miniruby
### binary that loops while running the installation scripts.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
. if !empty(CC_VERSION:Mgcc-3.3.*)
PKG_HACKS+= optimisation
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
. endif
.endif
.endif # RUBY19_BASE_HACKS_MK

View file

@ -0,0 +1,16 @@
# $NetBSD: options.mk,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ruby
PKG_SUPPORTED_OPTIONS= ruby-build-ri-db
PKG_SUGGESTED_OPTIONS= ruby-build-ri-db
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mruby-build-ri-db)
#PRIVILEGED_STAGES+= clean
RUBY_DYNAMIC_DIRS+= ${RUBY_SYSRIDIR}
# Use huge memory.
UNLIMIT_RESOURCES+= datasize
.else
CONFIGURE_ARGS+= --enable-install-doc=no
.endif

View file

@ -0,0 +1,66 @@
$NetBSD: patch-configure,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
* Adding Interix support.
* Ignore doxygen.
--- configure.orig 2011-10-30 09:55:52.000000000 +0000
+++ configure
@@ -10464,6 +10464,9 @@ esac
superux*) :
ac_cv_func_setitimer=no
;; #(
+ interix*) LIBS="-lm $LIBS"
+ ac_cv_func_getpgrp_void=yes
+ ;; #(
*) :
LIBS="-lm $LIBS" ;;
esac
@@ -16021,8 +16024,12 @@ esac ;; #(
rb_cv_dlopen=yes ;; #(
interix*) :
: ${LDSHARED='$(CC) -shared'}
+ LDFLAGS="$LDFLAGS -Wl,-E"
XLDFLAGS="$XLDFLAGS -Wl,-E"
+ # use special random-slot linkage in 0x[56]XXXXXXX
LIBPATHFLAG=" -L%1\$-s"
+ DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))'
+ RPATHFLAG=' -Wl,-R%1$-s'
rb_cv_dlopen=yes ;; #(
freebsd*|dragonfly*) :
@@ -16626,7 +16633,12 @@ esac
;; #(
interix*) :
- LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
+ SOLIBS='$(LIBS)'
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
+ # link explicitly to 0x48000000
+ LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552'
+ 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'
;; #(
*) :
;;
@@ -16689,11 +16701,7 @@ if test "$install_doc" != no; then
else
RDOCTARGET="nodoc"
fi
- if test "$install_capi" != no -a -n "$DOXYGEN"; then
- CAPITARGET="capi"
- else
- CAPITARGET="nodoc"
- fi
+ CAPITARGET="nodoc"
else
RDOCTARGET="nodoc"
CAPITARGET="nodoc"
@@ -17593,7 +17601,7 @@ ac_config_files="$ac_config_files $FIRST
ac_config_files="$ac_config_files Makefile"
-ruby_pc="${RUBY_BASE_NAME}-${MAJOR}.${MINOR}.pc"
+ruby_pc="${RUBY_BASE_NAME}-${RUBY_PROGRAM_VERSION}.pc"
exec=exec

View file

@ -0,0 +1,62 @@
$NetBSD: patch-configure.in,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
* Adding Interix support.
* Ignore doxygen.
--- configure.in.orig 2011-10-09 13:17:20.000000000 +0000
+++ configure.in
@@ -1111,6 +1111,8 @@ main()
],
[superux*], [ ac_cv_func_setitimer=no
],
+[interix*], [ LIBS="-lm $LIBS"
+ ac_cv_func_getpgrp_void=yes],
[ LIBS="-lm $LIBS"])
AC_CHECK_LIB(crypt, crypt)
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
@@ -2051,7 +2053,9 @@ if test "$with_dln_a_out" != yes; then
rb_cv_dlopen=yes],
[interix*], [ : ${LDSHARED='$(CC) -shared'}
XLDFLAGS="$XLDFLAGS -Wl,-E"
+ DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))'
LIBPATHFLAG=" -L%1\$-s"
+ RPATHFLAG=' -Wl,-R%1$-s'
rb_cv_dlopen=yes],
[freebsd*|dragonfly*], [
: ${LDSHARED='$(CC) -shared'}
@@ -2420,7 +2424,12 @@ AS_CASE("$enable_shared", [yes], [
LIBRUBY_ALIASES='lib$(RUBY_BASE_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
],
[interix*], [
- LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
+ SOLIBS='$(LIBS)'
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
+ # link explicitly to 0x48000000
+ LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552'
+ 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'
])
], [
LIBRUBYARG_SHARED=
@@ -2465,11 +2474,7 @@ if test "$install_doc" != no; then
else
RDOCTARGET="nodoc"
fi
- if test "$install_capi" != no -a -n "$DOXYGEN"; then
- CAPITARGET="capi"
- else
- CAPITARGET="nodoc"
- fi
+ CAPITARGET="nodoc"
else
RDOCTARGET="nodoc"
CAPITARGET="nodoc"
@@ -3023,7 +3028,7 @@ AC_CONFIG_FILES(Makefile, [{
}],
[EXEEXT='$EXEEXT' gnumake='$gnumake'])
-ruby_pc="${RUBY_BASE_NAME}-${MAJOR}.${MINOR}.pc"
+ruby_pc="${RUBY_BASE_NAME}-${RUBY_PROGRAM_VERSION}.pc"
AC_SUBST(ruby_pc)
AC_SUBST(exec, [exec])

View file

@ -0,0 +1,37 @@
$NetBSD: patch-lib_rdoc_ri_driver.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Defer loading readline, when it is really needed.
Some unknown reason:
1. build devel/ruby-readline with editline(3).
2. Execute a ruby script loading readline in background from shell.
3. When the script output something to stdout, it got SIGTSTP and suspends.
There is no such problem when build devel/ruby-readline with GNU's readline.
--- lib/rdoc/ri/driver.rb.orig 2011-08-05 21:21:55.000000000 +0000
+++ lib/rdoc/ri/driver.rb
@@ -2,11 +2,6 @@ require 'abbrev'
require 'optparse'
begin
- require 'readline'
-rescue LoadError
-end
-
-begin
require 'win32console'
rescue LoadError
end
@@ -858,6 +853,11 @@ Options may also be set in the 'RI' envi
# Runs ri interactively using Readline if it is available.
def interactive
+ begin
+ require 'readline'
+ rescue LoadError
+ end
+
puts "\nEnter the method name you want to look up."
if defined? Readline then

View file

@ -0,0 +1,41 @@
$NetBSD: patch-lib_rubygems.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems.rb.orig 2011-08-26 01:12:57.000000000 +0000
+++ lib/rubygems.rb
@@ -327,7 +327,10 @@ module Gem
##
# The path where gem executables are to be installed.
- def self.bindir(install_dir=Gem.dir)
+ def self.bindir(install_dir=Gem.dir, install_root=nil)
+ unless install_root.nil?
+ install_dir = install_dir.sub(install_root, "")
+ end
# TODO: move to Gem::Dirs
return File.join install_dir, 'bin' unless
install_dir.to_s == Gem.default_dir.to_s
@@ -619,12 +622,12 @@ module Gem
##
# The index to insert activated gem paths into the $LOAD_PATH.
#
- # Defaults to the site lib directory unless gem_prelude.rb has loaded paths,
+ # Defaults to the vendor lib directory unless gem_prelude.rb has loaded paths,
# then it inserts the activated gem's paths before the gem_prelude.rb paths
# so you can override the gem_prelude.rb default $LOAD_PATH paths.
def self.load_path_insert_index
- index = $LOAD_PATH.index ConfigMap[:sitelibdir]
+ index = $LOAD_PATH.index ConfigMap[:vendorlibdir]
if QUICKLOADER_SUCKAGE then
$LOAD_PATH.each_with_index do |path, i|
@@ -799,6 +802,7 @@ module Gem
prefix = File.dirname RUBYGEMS_DIR
if prefix != File.expand_path(ConfigMap[:sitelibdir]) and
+ prefix != File.expand_path(ConfigMap[:vendorlibdir]) and
prefix != File.expand_path(ConfigMap[:libdir]) and
'lib' == File.basename(RUBYGEMS_DIR) then
prefix

View file

@ -0,0 +1,15 @@
$NetBSD: patch-lib_rubygems_commands_install__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Prevent access to HOME when --install-root is used.
--- lib/rubygems/commands/install_command.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/commands/install_command.rb
@@ -148,7 +148,7 @@ to write the specification by hand. For
Gem::DocManager.new(gem, options[:rdoc_args]).generate_ri
end
- Gem::DocManager.update_ri_cache
+ Gem::DocManager.update_ri_cache(options[:install_root])
end
if options[:generate_rdoc] then

View file

@ -0,0 +1,38 @@
$NetBSD: patch-lib_rubygems_commands_setup__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Make sure to setup under DESTDIR.
--- lib/rubygems/commands/setup_command.rb.orig 2011-08-05 20:18:14.000000000 +0000
+++ lib/rubygems/commands/setup_command.rb
@@ -110,7 +110,7 @@ By default, this RubyGems will install g
uninstall_old_gemcutter
- install_rdoc
+ install_rdoc install_destdir
say
if @verbose then
@@ -221,16 +221,20 @@ TEXT
end
end
- def install_rdoc
+ def install_rdoc(install_destdir)
gem_doc_dir = File.join Gem.dir, 'doc'
rubygems_name = "rubygems-#{Gem::VERSION}"
rubygems_doc_dir = File.join gem_doc_dir, rubygems_name
+ unless install_destdir.empty?
+ FileUtils.mkdir_p gem_doc_dir unless File.exist?(gem_doc_dir)
+ end
+
if File.writable? gem_doc_dir and
(not File.exist? rubygems_doc_dir or
File.writable? rubygems_doc_dir) then
say "Removing old RubyGems RDoc and ri" if @verbose
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
+ Dir[File.join(gem_doc_dir, 'rubygems-[0-9]*')].each do |dir|
rm_rf dir
end

View file

@ -0,0 +1,18 @@
$NetBSD: patch-lib_rubygems_commands_uninstall__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/commands/uninstall_command.rb.orig 2011-08-26 01:12:57.000000000 +0000
+++ lib/rubygems/commands/uninstall_command.rb
@@ -21,6 +21,11 @@ class Gem::Commands::UninstallCommand <
options[:all] = value
end
+ add_option('-B', '--install-root DIR',
+ 'Root directory for gem files') do |value, options|
+ options[:install_root] = File.expand_path(value)
+ end
+
add_option('-I', '--[no-]ignore-dependencies',
'Ignore dependency requirements while',
'uninstalling') do |value, options|

View file

@ -0,0 +1,27 @@
$NetBSD: patch-lib_rubygems_commands_unpack__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/commands/unpack_command.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/commands/unpack_command.rb
@@ -14,6 +14,10 @@ class Gem::Commands::UnpackCommand < Gem
:version => Gem::Requirement.default,
:target => Dir.pwd
+ add_option('--install-root DIR', 'Root directory for gem files on extract') do |value, options|
+ options[:install_root] = value
+ end
+
add_option('--target=DIR',
'target directory for unpacking') do |value, options|
options[:target] = value
@@ -70,7 +74,8 @@ class Gem::Commands::UnpackCommand < Gem
basename = File.basename path, '.gem'
target_dir = File.expand_path basename, options[:target]
FileUtils.mkdir_p target_dir
- Gem::Installer.new(path, :unpack => true).unpack target_dir
+ Gem::Installer.new(path, :unpack => true,
+ :install_root => options[:install_root]).unpack target_dir
say "Unpacked gem: '#{target_dir}'"
end
end

View file

@ -0,0 +1,40 @@
$NetBSD: patch-lib_rubygems_config__file.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Don't hard code config file's path for gem.
--- lib/rubygems/config_file.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/config_file.rb
@@ -45,32 +45,7 @@ class Gem::ConfigFile
PLATFORM_DEFAULTS = {}
- system_config_path =
- begin
- require "etc"
- Etc.sysconfdir
- rescue LoadError, NoMethodError
- begin
- # TODO: remove after we drop 1.8.7 and 1.9.1
- require 'Win32API'
-
- CSIDL_COMMON_APPDATA = 0x0023
- path = 0.chr * 260
- if RUBY_VERSION > '1.9' then
- SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP',
- 'L', :stdcall
- SHGetFolderPath.call nil, CSIDL_COMMON_APPDATA, nil, 1, path
- else
- SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP',
- 'L'
- SHGetFolderPath.call 0, CSIDL_COMMON_APPDATA, 0, 1, path
- end
-
- path.strip
- rescue LoadError
- "/etc"
- end
- end
+ system_config_path = '@PKG_SYSCONFDIR@'
SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc'

View file

@ -0,0 +1,15 @@
$NetBSD: patch-lib_rubygems_defaults.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Use vendordir instead of sitedir.
--- lib/rubygems/defaults.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/defaults.rb
@@ -21,7 +21,7 @@ module Gem
def self.default_dir
path = if defined? RUBY_FRAMEWORK_VERSION then
[
- File.dirname(ConfigMap[:sitedir]),
+ File.dirname(ConfigMap[:vendordir]),
'Gems',
ConfigMap[:ruby_version]
]

View file

@ -0,0 +1,53 @@
$NetBSD: patch-lib_rubygems_dependency__installer.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/dependency_installer.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/dependency_installer.rb
@@ -38,6 +38,7 @@ class Gem::DependencyInstaller
# :format_executable:: See Gem::Installer#initialize.
# :ignore_dependencies:: Don't install any dependencies.
# :install_dir:: See Gem::Installer#install.
+ # :install_root: See Gem::Installer#install.
# :prerelease:: Allow prerelease versions. See #install.
# :security_policy:: See Gem::Installer::new and Gem::Security.
# :user_install:: See Gem::Installer.new
@@ -45,11 +46,14 @@ class Gem::DependencyInstaller
def initialize(options = {})
if options[:install_dir] then
- @gem_home = options[:install_dir]
+ if options[:install_root].nil? or options[:install_root] == "" then
+ @gem_home = options[:install_dir].dup
+ else
+ @gem_home = options[:install_root].dup
+ end
Gem::Specification.dirs = @gem_home
Gem.ensure_gem_subdirectories @gem_home
- options[:install_dir] = @gem_home # FIX: because we suck and reuse below
end
options = DEFAULT_OPTIONS.merge options
@@ -69,7 +73,12 @@ class Gem::DependencyInstaller
@installed_gems = []
@install_dir = options[:install_dir] || Gem.dir
- @cache_dir = options[:cache_dir] || @install_dir
+ @install_root = options[:install_root]
+ install_dir = @install_dir
+ unless @install_root.nil? or @install_root == ""
+ install_dir = File.join(@install_root, @install_dir)
+ end
+ @cache_dir = options[:cache_dir] || install_dir
# Set with any errors that SpecFetcher finds while search through
# gemspecs for a dep
@@ -290,6 +299,7 @@ class Gem::DependencyInstaller
:format_executable => @format_executable,
:ignore_dependencies => @ignore_dependencies,
:install_dir => @install_dir,
+ :install_root => @install_root,
:security_policy => @security_policy,
:user_install => @user_install,
:wrappers => @wrappers

View file

@ -0,0 +1,24 @@
$NetBSD: patch-lib_rubygems_doc__manager.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Prevent access to HOME when --install-root is used.
--- lib/rubygems/doc_manager.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/doc_manager.rb
@@ -60,7 +60,7 @@ class Gem::DocManager
##
# Updates the RI cache for RDoc 2 if it is installed
- def self.update_ri_cache
+ def self.update_ri_cache(install_root = nil)
load_rdoc rescue return
return unless defined? RDoc::VERSION # RDoc 1 does not have VERSION
@@ -71,7 +71,7 @@ class Gem::DocManager
:use_cache => true,
:use_system => true,
:use_site => true,
- :use_home => true,
+ :use_home => (install_root == nil)? true: false,
:use_gems => true,
:formatter => RDoc::RI::Formatter,
}

View file

@ -0,0 +1,19 @@
$NetBSD: patch-lib_rubygems_install__update__options.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/install_update_options.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/install_update_options.rb
@@ -32,6 +32,12 @@ module Gem::InstallUpdateOptions
value
end
+ add_option(:"Install/Update", '-B', '--install-root DIR',
+ 'Root directory for gem files on install') do |value, options|
+ options[:install_root] = File.expand_path(value)
+ Gem.ensure_gem_subdirectories File.join options[:install_root], Gem.dir
+ end
+
add_option(:"Install/Update", '-i', '--install-dir DIR',
'Gem repository directory to get installed',
'gems') do |value, options|

View file

@ -0,0 +1,49 @@
$NetBSD: patch-lib_rubygems_installer.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/installer.rb.orig 2011-08-04 22:39:35.000000000 +0000
+++ lib/rubygems/installer.rb
@@ -85,6 +85,9 @@ class Gem::Installer
# for a signed-gems-only policy.
# :ignore_dependencies:: Don't raise if a dependency is missing.
# :install_dir:: The directory to install the gem into.
+ # :install_root:: The directory to use as a buildroot for "destdir"-style
+ # installation. All paths during installation are relative
+ # to the buildroot.
# :format_executable:: Format the executable the same as the ruby executable.
# If your ruby is ruby18, foo_exec will be installed as
# foo_exec18.
@@ -283,7 +286,11 @@ class Gem::Installer
# If the user has asked for the gem to be installed in a directory that is
# the system gem directory, then use the system bin directory, else create
# (or use) a new bin dir under the gem_home.
- bindir = @bin_dir || Gem.bindir(gem_home)
+ bindir = @bin_dir ? @bin_dir : (Gem.bindir @gem_home, @install_root)
+
+ unless @install_root.nil? or @install_root == ""
+ bindir = File.join(@install_root, bindir)
+ end
Dir.mkdir bindir unless File.exist? bindir
raise Gem::FilePermissionError.new(bindir) unless File.writable? bindir
@@ -416,6 +423,7 @@ class Gem::Installer
:exec_format => false,
:force => false,
:install_dir => Gem.dir,
+ :install_root => nil,
}.merge options
@env_shebang = options[:env_shebang]
@@ -425,6 +433,11 @@ class Gem::Installer
@format_executable = options[:format_executable]
@security_policy = options[:security_policy]
@wrappers = options[:wrappers]
+ install_root = options[:install_root]
+ unless install_root.nil? or install_root == ""
+ @install_root = File.expand_path install_root
+ @gem_home = File.join(@install_root, @gem_home)
+ end
@bin_dir = options[:bin_dir]
@development = options[:development]

View file

@ -0,0 +1,72 @@
$NetBSD: patch-lib_rubygems_specification.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
--- lib/rubygems/specification.rb.orig 2011-10-08 10:53:11.000000000 +0000
+++ lib/rubygems/specification.rb
@@ -118,6 +118,12 @@ class Gem::Specification
@@default_value[k].nil?
}
+ # under pkgsrc environment
+ @@pkgsrc_nil_attributes = {}
+ [:authors, :cert_chain, :executables, :extensions, :extra_rdoc_files, :licenses, :required_rubygems_version, :test_files].each do |k|
+ @@pkgsrc_nil_attributes[k] = true
+ end
+
######################################################################
# :section: Required gemspec attributes
@@ -984,7 +990,7 @@ class Gem::Specification
# way to do it.
@date = case date
when String then
- if /\A(\d{4})-(\d{2})-(\d{2})\Z/ =~ date then
+ if /\A(\d{4})-(\d{2})-(\d{2})/ =~ date then
Time.utc($1.to_i, $2.to_i, $3.to_i)
else
raise(Gem::InvalidSpecificationException,
@@ -1950,7 +1956,24 @@ class Gem::Specification
normalize
nil_attributes = self.class.non_nil_attributes.find_all do |name|
- instance_variable_get("@#{name}").nil?
+ val = instance_variable_get("@#{name}")
+ if val.nil?
+ if @@pkgsrc_nil_attributes.key?(name)
+ case name
+ when :required_rubygems_version
+ val = Gem::Requirement.default
+ else
+ val = []
+ end
+ instance_variable_set("@#{name}", val)
+ false
+ end
+ end
+ if name == :authors and val.empty?
+ val = ['not specified']
+ self.authors = val
+ false
+ end
end
unless nil_attributes.empty? then
@@ -2053,10 +2076,15 @@ class Gem::Specification
raise Gem::InvalidSpecificationException, "#{lazy} is not a summary"
end
- if homepage and not homepage.empty? and
- homepage !~ /\A[a-z][a-z\d+.-]*:/i then
- raise Gem::InvalidSpecificationException,
- "\"#{homepage}\" is not a URI"
+ if homepage and not homepage.empty?
+ if @homepage =~ /\A[a-z][a-z\d+.-]*/i and
+ @homepage !~ /\A[a-z][a-z\d+.-]*:/i
+ @homepage = "http://" + @homepage
+ end
+ if homepage !~ /\A[a-z][a-z\d+.-]*:/i then
+ raise Gem::InvalidSpecificationException,
+ "\"#{homepage}\" is not a URI"
+ end
end
# Warnings

View file

@ -0,0 +1,31 @@
$NetBSD: patch-lib_rubygems_uninstaller.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/uninstaller.rb.orig 2011-07-27 03:42:40.000000000 +0000
+++ lib/rubygems/uninstaller.rb
@@ -50,6 +50,11 @@ class Gem::Uninstaller
@force_ignore = options[:ignore]
@bin_dir = options[:bin_dir]
@format_executable = options[:format_executable]
+ install_root = options[:install_root]
+ unless install_root.nil? or install_root == ""
+ @install_root = File.expand_path install_root
+ @gem_home = File.join(@install_root, @gem_home)
+ end
# only add user directory if install_dir is not set
@user_install = false
@@ -155,7 +160,11 @@ class Gem::Uninstaller
unless remove then
say "Executables and scripts will remain installed."
else
- bin_dir = @bin_dir || Gem.bindir(spec.base_dir)
+ bin_dir = @bin_dir || (Gem.bindir @gem_home, @install_root)
+
+ unless @install_root.nil? or @install_root == ""
+ bindir = File.join(@install_root, bindir)
+ end
raise Gem::FilePermissionError, bin_dir unless File.writable? bin_dir

View file

@ -0,0 +1,22 @@
$NetBSD: patch-test_rubygems_test__gem.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Use vendordir instead of sitedir.
--- test/rubygems/test_gem.rb.orig 2011-08-26 01:12:57.000000000 +0000
+++ test/rubygems/test_gem.rb
@@ -821,12 +821,12 @@ class TestGem < Gem::TestCase
end
def test_self_prefix_sitelibdir
- orig_sitelibdir = Gem::ConfigMap[:sitelibdir]
- Gem::ConfigMap[:sitelibdir] = @@project_dir
+ orig_sitelibdir = Gem::ConfigMap[:vendorlibdir]
+ Gem::ConfigMap[:vendorlibdir] = @@project_dir
assert_nil Gem.prefix
ensure
- Gem::ConfigMap[:sitelibdir] = orig_sitelibdir
+ Gem::ConfigMap[:vendorlibdir] = orig_sitelibdir
end
def test_self_refresh

View file

@ -0,0 +1,16 @@
$NetBSD: patch-vsnprintf.c,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Avoid ugly warning.
--- vsnprintf.c.orig 2011-01-18 17:56:10.000000000 +0000
+++ vsnprintf.c
@@ -209,7 +209,9 @@ typedef struct __sFILE {
#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
#define __sferror(p) (((p)->_flags & __SERR) != 0)
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
+#ifndef __sfileno
#define __sfileno(p) ((p)->_file)
+#endif
#undef feof
#undef ferror