pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update Ruby 1.8.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fd247ebe4b1
branches:  trunk
changeset: 488001:7fd247ebe4b1
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 23 17:33:19 2005 +0000

description:
Update Ruby 1.8.2.

This is basically bug fix release, but official changes aren't provided
yet.  Please refer ChangeLog.

Here is pkgsrc changes:

o Set RUBY_HAS_ARCHLIB=yes for Ruby packages including archtecture depending
  extention library in order to depend more specific Ruby.

o Now install database for ri(1).  Fix PR pkg/28566.

o Net::IMAP

        * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]

o NKF:

        * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
          variables.  fixed: [ruby-list:40445]

        * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
          0xfe.

        * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
          properly.

o WEBrick

        * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
          raise NotImplementedError if password is encrypted by digest
          algorithms. This patch is contributed by sheepman. [ruby-list:40467]

        * lib/webrick/httpauth/digestauth.rb
          (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
          This patch is contributed by sheepman. [ruby-list:40482]

        * lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
          pack/unpack-template char "m" instead of lib/base64.rb to do base64
          encoding/decoding. fixed: [ruby-dev:25336]

diffstat:

 converters/ruby-iconv/Makefile       |    3 +-
 databases/ruby-dbm/Makefile          |    3 +-
 databases/ruby-gdbm/Makefile         |    3 +-
 devel/ruby-curses/Makefile           |    3 +-
 devel/ruby-curses/distinfo           |    6 +-
 devel/ruby-readline/Makefile         |    5 +-
 devel/ruby-readline/distinfo         |   10 +-
 devel/ruby-readline/patches/patch-aa |    8 +-
 lang/ruby/rubyversion.mk             |    4 +-
 lang/ruby18/Makefile                 |   33 +++---
 lang/ruby18/PLIST                    |  180 ++++++++++++++++++++++++++++++++++-
 lang/ruby18/distinfo                 |   27 ++--
 lang/ruby18/patches/patch-aa         |   61 ++---------
 lang/ruby18/patches/patch-ab         |   61 ++---------
 lang/ruby18/patches/patch-ac         |   13 --
 lang/ruby18/patches/patch-ad         |   22 ----
 lang/ruby18/patches/patch-af         |   28 -----
 lang/ruby18/patches/patch-ag         |   29 -----
 lang/ruby18/patches/patch-ah         |   13 --
 lang/ruby18/patches/patch-ai         |   13 --
 lang/ruby18/patches/patch-aj         |   32 ------
 lang/ruby18/patches/patch-ak         |   39 -------
 lang/ruby18/patches/patch-al         |   36 +++++++
 lang/ruby18/patches/patch-am         |   46 ++++++++
 lang/ruby18/patches/patch-an         |   13 ++
 lang/ruby18/patches/patch-ao         |   13 ++
 lang/ruby18/patches/patch-ap         |   13 ++
 lang/ruby18/patches/patch-aq         |   28 +++++
 lang/ruby18/patches/patch-ar         |   21 ++++
 lang/ruby18/patches/patch-as         |   24 ++++
 lang/ruby18/patches/patch-at         |   12 ++
 security/ruby-digest/Makefile        |    3 +-
 32 files changed, 466 insertions(+), 339 deletions(-)

diffs (truncated from 1277 to 300 lines):

diff -r 6fd235e3b531 -r 7fd247ebe4b1 converters/ruby-iconv/Makefile
--- a/converters/ruby-iconv/Makefile    Sun Jan 23 14:40:12 2005 +0000
+++ b/converters/ruby-iconv/Makefile    Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/11/27 14:21:14 taca Exp $
+# $NetBSD: Makefile,v 1.13 2005/01/23 17:33:19 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
@@ -11,6 +11,7 @@
 COMMENT=       Iconv wrapper class for Ruby
 
 RUBY_VERSION_SUPPORTED=        18
+RUBY_HAS_ARCHLIB=      yes
 USE_BUILDLINK3=                yes
 USE_RUBY_EXTCONF=      yes
 DISTINFO_FILE=         ${RUBY_DISTINFO_FILE}
diff -r 6fd235e3b531 -r 7fd247ebe4b1 databases/ruby-dbm/Makefile
--- a/databases/ruby-dbm/Makefile       Sun Jan 23 14:40:12 2005 +0000
+++ b/databases/ruby-dbm/Makefile       Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/11/29 11:13:40 taca Exp $
+# $NetBSD: Makefile,v 1.3 2005/01/23 17:33:19 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
@@ -10,6 +10,7 @@
 HOMEPAGE=      ${RUBY_HOMEPAGE}
 COMMENT=       Ruby extension to DBM library
 
+RUBY_HAS_ARCHLIB=      yes
 USE_BUILDLINK3=                yes
 USE_RUBY_EXTCONF=      yes
 DISTINFO_FILE=         ${RUBY_DISTINFO_FILE}
diff -r 6fd235e3b531 -r 7fd247ebe4b1 databases/ruby-gdbm/Makefile
--- a/databases/ruby-gdbm/Makefile      Sun Jan 23 14:40:12 2005 +0000
+++ b/databases/ruby-gdbm/Makefile      Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/11/27 14:30:14 taca Exp $
+# $NetBSD: Makefile,v 1.11 2005/01/23 17:33:19 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
@@ -10,6 +10,7 @@
 HOMEPAGE=      ${RUBY_HOMEPAGE}
 COMMENT=       Ruby extension to GDBM library
 
+RUBY_HAS_ARCHLIB=      yes
 USE_BUILDLINK3=                yes
 USE_RUBY_EXTCONF=      yes
 DISTINFO_FILE=         ${RUBY_DISTINFO_FILE}
diff -r 6fd235e3b531 -r 7fd247ebe4b1 devel/ruby-curses/Makefile
--- a/devel/ruby-curses/Makefile        Sun Jan 23 14:40:12 2005 +0000
+++ b/devel/ruby-curses/Makefile        Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/11/30 17:17:34 taca Exp $
+# $NetBSD: Makefile,v 1.3 2005/01/23 17:33:19 taca Exp $
 #
 
 DISTNAME=              ${RUBY_DISTNAME}
@@ -11,6 +11,7 @@
 COMMENT=               Ruby extension to curses library
 
 RUBY_VERSION_SUPPORTED=        18
+RUBY_HAS_ARCHLIB=      yes
 USE_BUILDLINK3=                yes
 USE_RUBY_EXTCONF=      yes
 EXTRACT_ELEMENTS=      ${RUBY_DISTNAME}/ext/curses
diff -r 6fd235e3b531 -r 7fd247ebe4b1 devel/ruby-curses/distinfo
--- a/devel/ruby-curses/distinfo        Sun Jan 23 14:40:12 2005 +0000
+++ b/devel/ruby-curses/distinfo        Sun Jan 23 17:33:19 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/11/27 14:35:15 taca Exp $
+$NetBSD: distinfo,v 1.2 2005/01/23 17:33:19 taca Exp $
 
-SHA1 (ruby/ruby-1.8.1.tar.gz) = 894cb1e7624b74e699d127344ce5600fc3a7d515
-Size (ruby/ruby-1.8.1.tar.gz) = 2671875 bytes
+SHA1 (ruby/ruby-1.8.2.tar.gz) = 409a917d3a0aba41f45bd053b767c85b2bc35ffa
+Size (ruby/ruby-1.8.2.tar.gz) = 3627349 bytes
 SHA1 (patch-aa) = 8c98c46b88e90f70b171d9e909653239ff9fe68e
diff -r 6fd235e3b531 -r 7fd247ebe4b1 devel/ruby-readline/Makefile
--- a/devel/ruby-readline/Makefile      Sun Jan 23 14:40:12 2005 +0000
+++ b/devel/ruby-readline/Makefile      Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/11/27 14:38:46 taca Exp $
+# $NetBSD: Makefile,v 1.14 2005/01/23 17:33:19 taca Exp $
 #
 
 DISTNAME=              ${RUBY_DISTNAME}
@@ -10,8 +10,9 @@
 HOMEPAGE=              ${RUBY_HOMEPAGE}
 COMMENT=               Ruby extension to readline library
 
+USE_BUILDLINK3=                yes
+RUBY_HAS_ARCHLIB=      yes
 USE_GNU_READLINE=      # uses rl_event_hook interface to GNU readline
-USE_BUILDLINK3=                yes
 USE_RUBY_EXTCONF=      yes
 EXTRACT_ELEMENTS=      ${RUBY_DISTNAME}/ext/readline
 WRKSRC=                        ${RUBY_WRKSRC}/ext/readline
diff -r 6fd235e3b531 -r 7fd247ebe4b1 devel/ruby-readline/distinfo
--- a/devel/ruby-readline/distinfo      Sun Jan 23 14:40:12 2005 +0000
+++ b/devel/ruby-readline/distinfo      Sun Jan 23 17:33:19 2005 +0000
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.5 2004/11/27 14:38:46 taca Exp $
+$NetBSD: distinfo,v 1.6 2005/01/23 17:33:19 taca Exp $
 
-SHA1 (ruby/ruby-1.6.8.tar.gz) = 4b475ac1c837cd62b6dfe85359e1502a71b08cd1
-Size (ruby/ruby-1.6.8.tar.gz) = 1023403 bytes
-SHA1 (ruby/ruby-1.8.1.tar.gz) = 894cb1e7624b74e699d127344ce5600fc3a7d515
-Size (ruby/ruby-1.8.1.tar.gz) = 2671875 bytes
-SHA1 (patch-aa) = 804703fc688f419073758b8634b49ace8319d5f4
+SHA1 (ruby/ruby-1.8.2.tar.gz) = 409a917d3a0aba41f45bd053b767c85b2bc35ffa
+Size (ruby/ruby-1.8.2.tar.gz) = 3627349 bytes
+SHA1 (patch-aa) = 0a323bee76d9d312813050e06a2d94242d29274e
diff -r 6fd235e3b531 -r 7fd247ebe4b1 devel/ruby-readline/patches/patch-aa
--- a/devel/ruby-readline/patches/patch-aa      Sun Jan 23 14:40:12 2005 +0000
+++ b/devel/ruby-readline/patches/patch-aa      Sun Jan 23 17:33:19 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 08:18:27 taca Exp $
+$NetBSD: patch-aa,v 1.2 2005/01/23 17:33:19 taca Exp $
 
---- extconf.rb.orig    Fri Jun  2 22:28:04 2000
+--- extconf.rb.orig    2004-07-15 23:11:38.000000000 +0900
 +++ extconf.rb
-@@ -2,8 +2,7 @@
- 
+@@ -5,8 +5,7 @@ dir_config('ncurses')
+ dir_config('termcap')
  dir_config("readline")
  have_library("user32", nil) if /cygwin/ === RUBY_PLATFORM
 -have_library("ncurses", "tgetnum") or
diff -r 6fd235e3b531 -r 7fd247ebe4b1 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Sun Jan 23 14:40:12 2005 +0000
+++ b/lang/ruby/rubyversion.mk  Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.6 2005/01/16 11:48:56 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.7 2005/01/23 17:33:19 taca Exp $
 #
 
 .ifndef _RUBYVERSION_MK
@@ -8,7 +8,7 @@
 
 # current supported Ruby's version
 RUBY16_VERSION?=       1.6.8
-RUBY18_VERSION?=       1.8.1
+RUBY18_VERSION?=       1.8.2
 
 # default Ruby packages
 RUBY_VER_DEFAULT=      18
diff -r 6fd235e3b531 -r 7fd247ebe4b1 lang/ruby18/Makefile
--- a/lang/ruby18/Makefile      Sun Jan 23 14:40:12 2005 +0000
+++ b/lang/ruby18/Makefile      Sun Jan 23 17:33:19 2005 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2004/12/05 17:25:53 taca Exp $
+# $NetBSD: Makefile,v 1.4 2005/01/23 17:33:19 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-${RUBY_VERSION}
-PKGREVISION=   2
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
@@ -19,6 +18,8 @@
 TEST_TARGET=           test
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ENV+=                PREFIX="${PREFIX}"
+INSTALL_TARGET=                install install-doc
+WRKSRC=                        ${RUBY_WRKSRC}
 
 # Ruby build process depends on config.status's content
 CONFIG_STATUS_OVERRIDE=        # empty
@@ -85,20 +86,20 @@
                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}/ext/zlib/MANIFEST
+       ${RM} -f ${WRKSRC}/ext/curses/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/dbm/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/digest/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/digest/md5/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/digest/rmd160/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/digest/sha1/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/digest/sha2/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/iconv/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/openssl/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/readline/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/tcltklib/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/tk/extconf.rb
+       ${RM} -f ${WRKSRC}/ext/zlib/extconf.rb
        ${RM} -f ${WRKSRC}/sample/dbmtest.rb
        ${RM} -rf ${WRKSRC}/sample/openssl
 
diff -r 6fd235e3b531 -r 7fd247ebe4b1 lang/ruby18/PLIST
--- a/lang/ruby18/PLIST Sun Jan 23 14:40:12 2005 +0000
+++ b/lang/ruby18/PLIST Sun Jan 23 17:33:19 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2004/12/04 17:20:46 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2005/01/23 17:33:19 taca Exp $
 bin/erb${RUBY_VER}
 bin/irb${RUBY_VER}
 bin/rdoc${RUBY_VER}
@@ -54,6 +54,51 @@
 ${RUBY_EXAMPLESDIR}/dl/msgbox2.rb
 ${RUBY_EXAMPLESDIR}/dl/stream.rb
 @dirrm ${RUBY_EXAMPLESDIR}/dl
+${RUBY_EXAMPLESDIR}/drb/README.rd
+${RUBY_EXAMPLESDIR}/drb/README.rd.ja
+${RUBY_EXAMPLESDIR}/drb/darray.rb
+${RUBY_EXAMPLESDIR}/drb/darrayc.rb
+${RUBY_EXAMPLESDIR}/drb/dbiff.rb
+${RUBY_EXAMPLESDIR}/drb/dcdbiff.rb
+${RUBY_EXAMPLESDIR}/drb/dchatc.rb
+${RUBY_EXAMPLESDIR}/drb/dchats.rb
+${RUBY_EXAMPLESDIR}/drb/dhasen.rb
+${RUBY_EXAMPLESDIR}/drb/dhasenc.rb
+${RUBY_EXAMPLESDIR}/drb/dlogc.rb
+${RUBY_EXAMPLESDIR}/drb/dlogd.rb
+${RUBY_EXAMPLESDIR}/drb/dqin.rb
+${RUBY_EXAMPLESDIR}/drb/dqlib.rb
+${RUBY_EXAMPLESDIR}/drb/dqout.rb
+${RUBY_EXAMPLESDIR}/drb/dqueue.rb
+${RUBY_EXAMPLESDIR}/drb/drbc.rb
+${RUBY_EXAMPLESDIR}/drb/drbch.rb
+${RUBY_EXAMPLESDIR}/drb/drbm.rb
+${RUBY_EXAMPLESDIR}/drb/drbmc.rb
+${RUBY_EXAMPLESDIR}/drb/drbs-acl.rb
+${RUBY_EXAMPLESDIR}/drb/drbs.rb
+${RUBY_EXAMPLESDIR}/drb/drbssl_c.rb
+${RUBY_EXAMPLESDIR}/drb/drbssl_s.rb
+${RUBY_EXAMPLESDIR}/drb/extserv_test.rb
+${RUBY_EXAMPLESDIR}/drb/gw_ct.rb
+${RUBY_EXAMPLESDIR}/drb/gw_cu.rb
+${RUBY_EXAMPLESDIR}/drb/gw_s.rb
+${RUBY_EXAMPLESDIR}/drb/holderc.rb
+${RUBY_EXAMPLESDIR}/drb/holders.rb
+${RUBY_EXAMPLESDIR}/drb/http0.rb
+${RUBY_EXAMPLESDIR}/drb/http0serv.rb
+${RUBY_EXAMPLESDIR}/drb/name.rb
+${RUBY_EXAMPLESDIR}/drb/namec.rb
+${RUBY_EXAMPLESDIR}/drb/old_tuplespace.rb
+${RUBY_EXAMPLESDIR}/drb/rinda_ts.rb
+${RUBY_EXAMPLESDIR}/drb/rindac.rb
+${RUBY_EXAMPLESDIR}/drb/rindas.rb
+${RUBY_EXAMPLESDIR}/drb/ring_echo.rb
+${RUBY_EXAMPLESDIR}/drb/ring_inspect.rb
+${RUBY_EXAMPLESDIR}/drb/ring_place.rb
+${RUBY_EXAMPLESDIR}/drb/simpletuple.rb
+${RUBY_EXAMPLESDIR}/drb/speedc.rb
+${RUBY_EXAMPLESDIR}/drb/speeds.rb
+@dirrm ${RUBY_EXAMPLESDIR}/drb
 ${RUBY_EXAMPLESDIR}/dualstack-fetch.rb
 ${RUBY_EXAMPLESDIR}/dualstack-httpd.rb
 ${RUBY_EXAMPLESDIR}/eval.rb
@@ -87,6 +132,7 @@
 ${RUBY_EXAMPLESDIR}/occur.rb
 ${RUBY_EXAMPLESDIR}/occur2.rb
 ${RUBY_EXAMPLESDIR}/optparse/opttest.rb
+${RUBY_EXAMPLESDIR}/optparse/subcommand.rb
 @dirrm ${RUBY_EXAMPLESDIR}/optparse
 ${RUBY_EXAMPLESDIR}/philos.rb
 ${RUBY_EXAMPLESDIR}/pi.rb
@@ -98,13 +144,26 @@
 ${RUBY_EXAMPLESDIR}/rcs.dat
 ${RUBY_EXAMPLESDIR}/rcs.rb
 ${RUBY_EXAMPLESDIR}/regx.rb
+${RUBY_EXAMPLESDIR}/rss/blend.rb
+${RUBY_EXAMPLESDIR}/rss/list_description.rb
+${RUBY_EXAMPLESDIR}/rss/rss_recent.rb
+${RUBY_EXAMPLESDIR}/rss/tdiary_plugin/rss-recent.rb
+@dirrm ${RUBY_EXAMPLESDIR}/rss/tdiary_plugin
+@dirrm ${RUBY_EXAMPLESDIR}/rss
 ${RUBY_EXAMPLESDIR}/sieve.rb
+${RUBY_EXAMPLESDIR}/soap/authheader/authmgr.rb
+${RUBY_EXAMPLESDIR}/soap/authheader/client.rb
+${RUBY_EXAMPLESDIR}/soap/authheader/client2.rb
+${RUBY_EXAMPLESDIR}/soap/authheader/server.rb
+${RUBY_EXAMPLESDIR}/soap/authheader/server2.rb
+@dirrm ${RUBY_EXAMPLESDIR}/soap/authheader
 ${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



Home | Main Index | Thread Index | Old Index