Commit graph

83 commits

Author SHA1 Message Date
taca
5cc1fd3c65 Update ruby18-base package to 1.8.7.330.
Release announce:
	http://www.ruby-lang.org/en/news/2010/12/25/ruby-1-8-7-p330-released/

Quote from the announce:

* Here you are an annual release of 1.8.7 updates.
* No license change from previos 1.8.7 release.

Full Changes:
	http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_330/ChangeLog
2010-12-26 12:31:20 +00:00
taca
fb8db9f667 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
taca
6a15ee56b6 Update ruby18-base to 1.8.7.302 (Ruby 1.8.7 patchlevel 302).
Since many changes from previous release, please refer
http://www.ruby-lang.org/en/news/2010/08/16/ruby-1-8-7-p302-is-released/.

Note: Since all security updates are already in previous package,
This update dosen't include any securify fix.
2010-09-10 03:29:00 +00:00
taca
7755c2f37a Explicitly set environment INSTALL, and reset INSTALL_DATA,
INSTALL_PROGRAM and INSTALL_SCRIPT.

They reflect to Ruby's Config::CONFIG constant which contains
various configuration parametes which would be used when installing
extention modules including ruby gems.

Setting INSTALL explicitly reset the line in mk/configure/gnu-configure.mk.

CONFIGURE_ENV+= ac_given_INSTALL=${INSTALL:Q}\ -c\ -o\ ${BINOWN}\ -g\ ${BINGRP}

Should be fix PR pkg/43684 and pkg/43687.

Bump PKGREVISION.
2010-08-31 16:28:13 +00:00
taca
514f826612 Add a patch to fix for possible cross-site scripting (CVE-2010-0541)
from r29002 in Ruby's repository.  (Sadly, Ruby 1.8.7 pl301 missed
this change...)

Bump PKGREVISION.
2010-08-16 07:08:12 +00:00
taca
e975e69b79 Accepd db5 for library of ext/dbm. (Not tested well.)
Bump PKGREVISION.
2010-06-02 13:27:57 +00:00
taca
0fc0aaa971 Fix a small problem by precious webrick security fix from Ruby's
repositry (r26281).

Also use COMPILER_RPATH_FLAG in Makefile.

Bump PKGREVISION.
2010-01-14 15:07:28 +00:00
taca
061f9e1e21 Add patches for security problem of webrick.
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection/

Bump PKGREVISION.
2010-01-10 15:33:28 +00:00
taca
4acc4a72fd Commit a change which I forgot to commit.
Add readline option to PKG_OPTIONS.ruby.  This is no-op here.
No functional change.
2009-09-22 13:32:35 +00:00
taca
defb1b575a * Make Ruby's OpenSSL library compatible with OpenSSL 1.0.0 and later,
focusing to PR pkg/41829.
* Add comments to patches.

Bump PKGREVISION.
2009-08-11 14:26:58 +00:00
hasso
238ee0dfd2 Make ucontext(3) to apply to all DragonFly versions, it's too slow - a
simple sample with two threads is 2 times faster without ucontext(3).

Bump PKGREVISION.
2009-08-04 19:47:16 +00:00
taca
48dc2324b8 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
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
taca
943110b30c Update ruby18-base package to 1.8.7.173 (Ruby 1.8.7-p173).
Mon Jun  8 10:58:41 2009  NAKAMURA Usaku  <usa@ruby-lang.org>

	* eval.c (rb_thread_schedule): mswin32 doesn't have F_GETFD, so check
	  with another method.

Mon Jun  8 08:15:36 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoid
	  segmentation fault caused by (insanely) long decimal values.
	  backported from 1.9. CVE-2009-1904

	* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i,
	  BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split,
	  BigDecimal_inspect): ditto.

Mon Jun  8 08:15:36 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): returns Inf if
	  exp is bigger than DBL_MANT_DIG.

Wed Jun  3 21:16:30 2009  Tanaka Akira  <akr@fsij.org>

	* file.c: include fcntl.h for O_RDONLY on Solaris.

Wed Jun  3 21:09:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* util.c (rv_strdup): macro to duplicate nul-terminated string.
	  [ruby-core:22852]

	* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
	  overrun.  a patch from Charlie Savage at [ruby-core:22604].

Wed Jun  3 21:09:56 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
	  overrun.  a patch from Charlie Savage at [ruby-core:22604].

Wed Jun  3 21:05:44 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (gfDebug): uncommented out.
	  [ruby-core:22600]

Wed Jun  3 20:54:23 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (rb_eval): needs to guard intermediate string objects.
	  based on a patch from Brent Roman <brent AT mbari.org> a
	  [ruby-core:22584].

Tue May 26 21:24:01 2009  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* Makefile.in (update-rubyspec, test-rubyspec): Catch up to
	  rubyspec merge.  A patch by Brian Ford at [ruby-core:21032]

Tue May 26 21:21:49 2009  Akinori MUSHA  <knu@iDaemons.org>

	* lib/soap/mimemessage.rb (MIMEMessage#to_s): Fix a fatal
	  method name typo. [Bug #1173]

Tue May 26 21:16:55 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (rb_file_s_extname): fix for spaces before extention.
	  [ruby-dev:38044]

Tue May 26 21:09:21 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (_CrtDbgReportW): prevent from false positive
	  assertions in msvcrtd.  [ruby-core:22116]

Tue May 26 21:02:13 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.
	  [ruby-talk:328195], [ruby-core:22142]

Tue May 26 21:00:08 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.
	  Patch by Kornelius Kalnbach.  [ruby-core:20992].

	* test/ostruct/test_ostruct.rb: test for inspect.
	  Patch by Kornelius Kalnbach.  [ruby-core:20992].

Tue May 26 20:50:32 2009  Tanaka Akira  <akr@fsij.org>

	* eval.c (rb_thread_schedule): handle EBADF of select as well.
	  [ruby-core:21264]
2009-06-10 12:46:47 +00:00
taca
3f0fa8b029 Apply a patch to fix compile error on Solaris 10. The patch was supplied
by KAWAKUBO Hiroshi via PR pkg/41386.
2009-05-09 05:32:39 +00:00
taca
b59a2f2273 Update ruby18-base-1.8.7.160 (1.8.7-p160).
This release is counterpart of 1.8.6-p368, so many bugs are fixed
since the latest 1.8.7.  Check the ChangeLog for more details.

Especialy, including workarounds for CVE-2007-1558 and CVE-2008-1447.
2009-04-16 17:11:12 +00:00
taca
efab9dab3d Apply patch from Ruby's repository, revision 22440.
It fixes OCPS(Online Certificate Status Protocol) verify method wasn't always
return false when verify was failed in OpenSSL's correspondence library.
(It might be possible security risk for using OCPS.

Fix small PLIST improvement, too.

Bump PKGREVISION.
2009-02-20 12:32:26 +00:00
taca
6484d9a533 Move ri data generation from install phase to build phase.
No other functional change.
2009-01-31 16:07:23 +00:00
taca
bdeb2e1f38 Fix interpreter for h2rb script.
Bump PKGREVISION.
2008-09-15 03:30:22 +00:00
taca
214e38e041 Add fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3790
(http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/)
from ruby_1_8 branch.

Bump PKGREVISION.
2008-09-14 05:17:18 +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
63f6f35e30 Update ruby18-base to 1.8.7.71.
pkgsrc change:

	Apply fix for sunpro compilre, provided by PR pkg/37771 from
	Naoto Morishima.


This release includes fix for multiple vulnerabilities.

http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/

	* Several vulnerabilities in safe level
	* DoS vulnerability in WEBrick
	* Lack of taintness check in dl
	* DNS spoofing vulnerability in resolv.rb

Full changes are too many, please refer ChangeLog file.
2008-08-08 12:42:44 +00:00
tonnerre
04062c9538 Add a patch to fix the integer overflow in rb_ary_fill() in Ruby 1.8
which can be exploited to cause a denial of service through memory
exhaustion. (SN-2008-02)
2008-07-03 21:06:10 +00:00
taca
db92227427 Oops, wrong distinfo file. 2008-06-20 17:26:31 +00:00
taca
91b4bc2c48 Update Ruby 1.8.7 patchlevel 22.
This is security fix:

http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities


Fri Jun 20 18:25:18 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_buf_append): should infect.

Fri Jun 20 16:33:09 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
	  behavior at integer overflow.

	* string.c (str_buf_cat): ditto.

Wed Jun 18 22:24:46 2008  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* array.c (ary_new, rb_ary_initialize, rb_ary_store,
	  rb_ary_aplice, rb_ary_times): integer overflows should be
	  checked. based on patches from Drew Yao <ayao at apple.com>
	  fixed CVE-2008-2726

	* string.c (rb_str_buf_append): fixed unsafe use of alloca,
	  which led memory corruption. based on a patch from Drew Yao
	  <ayao at apple.com> fixed CVE-2008-2726

	* sprintf.c (rb_str_format): backported from trunk.

	* intern.h: ditto.

Tue Jun 17 15:09:46 2008  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (file_expand_path): no need to expand root path which has no
	  short file name.  [ruby-dev:35095]

Sun Jun 15 19:27:40 2008  Akinori MUSHA  <knu@iDaemons.org>

	* configure.in: Fix $LOAD_PATH.  Properly expand vendor_ruby
	  directories; submitted by Takahiro Kambe <taca at
	  back-street.net> in [ruby-dev:35099].
2008-06-20 15:39:29 +00:00
obache
ccad8b8288 Fix DESTDIR installation. 2008-06-19 22:19:37 +00:00
taca
99ead5fb9d Update ruby18-base package to 1.8.7.
Since chanes are too much to write here, please refer

	http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/NEWS
	http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7/ChangeLog

	http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/NEWS
	http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_17/ChangeLog
2008-06-19 14:35:37 +00:00
taca
31997ec934 Fix build problem with recent NetBSD current with post version
of OpenSSL 0.9.8g.

Since this is fix for build problem only, I don't bump PKGREVISION.
2008-05-14 10:08:59 +00:00
jlam
4a672d3849 REPLACE_RUBY_DIRS is relative to ${WRKSRC}, so no need to spell it out. 2008-04-14 21:47:35 +00:00
tnn
c19497e84f Fix PLIST_VARS fallout. 2008-04-14 08:25:31 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
jlam
d5cd92eaec Add a new file that is installed in ruby-1.8.6.114 that wasn't in the
previous release in pkgsrc.
2008-03-10 02:50:38 +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
taca
e09896db61 Unlimit data size when ruby-build-ri-db option is enabled,
hoping to solve bulk build problem.
2008-02-19 03:56:08 +00:00
ghen
d8def81b0e Full DESTDIR support. 2008-01-04 15:42:34 +00:00
grant
6979db74bb fix build on Solaris w/ sunpro:
- don't call the linker directly to build shared libraries,
  use ${CC} -G
- link libsunmath statically, as it is provided by SUNWspro and
  therefore not available on systems where the compiler is not
  installed.
2007-11-05 01:09:23 +00:00
taca
b169ce3248 Trying to build problem ext/dbm extention on some platforms.
Detect db3 and db4 like db2 for dbm library.
2007-10-28 02:33:24 +00:00
taca
971837995f Update Ruby packages to 1.8.6-p111.
Basically, no change since previous update except Net::HTTP default
@enable_post_connection_check was wrongly set to true.  (It might
cause compatibility problem.)
2007-10-06 06:12:35 +00:00
taca
a59a83ecd3 Try to fix build problem on DraonFly BSD.
(I tested on old DragonFly 1.7.0-DEVELOPMENT.)
2007-10-02 15:59:23 +00:00
taca
d1304e0e90 Add patches against Ruby 1.8.6-p111. Since 1.8.6-p111 dosen't
officially released (SVN's tag only), I decide to keep pkgsrc's Ruby's
version.

This isn't leaf package but fixes security problem reported by
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt.

Bump PKGREVISION.
2007-09-30 04:08:15 +00:00
taca
2b9b7665d2 Update Ruby to 1.8.6-p110.
Approved by wiz@.

This is bug fix release of Ruby 1.8.6.  Especially it fixes thread/eval
function problem on Mac OS X.  It also contains an openssl extention's
portablity problem which was bad patch by pkgsrc.

For more detail, please refer CHANGES file.
2007-09-24 21:58:27 +00:00
taca
9440031161 Update ruby18-base to 1.8.6.36 (Ruby 1.8.6 patchlevel 36).
Ruby 1.8.6 patchlevel 36 is maintainous release of Ruby.

Changes are too many, please see ChangeLog:

    http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_36/ChangeLog
2007-09-09 14:17:13 +00:00
dmcmahill
48efc9cde7 Only add -lsunmath on SunOS if we're using the sunpro compiler. Otherwise
we don't have it and a replacement for isinf() (the function that sunmath
was used for) is compiled in.
2007-06-28 01:31:52 +00:00
joerg
914625b099 DragonFly 1.8.0 has a broken getucontext, so forcefully disable it. 2007-06-10 04:30:29 +00:00
rillig
477c56693f On Solaris 10, isinf() lives in libsunmath. 2007-05-30 22:01:54 +00:00
taca
ad3470a651 Fix INSTALL script to check proper directory; not RUBY_SYSRIDIR but
RUBY_SITERIDIR.

It fixes install error of textproc/ruby-redcloth when ruby18-base didn't
biild with ruby-build-ri-db option.

Noted by obache@ via private mail and approved by wiz@.

Bump PKGREVISION.
2007-04-06 14:47:51 +00:00
taca
2df3304ef1 Updating Ruby to 1.8.6; ruby18-base
- 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:29 +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
minskim
e0977a680b Both db.h and ndbm.1 must be included to use DBM. Use both headers
in extconf.rb to check the availability of DBM.  This makes the package
build on Darwin.
2007-01-19 19:50:46 +00:00