aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
Commit message (Collapse)AuthorAgeFilesLines
* - Fix incorrect errno returned by IO::write.Stanislav Sedov2010-04-281-1/+1
| | | | | | | | Reported by: John-Paul Bader <contact@smyck.org> Obtained from: ruby svn (revision r26253) Notes: svn path=/head/; revision=253400
* - Do not try to stop the timer thread in child after fork: at this momentStanislav Sedov2010-04-271-1/+1
| | | | | | | | | | there's already nothing to stop. Only mark the timer thread as stopped. That fixes spontaneous lockups in ruby popen call. Reported by: renchap @ FreeNode Notes: svn path=/head/; revision=253359
* - Fix rubygems location for ruby 1.9, which got broken after the lastStanislav Sedov2010-01-291-1/+1
| | | | | | | | | | update. - Bump portrevision. Submitted by: Aaron Gifford <astounding@gmail.com> (based on) Notes: svn path=/head/; revision=248811
* - Update to patchlevel 248.Stanislav Sedov2010-01-061-2/+2
| | | | Notes: svn path=/head/; revision=247249
* - Update ruby 1.9 to 1.9.1 patchlevel 376. This fixes CVE-2009-4124.Stanislav Sedov2009-12-091-2/+2
| | | | | | | Security: eab8c3bd-e50c-11de-9cd0-001a926c7637 Notes: svn path=/head/; revision=245470
* - Fix issue when the handle of tempfile become closed when the fileStanislav Sedov2009-10-241-1/+1
| | | | | | | | | | | | was unlinked (see http://redmine.ruby-lang.org/issues/show/1494#note-10). - Bump PORTREVISION. PR: ports/139862 Submitted by: Ari Maniatis <ari@ish.com.au> Obtained from: Ruby SVN Notes: svn path=/head/; revision=243258
* - Fix SIGINT signal handling.Stanislav Sedov2009-10-121-1/+1
| | | | | | | | | PR: ports/136804 Submitted by: Emiel van de Laar <gemiel@gmail.com> Obtained from: ruby-lang SVN Notes: svn path=/head/; revision=242736
* - Update ruby 1.9.1 to patchlevel 243.Stanislav Sedov2009-10-121-2/+2
| | | | Notes: svn path=/head/; revision=242734
* - Don't build ruby with threads support on FreeBSD versions before 7.2Stanislav Sedov2009-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - On FreeBSD >= 7.2 allocate the new thread with adequate amount of stack space to run the main ruby code in. This allows to mitigate problem when too low stack space available for ruby when running with pthreads enabled. - Bump portrevision. The long version. Before this change we used to link ruby against pthreads uncoditionally on all versions of FreeBSD. This is indispensable in order to load the threaded shared objects withing ruby. However, this causes a dramatic decrease in the stack space available as pthreads only allows up to several megabytes of stack space for the main application threads. The only solution to this is to create the new thread immediately after the program start with rigth stack size attributes set. Nonetheless this scheme won't work for us on FreeBSD version before 7.2 as malloc implementation in these versions was not threaded fork safe (i.e. this is impossible to fork from the threaded program and expect malloc/free functions to work). Thus the only solution for now can be to disable pthreads entirely on FreeBSD <= 7.2. This won't cause any performance/usability problems for users as Ruby 1.8 uses green threads, however it may prevent <= 7.2 users to load shared libraries linked agains pthreads. Reported by: "François Montel" <seanmullen@gmail.com> Tested by: Sean Mullen <seanmullen@gmail.com> Notes: svn path=/head/; revision=242727
* - Bump ruby18 portrevision.Stanislav Sedov2009-07-191-1/+1
| | | | Notes: svn path=/head/; revision=238063
* - Fix stack overflow detection algorithm. It has not worked before asStanislav Sedov2009-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | we were linking the ruby binary against pthreads, and the default stack size detection method with getrlimit didn't returned right values in this case. Now, if threads enabled, it also tries to determine the stack size via pthreads calls and use this value if it is smaller than what getrlimit returned. Furthermore, the stack overflow detection routine now works proactively, generating exception if there're probability the stack will be exhausted by the time of the next check (ruby performs checks only in each 256th call of rb_call0). [1] - Build pthreads-enabled ruby by default. I have not received any bug reports for this for years, and this verison will work correctly with threaded libraries. Also, do not link agains pthreads in non-pthread case (this breaks stack size detection algorithm), and eliminate the option to disable pthreads (so only power users who know what they're doing can disable them). - Build RDoc by default so it is available in the package. - Bump portrevision. PR: ports/132158 Reported by: Eugene Pimenov <libc@libc.st> Notes: svn path=/head/; revision=236301
* - Fix the bug in URI module that smashed uri paths in merge method forStanislav Sedov2009-06-181-1/+1
| | | | | | | | | | ftp uris. PR: ports/131775 Reported by: Helmut Schneider <jumper99@gmx.de> Notes: svn path=/head/; revision=236220
* - Fix the bug in ruby GC when object finalizer were never called. This hasStanislav Sedov2009-06-181-1/+1
| | | | | | | | | | | | | | | | | | been triggered by portupgrade which uses finalizers to remove lockfiles. - Fix the bug in URI module that smashed uri paths in merge method for ftp uris. [1] - Fix segmentation fault when cloning objects with dynamically created methods (via instance_eval). [2] PR: ports/131775 [1], ports/135533 [2] Submitted by: Yoshisato YANAGISAWA <osho@pcc-software.org> [2], Helmut Schneider <jumper99@gmx.de> [1], Jaakko Heinonen <jh@saunalahti.fi> [1], Peter Hofer <ph@desktopbsd.net> [1] Obtained from: ruby_1_8 svn tree (rev 22679) [2] Notes: svn path=/head/; revision=236218
* - Fix BigDecimal DoS vulnerability in ruby 1.8.7.Stanislav Sedov2009-06-121-1/+1
| | | | | | | | | | - Bump portrevision. Obtained from: ruby-lang CVS Security: 62e0fbe5-5798-11de-bb78-001cc0377035 Notes: svn path=/head/; revision=235669
* - Update ruby 1.9.1 to patchset 129.Stanislav Sedov2009-06-031-2/+2
| | | | Notes: svn path=/head/; revision=235116
* - Update ruby 1.8.7 to the latest revision available from ruby-lang.org.Stanislav Sedov2009-06-021-2/+2
| | | | | | | | | | This updates also borrows some important bugfixes from Ruby CVS that is not available in patchlevel 160 yet. - Drop GC patch support. It is broken with the new ruby version and seem to require the complete rewriting. Notes: svn path=/head/; revision=235044
* - Bump ruby portrevision after the last fix.Stanislav Sedov2009-02-231-1/+1
| | | | Notes: svn path=/head/; revision=228853
* - Document USE_RUBYGEMS and RUBYGEM_AUTOPLIST knobs.Stanislav Sedov2009-02-131-0/+3
| | | | Notes: svn path=/head/; revision=228238
* - Add a new knob RUBYGEM_AUTOPLIST, which allows the pakcking listStanislav Sedov2009-02-131-4/+27
| | | | | | | for most (all?) rubygem ports to be generated automatically. Notes: svn path=/head/; revision=228234
* - Update ruby18 to 1.8.7p72.Stanislav Sedov2009-02-121-2/+2
| | | | | | | | PR: ports/124837 (based on) Submitted by: KIMURA Yasuhiro <yasu@utahime.org> Notes: svn path=/head/; revision=228110
* - Bump ruby19 portrevision after rubylibdir fix.Stanislav Sedov2009-02-111-1/+1
| | | | Notes: svn path=/head/; revision=228032
* - Update ruby19 to 1.9.1.Stanislav Sedov2009-02-091-3/+3
| | | | | | | | PR: ports/129818 (based on) Submitted by: Hung-Yi Chen <gaod@hychen.org> Notes: svn path=/head/; revision=227930
* - Update ruby to 1.8.6 patchset 287.Stanislav Sedov2008-08-151-2/+2
| | | | Notes: svn path=/head/; revision=218653
* - Fix CVE-2008-1447 (DNS spoofing vulnerability).Stanislav Sedov2008-08-101-1/+1
| | | | | | | | | | | | - Fix Webrick DoS vulnerability. - Serveral minor bugfixes in cgi.rb, ipaddr.rb and resolver. - Bump PORTREVISION. Obtained from: ruby VCS Tested by: Ilya Bakulin <webmaster@kibab.com> Notes: svn path=/head/; revision=218354
* - Forbid automatical fetching of rubygems from rubyforgePav Lucistnik2008-07-241-1/+1
| | | | | | | Submitted by: Alexander Logvinov <ports@logvinov.com> Notes: svn path=/head/; revision=217402
* - Add a couple of other patches from ruby SVN repo:Stanislav Sedov2008-06-251-1/+1
| | | | | | | | | | | * fix integer overflow in bignums; * correctly check for string length in regexps; * fix memory leak in parse.c. - Bump portrevision. Notes: svn path=/head/; revision=215782
* - Fix possible memory corruption when using String;Stanislav Sedov2008-06-211-1/+1
| | | | | | | | | | | - fix integer overflow in Array; - fix overflow in String; - bump PORTREVISION. Obtained from: ruby VCS Notes: svn path=/head/; revision=215450
* - Fix webrick vulnerabilityStanislav Sedov2008-04-061-1/+1
| | | | | | | | | | - Update rexml to 3.1.7.2 - Bump portrevision. Obtained from: ruby svn Notes: svn path=/head/; revision=210643
* - Update ruby 1.9 to patchlevel 1. Forgotten in previous commit.Stanislav Sedov2008-04-061-1/+1
| | | | Notes: svn path=/head/; revision=210639
* - Add ruby 1.9 supportStanislav Sedov2008-04-061-29/+146
| | | | | | | | | | | | | | | | | - Implement new knobs for gems and rake (these are included in ruby 1.9 distribution already). Also move gem bits from ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend on gems or rake you should define USE_RUBYGEMS/USE_RAKE accordingly. Also RAKE_BIN variable is provided for pointing to the right rake executable. - Rewrite RUBY_SCHEBANG in awk to eliminate build dependency on ruby. Discussed with: Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer) Tested by: ports@ Notes: svn path=/head/; revision=210636
* - Fix a typo in the bundled REXML package.Stanislav Sedov2007-12-041-1/+1
| | | | | | | | | | - Bump up portrevision. Approved by: portmgr (marcus) Reported by: mat Notes: svn path=/head/; revision=202896
* - Update ruby to the latest 111 patchversion.Stanislav Sedov2007-10-301-2/+2
| | | | | | | | | It's a bugfix release. Thanks to: Alexander Logvinov <ports@logvinov.com> for initial patchset. Notes: svn path=/head/; revision=202429
* - Extract command variable definitions from bsd.port.mk, they are now stored inGabor Kovesdan2007-08-041-2/+2
| | | | | | | | | | | | bsd.commands.mk and can be easily reused within the infrastructure. - Revert old DESTDIR implementation. - Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav) Notes: svn path=/head/; revision=197074
* - Delete rb_thread_status prototype from public header, since it causesStanislav Sedov2007-07-151-1/+1
| | | | | | | | | | problems with some extensions. This also had been fixed in upsteam CVS. - Bump portrevision. Reported by: many Notes: svn path=/head/; revision=195645
* - Add a bunch of fixes and patchs from the upstream. These fixes a lot ofStanislav Sedov2007-07-101-1/+1
| | | | | | | | | | serious bugs, some of which can pose security-related problems. - Bump up PORTREVISION. Requested by: many Notes: svn path=/head/; revision=195369
* - Add forgotten RUBY_PORTEPOCH variable [1]Stanislav Sedov2007-04-041-0/+3
| | | | | | | | | | - Document new variables. PR: ports/111209 [1] Submitted by: KIMURA Yasuhiro <yasu@utahime.org> [1] Notes: svn path=/head/; revision=189182
* - Update ruby to 1.8.6Stanislav Sedov2007-04-031-4/+9
| | | | | | | | - Synchronise portversions and portepochs in all ruby subports - Take maintainerships of all ruby subports. Notes: svn path=/head/; revision=189129
* - Remobe ruby 1.6 bits.Stanislav Sedov2007-02-131-84/+3
| | | | Notes: svn path=/head/; revision=185087
* - Add patch that allows GC performance profiling and analasys.Stanislav Sedov2007-01-021-1/+1
| | | | | | | - Bump portrevison Notes: svn path=/head/; revision=181294
* - Beautify comments (wrap and some fixes).Stanislav Sedov2007-01-021-34/+75
| | | | Notes: svn path=/head/; revision=181292
* - Update lang/ruby18 to 1.8.5p12 (bugfix release)Stanislav Sedov2007-01-021-16/+19
| | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=181277
* - Update to 1.8.5Sergey Matveychuk2006-08-271-1/+1
| | | | | | | A bugs fix release. Notes: svn path=/head/; revision=171457
* Add support for DESTDIR part I.Erwin Lansing2006-08-041-2/+2
| | | | | | | | | | | | | | | | | This commit should largele be a NOOP as it only adds support for DESTDIR undefined. This does allow us to start testing ports with DESTDIR set, but this is as of yet not supported. Although this has been extensively tested on pointyhat, this is a very intrusive change and some cases may have been overlooked. Please contact Gabor and me if you find any. PR: 100555 Submitted by: gabor Sponsored by: Google Summer of Code 2006 Notes: svn path=/head/; revision=169648
* * Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*Mark Linimon2006-07-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | forms are retained for compatibility but deprecated [1] * Add sha256 to CHECKSUM_ALGORITHMS [2] * Remove some whitespace [2] * Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3] * Fix USE_LDCONFIG with non-default PREFIX [4] * Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets support [5] * Add 'make missing' to show missing dependencies [6] * Fix DESKTOP_ENTRIES processing on 4.x [7] PR: 92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5], 93601 [6], 98891 [7] Submitted by: linimon [1], edwin [2], alex at foxybanana dot com [3], gerald [4], flz [4], alepulver [5], alex at fafula dot com [6], shaun [7] Notes: svn path=/head/; revision=166954
* Allow CONFIGURE_TARGET to be overridden.Akinori MUSHA2006-05-171-1/+1
| | | | | | | | PR: ports/93457 Submitted by: Jason E. Hale <bsdkaffee -at- gmail.com> Notes: svn path=/head/; revision=162619
* - Fix 'all-depends-list' target in cases if dependencies list isKirill Ponomarev2006-01-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | very long and if some dependencies can't be added into the list. [1] - Fix FAM support. Make gamin the default FAM system. [2] - Introduce new 'quicksearch' target to show only port, path and info section of the matching ports. [3] - Introduce new category - rubygems. [4] - Fix stale dependencies while installing qmail slaveport and another port that depends on qmail. [5] - Add commentary for describes target in bsd.port.mk. [6] - Fix warning issued during make index on archs !368. [7] - Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from all files under ${WRKSRC}. If set to a string, remove in all files under ${WRKSRC} with one of these names the ^Ms. [8] - Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by checking the existance of the Perl modules with the "perl -e 'use module;'" command. [9] - Fix bsd.port.mk variable quoting issues. No quoting is necessary anymore either in the Makefile or on the command line. Affected variables include: BROKEN FORBIDDEN IGNORE MANUAL_PACKAGE_BUILD NO_CDROM NO_PACKAGE RESTRICTED [10] - Add NOFETCHFILES variable. If set, don't download these files from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from ${MASTER_SITE_OVERRIDE}). [11] - Improve 'search' target output. [12] - Add a new virtual category for Amateur Radio - hamradio. [13] - Cleanup some old/unused pathes in bsd.port.mk. [14] - Add @dirrmtry for plists which does the same as: "@unexec rmdir %D/foo 2>/dev/null || true" [15] - Remove virtual category - offix. [16] - Use portsnap instead of cvsup or cvs on "make update" in /usr/ports. [17] - Move location of bsd.autotools.mk within bsd.port.mk [18] - Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19] - Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20] - Replace the string "FreeBSD" by "The FreeBSD Project" in the security warning [21] - Add bsd.local.mk for local modification to ports framework. [22] - Replace rcNG spelling by rc.d [23] - Remove superfluous USE_REINPLACE. [24] Special thanks to: linimon for spending hours with all these patches clement for fixes kris for help with pointyhat PR: ports/86310 [1], ports/89498 [2], ports/83530 [3], ports/83789 [4], ports/84053 [5], ports/86281 [6], ports/87214 [7], ports/87234 [8], ports/87318 [9], ports/87396 [10], ports/87605 [11], ports/87840 [12], ports/88230 [13], ports/88493 [14], ports/88711 [15], ports/88751 [16], ports/89281 [17], ports/89999 [18], ports/90031 [19], ports/90150 [20], ports/90668 [21], ports/91433 [23], ports/88754 [24] Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3], pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7], edwin [8, 9, 11, 15, 21], fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12], Carl Makin <carl@stagecraft.cx> [13], arved [14], NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18], jylefort [19], linimon [22], dougb [23] Notes: svn path=/head/; revision=154065
* - ftp.iDaemons.org is unavailable latelyPav Lucistnik2006-01-141-3/+0
| | | | Notes: svn path=/head/; revision=153471
* - Update to 1.8.4Pav Lucistnik2006-01-141-1/+1
| | | | | | | | PR: ports/91556 Submitted by: Alexander Wittig <alexander@wittig.name> Notes: svn path=/head/; revision=153456
* - Back out the last update. It breaks many ruby ports install.Sergey Matveychuk2005-11-141-20/+17
| | | | | | | Reported by: kris via pointyhat Notes: svn path=/head/; revision=148207
* bsd.ruby.mk:Sergey Matveychuk2005-11-091-17/+20
| | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=147676