Commit graph

44 commits

Author SHA1 Message Date
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
jlam
4a672d3849 REPLACE_RUBY_DIRS is relative to ${WRKSRC}, so no need to spell it out. 2008-04-14 21:47:35 +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
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
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
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
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
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
joerg
26418b456b When using find to remove directories, do a depth-first traversal.
This is necessary to prevent find from returning with != 0 at least on
DragonFly.
2005-11-08 11:18:02 +00:00
taca
ab4fba48de - Update to Ruby 1.8.3 with several fixes after its release
(see CHANGES.pkgsrc file).
- Merge databases/ruby-dbm, devel/ruby-zlib, security/ruby-digest and
  ruby-openssl, conflicting with these packages.
- Better handling for RI directories.
- Use pkgsrc's TOOLS framework.
2005-11-02 08:56:39 +00:00
taca
7cdd80c6de Use security patch in official Ruby's ftp server instead of adding locally.
This dosen't change anything to installed binaries nor built package.
2005-09-23 12:01:44 +00:00
taca
b2a41fdcae Add a patch for fix the security problem which allows an arbitrary code
to run bypassing the safe level check.

The patch was provided by Yukihiro Matsumoto on ruby-dev mailing list.

Bump PKGREVISION.
2005-09-21 14:03:22 +00:00
taca
d53e470ee6 Adding DrafonFly BSD support based on patch provided by Joerg Sonnenberger.
Bump PKGREVISION.
2005-09-18 13:38:50 +00:00
taca
a3ba846b81 Add fix for xmlrpc library security problem noted as
http://secunia.com/advisories/15767/.

Bump PKGREVISION.
2005-06-23 16:54:47 +00:00
jschauma
ca365f2880 PLIST fixes for IRIX.
ok @taca
2005-05-31 02:19:48 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
taca
46803f985a Add missing ri ralated data files. Noted by Min Sik Kim <minskim>.
Bump PKGREVISION.
2005-03-31 16:31:10 +00:00
minskim
72e2c1e12b Fix a typo. 2005-03-10 06:00:05 +00:00
taca
98d835e4c9 Importing ruby18-base package.
This is minimum ruby 1.8.2 based on current ruby18 and ruby18 package
will be meta pacakge later.
2005-03-06 16:36:56 +00:00