Commit graph

26 commits

Author SHA1 Message Date
fhajny
8b43938fcb Fix build on SunOS as per
http://bugs.ruby-lang.org/projects/ruby-193/repository/revisions/37653
2012-11-26 12:37:52 +00:00
taca
c64e0e6f6e Update ruby193-base (and releated packages) to 1.9.3p327 (Ruby 1.9.3
patchlevel 327) to fix DoS security problem.

http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371/

For other changes please refer Changelog file.
2012-11-10 14:34:27 +00:00
taca
99ac9e23e5 Update ruby193-base to 1.9.3p286.
Ruby 1.9.3-p286 is released.

This release includes some security fixes, and other many bug fixes.

* $SAFE escaping vulnerability about Exception#to_s / NameError#to_s
  (CVE-2012-4464, CVE-2012-4466)
* Unintentional file creation caused by inserting a illegal NUL character
* other many bug fixes.

See ticktes and ChangeLog for details.

Changelog: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_286/ChangeLog
tickets: https://bugs.ruby-lang.org/projects/ruby-193/issues?set_filter=1&status_id=5
2012-10-12 14:51:31 +00:00
taca
139cbc36aa Add short note to patches/patch-error.c about CVE-2012-4464 and CVE-2012-4466. 2012-10-06 16:27:53 +00:00
taca
858b43746c Add a patch to fix CVE-2011-1005 security problem which found out that
it affected Ruby 1.9.x, too.

Now it assigned CVE-2012-4464 and CVE-2012-4466.

Bump PKGREVISION.
2012-10-06 16:20:35 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
obache
8bdee5e22f *** empty log message *** 2012-09-22 11:43:27 +00:00
dholland
66d3459f57 Not MAKE_JOBS_SAFE. See <20120510212103.GD7427@netbsd.org> in
pkgsrc-changes from early May 2012; I just got the same failure again.
2012-09-04 02:02:48 +00:00
bsiegert
a0846b2089 MirBSD support.
This adds shlib version handling to rubyversion.mk, a fix to configure
(include <sys/time.h> when checking for struct timespec) and a workaround
for broken code if getgrnam_r is available.
2012-07-25 14:26:57 +00:00
tsutsui
7549b28b59 Add workaround for build failure on NetBSD/sparc64 6.0_BETA2:
> ruby193 binary built on NetBSD/sparc64 with gcc 4.5.1 and the default -O2
> dumps core during generating RDocs.
> Using -O1 works around.
ruby193 binary with this hacks.mk is confirmed by running net/mikutter
on Ultra5.
2012-07-14 03:35:48 +00:00
taca
6e6a394ae1 * Don't use --enable-wide-getaddrinfo on SunOS.
* Add a patch from Ruby's repository, r35698; make sure to keep space
  between "-o" and output filename.

Bump PKGREVISION.
2012-06-02 02:23:33 +00:00
taca
b2eb2f997b s/RUBY19_BASE_HACKS_MK/RUBY193_BASE_HACKS_MK/.
No functional change.
2012-06-02 02:14:39 +00:00
hans
73355a82c9 Prevent configure from using some random pkg-config tool found on the
system. Fixes build on SunOS 5.10.
2012-05-08 16:08:53 +00:00
obache
78f9dca901 pax target directories must be prepared. 2012-05-04 01:23:37 +00:00
taca
502a123149 Update ruby193 packages to 1.9.3p194.
Security fix with updating bundled RubyGems to 1.8.23 and several bug fixes.
Please refer ChangeLog in detail:
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_194/ChangeLog
2012-04-22 08:17:16 +00:00
tsutsui
440e1953e0 Add a workaround hack for gcc failure on NetBSD/sh3el 6.0_BETA. 2012-04-10 14:12:50 +00:00
taca
2407cee3ae Overhaul buildlink3 processing of Ruby.
* Don't buildlink in ruby/rubyversion.mk any more but define
  RUBY_USE_PTHREAD (use of pthread).
* In ruby/buildlink3.mk, buildlink via mk/pthread.buildlink3.mk as to
  RUBY_USE_PTHREAD.
* Also the same logic in ruby/Makefile.common.
* Buildlink of bdb, libiconv, zlib, openssl in each ruby*-base/Makefile.
2012-03-21 15:40:12 +00:00
fhajny
3f7177b668 Prevent objcopy to be used on SunOS, otherwise Ruby segfaults. 2012-03-12 12:30:28 +00:00
taca
ae83f0f586 Backout previous change. 2012-02-18 06:46:54 +00:00
taca
19384f1bb5 Bump PKGREVISION from libyaml-0.1.4 ABI change (shlib major bump). 2012-02-18 06:24:21 +00:00
taca
65139fd88b * Add a patch whihc I forgot to commit at previous commit.
This patch should be verified on none-BSD platform.
* Distribution file of Ruby 1.9.3 patchlevel 125 was update with the
  same file name.

	Packages are repacked to fix [Bug #6040].
	See http://www.ruby-lang.org/en/news/2012/02/16/ruby-1-9-3-p125-is-released/

  These files are changed:
	enc/trans/big5.c
	insns_info.inc
2012-02-18 05:03:34 +00:00
taca
6f85b19f05 Update ruby193-base package to 1.9.3p125 (Ruby 1.9.3 patchlevel 125).
Implictly update lang/ruby193 and devel/ruby-mode (nothing change).

== Fixes

* Fix for Ruby OpenSSL module: Allow "0/n splitting" as a prevention
  for the TLS BEAST attack
* Fixed: LLVM/clang support [Bug #5076]
* Fixed: GCC 4.7 support [Bug #5851]
* other bug fixes

For more detail, please refer:
	http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_125/ChangeLog
2012-02-16 16:43:38 +00:00
joerg
97c78be84e Fix mdoc markup. Bump revision. 2012-01-24 20:41:51 +00:00
taca
d244ed1d1f * Add ${RUBY_VER} under ${GEM_HOME}/gems/*/bin comamnds to avoid
conflict with outside gem.
* Fix shared library's name on FreeBSD (tested with 8.2-STABLE).

Bump PKGREVISION.
2011-12-04 02:31:54 +00:00
taca
e47e9eac6a Clean up DEINSTALL/INSTALL scripts.
* Remove setting PREFIX.
* Remove executing exit on last line.

Bump PKGREVISION.
2011-11-13 15:44:58 +00:00
taca
2e1860a66f 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
2011-11-08 16:10:51 +00:00