Commit graph

45 commits

Author SHA1 Message Date
taca
72e47a4fd9 Bump Ruby 1.8.7's patch level to 160. 2009-04-16 17:10:17 +00:00
taca
dca06ac644 Update ruby18-base to 1.8.7.72 (Ruby 1.8.7-p72).
These packages are implicitly updated with distfile update only.

	databases/ruby-gdbm
	devel/ruby-readline
	lang/ruby
	lang/ruby18

Here's quote from release announce:

	Sorry for a fuss, but it turned out that taintness check of dl in last
	releases I made was incomplete. Here are fixes for that.

And relevant changes:

Mon Aug 11 09:37:17 2008  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* ext/dl/dl.c (rb_str_to_ptr): should propagate taint to dlptr.

	* ext/dl/dl.c (rb_ary_to_ptr): ditto.

	* ext/dl/sym.c (rb_dlsym_call): should check taint of DLPtrData as
	  well.
2008-08-11 06:58:33 +00:00
taca
c24329c455 Start update of Ruby 1.8.7 patchlevel 71. 2008-08-08 12:38:59 +00:00
minskim
a227983f16 Disable pthread on Darwin-9.*-powerpc until Ruby Bug #193 is resolved.
http://redmine.ruby-lang.org/issues/show/193

This may break some ruby modules that require pthread, but it is better
than not having a ruby binary at all.
2008-06-22 04:15:54 +00:00
taca
730341d656 Start updating Ruby 1.8.7 patchlevel 22.
Update RUBY18_PATCHLEVEL to 22.
2008-06-20 15:38:45 +00:00
taca
5e0621752a Start of updating Ruby to 1.8.7.
* Update RUBY18_VERSION to 1.8.7 and RUBY18_PATCHLEVEL to 17.
* Use vendor_ruby instead for site_ruby.
* Introduce macros for relative path and use them instead of old absolete
  path.

	RUBY_LIB		lib/ruby/${RUBY_VER_DIR}
	RUBY_ARCHLIB		${RUBY_LIB}/${RUBY_ARCH}
	RUBY_SITELIB_BASE	lib/ruby/site_ruby
	RUBY_SITELIB		${RUBY_SITELIB_BASE}/${RUBY_VER_DIR}
	RUBY_SITEARCHLIB	${RUBY_SITELIB}/${RUBY_ARCH}
	RUBY_VENDORLIB_BASE	lib/ruby/vendor_ruby
	RUBY_VENDORLIB		${RUBY_VENDORLIB_BASE}/${RUBY_VER_DIR}
	RUBY_VENDORARCHLIB	${RUBY_VENDORLIB}/${RUBY_ARCH}
	RUBY_DOC		share/doc/${RUBY_NAME}
	RUBY_EG			share/examples/${RUBY_NAME}

  Old these macros are removed after 2008Q2 branch.

	RUBY_LIBDIR
	RUBY_ARCHLIBDIR
	RUBY_SITELIBDIR
	RUBY_SITEARCHLIBDIR
	RUBY_VENDORLIBDIR
	RUBY_VENDORARCHLIBDIR
	RUBY_DOCDIR
	RUBY_EXAMPLESDIR

  * update PRINT_PLIST_AWK macro to reality and move some of them from
    ruby/modules.mk to ruby/rubyversion.mk.
2008-06-19 14:30:45 +00:00
jlam
aac24615a7 Substitute for ${RUBY_ARCH} in PLISTs. 2008-03-21 15:07:28 +00:00
taca
31bc2444c6 Update ruby pakcages to 1.8.6.114 (1.8.6-p114).
It main chagnes are security fix of WEBrick library.


Mon Mar  3 23:34:13 2008  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* lib/webrick/httpservlet/filehandler.rb: should normalize path
	  separators in path_info to prevent directory traversal attacks
	  on DOSISH platforms.
	  reported by Digital Security Research Group [DSECRG-08-026].

	* lib/webrick/httpservlet/filehandler.rb: pathnames which have
	  not to be published should be checked case-insensitively.

Mon Dec  3 08:13:52 2007  Kouhei Sutou  <kou@cozmixng.org>

	* test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,
	  test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured
	  declaring XML namespaces.
2008-03-09 13:31:18 +00:00
obache
b1e4ec8ec7 Fix RUBY_DYNAMIC_DIRS to DESTDIR ready.
Now ruby18-base really support DESTDIR.
2008-01-13 09:09:13 +00:00
taca
3557192c6b Start update of Ruby packages to 1.8.6-p111. 2007-10-06 06:12:19 +00:00
taca
ea19802b12 Update Ruby to 1.8.6-p110.
Approved by wiz@.
2007-09-24 21:54:50 +00:00
taca
14bb35ca2f Start to switch ruby 1.8.6.36 (1.8.6 patchlevel 36). 2007-09-09 14:15:27 +00:00
taca
3f6f9e879f Fix a trivial typo which affect nothing now. 2007-05-17 14:42:32 +00:00
taca
0257375859 Updating Ruby to 1.8.6.
- discontinue use of RUBY_PATCH_DATE.
- Introduce RUBY_PATCH_LEVEL.

pkgsrc's ruby tracks Ruby's patch release and avoid to maintain
its own patch files (with RUBY_PATCH_DATE).

Changes are too much, please see ChangeLog file.
2007-03-15 16:41:01 +00:00
taca
922992b327 Fix ruby-build-ri-db option related problem.
- Include options.mk before rubyversion.mk, so PLIST for ri database
  should be created suitably.

- make RUBY_RIDIR and its friends relative path to ${PREFIX}.

- Fix and improve handling of ${RUBY_RIDIR} handling and should
  be fixed remaining ${RUBY_RIDIR} after pkg_delete ruby18-base.
  (Noted by private mail from wiz@.)

Bump PKGREVISION of ruby18-base package.
2007-01-28 15:15:57 +00:00
taca
471d1e53d5 Update RUBY18_PATCH_DATE to 20061205, starting update of Ruby. 2006-12-06 16:19:49 +00:00
taca
c7f47b3e9b - Handle patchlevel which has introduced to Ruby.
- Introduce RUBY_PATCH_DATE and RUBY_VERSION_SUFFIX.
- Change _RUBY_VERS_TEENY to _RUBY_VER_TEENY as other version variable
  like RUBY_VER_MAJOR.
2006-12-06 16:17:17 +00:00
taca
3f34a6eb00 Add include of "converters/libiconv/buildlink3.mk" which I forgot. 2006-10-06 05:05:13 +00:00
taca
82dcb6cdda Oops, enable PTHREAD_AUTO_VARS line which I forgot to enable at previous
commit.
2006-09-14 01:43:26 +00:00
taca
b9db59a5ce - Introduce experimental RUBY_USE_PTHREAD; using pthread could be disabled
setting to "no" in /etc/mk.conf.  (Default is "yes" on most platform.)

- Correct condition of including pthread.buildlink3.mk.

Tested on NetBSD current, SuSE Linux 9.3 and DragonFly BSD 1.6.0.

Thanks for advise from Vincent Hourdin and Joerg Sonnenberger.
2006-09-13 12:56:46 +00:00
taca
ab7da32b54 Make sure to revert pthread handling as before. 2006-09-08 23:32:13 +00:00
taca
07860d6b9d Move back CONFIGURE_ARGS part from rubyversion.mk to Makefile.common. 2006-09-08 02:36:51 +00:00
taca
1cd8b6a744 Update Ruby to 1.8.5 (+ ruby-1-8 branch on 2006-09-07).
pkgsrc changes:

* Add RUBY_DYNAMIC_DIRS which cause generating dynamic PLIST entries.
* Move using buildlinks to rubyversion.mk.
* Merge converters/ruby-iconv to ruby18-base.

Ruby changes:

* too may, see ChangeLog file or
  http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog
2006-09-07 15:40:00 +00:00
taca
8d0a1d0174 Move buildlinks from ruby18-base/Makefile to ruby/rubyversion.mk.
It should help for fixing the build problem of some extention libraries.
2006-09-03 02:53:13 +00:00
taca
7f74be6582 Remove USE_RUBY_DIST_SUBDIR which is unused now. 2006-01-05 07:04:47 +00:00
taca
6b601254d3 Set default ruby's version to 1.8.4. 2006-01-03 14:31:17 +00:00
abs
f2b16de187 fix typo in comment, and rephrase sentance 2005-12-28 09:27:13 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
minskim
54597a140c English grammar fix. 2005-11-10 00:17:36 +00:00
taca
753da64c74 Drop support of ruby16 base packages. 2005-11-03 07:23:41 +00:00
taca
7b6a2b66f5 - Update to RUBY18_VERSION to 1.8.3.
- Replace LOCALBASE with PREFIX.
- Add RUBY_RIDIR, RUBY_BASERIDIR, RUBY_SYSRIDIR and RUBY_SITERIDIR
  for document data directories of RI.
- Add RUBY_VERSION and RUBY_VERSION_DEFAULT to MAKEFLAGS.
- More Ruby related variables to substitution variables.
- Don't set RUBY_VERSION_DEFAULT if it is already defined.
2005-11-02 08:56:17 +00:00
taca
1ea4b5f2cb Don't set to DIST_SUBDIR to ruby here.
o Change DIST_SUBDIR handling; introduce USE_RUBY_DIST_SUBDIR and set
  DIST_SUBDIR if USE_RUBY_DIST_SUBDIR is defined to /[yY][eE][sS]/.
o Add more macros to replace in FILES_SUBST, MESSAGE_SUBST and PLIST_SUBST.
2005-10-16 15:09:01 +00:00
taca
9586475c44 Move default definition of DIST_SUBDIR for Ruby related
from modules.mk to rubyversion.mk.

This should fix devel/ruby-rd-mode package.
2005-09-11 15:54:22 +00:00
jlam
ae96ace9f1 Match the name of the ruby shared library on FreeBSD and DragonFly to
the way that LIBRUBY_SO is defined in the ruby configure script.  This
fixes PLIST breakage in the ruby18-base package on at least FreeBSD.
2005-08-31 08:50:32 +00:00
taca
6cb49eb150 Add RUBY_VER_DIR to PLIST_SUBST. 2005-03-30 16:16:20 +00:00
taca
43c31406a7 Some clean up along with introducing ruby16-base/ruby18-base and make
ruby16/ruby18 package to meta pacakge.

- Define RUBY_BASE to refer ruby16-base or ruby18-base name.
- Define RUBY_SRCDIR to refer ruby16-base/ruby18-base src directory.
- Move some definition from Makefile.comon to rubyversion.mk.
- Add X11BASE to CONFIGURE_ENV.
- Add RUBY_VERSION to MESSAGE_SUBST and PLIST_SUBST.
2005-03-06 16:42:30 +00:00
taca
b7bfa051b1 I've completely forgot that the ruby library directory name on Linux
is still differ with Ruby 1.6.8.  So, tweak it Linux and ruby16 base.
2005-01-28 13:51:24 +00:00
minskim
d5251d86fb The ruby library directory name on Linux has been changed in Ruby
1.8.2 to be consistent with other platforms.  Update RUBY_ARCH to
match the change.  This makes lang/ruby18 build again on Linux.

Approved by MAINTAINER.
2005-01-28 13:30:15 +00:00
taca
e794da07d3 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]
2005-01-23 17:33:19 +00:00
taca
449c9cf5ce Introduce RUBY_HAS_ARCHLIB.
RUBY_HAS_ARCHLIB	This package contains machine dependent binaries.

This macro takes boolean value (yes/no) and if it is yes, the requierd
version of Ruby will change to current pkgsrc's version not minimum
version like 1.6.8 or 1.8.1.  (It would make sence when Ruby package
step to 1.8.2 or lator.)
2005-01-16 11:48:56 +00:00
taca
eedc8c0aaf - Introduce RUBY_DLEXT which is used to replace suffix of Ruby's
extention library.  It will be used for Darwin support.
- Change RUBY_VERSION_LIST from space separated list to comma separated
  list.
2004-12-04 16:05:06 +00:00
taca
2686b6963f Add RUBY_VERSION_LIST, list of supported ${RUBY_VER}. 2004-12-01 15:30:16 +00:00
taca
0767c9ac99 - set RUBY_REQD proper value.
- use RUBY_REQD in buildlink3.mk.

Fix RUBY_REQD undefined in some case.
2004-11-29 07:05:00 +00:00
taca
5a4e71a0ce Add MESSAGE_SUST as PLIST_SUBST here. 2004-11-28 15:38:35 +00:00
taca
893eb044d9 Importing files for Ruby's new framework. 2004-11-27 13:57:20 +00:00