1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
Commit Graph

114 Commits

Author SHA1 Message Date
Sergey Matveychuk
8c2298d950 - Back out the last update. It breaks many ruby ports install.
Reported by:	kris via pointyhat
2005-11-14 09:46:15 +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
Simon L. B. Nielsen
575be647d6 Fix arbitrary command execution in XMLRPC server.
PR:		ports/82855
Submitted by:	Renato Botelho <freebsd@galle.com.br>
Obtained from:	Ruby CVS
Approved by:	maintainer timeout (1 day; security)
With hat:	secteam
Security:	CAN-2005-1992
Security:	http://vuxml.FreeBSD.org/594eb447-e398-11d9-a8bd-000cf18bbe54.html
2005-07-03 10:26:31 +00:00
Jeremy Messenger
7df9b2b2b4 Disable threads again; it has caused the more troubles. This time, it has
${PTHREAD_CFLAGS} and ${PTHREAD_LIBS} include in the build to kill the
headache of old '_r' and can't run with something like ruby-opengl, ruby-sdl,
ruby-gtk2 and etc on FreeBSD 4.x or older 5.x. With this commit should solve
those issues. It is recommend you to rebuild any apps that depend on
lang/ruby18, so see the UPDATING for detail.

Remove the 'BROKEN' on the other ports that knu has added them few weeks ago.
Some of them have been tested, so if one of them is still broke then please
let us know and one of us will re-add the 'BROKEN'.

This changes was worked by lofi and me. lofi did everything on FreeBSD 4.x
and I did others. lofi, thanks for help!

Tested by:	many people
Tested on:	i386 (FreeBSD 4.x, 5.x and 6.x), amd64 (FreeBSD 5.x and 6.x),
		and sparc64 (FreeBSD 5.x and 6.x)
Not test on:	ia64 and alpha
Approved by:	portmgr (kris)
2005-02-25 00:17:28 +00:00
David E. O'Brien
b6f7926a71 Hack commit to allow ruby18 to build on sparc64. This changes to threading,
so a real fix should be found ASAP.

Submitted by:	gad
2005-02-24 02:41:40 +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
Akinori MUSHA
ff84ad63c0 Update to the "second" 1.8.2 release. (officially announced, of course) 2004-12-25 16:05:59 +00:00
Akinori MUSHA
930c34b164 Update lang/ruby18 to the 1.8.2 release. Happy holidays! 2004-12-25 04:28:37 +00:00
Akinori MUSHA
04b38c0e35 Fix plist. 2004-12-25 04:02:17 +00:00
Akinori MUSHA
50db8ccf3a Update lang/ruby18 to 1.8.2-preview4.
* Please upgrade sysutils/portupgrade prior to this one, or pkgdb(1)
  may coredump with a double free() problem from a misuse of the DL
  module.  In that case, reinstall sysutils/portupgrade manually.
2004-12-23 20:30:09 +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
a968313325 Handle ri document directories properly. 2004-08-12 09:46:42 +00:00
Akinori MUSHA
790c513316 Update lang/ruby18 to 1.8.2-preview2. 2004-08-12 08:57:52 +00:00
Akinori MUSHA
4e8d069e3f Pull in the latest change to mkmf.rb to avoid build error when
devel/readline is installed.
2004-07-13 07:03:54 +00:00
Akinori MUSHA
dabf5e1b03 Update lang/ruby18 and the bundled modules to the latest 1.8 branch
snapshot as of 2004-05-02.
2004-05-02 20:30:11 +00:00
Akinori MUSHA
2956c3762c Add SIZE data.
Submitted by:	trevor
2004-03-22 15:05:32 +00:00
Akinori MUSHA
a4ec4cda7d Update pkg-message to match the current state of the default version
of Ruby, which is now 1.8.

Pointed out by:	kris
2004-03-21 07:32:09 +00:00
Kris Kennaway
2b314e4057 BROKEN on ia64: segfault during build 2004-03-14 00:18:21 +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
fe251fef7c Fix plist and bump PORTREVISION.
PR:		ports/61596
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2004-02-17 03:58:34 +00:00
Akinori MUSHA
ba4b7305d5 Update lang/ruby18 to the 1.8.1 final release. Merry Christmas! 2003-12-24 21:08:32 +00:00
Akinori MUSHA
eab7cdca8b Update lang/ruby18 to 1.8.1.p4. 2003-12-22 10:08:34 +00:00
Akinori MUSHA
940b7f1c39 Update lang/ruby18 and lang/ruby16-shim-ruby18 to 1.8.1-preview3. 2003-12-15 06:35:48 +00:00
Marcel Moolenaar
e7aab4d87a Now that the build on ia64 has been fixed, remove the ONLY_FOR_ARCHS
that listed all archs, except ia64.

Approved by: portmgr (kris)
2003-11-27 08:37:42 +00:00
Marcel Moolenaar
b2958437a1 Fix the build on ia64:
The __libc_ia64_register_backing_store_base variable is defined on
Linux (in glibc) to allow processes to obtain the base of the RSE
backing store. On FreeBSD we do not have such a variable. We also
do not yet have a different interface for processes to use. So, for
now, hardcode the base address of the RSE backing store as it is
on FreeBSD. There's little chance this will change in the future,
so it's not that evil.

Approved by: portmgr (kris)
2003-11-27 07:39:33 +00:00
Akinori MUSHA
aaa48e0ef8 Update lang/ruby18 to 1.8.1-preview2. 2003-10-31 12:33:35 +00:00
Akinori MUSHA
2d14ffb42b Update lang/ruby18 to the latest snapshot as of 2003-09-09.
Many bugs have been fixed since the 1.8.0 release. (The diff file is
very big because some big files were moved, sorry)
2003-09-10 07:33:57 +00:00
Akinori MUSHA
70aad94965 Ruby 1.8.0 builds fine and make test passes on amd64. 2003-08-05 11:58:47 +00:00
Akinori MUSHA
a11066cf7b Update lang/ruby-devel to the long-awaited 1.8.0 release. (IA64 and
AMD64 ports still need some more testing and tweaking)

By this update, openssl, webrick and xmlrpc modules are now part of
the standard distribution.

Since this version should no longer be called -devel, I am planning on
repo-moving lang/ruby{,-devel} to lang/ruby{16,18}, respectively.
2003-08-04 11:15:05 +00:00
Akinori MUSHA
004219de73 The dl module seems to cause coredump on Pentium4 boxen when compiled
with gcc 3.3 with a -mcpu or -march flag (even -mcpu=pentiumpro, which
is the default CPU cflag that bsd.cpu.mk sets, leads ruby to coredump).

Although currently I'm not sure if gcc 3.3's optimization has a bug or
it is that it just exposed the dl module's hidden bug, disable those
flags to work around the problem for the moment.
2003-07-19 16:11:15 +00:00
Akinori MUSHA
cb2850ce7a Correct the checksum for the 2003-06-25 patch.
Bad proxy, no cookie, even for FTP service.

Submitted by:	roberto
2003-06-26 12:39:30 +00:00
Akinori MUSHA
460ffc0359 Update lang/ruby-devel to the snapshot as of 2003-06-25 and hopefully
unbreak for alpha and sparc64. (ia64 and amd64 are not supported yet)
2003-06-26 03:25:13 +00:00
Akinori MUSHA
2a77a4eaa1 It turned out that ruby 1.8.0-preview3 only works with i386 due to
lack of prototypes.  A patch to fix this will follow in a couple of
days, and in the meantime mark this port as ONLY_FOR_ARCHS=i386.
2003-06-23 15:00:58 +00:00
Akinori MUSHA
e53d063604 Update lang/ruby-devel to 1.8.0-preview3.
ruby-csv, drb, rexml and yaml are now part of the ruby 1.8 standard
distribution.
2003-06-23 10:16:13 +00:00
Akinori MUSHA
27f96357e1 Add a patch to fix coredump that occurs when you run ruby with the
verbose flag on. (ruby -v -e 'begin;end')

PORTREVISION is not bumped since this is not a significant problem for
most people.
2003-04-19 19:36:28 +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
6444301bd3 ruby-testunit has been integrated into ruby. 2003-03-03 16:47:14 +00:00
Akinori MUSHA
57e369771f Update lang/ruby-devel to 1.8.0-preview2. 2003-03-03 16:33:54 +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
e1d433e49a ruby-erb is now part of ruby 1.8 and shim-ruby18. 2003-02-12 16:12:00 +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
9e0be2a43f Update lang/ruby-devel to the latest snapshot as of 2003.01.28.
Update Oni Guruma to 20030121.

Now that the MAKE_ARGS problem is gone, re-enable MAKE_ARGS for
sparc64.
2003-01-29 09:41:03 +00:00
Akinori MUSHA
57ffb5faa0 Properly update for 1.8 [*] and rephrase.
Submitted by:	obrien [*]
2003-01-18 21:50:54 +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
4e15f31434 Add missing files to pkg-plist and bump PORTREVISION.
Submitted by:	kris, bento
2003-01-14 10:00:00 +00:00
Akinori MUSHA
e5f6fc0027 Update lang/ruby-devel to the latest 1.8 snapshot as of 2003-01-11,
which now supports FreeBSD/sparc64.

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:16:22 +00:00