Commit graph

115 commits

Author SHA1 Message Date
Ade Lovett
f8586fdd2c Purge the last vestiges of the (really) old autotools world order.
Since all these items were commented out, this is a null-op commit.

Approved by:	portmgr (implicit)
2006-02-26 02:28:44 +00:00
Pav Lucistnik
b7e9c3378d - No latest link, to prevent clash with lang/ruby18
Reported by:	kris
2006-01-15 08:37:30 +00:00
Mark Linimon
34da9bdf57 With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
2005-11-11 01:18:01 +00:00
Sergey Matveychuk
614c684ada bsd.ruby.mk:
- Change LOCALBASE with _RUBY_BASE
- Set _RUBY_BASE=PREFIX if defined _RUBY_PORT_TEST
  _RUBY_BASE=LOCALBASE otherwise for easy ports testing.

lang/ruby18:
- Update to 1.8.3

Grant maintainership to submitter.

While I'm here:
- Add _RUBY_PORT_TEST=yes to lang/ruby16 port too.
  (lang/ruby1[68] must set it for right install).

PR:		ports/87332
Submitted by:	Alexander Novitsky
2005-11-09 08:54:12 +00:00
Sergey Matveychuk
705fca86db - Fix a ruby vulnerabuility in the safe level settings.
Based on:	ports/87816
Submitted by:	Phil Oleson <oz@nixil.net>

Security:	http://vuxml.FreeBSD.org/1daea60a-4719-11da-b5c6-0004614cc33d.html
2005-10-27 19:40:25 +00:00
Akinori MUSHA
870baf2a9a The slippery pthread support for systems prior to 502102 has been
dropped and the lang/ruby16_r and lang/ruby18_r ports have been
removed, since no one seems to appreciate the partially working
solution.

Good news is that the pthread support of lang/ruby18 is now enabled by
default for newer systems, which means the ruby interpreter is linked
with libpthread.  This will allow threaded extension libraries to run
and work properly on those systems.

The --march=cputype flag is disabled because it gets ruby to
malfunction and fail to build.  I don't know if the problem is in
libpthread or in gcc.

(It really makes me wonder if they had actually tested before asking
me to do this somewhat risky change ;-)
2005-02-05 04:59:26 +00:00
Simon L. B. Nielsen
23003b8825 Fix DoS in the Ruby CGI module.
Obtained from:	ruby CVS
Reviewed by:	trhodes
OK'ed by:	maintainer silence
With hat:	secteam
2004-11-25 15:25:33 +00:00
Akinori MUSHA
e522bb3fe0 Update lang/ruby16 to the latest snapshot as of 2004-07-28, fixing
cgi/session's insecure permissions problem.
2004-08-17 07:10:44 +00:00
Akinori MUSHA
7be480ee5d Change the default version of ruby to 1.8 for i386 as well, finally.
Always put a version suffix to the ruby name (no matter if ruby is the
default version) to avoid mess in future.

[Notes for i386 users]

If you are a ruby developer and still want to stick with ruby 1.6 as
default, please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.

If you are a ruby developer and want to keep ruby 1.6 as default,
please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.  Otherwise, please
run the following series of commands to migrate to ruby 1.8:

  1) Reinstall portupgrade manually (and ruby 1.8 will be installed)
	pkg_delete portupgrade-\*
        (cd /usr/ports/sysutils/portupgrade; make install clean)

  2) Reinstall everything that depends on ruby 1.6 (to use ruby 1.8)
	portupgrade -fr lang/ruby16

  3) Reinstall ruby 1.8 (because the previous step kills symlinks)
	portupgrade -f lang/ruby18

  4) Deinstall ruby 1.6 stuff (if you are paranoia)
        pkg_deinstall -ri lang/ruby16
2004-02-26 19:20:09 +00:00
Akinori MUSHA
40e9f7052c Update lang/ruby, lang/ruby-devel and lang/ruby16-shim-ruby18 to the
latest snapshots as of 2003-04-19.

ruby-bigdecimal (formerly known as ruby-bigfloat) and ruby-zlib are
now part of ruby 1.8.
2003-04-19 15:57:37 +00:00
Akinori MUSHA
ddc24aebc2 Install a cookie file per variant in RUBY_ELISPDIR.
Reported by:	kris
2003-04-05 11:37:55 +00:00
Akinori MUSHA
54af146904 Touch configure in the pre-configure stage lest the timestamp of
configure.in be ahead of that of configure and autoconf thus be
demanded.

Submitted:	kris, bento
2003-02-18 11:24:59 +00:00
Akinori MUSHA
3594eaa303 De-pkg-comment. 2003-02-18 05:42:05 +00:00
Akinori MUSHA
e830864950 Use devel/oniguruma to build ruby with oniguruma. 2003-02-04 13:13:05 +00:00
Akinori MUSHA
7138aea220 Update Oniguruma to 20030204. 2003-02-04 12:53:42 +00:00
Akinori MUSHA
babadb1906 Remove an unneeded workaround. 2003-01-25 21:02:57 +00:00
Akinori MUSHA
55bfdfc21e Update lang/ruby to the latest snapshot as of 2003-01-19, and Oni
Guruma to 2003-01-21.  This update includes a bug fix that exposes
when formatting Bignums, like with ipaddr.rb.
2003-01-25 09:19:14 +00:00
Akinori MUSHA
6bcb87cab3 Avoid "make: don't know how to make INSTALLS_DEPENDS. Stop" error by
disabling parallel build on sparc64.  The INSTALLS_DEPENDS thing
probably comes from bsd.port.mk, but I wonder why it is regarded as a
target when it is only used as a boolean variable.  I think make(1)
has some problem with parallel build (-jN) on that platform.

I could not really reproduce the error on panther, but a submitter [1]
says the build went fine if he commented the -jN option out as I
suggested.

Submitted by:	Anders Andersson <anders@hack.org>,
		Joao Pedras <jpedras@webvolution.net> [1],
		kris
2003-01-16 05:39:55 +00:00
Akinori MUSHA
d567e43b9c Explicitly specify RUBY_VER=1.6. 2003-01-11 10:23:52 +00:00
Akinori MUSHA
268a3341db Set ONLY_FOR_ARCHS to i386, alpha and sparc64.
Ruby does not support IA64 yet.  It does not even build or install
correctly.  We need some clue to the IA64 stack structure and handling
of the IA64 register windows.
2003-01-11 10:13:05 +00:00
Akinori MUSHA
1423ddf335 Update Oni Guruma (alternative BSDL regexp engine) to 20030109. 2003-01-11 08:46:30 +00:00
Akinori MUSHA
97b20ea392 lang/ruby:
- Update to the 1.6.8 final release. (which fixes a couple of
    coredumping bugs)
  - Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
  - Attach a small knob for debugging.

lang/ruby-devel
  - Update to 1.8.0 preview 1 + errata patch. (fixes a couple of
    coredumping bugs)
  - Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
  - Fix pkg-plist nits.

lang/ruby16-shim-ruby18
  - Update to 1.8.0 preview 1. (sync with 1.6.8 & 1.8.0 preview1)
  - Fix pkg-plist nits.

Approved by:            lioux (and self)
A Merry Christmas to:   all of you
2002-12-24 18:12:20 +00:00
Akinori MUSHA
0d3df60c24 Update lang/ruby to 1.6.8-preview3, lang/ruby16-shim-ruby18 to
1.7.3.2002.12.11, and lang/ruby-devel to 1.7.3-2002.12.12.

- Fix a few bugs that lead to core dump, one in the ruby interpreter
  and another in the syslog module.

  Reported by:	ume (net/dtcp was a victim)

- Fix an installation problem occasionally seen on bento. (a bug in
  Makefile that caused race)

  Submitted by:	bento

- Fix a problem that irb(1) didn't work because the symlink was wrong.

  Submitted by:	Jos Backus <jos@catnook.com>

- Get rid of move & symlink spaghetti completely from the installation
  process.

Discussed with:	portmgr (will)
2002-12-12 12:53:03 +00:00
Akinori MUSHA
6ce53e4211 Add a patch for tempfile.rb from CVS and bump PORTREVISION.
This fixes temporary file locking errors seen in portupgrade. (not a
security vulnerability, just a problem with cleanup)
2002-11-18 20:36:14 +00:00
Akinori MUSHA
6140b68dc0 Update lang/ruby to 1.6.8-preview1. 2002-11-06 12:28:56 +00:00
Akinori MUSHA
cfeffd29da Reroll a stable snapshot tarball as of 2002-09-12 for lang/ruby
containing a pregenerated configure and a parse.c generated with bison
1.35.  This is to offer a smaller (.tar.bz2) distfile, remove the
autoconf dependency and benefit from a bit more efficient parse.c than
that which byacc(1) generates.
2002-09-24 20:07:08 +00:00
Akinori MUSHA
88f4749065 Add a header file that's installed only when WITH_ONIGURUMA is defined
to pkg-plist.

Reported by:	nork
2002-08-03 12:36:22 +00:00
Akinori MUSHA
24686b7073 Install ChangeLog too.
Suggested by:	Andreas Hauser <hauser@informatik.uni-muenchen.de>
2002-07-24 10:56:42 +00:00
Akinori MUSHA
30eea66494 Make sure STRIP is defined before referencing the value. STRIP can be
undefined when DEBUG_FLAGS is defined.

Submitted by:	Dave Cornejo <dave@dogwood.com>,
		Joshua Goodall <joshua@roughtrade.net>
2002-05-25 00:30:24 +00:00
Akinori MUSHA
6c4d013ee1 Update lang/ruby and lang/ruby-devel to the latest snapshots as of
2002-05-23.
2002-05-24 10:57:31 +00:00
Akinori MUSHA
702c33d581 Minimize the difference from lang/ruby-devel. 2002-04-14 12:38:26 +00:00
Akinori MUSHA
5fe1ba2315 lang/ruby:
- Update to the latest 1.6 stable snapshot as of 2002-03-27.
- Update the Oni Guruma alternative regex engine to 20020325.

lang/ruby-devel:
- Update to the latest 1.7 development snapshot as of 2002-03-26.
- Add the WITH_ONIGURUMA knob as well as lang/ruby.
- Require devel/autoconf (2.53 or later is required).
- Add several modules to the obsoleted modules list (now included):
	bigfloat
	fileutils
	racc-runtime
	strscan
2002-03-26 22:20:00 +00:00
Akinori MUSHA
c990483df5 Update to the latest stable snapshot as of 2002.03.13.
Add a WITH_ONIGURUMA knob that enables the Oni Guruma regex engine
that's currently under development that will eventually replace the
stock one that's derived from LGPL'd GNU regex. [experimental]
2002-03-13 22:57:19 +00:00
Akinori MUSHA
8a9fa8cee3 Set MAKE_ENV to "LANG=C" to prevent bison 1.33 w/ gettext 0.10.35
(what is built from ports) from coredumping. [workaround]

Set MAKE_ARGS to "-j3" to hasten the build.
2002-02-19 20:48:40 +00:00
Akinori MUSHA
29ab188f02 To keep users from experiencing upgrading problems, make lang/ruby and
lang/ruby-devel deinstall obsoleted (integrated) packages in their
post-install targets (for installation from ports) and in their plists
(for installation from packages),

Update to the latest snapshot as of 2002-01-29 while I'm at it.
2002-01-29 09:14:09 +00:00
Will Andrews
f3171de7e6 First round of auto* cleanups:
- USE_AUTO* -> USE_AUTO*_VER=* where required
 - USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK
 - Other minor changes to fix things

These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.

Submitted by:	bento 4-exp USE_AUTO* cleanups
		http://people.FreeBSD.org/~will/4-exp/
		http://bento.FreeBSD.org/errorlogs/4-exp-latest/
2002-01-06 06:20:22 +00:00
Akinori MUSHA
816167d11c Update lang/ruby to the 1.6.6 Xmas stable release.
Update lang/ruby-devel to the 1.7.2 Xmas' development snapshot.
2001-12-25 17:02:33 +00:00
Akinori MUSHA
fc7b9ee696 Properly set the file mode bits of the irb executables to ${BINMODE}. 2001-12-22 16:45:05 +00:00
Akinori MUSHA
9a1e8fea6e Update ruby to the 1.6.5 release. 2001-09-19 14:34:06 +00:00
Akinori MUSHA
37f0f0aa36 Bump the PORTREVISION's of the ports which install architecture
dependent ruby modules, due to the RUBY_ARCH change I've just
committed.
2001-09-17 17:54:27 +00:00
Akinori MUSHA
a2e3ad8b84 Apply a THREAD_ALLOC hotfix. 2001-09-13 05:51:38 +00:00
Akinori MUSHA
7b9274b786 Update to the latest snapshots.
We are now six hours away from the ports freeze!
2001-09-03 13:00:01 +00:00
Akinori MUSHA
c2f4f10d20 Utilize ${MANEXT} to fix manpage symlinks. 2001-08-22 10:08:19 +00:00
Akinori MUSHA
aa4885a8f1 Update lang/ruby and lang/ruby-devel to the latest snapshots.
(as of 2001/08/16 20:00 JST)
2001-08-16 11:38:45 +00:00
Akinori MUSHA
50057315e9 Update lang/ruby and lang/ruby-devel to the latest snapshots as of
2001.07.31.
2001-07-31 16:46:55 +00:00
Akinori MUSHA
ddb9e893d9 Add a backup server to PATCH_SITES. 2001-07-11 12:08:36 +00:00
Akinori MUSHA
e4831fc4be Update lang/ruby and lang/ruby-devel to the latest snapshots. 2001-06-21 16:36:46 +00:00
Akinori MUSHA
adacd791e8 Put dummy files in the empty directories so they are surely packed.
Let each elisp port create XEMACSLISPDIR by itself.
2001-06-16 08:46:37 +00:00
Akinori MUSHA
ec3e81d1e4 Fix plist problems.
Reported by:	bento
2001-06-11 09:32:02 +00:00
Akinori MUSHA
a297e0702e Do a ldconfig before invoking the just installed binary in
post-install.

Dig XEmacs' site-lisp directory and RUBY_ELISPDIR.
2001-06-09 02:33:13 +00:00