Commit graph

130 commits

Author SHA1 Message Date
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Stanislav Sedov
889c289308 - Add a bunch of fixes and patchs from the upstream. These fixes a lot of
serious bugs, some of which can pose security-related problems.
- Bump up PORTREVISION.

Requested by:	many
2007-07-10 15:04:49 +00:00
Brian Somers
f93bcc0449 Do pre-install actions as root
Approved by:	stas (maintainer)
2007-05-25 18:01:51 +00:00
Stanislav Sedov
60872c27d3 - Install NEWS file too.
Suggested by:	knu
2007-05-03 20:34:36 +00:00
Pav Lucistnik
2a3f28ac03 - Hack around RUBY_PORTEPOCH being set later than PKGNAME suffix is determined
With hat:	portmgr
2007-04-05 08:13:48 +00:00
Stanislav Sedov
6cbcb56eb4 - Use common RUBY_PORTEPOCH variable. 2007-04-04 12:53:09 +00:00
Stanislav Sedov
8752c350a7 - Update ruby to 1.8.6
- Synchronise portversions and portepochs in all ruby subports
- Take maintainerships of all ruby subports.
2007-04-03 21:57:49 +00:00
Pav Lucistnik
28f8ee4611 - COPYTREE_* are now part of bsd.port.mk
PR:		ports/100996
Submitted by:	stass
2007-03-24 14:03:04 +00:00
Stanislav Sedov
58b782278a - Add patch that allows GC performance profiling and analasys.
- Bump portrevison
2007-01-02 20:58:41 +00:00
Stanislav Sedov
f2889b4db3 - Update lang/ruby18 to 1.8.5p12 (bugfix release)
- Make RI generation disabled by default (it causes problems
  on slow hardware)
- PREFIX-cleaness fixes (in bsd.ruby.mk) [1]
- Take maintainership of bsd.ruby.mk [1]

The patch was tested in the tinderbox with all ruby-dependend ports.

Approved by:	portmgr (linimon)
2007-01-02 16:23:42 +00:00
Stanislav Sedov
108d785f39 - Fix an another cgi library vulnerability
- Bump portrevision

PR:		ports/106287
Reported by:	UEDA Hiroyuki <bsdmad@gmail.com>
Obtained from:	ruby cvs
2006-12-04 20:33:04 +00:00
Stanislav Sedov
45a7b73beb - Back-out the previous commit, as it can cause linking problems (pthread's
unresolved symbols) on some systems (e.g. with libgnomeui). Linking
  threading libraries donesn't employ threading in ruby per se, so it's safe
  to do that in non-threaded case.

Reported by:	mezz
2006-11-19 23:39:00 +00:00
Stanislav Sedov
43baec4731 - Don't links agains threading libraries in case if pthreads support was
disabled.

Reported by:	Anton Yuzhaninov <citrin@citrin.ru>
2006-11-14 20:49:52 +00:00
Stanislav Sedov
586801d65a - Add a workaround for the recently disclosed DoS vulnerability in the cgi.rb
ruby18 module
- Bump portrevision

PR:		ports/105113
Submitted by:	UEDA Hiroyuki <BSDmad@gmail.com>
2006-11-04 10:04:11 +00:00
Stanislav Sedov
1c3d953a1b - Fix pkg-plist when ONIGURUMA option used
- Bump portrevision

Submitted by:	nork
Approved by:	portmgr (clement)
2006-10-15 10:46:10 +00:00
Stanislav Sedov
d944be3080 - Add runtime knob to allow libraries installation under user
privileges. When RB_INSTALL_USER environment  variable is set, ruby
  will not pass '${_BINOWNGRP}' to install program, thus allowing an
  ordinal user to install gem or library (e.g. into home directory).
- Eliminate extra whitespace
- Bump portrevision.

PR:		ports/103801 (idea)
Submitted by:	Dimitri Aivaliotis <aglarond@gmail.com>
2006-10-09 13:17:16 +00:00
Stanislav Sedov
4b16b0cd00 - Prepare port to make ruby libraries PREFIX-clean (also requires bsd.ruby.mk
modifications)
- Add OPTIONS
- Provide automatic pkg-plist generator to simplify updates
- Guarantee permissions safety when installing docs and examples (eliminate
  ${CP} -r *)
- Create handy docs and examples structure (install examples for external
  libraries in separate directories)
- Remove unused KNOB (NORUBYLIB)
- Add knob to disable RDOC generation [1]
- Add knob to disable IPv6 support
- Move list of obsoleted packages to the separate file (files/obsoleted)
- Add additional .keep_me like files to allow shared directories to not
  be deleted by dependent ports
- Minor cleanups and modifications
- Bump-up portrevision

All ruby ports were tested in tinderbox with these modifications.

Requested by:	VANHULLEBUS Yvan <vanhu_bsd@zeninc.net> [1]
PR:		ports/103353 [1], ports/102648, ports/102663, ports/102685, ports/102646
Approved by:	sem (mentor)
2006-10-01 19:10:48 +00:00
Sergey Matveychuk
45d85c7807 - Assign a new ruby maintainer who submitted patches which will be committed
after 6.3-RELEASE

Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru>
2006-09-13 11:12:53 +00:00
Sergey Matveychuk
1e52ae8d80 - Update to 1.8.5
A bugs fix release.
2006-08-27 09:53:28 +00:00
Cheng-Lung Sung
e8390e6e3c - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include irc/ japanese/ java/ lang/ mail/ math/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 00:29:13 +00:00
Sergey Matveychuk
331546a499 - Fix last discovered security vulnerabilities.
VuXML id:	76562594-1f19-11db-b7d4-0008743bf21a
2006-07-30 09:55:21 +00:00
Pav Lucistnik
4bd265725f - Revert previous commit, it broke ruby-gtk2
Reported by:	mezz
2006-05-24 20:42:21 +00:00
Pav Lucistnik
692d35c930 - Don't link pthread libs in non-pthread case (the default case)
PR:		ports/97765 (based on)
Submitted by:	Takeshi MUTOH <mutoh@openedu.org>
2006-05-24 08:06:06 +00:00
Pav Lucistnik
5885d0f662 - Fix PKGNAMESUFFIX when both Oniguruma and pthreads are enabled
PR:		ports/97178 (based on)
Submitted by:	cokane
2006-05-15 12:42:30 +00:00
OKAZAKI Tetsurou
f0042b318f Remove obsolete USE_REINPLACE.
Add missing entries for the ONIGURUMA option to the plist.
2006-05-03 04:55:51 +00:00
Andrey Slusar
dbfc1f7400 Wrong type of integer argument to ioctl(2) cause ruby18 to produce lots
of sign-extension noises through console / kernel log on FreeBSD/amd64.

PR:		ports/94088
Submitted by:	ariff
2006-05-02 12:15:24 +00:00
MANTANI Nobutaka
6ee6ffc589 Show the message about WITH_PTHREADS knob only when WITH_PTHREADS isn't defined.
Submitted by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
2006-04-30 17:50:21 +00:00
MANTANI Nobutaka
7618f113d5 - Disable pthread support by default to fix breakage of some ruby applications
(migemo, mod_ruby, etc.).
- Remove WITHOUT_PTHREADS knob and add WITH_PTHREADS knob.
- Bump PORTREVISION.

Approved by:	portmgr (krion)
2006-03-31 13:25:32 +00:00
Hajimu UMEMOTO
41de8b251a Use the code actually committed into Ruby CVS against
getcontext/setcontext issue.

Obtained from:	Ruby CVS
2006-01-24 14:38:33 +00:00
Hajimu UMEMOTO
b5b3b72fb1 WITHOUT_CPU_CFLAGS hack is not required anymore.
Tested by:	TAKANO Yuji <takachan__at__running-dog.net>
2006-01-21 19:29:18 +00:00
Hajimu UMEMOTO
3e59b5bdf8 ${CPUTYPE} might not defined.
Reported by:	cperciva
2006-01-21 05:38:22 +00:00
Hajimu UMEMOTO
f8292fc41d It was not buildable with CPUTYPE=athlon64 or CPUTYPE=athlon-xp
since my last commit.  It spun in 'miniruby' somewhere in a
bigdecimal compile.  So, if CPUTYPE is defined as athlon64 or
athlon-xp, ignore CPU_CFLAGS for workaround.

Reported by:	Mike Harding <mvh__at__ix.netcom.com>
2006-01-21 04:26:40 +00:00
Hajimu UMEMOTO
0b7f56dce4 eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): use only for SPARC and IA64
before gcc 4.0.3.

previous one broke xcgroup of XCAST6:
	http://sourceforge.net/projects/xcast6/

Reported by:	SUZUKI Koichi <metal__at__gc5.so-net.ne.jp>
Obtained from:	http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/eval.c.diff?r1=1.616.2.148;r2=1.616.2.149
2006-01-20 19:32:32 +00:00
Pav Lucistnik
4273976f63 - Provide WITHOUT_PTHREADS option
Submitted by:	Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
2006-01-16 09:41:49 +00:00
Pav Lucistnik
09a488b948 - Fix bug: FileUtils.mv() does not unlink source file when moving over
filesystem boundaries

Reported by:	Virgil Champlin <champlin@stupidog.org>
2006-01-16 01:43:29 +00:00
Pav Lucistnik
b525510f5a - OPENSSLINC is even better
Submitted by:	mezz
2006-01-14 18:57:17 +00:00
Pav Lucistnik
d06a8792e0 - Use OPENSSLBASE
Suggested by:	mezz
2006-01-14 18:42:11 +00:00
Pav Lucistnik
4b7230268d - Enable pthreads using configure switch, so autodetection based on headers
parsing works
2006-01-14 14:38:58 +00:00
Pav Lucistnik
abadc4a1aa - Correct OpenSSL handling from previous commit 2006-01-14 14:10:30 +00:00
Pav Lucistnik
bbcd9f3fd2 - Make OpenSSL handling more obvious 2006-01-14 14:05:32 +00:00
Pav Lucistnik
468362a5b7 - Update to 1.8.4
PR:		ports/91556
Submitted by:	Alexander Wittig <alexander@wittig.name>
2006-01-14 13:25:43 +00:00
Sergey Matveychuk
442761c2da - Drop maintinership to ports@
Reminded by:	linimon
2005-11-21 22:58:20 +00:00
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