Commit graph

401 commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
46b072cd1b - Update to 2.1.8
- Add LICENSE_FILE
- Use USES=autoreconf instead of USE_AUTOTOOLS=autoconf
- Use USES=libedit
- Silence patch and build messages

Changes:	https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-1-8-released/
		http://svn.ruby-lang.org/repos/ruby/tags/v2_1_8/ChangeLog
Security:	3b50881d-1860-4721-aab1-503290e23f6c
Differential Revision:	https://reviews.freebsd.org/D4668
PR:		205487
Exp-run by:	antoine
MFH:		2015Q4
2015-12-23 19:10:47 +00:00
Sunpoet Po-Chuan Hsieh
69857748b9 - Update to 2.2.4
- Add LICENSE_FILE
- Use USES=autoreconf instead of USE_AUTOTOOLS=autoconf
- Use USES=libedit
- Silence patch and build messages

Changes:	https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-2-4-released/
		http://svn.ruby-lang.org/repos/ruby/tags/v2_2_4/ChangeLog
Security:	3b50881d-1860-4721-aab1-503290e23f6c
Differential Revision:	https://reviews.freebsd.org/D4668
PR:		205487
Exp-run by:	antoine
MFH:		2015Q4
2015-12-23 19:09:55 +00:00
Baptiste Daroussin
8cea2b0147 Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched
This gives more time for tools to get updated, available in packages etc before
bothering users
2015-10-15 07:36:38 +00:00
Baptiste Daroussin
869e1f27d0 Drop the necessity to add ${PORTSDIR} to dependency line
Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
2015-10-14 16:49:35 +00:00
Sunpoet Po-Chuan Hsieh
4b54ee8b7b - Update to 2.2.3
- Fix PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_2_3/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:45:13 +00:00
Sunpoet Po-Chuan Hsieh
ecde17e737 - Update to 2.1.7
- Fix and sort PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_1_7/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:44:01 +00:00
Sunpoet Po-Chuan Hsieh
f315e75862 - Update to 2.0.0p647
- Fix PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_647/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:43:11 +00:00
Sunpoet Po-Chuan Hsieh
10084409d4 - Move *_DEPENDS together
- Add GMP option: libgmp.so is linked if present
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for dependency and package change
2015-09-07 17:47:48 +00:00
Sunpoet Po-Chuan Hsieh
2165b3644a - Move *_DEPENDS together
- Add GMP option: libgmp.so is linked if present
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for dependency and package change
2015-09-07 17:46:52 +00:00
Sunpoet Po-Chuan Hsieh
e9264c81e2 - Move *_DEPENDS together
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for package change
2015-09-07 17:46:06 +00:00
Sunpoet Po-Chuan Hsieh
3431276749 - Add BROKEN_RUBYxx to simplify Makefile
Differential Revision:	https://reviews.FreeBSD.org/D2239
Reviewed by:	swills (portmgr, ruby)
2015-08-29 10:02:33 +00:00
Steve Wills
5d4ff11096 Update Ruby to latest versions to address CVE-2015-1855.
Security:	https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ (vuxml forthcoming)
2015-04-14 00:35:59 +00:00
Bryan Drewery
e710b8dad9 - Fix runtime with OpenSSL after the removal of SSLv2 in head.
- Make the main LOCALBASE/bin files into symlinks to the actual version to
  make it simpler to tell which version is default.
2015-04-01 23:26:10 +00:00
Steve Wills
dd2e090988 Improve invalid version detection
Reported by:	dvl, zi
Submitted by:	bdrewery
Tested by:	zi
2015-03-30 19:17:33 +00:00
Steve Wills
70eb32067e lang/ruby21: fix bug in bundled rdoc
Obtained from:	55fbd8947f
2015-03-30 15:30:30 +00:00
Steve Wills
fed7471248 Update ruby-gems to 2.4.5
Note this is a big upgrade and the way gemspecs are generated changed. As a
result, all patched gemspecs had to have new patches.
2015-03-30 02:47:07 +00:00
Sunpoet Po-Chuan Hsieh
47e904ae1e - Cleanup Mk/bsd.ruby.mk and remove no-op knobs in ruby ports
Reviewed by:	bapt
Reviews:	https://reviews.freebsd.org/D2030
2015-03-14 14:36:13 +00:00
Steve Wills
83c1767ceb lang/ruby22: update to 2.2.1
PR:		198338
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-03-09 13:30:51 +00:00
Steve Wills
f61e451a34 lang/ruby20: update to 2.0.0 p643
While here, bring in an rdoc fix

Obtained from:	55fbd8947f
2015-03-07 17:53:51 +00:00
Rene Ladan
22f0609652 Remove lang/ruby19 which reached its end-of-life on 2015-02-23
Add a note to UPDATING for ruby19 users.

Differential Revision:	https://reviews.freebsd.org/D1954
Submitted by:	myself
Reviewed by:	ruby (swills, sunpoet)
Approved by:	ruby (swills)
2015-02-24 20:10:42 +00:00
Steve Wills
4c3ec538d7 Bump PORTEPOCH on lang/ruby22 to avoid false positive vulnerability report
PR:		197875
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-02-21 16:10:43 +00:00
Steve Wills
665d9f2530 Add Ruby 2.2.0
Differential Revision:	D1457
Submitted by:	sunpoet
Reviewed by:	swills (myself)
2015-02-20 23:51:55 +00:00
Baptiste Daroussin
167f82f839 Change the EDIT option of ruby to use libedit by default now that libedit
from ports is able to handle unicode. Make sure that ruby does not provides its
own function to read the input but let libedit do it itself.

This allows the binary package to by default not be "tainted" by the readline
license.

Differential Revision:	https://reviews.freebsd.org/D1547
Reviewed by:	swills
Approved by:	ruby (swills)
2015-02-01 23:19:51 +00:00
Antoine Brodin
38e8f93368 Update devel/doxygen to 1.8.9
PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
2014-12-31 06:45:10 +00:00
Steve Wills
89dc7fe566 Update to latest version
While here, fix a few plist issues
2014-11-15 13:50:11 +00:00
Steve Wills
41bdbdb22b lang/ruby21: Update to 2.1.4
PR:		194677
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2014-11-11 21:56:53 +00:00
Steve Wills
96bf534838 lang/ruby2*: disable dtrace on OS versions without the dtrace fixes from r271413
While here, fix plist issues
2014-11-11 17:47:06 +00:00
Steve Wills
a67f5ea10b Fix plist for CAPIDOCS option after update to doxygen.
PR:		194712
Reported by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
2014-11-08 15:05:40 +00:00
Steve Wills
c553ae6488 lang/ruby2*: fix dtrace support
DTrace support in ruby needs the -xnolibs flag added to the dtrace command
called during build to ensure that dtrace support is enabled even if the dtrace
kernel modules are not loaded at build time.

However, with this dtrace will be enabled on some OS versions where it will not
work, so add logic to disable it where appropriate.
2014-10-01 15:45:27 +00:00
Steve Wills
f1093059ba lang/ruby21: update to 2.1.3 2014-09-24 03:11:52 +00:00
Steve Wills
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +00:00
Steve Wills
ac2099d806 lang/ruby*: bump portrevision for libexecinfo change
I had thought the package wouldn't change, but it does
2014-09-14 16:06:06 +00:00
Steve Wills
aafb928748 lang/ruby*: remove obsolete patches
Remove no longer needed patches for ftp.
While here, fix the test target for ruby21

PR:		192998
Submitted by:	Robert Grimm <rfgrimm@gmail.com>
2014-09-02 01:13:47 +00:00
Steve Wills
b8ce65474e lang/ruby*: fix docs handling
- Fix handling of RDOC option and make it ON by default
- Add DOCS option to OPTIONS_DEFINE
- Add EXAMPLES option
- Add CAPIDOCS option which installs C API documents generated by doxygen
- Other cleanups while here

PR:		189646
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (based on)
2014-08-30 21:09:09 +00:00
Antoine Brodin
bd79265f7a Allow ports using ruby extconf to be built as non root
PR:		ports/191313
2014-08-25 18:49:34 +00:00
Steve Wills
604392ff79 lang/ruby21: Update to Ruby 2.1.2 2014-07-27 00:51:11 +00:00
Steve Wills
6cbff030cb lang/ruby20: Update to Ruby 2.0.0-p481 2014-07-26 23:24:45 +00:00
Steve Wills
8af92cd6d1 lang/ruby19: update to Ruby 1.9.3-p547 2014-07-26 19:08:08 +00:00
Baptiste Daroussin
99923618c7 Really modernize LIB_DEPENDS 2014-07-15 14:02:01 +00:00
Baptiste Daroussin
57f9cf54ef Modernize LIB_DEPENDS 2014-07-14 18:54:55 +00:00
Steve Wills
07e2d47f53 - Force use of libreadline from ports rather than base, in order to avoid
unexpectedly getting readline from ports if it's already installed.
- Add patch to work with newer libreadline
- Provide an option to use libedit from ports, avoiding the libedit in base.
- Note 1: The patch to work with newer libreadline is only applied in the
  libreadline case since it actually breaks building with libedit.
- Note 2: libreadline is not BSD licensed and while libedit would be
  preferable, it seems to have issues with UTF8 still, see ruby bug 9204. Once
  that's resolved, we can make libedit the default.

PR:		ports/187928 [1] (based on)
PR:		ports/188077 [2] (based on)
Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net> [2]
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/readline.c?r1=43458&r2=45225 (ruby upstream)
MFH:		2014Q2
2014-05-30 18:34:29 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Steve Wills
d370b8a9bf - Fix issues with specifying ${RUBY} variable
PR:		ports/170916
Reported by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>
2014-04-13 02:44:45 +00:00
Baptiste Daroussin
3ba7dc60bd Remove support for not staged ports
Approved by:	ruby@ (swills)
2014-04-09 09:25:29 +00:00
Steve Wills
eedf7913ee - Fix patch broken in r292221
PR:		ports/187472
Redported by:	Jeremy Chadwick <jdc@koitsu.org>
2014-03-23 15:31:43 +00:00
Steve Wills
cf48be67f0 - Update Ruby 2.1 to 2.1.1 2014-02-25 04:23:14 +00:00
John Marino
1a169331b0 Mk/bsd.(ruby,efl).mk: Replace "freebsd" with OPSYS:L
This change is no-op for FreeBSD but is needed for DragonFly support.
It has been run in dports for a year.  Also unneeded trailing slashes were
removed from bsd.efl.mk (also tested for a year).

Approved by: 	portmgr (bapt)
2014-02-21 18:53:16 +00:00
Steve Wills
20c88bccc7 - Add Ruby 2.1 2014-02-18 15:35:42 +00:00
Sunpoet Po-Chuan Hsieh
7c6ecde898 - Group common variable declarations together
Reviewed by:	swills
2014-02-15 07:23:56 +00:00
Sunpoet Po-Chuan Hsieh
eac5501ee7 - Remove unnecessary trailing backslash 2014-02-11 16:43:35 +00:00