Commit graph

65 commits

Author SHA1 Message Date
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
taca
3888f86a25 o Update ruby18-base pacakge to Ruby 1.8 branch 2006/12/05.
- Many changes from 2006/9/6; see Changes file, please.
	- Fixes another cgi.rb vulnerability:
		http://jvn.jp/jp/JVN%2384798830/index.html

o Introduce ruby-build-ri-db PKG_OPTION which enable installing database
  for Ruby's ri utility.  Default is disabled and should be fix
  PR pkg/34587.
2006-12-06 16:24:27 +00:00
taca
1a6efd4a5b Add patch to cgi.rb for fixing security problem (CVE-2006-5467).
Bump PKGREVISION.
2006-11-03 05:36:23 +00:00
taca
984b7edbe0 Adding some fixes:
(1) Don't use make's varibalbe in DESCR; fixes PR pkg/34920.
    (2) Use --enable-wide-getaddrinfo on not only Linux but Solaris.
    (3) Make sure to link libruby.so with proper -R linker option.

Thanks for Dan McMahill who reported and suggested fix to (2) and (3)
with private mail.  And thanks for Takayoshi Kochi who reports PR pkg/34920.

Bump PKGREVISION.
2006-10-29 02:45:42 +00:00
taca
a189a7dd31 Bump PKGREVISION refrect pthread related fixes. 2006-09-13 12:57:44 +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
a70cbf9405 Add three patches accidently left on my work area.
- Add two miscellaneous patches for openssl and yaml libraries.
  They were left from last year, sigh.
- Add one more part for CVE-2006-3694.

Bump PKGREVISION.
2006-08-02 07:02:44 +00:00
taca
350025bb9d - Fix PLIST problem; a extra entry.
- Reduce warning of optparse.rb when generating ri(1) database.

Bump PKGREVISION.
2006-07-31 11:29:01 +00:00
taca
5dd5c0f3b6 - Security fix for CVE-2006-3694 (JVN#13947696 and JVN#83768862).
- Import yaml problem and fix document generation for ri(1).
- minor clean up to pkgsrc.

Bump PKGREVISION.
2006-07-30 23:12:49 +00:00
taca
44e2139ad5 - Fix rpath problem with SunPro Compiler on Solaris. No other platform
should not be affected by this change.
- Some white space clean up.

Bump PKGREVISION.
2006-03-22 23:05:39 +00:00
taca
e608d8bba1 Add (trial) workaround for getaddrinfo() on Linux. 2006-03-15 08:18:45 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
taca
1d7a540d01 Update ruby18-base package to Ruby 1.8.4.
Ruby 1.8.4 are maintainous release of Ruby programming language.
Changes are too huge to list here, please see http://www.ruby-lang.org/.

And this package contains some bug fixes after release of 1.8.4.

Tue Dec 27 08:29:18 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>

	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_chech):
	  treat wildcard character in commonName. [ruby-dev:28121]

Mon Dec 26 22:32:47 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS,
	  NEW_VALIAS), parse.y (fitem): allow dynamic symbols to
	  NODE_UNDEF and NODE_ALIAS.
	  backported from trunk.  fixed: [ruby-dev:28105]

Mon Dec 26 08:50:36 2005  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* eval.c (ev_const_get): fixed a bug in constant reference during
	  instance_eval.  [yarv-dev:707]

	* eval.c (ev_const_defined): ditto.

	* lib/yaml.rb (YAML::add_domain_type): typo fixed.  a patch from
	  Joel VanderWerf <vjoel at path.berkeley.edu>.
	  [ruby-talk:165285] [ruby-core:6995]
2006-01-03 14:37:24 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
taca
7a8b802f07 Better handling for using ndbm(3) or compatible version by Berkeley DB.
For possibility of changing dependency, bump PKGREVISION.
2005-12-27 11:45:12 +00:00
rillig
039c944473 Bumped the PKGREVISION of the packages that have been broken by the recent
"pkglint --autofix" change.
2005-12-08 09:52:15 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +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