Commit graph

66 commits

Author SHA1 Message Date
joerg
e0a0f49956 Fix typo. 2011-12-24 23:14:15 +00:00
taca
996bc4e982 * Remove backward compatibility handling for RUBY_VER; pkglint dosen't like it.
* Add one more PRINT_PLIST_AWK for GEM_HOME.
2011-12-24 03:30:10 +00:00
taca
1aca981bbb * Improve make macro's documentation.
* Use 18, 19 instead of 1.9, 2.0 for RUBY_VERSION_DEFAULT.
* Add 193 for Ruby 1.9.3, too.
* If RUBY_VERSION_SUPPORTED contains single version of Ruby, make package
  force depends to the version.
* Move RUBY_SITE_SUBDIR to Makefile.common.
* Change RUBY_VERSION_SUFFIX to RUBY_VERSION_FULL.
* Remove small code for NetBSD 1.x.
* Change RUBY_DLEXT and RUBY_SLEXT by ${_OPSYS_SHLIB_TYPE} instead of
  ${OPSYS}'s value.
2011-11-08 15:18:31 +00:00
taca
f39f28c2e2 A trivial change to remove ruby18'ism. 2011-10-25 06:01:09 +00:00
taca
7b83b9af09 Switch default Ruby's version to 1.9.x, currently 1.9.2. 2011-09-14 16:50:18 +00:00
taca
a2fda01bc9 Start of updating ruby18 to ruby18-1.8.7.352 (Ruby 1.8.7 patchlevel 352)
and ruby19 to ruby19-1.9.2pl290 (Ruby 1.9.2 patchlevel 290).
2011-08-12 15:27:44 +00:00
wiz
258be22740 Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.

From Aleksey Cheusov in PR 44695.
2011-03-12 14:07:13 +00:00
taca
7d3c1050fb Introduce RUBY_ABI_VERSION and use it BUILDLINK_ABI_DEPENDS.
There are ABI incompatibility amaong Ruby 1.8.7 patchlevel 302, 330 and 334,
So it would be handle if such problem in future.
2011-02-21 15:00:34 +00:00
taca
4f7294c048 * Start upate of ruby18 and ruby19 packags.
* Remove redundant GEM_HOME definition from PLIST.
2011-02-21 14:31:06 +00:00
obache
36ca8d1a25 fixes shlib alias name for Solaris. PR#44480.
RUBY_API_TEENY must be used instead of _RUBY_VER_TEENY for shlib name.
2011-02-02 08:47:01 +00:00
taca
faee67fca3 Apply patch provided by obache@, fixing build problem on Solaris.
Should be fix PR pkg/44480.
2011-02-01 22:32:37 +00:00
taca
493ed963b9 Start update of ruby18-base and ruby19-base packages:
RUBY18_PATCHLEVEL	pl330
	RUBY19_PATCHLEVEL	pl136
2010-12-26 12:29:07 +00:00
taca
7e269e2891 Fix build problem on Linux, fix part of PR pkg/44174. 2010-12-01 13:51:45 +00:00
taca
a95ad12133 Some improvements for rubyversion.mk:
- Set RUBY_API_VERSION after RUBY_VERSION has decided.
- Change old RUBY_DOCDIR and RUBY_EXAMPLESDIR to RUBY_DOC and RUBY_EG in
  comment.
- Fix shared libraries PLIST to support Mac OS X with introducing RUBY_SLEXT:
	Shared library => .dylib
	Extension library => .bundle
- Improve PRINT_PLIST_AWK to handle new shared libraries.

No functional change shoud be done and fix PR pkg/44050.
2010-11-17 14:27:09 +00:00
joerg
5a1c12fab9 Add the necessary glue to hook Ruby into the multi-version framework.
This allows lang/ruby18 and lang/ruby19 to coexist in bulk builds.

Discussed with taca@
2010-09-28 20:24:25 +00:00
taca
d43a87ae38 Fix version description in comments.
Noted by wiz@ by private mail.
2010-09-24 07:44:29 +00:00
taca
859cc3166a Now enable ruby19! 2010-09-12 03:53:00 +00:00
taca
92ec5840b7 * Add support for Ruby 1.9.x and update 1.8.7.302 (1.8.7 patchlevel 302).
Ruby's patchlevel N reflect as "plN" instead of ".N" from Ruby 1.9.

	ruby18-base-1.8.7.302
	ruby19-base-1.9.2pl0

  Still Ruby 1.9.2pl0 support is disabled.

* Introduce RUBY_API_VERSION.

* RUBY_BUILD_RDOC and RUBY_BUILD_RI controls build of rdoc/ri.  But,
  currently ruby18-base and ruby19-base according to PKG_OPTION.

* Define rubygem supporting macros.

* RUBY_HAS_ARCHLIB is deprecated.

* Many directory macros are changed to relative path against PREFIX and
  some of them are their name.
2010-09-10 03:19:54 +00:00
taca
2ae13fe193 Update Ruby packages to 1.8.7.174 (1.8.7-p174).
* Fix critical problem of BigDecimal class in 1.8.7-p173.


Fri Jun 12 16:36:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (VpToString): fixed a bug introduced
	  in r23613.  [ruby-talk:338957]
2009-06-16 15:08:38 +00:00
joerg
9bb0d96ea9 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
taca
9d24db46aa Start update of Ruby programming language packages to 1.8.7.173 (1.8.7-p173).
- Add LICENSE.
- Update RUBY18_PATCHLEVEL to 173.
2009-06-10 12:45:34 +00:00
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